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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
    • getDefaultInstanceForType

      public BillingSetup.PaymentsAccountInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BillingSetup.PaymentsAccountInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
    • setField

      public BillingSetup.PaymentsAccountInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
    • clearField

      public BillingSetup.PaymentsAccountInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
    • clearOneof

      public BillingSetup.PaymentsAccountInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
    • addRepeatedField

      public BillingSetup.PaymentsAccountInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
    • mergeFrom

      public BillingSetup.PaymentsAccountInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BillingSetup.PaymentsAccountInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasPaymentsAccountId in interface BillingSetup.PaymentsAccountInfoOrBuilder
      Returns:
      Whether the paymentsAccountId field is set.
    • getPaymentsAccountId

      public 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, for example,
       "1234-5678-9012-3456".
       
      optional string payments_account_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPaymentsAccountId in interface BillingSetup.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:
      getPaymentsAccountIdBytes in interface BillingSetup.PaymentsAccountInfoOrBuilder
      Returns:
      The bytes for paymentsAccountId.
    • setPaymentsAccountId

      public BillingSetup.PaymentsAccountInfo.Builder setPaymentsAccountId(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, 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

      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, 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:
      hasPaymentsAccountName in interface BillingSetup.PaymentsAccountInfoOrBuilder
      Returns:
      Whether the paymentsAccountName field is set.
    • getPaymentsAccountName

      public 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:
      getPaymentsAccountName in interface BillingSetup.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:
      getPaymentsAccountNameBytes in interface BillingSetup.PaymentsAccountInfoOrBuilder
      Returns:
      The bytes for paymentsAccountName.
    • setPaymentsAccountName

      public BillingSetup.PaymentsAccountInfo.Builder setPaymentsAccountName(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, for example,
       "1234-5678-9012".
       
      optional string payments_profile_id = 8 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasPaymentsProfileId in interface BillingSetup.PaymentsAccountInfoOrBuilder
      Returns:
      Whether the paymentsProfileId field is set.
    • getPaymentsProfileId

      public 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, for example,
       "1234-5678-9012".
       
      optional string payments_profile_id = 8 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getPaymentsProfileId in interface BillingSetup.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:
      getPaymentsProfileIdBytes in interface BillingSetup.PaymentsAccountInfoOrBuilder
      Returns:
      The bytes for paymentsProfileId.
    • setPaymentsProfileId

      public BillingSetup.PaymentsAccountInfo.Builder setPaymentsProfileId(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, 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

      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, 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:
      hasPaymentsProfileName in interface BillingSetup.PaymentsAccountInfoOrBuilder
      Returns:
      Whether the paymentsProfileName field is set.
    • getPaymentsProfileName

      public 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:
      getPaymentsProfileName in interface BillingSetup.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:
      getPaymentsProfileNameBytes in interface BillingSetup.PaymentsAccountInfoOrBuilder
      Returns:
      The bytes for paymentsProfileName.
    • setPaymentsProfileName

      public BillingSetup.PaymentsAccountInfo.Builder setPaymentsProfileName(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, 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:
      hasSecondaryPaymentsProfileId in interface BillingSetup.PaymentsAccountInfoOrBuilder
      Returns:
      Whether the secondaryPaymentsProfileId field is set.
    • getSecondaryPaymentsProfileId

      public String 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:
      getSecondaryPaymentsProfileId in interface BillingSetup.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:
      getSecondaryPaymentsProfileIdBytes in interface BillingSetup.PaymentsAccountInfoOrBuilder
      Returns:
      The bytes for secondaryPaymentsProfileId.
    • setSecondaryPaymentsProfileId

      public BillingSetup.PaymentsAccountInfo.Builder setSecondaryPaymentsProfileId(String 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 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, 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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>
    • mergeUnknownFields

      public final BillingSetup.PaymentsAccountInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BillingSetup.PaymentsAccountInfo.Builder>