Class CustomerCustomizer.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CustomerCustomizer.Builder>
com.google.ads.googleads.v23.resources.CustomerCustomizer.Builder
- All Implemented Interfaces:
CustomerCustomizerOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CustomerCustomizer
public static final class CustomerCustomizer.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CustomerCustomizer.Builder>
implements CustomerCustomizerOrBuilder
A customizer value for the associated CustomizerAttribute at the Customer level.Protobuf type
google.ads.googleads.v23.resources.CustomerCustomizer-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Immutable.Output only.Required.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorImmutable.com.google.protobuf.ByteStringImmutable.Output only.intOutput only.getValue()Required.Required.Required.booleanhasValue()Required.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CustomerCustomizer other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeValue(CustomizerValue value) Required.setCustomizerAttribute(String value) Required.setCustomizerAttributeBytes(com.google.protobuf.ByteString value) Required.setResourceName(String value) Immutable.setResourceNameBytes(com.google.protobuf.ByteString value) Immutable.Output only.setStatusValue(int value) Output only.setValue(CustomizerValue value) Required.setValue(CustomizerValue.Builder builderForValue) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CustomerCustomizer.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CustomerCustomizer.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.GeneratedMessage.Builder<CustomerCustomizer.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomerCustomizer.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CustomerCustomizer.Builder>
-
mergeFrom
public CustomerCustomizer.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<CustomerCustomizer.Builder>- Throws:
IOException
-
getResourceName
Immutable. The resource name of the customer customizer. Customer customizer resource names have the form: `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceCustomerCustomizerOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()Immutable. The resource name of the customer customizer. Customer customizer resource names have the form: `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceCustomerCustomizerOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
Immutable. The resource name of the customer customizer. Customer customizer resource names have the form: `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
Immutable. The resource name of the customer customizer. Customer customizer resource names have the form: `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
Immutable. The resource name of the customer customizer. Customer customizer resource names have the form: `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getCustomizerAttribute
Required. Immutable. The customizer attribute which is linked to the customer.
string customizer_attribute = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCustomizerAttributein interfaceCustomerCustomizerOrBuilder- Returns:
- The customizerAttribute.
-
getCustomizerAttributeBytes
public com.google.protobuf.ByteString getCustomizerAttributeBytes()Required. Immutable. The customizer attribute which is linked to the customer.
string customizer_attribute = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCustomizerAttributeBytesin interfaceCustomerCustomizerOrBuilder- Returns:
- The bytes for customizerAttribute.
-
setCustomizerAttribute
Required. Immutable. The customizer attribute which is linked to the customer.
string customizer_attribute = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The customizerAttribute to set.- Returns:
- This builder for chaining.
-
clearCustomizerAttribute
Required. Immutable. The customizer attribute which is linked to the customer.
string customizer_attribute = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCustomizerAttributeBytes
Required. Immutable. The customizer attribute which is linked to the customer.
string customizer_attribute = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for customizerAttribute to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()Output only. The status of the customer customizer attribute.
.google.ads.googleads.v23.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceCustomerCustomizerOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
Output only. The status of the customer customizer attribute.
.google.ads.googleads.v23.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(.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 customer customizer attribute.
.google.ads.googleads.v23.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceCustomerCustomizerOrBuilder- Returns:
- The status.
-
setStatus
Output only. The status of the customer customizer attribute.
.google.ads.googleads.v23.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. The status of the customer customizer attribute.
.google.ads.googleads.v23.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()Required. The value to associate with the customizer attribute at this level. The value must be of the type specified for the CustomizerAttribute.
.google.ads.googleads.v23.common.CustomizerValue value = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasValuein interfaceCustomerCustomizerOrBuilder- Returns:
- Whether the value field is set.
-
getValue
Required. The value to associate with the customizer attribute at this level. The value must be of the type specified for the CustomizerAttribute.
.google.ads.googleads.v23.common.CustomizerValue value = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getValuein interfaceCustomerCustomizerOrBuilder- Returns:
- The value.
-
setValue
Required. The value to associate with the customizer attribute at this level. The value must be of the type specified for the CustomizerAttribute.
.google.ads.googleads.v23.common.CustomizerValue value = 4 [(.google.api.field_behavior) = REQUIRED]; -
setValue
Required. The value to associate with the customizer attribute at this level. The value must be of the type specified for the CustomizerAttribute.
.google.ads.googleads.v23.common.CustomizerValue value = 4 [(.google.api.field_behavior) = REQUIRED]; -
mergeValue
Required. The value to associate with the customizer attribute at this level. The value must be of the type specified for the CustomizerAttribute.
.google.ads.googleads.v23.common.CustomizerValue value = 4 [(.google.api.field_behavior) = REQUIRED]; -
clearValue
Required. The value to associate with the customizer attribute at this level. The value must be of the type specified for the CustomizerAttribute.
.google.ads.googleads.v23.common.CustomizerValue value = 4 [(.google.api.field_behavior) = REQUIRED]; -
getValueBuilder
Required. The value to associate with the customizer attribute at this level. The value must be of the type specified for the CustomizerAttribute.
.google.ads.googleads.v23.common.CustomizerValue value = 4 [(.google.api.field_behavior) = REQUIRED]; -
getValueOrBuilder
Required. The value to associate with the customizer attribute at this level. The value must be of the type specified for the CustomizerAttribute.
.google.ads.googleads.v23.common.CustomizerValue value = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getValueOrBuilderin interfaceCustomerCustomizerOrBuilder
-