Class PaymentsAccount
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.PaymentsAccount
- All Implemented Interfaces:
PaymentsAccountOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PaymentsAccount
extends com.google.protobuf.GeneratedMessageV3
implements PaymentsAccountOrBuilder
A payments account, which can be used to set up billing for an Ads customer.Protobuf type
google.ads.googleads.v18.resources.PaymentsAccount- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA payments account, which can be used to set up billing for an Ads customer.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.com.google.protobuf.ByteStringOutput only.static PaymentsAccountstatic final com.google.protobuf.Descriptors.DescriptorgetName()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<PaymentsAccount>Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.intbooleanOutput only.inthashCode()booleanhasName()Output only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic PaymentsAccount.Builderstatic PaymentsAccount.BuildernewBuilder(PaymentsAccount prototype) protected PaymentsAccount.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PaymentsAccountparseDelimitedFrom(InputStream input) static PaymentsAccountparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PaymentsAccountparseFrom(byte[] data) static PaymentsAccountparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PaymentsAccountparseFrom(com.google.protobuf.ByteString data) static PaymentsAccountparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PaymentsAccountparseFrom(com.google.protobuf.CodedInputStream input) static PaymentsAccountparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PaymentsAccountparseFrom(InputStream input) static PaymentsAccountparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PaymentsAccountparseFrom(ByteBuffer data) static PaymentsAccountparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PaymentsAccount>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER- See Also:
-
PAYMENTS_ACCOUNT_ID_FIELD_NUMBER
public static final int PAYMENTS_ACCOUNT_ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CURRENCY_CODE_FIELD_NUMBER
public static final int CURRENCY_CODE_FIELD_NUMBER- See Also:
-
PAYMENTS_PROFILE_ID_FIELD_NUMBER
public static final int PAYMENTS_PROFILE_ID_FIELD_NUMBER- See Also:
-
SECONDARY_PAYMENTS_PROFILE_ID_FIELD_NUMBER
public static final int SECONDARY_PAYMENTS_PROFILE_ID_FIELD_NUMBER- See Also:
-
PAYING_MANAGER_CUSTOMER_FIELD_NUMBER
public static final int PAYING_MANAGER_CUSTOMER_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getResourceName
Output only. The resource name of the payments account. PaymentsAccount resource names have the form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfacePaymentsAccountOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Output only. The resource name of the payments account. PaymentsAccount resource names have the form: `customers/{customer_id}/paymentsAccounts/{payments_account_id}`string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfacePaymentsAccountOrBuilder- Returns:
- The bytes for resourceName.
-
hasPaymentsAccountId
public boolean hasPaymentsAccountId()Output only. A 16 digit ID used to identify a payments account.
optional string payments_account_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPaymentsAccountIdin interfacePaymentsAccountOrBuilder- Returns:
- Whether the paymentsAccountId field is set.
-
getPaymentsAccountId
Output only. A 16 digit ID used to identify a payments account.
optional string payments_account_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsAccountIdin interfacePaymentsAccountOrBuilder- Returns:
- The paymentsAccountId.
-
getPaymentsAccountIdBytes
public com.google.protobuf.ByteString getPaymentsAccountIdBytes()Output only. A 16 digit ID used to identify a payments account.
optional string payments_account_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsAccountIdBytesin interfacePaymentsAccountOrBuilder- Returns:
- The bytes for paymentsAccountId.
-
hasName
public boolean hasName()Output only. The name of the payments account.
optional string name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasNamein interfacePaymentsAccountOrBuilder- Returns:
- Whether the name field is set.
-
getName
Output only. The name of the payments account.
optional string name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfacePaymentsAccountOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The name of the payments account.
optional string name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfacePaymentsAccountOrBuilder- Returns:
- The bytes for name.
-
hasCurrencyCode
public boolean hasCurrencyCode()Output only. The currency code of the payments account. A subset of the currency codes derived from the ISO 4217 standard is supported.
optional string currency_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCurrencyCodein interfacePaymentsAccountOrBuilder- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
Output only. The currency code of the payments account. A subset of the currency codes derived from the ISO 4217 standard is supported.
optional string currency_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodein interfacePaymentsAccountOrBuilder- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()Output only. The currency code of the payments account. A subset of the currency codes derived from the ISO 4217 standard is supported.
optional string currency_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodeBytesin interfacePaymentsAccountOrBuilder- Returns:
- The bytes for currencyCode.
-
hasPaymentsProfileId
public boolean hasPaymentsProfileId()Output only. A 12 digit ID used to identify the payments profile associated with the payments account.
optional string payments_profile_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPaymentsProfileIdin interfacePaymentsAccountOrBuilder- Returns:
- Whether the paymentsProfileId field is set.
-
getPaymentsProfileId
Output only. A 12 digit ID used to identify the payments profile associated with the payments account.
optional string payments_profile_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsProfileIdin interfacePaymentsAccountOrBuilder- Returns:
- The paymentsProfileId.
-
getPaymentsProfileIdBytes
public com.google.protobuf.ByteString getPaymentsProfileIdBytes()Output only. A 12 digit ID used to identify the payments profile associated with the payments account.
optional string payments_profile_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPaymentsProfileIdBytesin interfacePaymentsAccountOrBuilder- Returns:
- The bytes for paymentsProfileId.
-
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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSecondaryPaymentsProfileIdin interfacePaymentsAccountOrBuilder- 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSecondaryPaymentsProfileIdin interfacePaymentsAccountOrBuilder- 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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSecondaryPaymentsProfileIdBytesin interfacePaymentsAccountOrBuilder- Returns:
- The bytes for secondaryPaymentsProfileId.
-
hasPayingManagerCustomer
public boolean hasPayingManagerCustomer()Output only. Paying manager of this payment account.
optional string paying_manager_customer = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
hasPayingManagerCustomerin interfacePaymentsAccountOrBuilder- Returns:
- Whether the payingManagerCustomer field is set.
-
getPayingManagerCustomer
Output only. Paying manager of this payment account.
optional string paying_manager_customer = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getPayingManagerCustomerin interfacePaymentsAccountOrBuilder- Returns:
- The payingManagerCustomer.
-
getPayingManagerCustomerBytes
public com.google.protobuf.ByteString getPayingManagerCustomerBytes()Output only. Paying manager of this payment account.
optional string paying_manager_customer = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getPayingManagerCustomerBytesin interfacePaymentsAccountOrBuilder- Returns:
- The bytes for payingManagerCustomer.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PaymentsAccount parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PaymentsAccount parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PaymentsAccount parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PaymentsAccount parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PaymentsAccount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PaymentsAccount parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PaymentsAccount parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PaymentsAccount parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PaymentsAccount parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PaymentsAccount parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PaymentsAccount.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-