Class CustomizerAttributeOperation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
com.google.ads.googleads.v18.services.CustomizerAttributeOperation.Builder
- All Implemented Interfaces:
CustomizerAttributeOperationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CustomizerAttributeOperation
public static final class CustomizerAttributeOperation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
implements CustomizerAttributeOperationOrBuilder
A single operation (create, remove) on a customizer attribute.Protobuf type
google.ads.googleads.v18.services.CustomizerAttributeOperation-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Create operation: No resource name is expected for the new customizer attributeclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`FieldMask that determines which resource fields are modified in an update.clone()Create operation: No resource name is expected for the new customizer attributeCreate operation: No resource name is expected for the new customizer attributeCreate operation: No resource name is expected for the new customizer attributestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRemove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`com.google.protobuf.ByteStringRemove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`com.google.protobuf.FieldMaskFieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMask.BuilderFieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMaskOrBuilderFieldMask that determines which resource fields are modified in an update.booleanCreate operation: No resource name is expected for the new customizer attributebooleanRemove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`booleanFieldMask that determines which resource fields are modified in an update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCreate(CustomizerAttribute value) Create operation: No resource name is expected for the new customizer attributemergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdateMask(com.google.protobuf.FieldMask value) FieldMask that determines which resource fields are modified in an update.setCreate(CustomizerAttribute value) Create operation: No resource name is expected for the new customizer attributesetCreate(CustomizerAttribute.Builder builderForValue) Create operation: No resource name is expected for the new customizer attributeRemove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`setRemoveBytes(com.google.protobuf.ByteString value) Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateMask(com.google.protobuf.FieldMask value) FieldMask that determines which resource fields are modified in an update.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) FieldMask that determines which resource fields are modified in an update.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<CustomizerAttributeOperation.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<CustomizerAttributeOperation.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<CustomizerAttributeOperation.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<CustomizerAttributeOperation.Builder>
-
setField
public CustomizerAttributeOperation.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<CustomizerAttributeOperation.Builder>
-
clearField
public CustomizerAttributeOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
clearOneof
public CustomizerAttributeOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
setRepeatedField
public CustomizerAttributeOperation.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<CustomizerAttributeOperation.Builder>
-
addRepeatedField
public CustomizerAttributeOperation.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<CustomizerAttributeOperation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomizerAttributeOperation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
mergeFrom
public CustomizerAttributeOperation.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<CustomizerAttributeOperation.Builder>- Throws:
IOException
-
getOperationCase
- Specified by:
getOperationCasein interfaceCustomizerAttributeOperationOrBuilder
-
clearOperation
-
hasUpdateMask
public boolean hasUpdateMask()FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;- Specified by:
hasUpdateMaskin interfaceCustomizerAttributeOperationOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;- Specified by:
getUpdateMaskin interfaceCustomizerAttributeOperationOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
setUpdateMask
public CustomizerAttributeOperation.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
mergeUpdateMask
FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
clearUpdateMask
FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
getUpdateMaskBuilder
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
getUpdateMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;- Specified by:
getUpdateMaskOrBuilderin interfaceCustomizerAttributeOperationOrBuilder
-
hasCreate
public boolean hasCreate()Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v18.resources.CustomizerAttribute create = 1;- Specified by:
hasCreatein interfaceCustomizerAttributeOperationOrBuilder- Returns:
- Whether the create field is set.
-
getCreate
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v18.resources.CustomizerAttribute create = 1;- Specified by:
getCreatein interfaceCustomizerAttributeOperationOrBuilder- Returns:
- The create.
-
setCreate
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v18.resources.CustomizerAttribute create = 1; -
setCreate
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v18.resources.CustomizerAttribute create = 1; -
mergeCreate
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v18.resources.CustomizerAttribute create = 1; -
clearCreate
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v18.resources.CustomizerAttribute create = 1; -
getCreateBuilder
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v18.resources.CustomizerAttribute create = 1; -
getCreateOrBuilder
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v18.resources.CustomizerAttribute create = 1;- Specified by:
getCreateOrBuilderin interfaceCustomizerAttributeOperationOrBuilder
-
hasRemove
public boolean hasRemove()Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Specified by:
hasRemovein interfaceCustomizerAttributeOperationOrBuilder- Returns:
- Whether the remove field is set.
-
getRemove
Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getRemovein interfaceCustomizerAttributeOperationOrBuilder- Returns:
- The remove.
-
getRemoveBytes
public com.google.protobuf.ByteString getRemoveBytes()Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getRemoveBytesin interfaceCustomizerAttributeOperationOrBuilder- Returns:
- The bytes for remove.
-
setRemove
Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The remove to set.- Returns:
- This builder for chaining.
-
clearRemove
Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setRemoveBytes
Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for remove to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CustomizerAttributeOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
mergeUnknownFields
public final CustomizerAttributeOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-