Class CustomerClient.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
- com.google.ads.googleads.v10.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.v10.resources.CustomerClient
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerClient.BuilderaddAllAppliedLabels(java.lang.Iterable<java.lang.String> values)Output only.CustomerClient.BuilderaddAppliedLabels(java.lang.String value)Output only.CustomerClient.BuilderaddAppliedLabelsBytes(com.google.protobuf.ByteString value)Output only.CustomerClient.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CustomerClientbuild()CustomerClientbuildPartial()CustomerClient.Builderclear()CustomerClient.BuilderclearAppliedLabels()Output only.CustomerClient.BuilderclearClientCustomer()Output only.CustomerClient.BuilderclearCurrencyCode()Output only.CustomerClient.BuilderclearDescriptiveName()Output only.CustomerClient.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CustomerClient.BuilderclearHidden()Output only.CustomerClient.BuilderclearId()Output only.CustomerClient.BuilderclearLevel()Output only.CustomerClient.BuilderclearManager()Output only.CustomerClient.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CustomerClient.BuilderclearResourceName()Output only.CustomerClient.BuilderclearStatus()Output only.CustomerClient.BuilderclearTestAccount()Output only.CustomerClient.BuilderclearTimeZone()Output only.CustomerClient.Builderclone()java.lang.StringgetAppliedLabels(int index)Output only.com.google.protobuf.ByteStringgetAppliedLabelsBytes(int index)Output only.intgetAppliedLabelsCount()Output only.com.google.protobuf.ProtocolStringListgetAppliedLabelsList()Output only.java.lang.StringgetClientCustomer()Output only.com.google.protobuf.ByteStringgetClientCustomerBytes()Output only.java.lang.StringgetCurrencyCode()Output only.com.google.protobuf.ByteStringgetCurrencyCodeBytes()Output only.CustomerClientgetDefaultInstanceForType()java.lang.StringgetDescriptiveName()Output only.com.google.protobuf.ByteStringgetDescriptiveNameBytes()Output only.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetHidden()Output only.longgetId()Output only.longgetLevel()Output only.booleangetManager()Output only.java.lang.StringgetResourceName()Output only.com.google.protobuf.ByteStringgetResourceNameBytes()Output only.CustomerStatusEnum.CustomerStatusgetStatus()Output only.intgetStatusValue()Output only.booleangetTestAccount()Output only.java.lang.StringgetTimeZone()Output only.com.google.protobuf.ByteStringgetTimeZoneBytes()Output only.booleanhasClientCustomer()Output only.booleanhasCurrencyCode()Output only.booleanhasDescriptiveName()Output only.booleanhasHidden()Output only.booleanhasId()Output only.booleanhasLevel()Output only.booleanhasManager()Output only.booleanhasTestAccount()Output only.booleanhasTimeZone()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CustomerClient.BuildermergeFrom(CustomerClient other)CustomerClient.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CustomerClient.BuildermergeFrom(com.google.protobuf.Message other)CustomerClient.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CustomerClient.BuildersetAppliedLabels(int index, java.lang.String value)Output only.CustomerClient.BuildersetClientCustomer(java.lang.String value)Output only.CustomerClient.BuildersetClientCustomerBytes(com.google.protobuf.ByteString value)Output only.CustomerClient.BuildersetCurrencyCode(java.lang.String value)Output only.CustomerClient.BuildersetCurrencyCodeBytes(com.google.protobuf.ByteString value)Output only.CustomerClient.BuildersetDescriptiveName(java.lang.String value)Output only.CustomerClient.BuildersetDescriptiveNameBytes(com.google.protobuf.ByteString value)Output only.CustomerClient.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CustomerClient.BuildersetHidden(boolean value)Output only.CustomerClient.BuildersetId(long value)Output only.CustomerClient.BuildersetLevel(long value)Output only.CustomerClient.BuildersetManager(boolean value)Output only.CustomerClient.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CustomerClient.BuildersetResourceName(java.lang.String value)Output only.CustomerClient.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Output only.CustomerClient.BuildersetStatus(CustomerStatusEnum.CustomerStatus value)Output only.CustomerClient.BuildersetStatusValue(int value)Output only.CustomerClient.BuildersetTestAccount(boolean value)Output only.CustomerClient.BuildersetTimeZone(java.lang.String value)Output only.CustomerClient.BuildersetTimeZoneBytes(com.google.protobuf.ByteString value)Output only.CustomerClient.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<CustomerClient.Builder>
-
clear
public CustomerClient.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
getDefaultInstanceForType
public CustomerClient getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CustomerClient build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CustomerClient buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CustomerClient.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
setField
public CustomerClient.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
clearField
public CustomerClient.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
clearOneof
public CustomerClient.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
addRepeatedField
public CustomerClient.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
mergeFrom
public CustomerClient.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomerClient.Builder>
-
mergeFrom
public CustomerClient.Builder mergeFrom(CustomerClient other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getResourceNamein 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:
getResourceNameBytesin 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:
hasClientCustomerin 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:
getClientCustomerin 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:
getClientCustomerBytesin 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:
hasHiddenin 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:
getHiddenin 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:
hasLevelin 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:
getLevelin 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, e.g. America/Los_Angeles. Read only.
optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTimeZonein 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, e.g. America/Los_Angeles. Read only.
optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTimeZonein 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, e.g. America/Los_Angeles. Read only.
optional string time_zone = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTimeZoneBytesin 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, e.g. 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, e.g. 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, e.g. 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:
hasTestAccountin 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:
getTestAccountin 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:
hasManagerin 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:
getManagerin 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:
hasDescriptiveNamein 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:
getDescriptiveNamein 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:
getDescriptiveNameBytesin 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 (e.g. 'USD', 'EUR') for the client. Read only.
optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCurrencyCodein interfaceCustomerClientOrBuilder- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
public java.lang.String getCurrencyCode()
Output only. Currency code (e.g. 'USD', 'EUR') for the client. Read only.
optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodein interfaceCustomerClientOrBuilder- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
public com.google.protobuf.ByteString getCurrencyCodeBytes()
Output only. Currency code (e.g. 'USD', 'EUR') for the client. Read only.
optional string currency_code = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCurrencyCodeBytesin interfaceCustomerClientOrBuilder- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
public CustomerClient.Builder setCurrencyCode(java.lang.String value)
Output only. Currency code (e.g. '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 (e.g. '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 (e.g. '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:
hasIdin 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:
getIdin 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:
getAppliedLabelsListin 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:
getAppliedLabelsCountin 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:
getAppliedLabelsin 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:
getAppliedLabelsBytesin 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.v10.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein 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.v10.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.v10.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin 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.v10.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.v10.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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
mergeUnknownFields
public final CustomerClient.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
-