Class BillingSetup.PaymentsAccountInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
com.google.ads.googleads.v18.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,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 type
google.ads.googleads.v18.resources.BillingSetup.PaymentsAccountInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Immutable.Immutable.Output only.Output only.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Immutable.com.google.protobuf.ByteStringImmutable.Immutable.com.google.protobuf.ByteStringImmutable.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanImmutable.booleanImmutable.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setPaymentsAccountId(String value) Output only.setPaymentsAccountIdBytes(com.google.protobuf.ByteString value) Output only.setPaymentsAccountName(String value) Immutable.setPaymentsAccountNameBytes(com.google.protobuf.ByteString value) Immutable.setPaymentsProfileId(String value) Immutable.setPaymentsProfileIdBytes(com.google.protobuf.ByteString value) Immutable.setPaymentsProfileName(String value) Output only.setPaymentsProfileNameBytes(com.google.protobuf.ByteString value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Output only.setSecondaryPaymentsProfileIdBytes(com.google.protobuf.ByteString value) Output only.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BillingSetup.PaymentsAccountInfo.Builder>
-
mergeFrom
-
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 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:
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, for example, "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
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, for example, "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, for example, "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
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, for example, "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
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, for example, "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, for example, "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
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
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
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, for example, "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
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, for example, "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, for example, "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
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, for example, "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
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, for example, "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, for example, "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
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
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
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, for example, 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
Output only. A secondary payments profile id present in uncommon situations, for example, 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, for example, 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
Output only. A secondary payments profile id present in uncommon situations, for example, 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
Output only. A secondary payments profile id present in uncommon situations, for example, 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, for example, 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>
-