Class CustomerClient.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
- com.google.ads.googleads.v13.resources.CustomerClient.Builder
-
- All Implemented Interfaces:
CustomerClientOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- CustomerClient
public static final class CustomerClient.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder> implements CustomerClientOrBuilder
A link between the given customer and a client customer. CustomerClients only exist for manager customers. All direct and indirect client customers are included, as well as the manager itself.
Protobuf typegoogle.ads.googleads.v13.resources.CustomerClient
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerClient.Builder
addAllAppliedLabels(java.lang.Iterable<java.lang.String> values)
Output only.CustomerClient.Builder
addAppliedLabels(java.lang.String value)
Output only.CustomerClient.Builder
addAppliedLabelsBytes(com.google.protobuf.ByteString value)
Output only.CustomerClient.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CustomerClient
build()
CustomerClient
buildPartial()
CustomerClient.Builder
clear()
CustomerClient.Builder
clearAppliedLabels()
Output only.CustomerClient.Builder
clearClientCustomer()
Output only.CustomerClient.Builder
clearCurrencyCode()
Output only.CustomerClient.Builder
clearDescriptiveName()
Output only.CustomerClient.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CustomerClient.Builder
clearHidden()
Output only.CustomerClient.Builder
clearId()
Output only.CustomerClient.Builder
clearLevel()
Output only.CustomerClient.Builder
clearManager()
Output only.CustomerClient.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CustomerClient.Builder
clearResourceName()
Output only.CustomerClient.Builder
clearStatus()
Output only.CustomerClient.Builder
clearTestAccount()
Output only.CustomerClient.Builder
clearTimeZone()
Output only.CustomerClient.Builder
clone()
java.lang.String
getAppliedLabels(int index)
Output only.com.google.protobuf.ByteString
getAppliedLabelsBytes(int index)
Output only.int
getAppliedLabelsCount()
Output only.com.google.protobuf.ProtocolStringList
getAppliedLabelsList()
Output only.java.lang.String
getClientCustomer()
Output only.com.google.protobuf.ByteString
getClientCustomerBytes()
Output only.java.lang.String
getCurrencyCode()
Output only.com.google.protobuf.ByteString
getCurrencyCodeBytes()
Output only.CustomerClient
getDefaultInstanceForType()
java.lang.String
getDescriptiveName()
Output only.com.google.protobuf.ByteString
getDescriptiveNameBytes()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getHidden()
Output only.long
getId()
Output only.long
getLevel()
Output only.boolean
getManager()
Output only.java.lang.String
getResourceName()
Output only.com.google.protobuf.ByteString
getResourceNameBytes()
Output only.CustomerStatusEnum.CustomerStatus
getStatus()
Output only.int
getStatusValue()
Output only.boolean
getTestAccount()
Output only.java.lang.String
getTimeZone()
Output only.com.google.protobuf.ByteString
getTimeZoneBytes()
Output only.boolean
hasClientCustomer()
Output only.boolean
hasCurrencyCode()
Output only.boolean
hasDescriptiveName()
Output only.boolean
hasHidden()
Output only.boolean
hasId()
Output only.boolean
hasLevel()
Output only.boolean
hasManager()
Output only.boolean
hasTestAccount()
Output only.boolean
hasTimeZone()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CustomerClient.Builder
mergeFrom(CustomerClient other)
CustomerClient.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CustomerClient.Builder
mergeFrom(com.google.protobuf.Message other)
CustomerClient.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CustomerClient.Builder
setAppliedLabels(int index, java.lang.String value)
Output only.CustomerClient.Builder
setClientCustomer(java.lang.String value)
Output only.CustomerClient.Builder
setClientCustomerBytes(com.google.protobuf.ByteString value)
Output only.CustomerClient.Builder
setCurrencyCode(java.lang.String value)
Output only.CustomerClient.Builder
setCurrencyCodeBytes(com.google.protobuf.ByteString value)
Output only.CustomerClient.Builder
setDescriptiveName(java.lang.String value)
Output only.CustomerClient.Builder
setDescriptiveNameBytes(com.google.protobuf.ByteString value)
Output only.CustomerClient.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CustomerClient.Builder
setHidden(boolean value)
Output only.CustomerClient.Builder
setId(long value)
Output only.CustomerClient.Builder
setLevel(long value)
Output only.CustomerClient.Builder
setManager(boolean value)
Output only.CustomerClient.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CustomerClient.Builder
setResourceName(java.lang.String value)
Output only.CustomerClient.Builder
setResourceNameBytes(com.google.protobuf.ByteString value)
Output only.CustomerClient.Builder
setStatus(CustomerStatusEnum.CustomerStatus value)
Output only.CustomerClient.Builder
setStatusValue(int value)
Output only.CustomerClient.Builder
setTestAccount(boolean value)
Output only.CustomerClient.Builder
setTimeZone(java.lang.String value)
Output only.CustomerClient.Builder
setTimeZoneBytes(com.google.protobuf.ByteString value)
Output only.CustomerClient.Builder
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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
clear
public CustomerClient.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
getDefaultInstanceForType
public CustomerClient getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CustomerClient build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CustomerClient buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CustomerClient.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
setField
public CustomerClient.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
clearField
public CustomerClient.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
clearOneof
public CustomerClient.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
setRepeatedField
public CustomerClient.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
addRepeatedField
public CustomerClient.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
mergeFrom
public CustomerClient.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CustomerClient.Builder>
-
mergeFrom
public CustomerClient.Builder mergeFrom(CustomerClient other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
mergeFrom
public CustomerClient.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CustomerClient.Builder>
- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Output only. The resource name of the customer client. CustomerClient resource names have the form: `customers/{customer_id}/customerClients/{client_customer_id}`
string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getResourceName
in interfaceCustomerClientOrBuilder
- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Output only. The resource name of the customer client. CustomerClient resource names have the form: `customers/{customer_id}/customerClients/{client_customer_id}`
string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getResourceNameBytes
in interfaceCustomerClientOrBuilder
- Returns:
- The bytes for resourceName.
-
setResourceName
public CustomerClient.Builder setResourceName(java.lang.String value)
Output only. The resource name of the customer client. CustomerClient resource names have the form: `customers/{customer_id}/customerClients/{client_customer_id}`
string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public CustomerClient.Builder clearResourceName()
Output only. The resource name of the customer client. CustomerClient resource names have the form: `customers/{customer_id}/customerClients/{client_customer_id}`
string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setResourceNameBytes
public CustomerClient.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the customer client. CustomerClient resource names have the form: `customers/{customer_id}/customerClients/{client_customer_id}`
string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
hasClientCustomer
public boolean hasClientCustomer()
Output only. The resource name of the client-customer which is linked to the given customer. Read only.
optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
hasClientCustomer
in interfaceCustomerClientOrBuilder
- Returns:
- Whether the clientCustomer field is set.
-
getClientCustomer
public java.lang.String getClientCustomer()
Output only. The resource name of the client-customer which is linked to the given customer. Read only.
optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getClientCustomer
in interfaceCustomerClientOrBuilder
- Returns:
- The clientCustomer.
-
getClientCustomerBytes
public com.google.protobuf.ByteString getClientCustomerBytes()
Output only. The resource name of the client-customer which is linked to the given customer. Read only.
optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getClientCustomerBytes
in interfaceCustomerClientOrBuilder
- Returns:
- The bytes for clientCustomer.
-
setClientCustomer
public CustomerClient.Builder setClientCustomer(java.lang.String value)
Output only. The resource name of the client-customer which is linked to the given customer. Read only.
optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The clientCustomer to set.- Returns:
- This builder for chaining.
-
clearClientCustomer
public CustomerClient.Builder clearClientCustomer()
Output only. The resource name of the client-customer which is linked to the given customer. Read only.
optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setClientCustomerBytes
public CustomerClient.Builder setClientCustomerBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the client-customer which is linked to the given customer. Read only.
optional string client_customer = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for clientCustomer to set.- Returns:
- This builder for chaining.
-
hasHidden
public boolean hasHidden()
Output only. Specifies whether this is a [hidden account](https://support.google.com/google-ads/answer/7519830). Read only.
optional bool hidden = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasHidden
in interfaceCustomerClientOrBuilder
- Returns:
- Whether the hidden field is set.
-
getHidden
public boolean getHidden()
Output only. Specifies whether this is a [hidden account](https://support.google.com/google-ads/answer/7519830). Read only.
optional bool hidden = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getHidden
in interfaceCustomerClientOrBuilder
- Returns:
- The hidden.
-
setHidden
public CustomerClient.Builder setHidden(boolean value)
Output only. Specifies whether this is a [hidden account](https://support.google.com/google-ads/answer/7519830). Read only.
optional bool hidden = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The hidden to set.- Returns:
- This builder for chaining.
-
clearHidden
public CustomerClient.Builder clearHidden()
Output only. Specifies whether this is a [hidden account](https://support.google.com/google-ads/answer/7519830). Read only.
optional bool hidden = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasLevel
public boolean hasLevel()
Output only. Distance between given customer and client. For self link, the level value will be 0. Read only.
optional int64 level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasLevel
in interfaceCustomerClientOrBuilder
- Returns:
- Whether the level field is set.
-
getLevel
public long getLevel()
Output only. Distance between given customer and client. For self link, the level value will be 0. Read only.
optional int64 level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLevel
in interfaceCustomerClientOrBuilder
- Returns:
- The level.
-
setLevel
public CustomerClient.Builder setLevel(long value)
Output only. Distance between given customer and client. For self link, the level value will be 0. Read only.
optional int64 level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The level to set.- Returns:
- This builder for chaining.
-
clearLevel
public CustomerClient.Builder clearLevel()
Output only. Distance between given customer and client. For self link, the level value will be 0. Read only.
optional int64 level = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasTimeZone
public boolean hasTimeZone()
Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the client, for example, America/Los_Angeles. Read only.
optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasTimeZone
in interfaceCustomerClientOrBuilder
- Returns:
- Whether the timeZone field is set.
-
getTimeZone
public java.lang.String getTimeZone()
Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the client, for example, America/Los_Angeles. Read only.
optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTimeZone
in interfaceCustomerClientOrBuilder
- Returns:
- The timeZone.
-
getTimeZoneBytes
public com.google.protobuf.ByteString getTimeZoneBytes()
Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the client, for example, America/Los_Angeles. Read only.
optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTimeZoneBytes
in interfaceCustomerClientOrBuilder
- Returns:
- The bytes for timeZone.
-
setTimeZone
public CustomerClient.Builder setTimeZone(java.lang.String value)
Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the client, for example, America/Los_Angeles. Read only.
optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The timeZone to set.- Returns:
- This builder for chaining.
-
clearTimeZone
public CustomerClient.Builder clearTimeZone()
Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the client, for example, America/Los_Angeles. Read only.
optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setTimeZoneBytes
public CustomerClient.Builder setTimeZoneBytes(com.google.protobuf.ByteString value)
Output only. Common Locale Data Repository (CLDR) string representation of the time zone of the client, for example, America/Los_Angeles. Read only.
optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for timeZone to set.- Returns:
- This builder for chaining.
-
hasTestAccount
public boolean hasTestAccount()
Output only. Identifies if the client is a test account. Read only.
optional bool test_account = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasTestAccount
in interfaceCustomerClientOrBuilder
- Returns:
- Whether the testAccount field is set.
-
getTestAccount
public boolean getTestAccount()
Output only. Identifies if the client is a test account. Read only.
optional bool test_account = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTestAccount
in interfaceCustomerClientOrBuilder
- Returns:
- The testAccount.
-
setTestAccount
public CustomerClient.Builder setTestAccount(boolean value)
Output only. Identifies if the client is a test account. Read only.
optional bool test_account = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The testAccount to set.- Returns:
- This builder for chaining.
-
clearTestAccount
public CustomerClient.Builder clearTestAccount()
Output only. Identifies if the client is a test account. Read only.
optional bool test_account = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasManager
public boolean hasManager()
Output only. Identifies if the client is a manager. Read only.
optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasManager
in interfaceCustomerClientOrBuilder
- Returns:
- Whether the manager field is set.
-
getManager
public boolean getManager()
Output only. Identifies if the client is a manager. Read only.
optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getManager
in interfaceCustomerClientOrBuilder
- Returns:
- The manager.
-
setManager
public CustomerClient.Builder setManager(boolean value)
Output only. Identifies if the client is a manager. Read only.
optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The manager to set.- Returns:
- This builder for chaining.
-
clearManager
public CustomerClient.Builder clearManager()
Output only. Identifies if the client is a manager. Read only.
optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasDescriptiveName
public boolean hasDescriptiveName()
Output only. Descriptive name for the client. Read only.
optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDescriptiveName
in interfaceCustomerClientOrBuilder
- Returns:
- Whether the descriptiveName field is set.
-
getDescriptiveName
public java.lang.String getDescriptiveName()
Output only. Descriptive name for the client. Read only.
optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDescriptiveName
in interfaceCustomerClientOrBuilder
- Returns:
- The descriptiveName.
-
getDescriptiveNameBytes
public com.google.protobuf.ByteString getDescriptiveNameBytes()
Output only. Descriptive name for the client. Read only.
optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDescriptiveNameBytes
in interfaceCustomerClientOrBuilder
- Returns:
- The bytes for descriptiveName.
-
setDescriptiveName
public CustomerClient.Builder setDescriptiveName(java.lang.String value)
Output only. Descriptive name for the client. Read only.
optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The descriptiveName to set.- Returns:
- This builder for chaining.
-
clearDescriptiveName
public CustomerClient.Builder clearDescriptiveName()
Output only. Descriptive name for the client. Read only.
optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setDescriptiveNameBytes
public CustomerClient.Builder setDescriptiveNameBytes(com.google.protobuf.ByteString value)
Output only. Descriptive name for the client. Read only.
optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for descriptiveName to set.- Returns:
- This builder for chaining.
-
hasCurrencyCode
public boolean hasCurrencyCode()
Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only.
optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCurrencyCode
in interfaceCustomerClientOrBuilder
- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
public java.lang.String getCurrencyCode()
Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only.
optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCurrencyCode
in interfaceCustomerClientOrBuilder
- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()
Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only.
optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCurrencyCodeBytes
in interfaceCustomerClientOrBuilder
- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
public CustomerClient.Builder setCurrencyCode(java.lang.String value)
Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only.
optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The currencyCode to set.- Returns:
- This builder for chaining.
-
clearCurrencyCode
public CustomerClient.Builder clearCurrencyCode()
Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only.
optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setCurrencyCodeBytes
public CustomerClient.Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value)
Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only.
optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for currencyCode to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
Output only. The ID of the client customer. Read only.
optional int64 id = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasId
in interfaceCustomerClientOrBuilder
- Returns:
- Whether the id field is set.
-
getId
public long getId()
Output only. The ID of the client customer. Read only.
optional int64 id = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getId
in interfaceCustomerClientOrBuilder
- Returns:
- The id.
-
setId
public CustomerClient.Builder setId(long value)
Output only. The ID of the client customer. Read only.
optional int64 id = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public CustomerClient.Builder clearId()
Output only. The ID of the client customer. Read only.
optional int64 id = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getAppliedLabelsList
public com.google.protobuf.ProtocolStringList getAppliedLabelsList()
Output only. The resource names of the labels owned by the requesting customer that are applied to the client customer. Label resource names have the form: `customers/{customer_id}/labels/{label_id}`
repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getAppliedLabelsList
in interfaceCustomerClientOrBuilder
- Returns:
- A list containing the appliedLabels.
-
getAppliedLabelsCount
public int getAppliedLabelsCount()
Output only. The resource names of the labels owned by the requesting customer that are applied to the client customer. Label resource names have the form: `customers/{customer_id}/labels/{label_id}`
repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getAppliedLabelsCount
in interfaceCustomerClientOrBuilder
- Returns:
- The count of appliedLabels.
-
getAppliedLabels
public java.lang.String getAppliedLabels(int index)
Output only. The resource names of the labels owned by the requesting customer that are applied to the client customer. Label resource names have the form: `customers/{customer_id}/labels/{label_id}`
repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getAppliedLabels
in interfaceCustomerClientOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The appliedLabels at the given index.
-
getAppliedLabelsBytes
public com.google.protobuf.ByteString getAppliedLabelsBytes(int index)
Output only. The resource names of the labels owned by the requesting customer that are applied to the client customer. Label resource names have the form: `customers/{customer_id}/labels/{label_id}`
repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getAppliedLabelsBytes
in interfaceCustomerClientOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the appliedLabels at the given index.
-
setAppliedLabels
public CustomerClient.Builder setAppliedLabels(int index, java.lang.String value)
Output only. The resource names of the labels owned by the requesting customer that are applied to the client customer. Label resource names have the form: `customers/{customer_id}/labels/{label_id}`
repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
index
- The index to set the value at.value
- The appliedLabels to set.- Returns:
- This builder for chaining.
-
addAppliedLabels
public CustomerClient.Builder addAppliedLabels(java.lang.String value)
Output only. The resource names of the labels owned by the requesting customer that are applied to the client customer. Label resource names have the form: `customers/{customer_id}/labels/{label_id}`
repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The appliedLabels to add.- Returns:
- This builder for chaining.
-
addAllAppliedLabels
public CustomerClient.Builder addAllAppliedLabels(java.lang.Iterable<java.lang.String> values)
Output only. The resource names of the labels owned by the requesting customer that are applied to the client customer. Label resource names have the form: `customers/{customer_id}/labels/{label_id}`
repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
values
- The appliedLabels to add.- Returns:
- This builder for chaining.
-
clearAppliedLabels
public CustomerClient.Builder clearAppliedLabels()
Output only. The resource names of the labels owned by the requesting customer that are applied to the client customer. Label resource names have the form: `customers/{customer_id}/labels/{label_id}`
repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
addAppliedLabelsBytes
public CustomerClient.Builder addAppliedLabelsBytes(com.google.protobuf.ByteString value)
Output only. The resource names of the labels owned by the requesting customer that are applied to the client customer. Label resource names have the form: `customers/{customer_id}/labels/{label_id}`
repeated string applied_labels = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes of the appliedLabels to add.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
Output only. The status of the client customer. Read only.
.google.ads.googleads.v13.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusValue
in interfaceCustomerClientOrBuilder
- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public CustomerClient.Builder setStatusValue(int value)
Output only. The status of the client customer. Read only.
.google.ads.googleads.v13.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public CustomerStatusEnum.CustomerStatus getStatus()
Output only. The status of the client customer. Read only.
.google.ads.googleads.v13.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatus
in interfaceCustomerClientOrBuilder
- Returns:
- The status.
-
setStatus
public CustomerClient.Builder setStatus(CustomerStatusEnum.CustomerStatus value)
Output only. The status of the client customer. Read only.
.google.ads.googleads.v13.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public CustomerClient.Builder clearStatus()
Output only. The status of the client customer. Read only.
.google.ads.googleads.v13.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final CustomerClient.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
mergeUnknownFields
public final CustomerClient.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
-