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.v18.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,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 type
google.ads.googleads.v18.resources.CustomerClient-
Method Summary
Modifier and TypeMethodDescriptionaddAllAppliedLabels(Iterable<String> values) Output only.addAppliedLabels(String value) Output only.addAppliedLabelsBytes(com.google.protobuf.ByteString value) Output only.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.Output only.Output only.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Output only.clearId()Output only.Output only.Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Output only.Output only.Output only.clone()getAppliedLabels(int index) Output only.com.google.protobuf.ByteStringgetAppliedLabelsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOutput only.longgetId()Output only.longgetLevel()Output only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasId()Output only.booleanhasLevel()Output only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CustomerClient other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final CustomerClient.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAppliedLabels(int index, String value) Output only.setClientCustomer(String value) Output only.setClientCustomerBytes(com.google.protobuf.ByteString value) Output only.setCurrencyCode(String value) Output only.setCurrencyCodeBytes(com.google.protobuf.ByteString value) Output only.setDescriptiveName(String value) Output only.setDescriptiveNameBytes(com.google.protobuf.ByteString value) Output only.setHidden(boolean value) Output only.setId(long value) Output only.setLevel(long value) Output only.setManager(boolean value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Output only.setResourceNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setStatusValue(int value) Output only.setTestAccount(boolean value) Output only.setTimeZone(String value) Output only.setTimeZoneBytes(com.google.protobuf.ByteString value) Output only.final 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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
clearOneof
- 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerClient.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomerClient.Builder>
-
mergeFrom
-
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 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:
IOException
-
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
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
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
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
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
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
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
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
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
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
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
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:
hasTimeZonein interfaceCustomerClientOrBuilder- Returns:
- Whether the timeZone field is set.
-
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:
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, for example, 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
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
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
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:
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
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
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
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
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
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
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
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
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:
hasCurrencyCodein interfaceCustomerClientOrBuilder- Returns:
- Whether the currencyCode field is set.
-
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:
getCurrencyCodein 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:
getCurrencyCodeBytesin interfaceCustomerClientOrBuilder- Returns:
- The bytes for currencyCode.
-
setCurrencyCode
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
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
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:
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
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
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
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
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
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
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
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
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.v18.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
Output only. The status of the client customer. Read only.
.google.ads.googleads.v18.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
Output only. The status of the client customer. Read only.
.google.ads.googleads.v18.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceCustomerClientOrBuilder- Returns:
- The status.
-
setStatus
Output only. The status of the client customer. Read only.
.google.ads.googleads.v18.enums.CustomerStatusEnum.CustomerStatus status = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. The status of the client customer. Read only.
.google.ads.googleads.v18.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>
-