Interface CustomerClientOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomerClient,CustomerClient.Builder
public interface CustomerClientOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAppliedLabels(int index) Output only.com.google.protobuf.ByteStringgetAppliedLabelsBytes(int index) Output only.intOutput only.Output only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput 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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceName
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) = { ... }- Returns:
- The resourceName.
-
getResourceNameBytes
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) = { ... }- Returns:
- The bytes for resourceName.
-
hasClientCustomer
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) = { ... }- Returns:
- Whether the clientCustomer field is set.
-
getClientCustomer
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) = { ... }- Returns:
- The clientCustomer.
-
getClientCustomerBytes
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) = { ... }- Returns:
- The bytes for clientCustomer.
-
hasHidden
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];- Returns:
- Whether the hidden field is set.
-
getHidden
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];- Returns:
- The hidden.
-
hasLevel
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];- Returns:
- Whether the level field is set.
-
getLevel
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];- Returns:
- The level.
-
hasTimeZone
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];- Returns:
- Whether the timeZone field is set.
-
getTimeZone
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];- Returns:
- The timeZone.
-
getTimeZoneBytes
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];- Returns:
- The bytes for timeZone.
-
hasTestAccount
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];- Returns:
- Whether the testAccount field is set.
-
getTestAccount
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];- Returns:
- The testAccount.
-
hasManager
boolean hasManager()Output only. Identifies if the client is a manager. Read only.
optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the manager field is set.
-
getManager
boolean getManager()Output only. Identifies if the client is a manager. Read only.
optional bool manager = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The manager.
-
hasDescriptiveName
boolean hasDescriptiveName()Output only. Descriptive name for the client. Read only.
optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the descriptiveName field is set.
-
getDescriptiveName
String getDescriptiveName()Output only. Descriptive name for the client. Read only.
optional string descriptive_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The descriptiveName.
-
getDescriptiveNameBytes
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];- Returns:
- The bytes for descriptiveName.
-
hasCurrencyCode
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];- Returns:
- Whether the currencyCode field is set.
-
getCurrencyCode
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];- Returns:
- The currencyCode.
-
getCurrencyCodeBytes
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];- Returns:
- The bytes for currencyCode.
-
hasId
boolean hasId()Output only. The ID of the client customer. Read only.
optional int64 id = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the id field is set.
-
getId
long getId()Output only. The ID of the client customer. Read only.
optional int64 id = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The id.
-
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) = { ... }- Returns:
- A list containing the appliedLabels.
-
getAppliedLabelsCount
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) = { ... }- 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) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The appliedLabels at the given index.
-
getAppliedLabelsBytes
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) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the appliedLabels at the given index.
-
getStatusValue
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];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
CustomerStatusEnum.CustomerStatus 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];- Returns:
- The status.
-