Class BillingSetup.PaymentsAccountInfo.Builder

    • Method Detail

      • 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>
      • 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

        public BillingSetup.PaymentsAccountInfo 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
      • 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 java.io.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:
        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:
        hasPaymentsAccountId in interface BillingSetup.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:
        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, e.g. "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​(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:
        hasPaymentsAccountName in interface BillingSetup.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:
        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​(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:
        hasPaymentsProfileId in interface BillingSetup.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:
        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, e.g. "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​(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:
        hasPaymentsProfileName in interface BillingSetup.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:
        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​(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:
        hasSecondaryPaymentsProfileId in interface BillingSetup.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:
        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, 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:
        getSecondaryPaymentsProfileIdBytes in interface BillingSetup.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.