Class BillingSetup.PaymentsAccountInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
- com.google.ads.googleads.v10.resources.BillingSetup.PaymentsAccountInfo.Builder
-
- All Implemented Interfaces:
BillingSetup.PaymentsAccountInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BillingSetup.PaymentsAccountInfo
public static final class BillingSetup.PaymentsAccountInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder> implements BillingSetup.PaymentsAccountInfoOrBuilder
Container of payments account information for this billing.
Protobuf typegoogle.ads.googleads.v10.resources.BillingSetup.PaymentsAccountInfo
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
clear
public BillingSetup.PaymentsAccountInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
getDefaultInstanceForType
public BillingSetup.PaymentsAccountInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BillingSetup.PaymentsAccountInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BillingSetup.PaymentsAccountInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BillingSetup.PaymentsAccountInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
setField
public BillingSetup.PaymentsAccountInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
clearField
public BillingSetup.PaymentsAccountInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
clearOneof
public BillingSetup.PaymentsAccountInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
setRepeatedField
public BillingSetup.PaymentsAccountInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
addRepeatedField
public BillingSetup.PaymentsAccountInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
mergeFrom
public BillingSetup.PaymentsAccountInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
mergeFrom
public BillingSetup.PaymentsAccountInfo.Builder mergeFrom(BillingSetup.PaymentsAccountInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
mergeFrom
public BillingSetup.PaymentsAccountInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BillingSetup.PaymentsAccountInfo.Builder>- Throws:
java.io.IOException
-
hasPaymentsAccountId
public boolean hasPaymentsAccountId()
Output only. A 16 digit id used to identify the payments account associated with the billing setup. This must be passed as a string with dashes, e.g. "1234-5678-9012-3456".
optional string payments_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPaymentsAccountIdin interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- Whether the paymentsAccountId field is set.
-
getPaymentsAccountId
public java.lang.String getPaymentsAccountId()
Output only. A 16 digit id used to identify the payments account associated with the billing setup. This must be passed as a string with dashes, e.g. "1234-5678-9012-3456".
optional string payments_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsAccountIdin interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- The paymentsAccountId.
-
getPaymentsAccountIdBytes
public com.google.protobuf.ByteString getPaymentsAccountIdBytes()
Output only. A 16 digit id used to identify the payments account associated with the billing setup. This must be passed as a string with dashes, e.g. "1234-5678-9012-3456".
optional string payments_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsAccountIdBytesin interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- The bytes for paymentsAccountId.
-
setPaymentsAccountId
public BillingSetup.PaymentsAccountInfo.Builder setPaymentsAccountId(java.lang.String value)
Output only. A 16 digit id used to identify the payments account associated with the billing setup. This must be passed as a string with dashes, e.g. "1234-5678-9012-3456".
optional string payments_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The paymentsAccountId to set.- Returns:
- This builder for chaining.
-
clearPaymentsAccountId
public BillingSetup.PaymentsAccountInfo.Builder clearPaymentsAccountId()
Output only. A 16 digit id used to identify the payments account associated with the billing setup. This must be passed as a string with dashes, e.g. "1234-5678-9012-3456".
optional string payments_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPaymentsAccountIdBytes
public BillingSetup.PaymentsAccountInfo.Builder setPaymentsAccountIdBytes(com.google.protobuf.ByteString value)
Output only. A 16 digit id used to identify the payments account associated with the billing setup. This must be passed as a string with dashes, e.g. "1234-5678-9012-3456".
optional string payments_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for paymentsAccountId to set.- Returns:
- This builder for chaining.
-
hasPaymentsAccountName
public boolean hasPaymentsAccountName()
Immutable. The name of the payments account associated with the billing setup. This enables the user to specify a meaningful name for a payments account to aid in reconciling monthly invoices. This name will be printed in the monthly invoices.
optional string payments_account_name = 7 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasPaymentsAccountNamein interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- Whether the paymentsAccountName field is set.
-
getPaymentsAccountName
public java.lang.String getPaymentsAccountName()
Immutable. The name of the payments account associated with the billing setup. This enables the user to specify a meaningful name for a payments account to aid in reconciling monthly invoices. This name will be printed in the monthly invoices.
optional string payments_account_name = 7 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPaymentsAccountNamein interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- The paymentsAccountName.
-
getPaymentsAccountNameBytes
public com.google.protobuf.ByteString getPaymentsAccountNameBytes()
Immutable. The name of the payments account associated with the billing setup. This enables the user to specify a meaningful name for a payments account to aid in reconciling monthly invoices. This name will be printed in the monthly invoices.
optional string payments_account_name = 7 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPaymentsAccountNameBytesin interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- The bytes for paymentsAccountName.
-
setPaymentsAccountName
public BillingSetup.PaymentsAccountInfo.Builder setPaymentsAccountName(java.lang.String value)
Immutable. The name of the payments account associated with the billing setup. This enables the user to specify a meaningful name for a payments account to aid in reconciling monthly invoices. This name will be printed in the monthly invoices.
optional string payments_account_name = 7 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The paymentsAccountName to set.- Returns:
- This builder for chaining.
-
clearPaymentsAccountName
public BillingSetup.PaymentsAccountInfo.Builder clearPaymentsAccountName()
Immutable. The name of the payments account associated with the billing setup. This enables the user to specify a meaningful name for a payments account to aid in reconciling monthly invoices. This name will be printed in the monthly invoices.
optional string payments_account_name = 7 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setPaymentsAccountNameBytes
public BillingSetup.PaymentsAccountInfo.Builder setPaymentsAccountNameBytes(com.google.protobuf.ByteString value)
Immutable. The name of the payments account associated with the billing setup. This enables the user to specify a meaningful name for a payments account to aid in reconciling monthly invoices. This name will be printed in the monthly invoices.
optional string payments_account_name = 7 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for paymentsAccountName to set.- Returns:
- This builder for chaining.
-
hasPaymentsProfileId
public boolean hasPaymentsProfileId()
Immutable. A 12 digit id used to identify the payments profile associated with the billing setup. This must be passed in as a string with dashes, e.g. "1234-5678-9012".
optional string payments_profile_id = 8 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
hasPaymentsProfileIdin interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- Whether the paymentsProfileId field is set.
-
getPaymentsProfileId
public java.lang.String getPaymentsProfileId()
Immutable. A 12 digit id used to identify the payments profile associated with the billing setup. This must be passed in as a string with dashes, e.g. "1234-5678-9012".
optional string payments_profile_id = 8 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPaymentsProfileIdin interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- The paymentsProfileId.
-
getPaymentsProfileIdBytes
public com.google.protobuf.ByteString getPaymentsProfileIdBytes()
Immutable. A 12 digit id used to identify the payments profile associated with the billing setup. This must be passed in as a string with dashes, e.g. "1234-5678-9012".
optional string payments_profile_id = 8 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPaymentsProfileIdBytesin interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- The bytes for paymentsProfileId.
-
setPaymentsProfileId
public BillingSetup.PaymentsAccountInfo.Builder setPaymentsProfileId(java.lang.String value)
Immutable. A 12 digit id used to identify the payments profile associated with the billing setup. This must be passed in as a string with dashes, e.g. "1234-5678-9012".
optional string payments_profile_id = 8 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The paymentsProfileId to set.- Returns:
- This builder for chaining.
-
clearPaymentsProfileId
public BillingSetup.PaymentsAccountInfo.Builder clearPaymentsProfileId()
Immutable. A 12 digit id used to identify the payments profile associated with the billing setup. This must be passed in as a string with dashes, e.g. "1234-5678-9012".
optional string payments_profile_id = 8 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setPaymentsProfileIdBytes
public BillingSetup.PaymentsAccountInfo.Builder setPaymentsProfileIdBytes(com.google.protobuf.ByteString value)
Immutable. A 12 digit id used to identify the payments profile associated with the billing setup. This must be passed in as a string with dashes, e.g. "1234-5678-9012".
optional string payments_profile_id = 8 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for paymentsProfileId to set.- Returns:
- This builder for chaining.
-
hasPaymentsProfileName
public boolean hasPaymentsProfileName()
Output only. The name of the payments profile associated with the billing setup.
optional string payments_profile_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPaymentsProfileNamein interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- Whether the paymentsProfileName field is set.
-
getPaymentsProfileName
public java.lang.String getPaymentsProfileName()
Output only. The name of the payments profile associated with the billing setup.
optional string payments_profile_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsProfileNamein interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- The paymentsProfileName.
-
getPaymentsProfileNameBytes
public com.google.protobuf.ByteString getPaymentsProfileNameBytes()
Output only. The name of the payments profile associated with the billing setup.
optional string payments_profile_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsProfileNameBytesin interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- The bytes for paymentsProfileName.
-
setPaymentsProfileName
public BillingSetup.PaymentsAccountInfo.Builder setPaymentsProfileName(java.lang.String value)
Output only. The name of the payments profile associated with the billing setup.
optional string payments_profile_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The paymentsProfileName to set.- Returns:
- This builder for chaining.
-
clearPaymentsProfileName
public BillingSetup.PaymentsAccountInfo.Builder clearPaymentsProfileName()
Output only. The name of the payments profile associated with the billing setup.
optional string payments_profile_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPaymentsProfileNameBytes
public BillingSetup.PaymentsAccountInfo.Builder setPaymentsProfileNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the payments profile associated with the billing setup.
optional string payments_profile_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for paymentsProfileName to set.- Returns:
- This builder for chaining.
-
hasSecondaryPaymentsProfileId
public boolean hasSecondaryPaymentsProfileId()
Output only. A secondary payments profile id present in uncommon situations, e.g. when a sequential liability agreement has been arranged.
optional string secondary_payments_profile_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSecondaryPaymentsProfileIdin interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- Whether the secondaryPaymentsProfileId field is set.
-
getSecondaryPaymentsProfileId
public java.lang.String getSecondaryPaymentsProfileId()
Output only. A secondary payments profile id present in uncommon situations, e.g. when a sequential liability agreement has been arranged.
optional string secondary_payments_profile_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSecondaryPaymentsProfileIdin interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- The secondaryPaymentsProfileId.
-
getSecondaryPaymentsProfileIdBytes
public com.google.protobuf.ByteString getSecondaryPaymentsProfileIdBytes()
Output only. A secondary payments profile id present in uncommon situations, e.g. when a sequential liability agreement has been arranged.
optional string secondary_payments_profile_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSecondaryPaymentsProfileIdBytesin interfaceBillingSetup.PaymentsAccountInfoOrBuilder- Returns:
- The bytes for secondaryPaymentsProfileId.
-
setSecondaryPaymentsProfileId
public BillingSetup.PaymentsAccountInfo.Builder setSecondaryPaymentsProfileId(java.lang.String value)
Output only. A secondary payments profile id present in uncommon situations, e.g. when a sequential liability agreement has been arranged.
optional string secondary_payments_profile_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The secondaryPaymentsProfileId to set.- Returns:
- This builder for chaining.
-
clearSecondaryPaymentsProfileId
public BillingSetup.PaymentsAccountInfo.Builder clearSecondaryPaymentsProfileId()
Output only. A secondary payments profile id present in uncommon situations, e.g. when a sequential liability agreement has been arranged.
optional string secondary_payments_profile_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setSecondaryPaymentsProfileIdBytes
public BillingSetup.PaymentsAccountInfo.Builder setSecondaryPaymentsProfileIdBytes(com.google.protobuf.ByteString value)
Output only. A secondary payments profile id present in uncommon situations, e.g. when a sequential liability agreement has been arranged.
optional string secondary_payments_profile_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for secondaryPaymentsProfileId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BillingSetup.PaymentsAccountInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
mergeUnknownFields
public final BillingSetup.PaymentsAccountInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
-