Class BillingSetup.PaymentsAccountInfo

  • All Implemented Interfaces:
    BillingSetup.PaymentsAccountInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable
    Enclosing class:
    BillingSetup

    public static final class BillingSetup.PaymentsAccountInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements BillingSetup.PaymentsAccountInfoOrBuilder
     Container of payments account information for this billing.
     
    Protobuf type google.ads.googleads.v10.resources.BillingSetup.PaymentsAccountInfo
    See Also:
    Serialized Form
    • Field Detail

      • PAYMENTS_ACCOUNT_ID_FIELD_NUMBER

        public static final int PAYMENTS_ACCOUNT_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PAYMENTS_ACCOUNT_NAME_FIELD_NUMBER

        public static final int PAYMENTS_ACCOUNT_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PAYMENTS_PROFILE_ID_FIELD_NUMBER

        public static final int PAYMENTS_PROFILE_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PAYMENTS_PROFILE_NAME_FIELD_NUMBER

        public static final int PAYMENTS_PROFILE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SECONDARY_PAYMENTS_PROFILE_ID_FIELD_NUMBER

        public static final int SECONDARY_PAYMENTS_PROFILE_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static BillingSetup.PaymentsAccountInfo parseFrom​(java.nio.ByteBuffer data)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BillingSetup.PaymentsAccountInfo parseFrom​(java.nio.ByteBuffer data,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BillingSetup.PaymentsAccountInfo parseFrom​(com.google.protobuf.ByteString data)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BillingSetup.PaymentsAccountInfo parseFrom​(com.google.protobuf.ByteString data,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BillingSetup.PaymentsAccountInfo parseFrom​(byte[] data)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BillingSetup.PaymentsAccountInfo parseFrom​(byte[] data,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static BillingSetup.PaymentsAccountInfo parseFrom​(java.io.InputStream input,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static BillingSetup.PaymentsAccountInfo parseDelimitedFrom​(java.io.InputStream input)
                                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static BillingSetup.PaymentsAccountInfo parseDelimitedFrom​(java.io.InputStream input,
                                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static BillingSetup.PaymentsAccountInfo parseFrom​(com.google.protobuf.CodedInputStream input)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static BillingSetup.PaymentsAccountInfo parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected BillingSetup.PaymentsAccountInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<BillingSetup.PaymentsAccountInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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