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.v13.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
,java.lang.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 typegoogle.ads.googleads.v13.services.CustomizerAttributeOperation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomizerAttributeOperation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CustomizerAttributeOperation
build()
CustomizerAttributeOperation
buildPartial()
CustomizerAttributeOperation.Builder
clear()
CustomizerAttributeOperation.Builder
clearCreate()
Create operation: No resource name is expected for the new customizer attributeCustomizerAttributeOperation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CustomizerAttributeOperation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CustomizerAttributeOperation.Builder
clearOperation()
CustomizerAttributeOperation.Builder
clearRemove()
Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`CustomizerAttributeOperation.Builder
clearUpdateMask()
FieldMask that determines which resource fields are modified in an update.CustomizerAttributeOperation.Builder
clone()
CustomizerAttribute
getCreate()
Create operation: No resource name is expected for the new customizer attributeCustomizerAttribute.Builder
getCreateBuilder()
Create operation: No resource name is expected for the new customizer attributeCustomizerAttributeOrBuilder
getCreateOrBuilder()
Create operation: No resource name is expected for the new customizer attributeCustomizerAttributeOperation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
CustomizerAttributeOperation.OperationCase
getOperationCase()
java.lang.String
getRemove()
Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`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}`com.google.protobuf.FieldMask
getUpdateMask()
FieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMask.Builder
getUpdateMaskBuilder()
FieldMask that determines which resource fields are modified in an update.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
FieldMask that determines which resource fields are modified in an update.boolean
hasCreate()
Create operation: No resource name is expected for the new customizer attributeboolean
hasRemove()
Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`boolean
hasUpdateMask()
FieldMask that determines which resource fields are modified in an update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CustomizerAttributeOperation.Builder
mergeCreate(CustomizerAttribute value)
Create operation: No resource name is expected for the new customizer attributeCustomizerAttributeOperation.Builder
mergeFrom(CustomizerAttributeOperation other)
CustomizerAttributeOperation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CustomizerAttributeOperation.Builder
mergeFrom(com.google.protobuf.Message other)
CustomizerAttributeOperation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CustomizerAttributeOperation.Builder
mergeUpdateMask(com.google.protobuf.FieldMask value)
FieldMask that determines which resource fields are modified in an update.CustomizerAttributeOperation.Builder
setCreate(CustomizerAttribute value)
Create operation: No resource name is expected for the new customizer attributeCustomizerAttributeOperation.Builder
setCreate(CustomizerAttribute.Builder builderForValue)
Create operation: No resource name is expected for the new customizer attributeCustomizerAttributeOperation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CustomizerAttributeOperation.Builder
setRemove(java.lang.String value)
Remove operation: A resource name for the removed customizer attribute is expected, in this format: `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}`CustomizerAttributeOperation.Builder
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}`CustomizerAttributeOperation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CustomizerAttributeOperation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CustomizerAttributeOperation.Builder
setUpdateMask(com.google.protobuf.FieldMask value)
FieldMask that determines which resource fields are modified in an update.CustomizerAttributeOperation.Builder
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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
clear
public CustomizerAttributeOperation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
getDefaultInstanceForType
public CustomizerAttributeOperation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CustomizerAttributeOperation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CustomizerAttributeOperation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CustomizerAttributeOperation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
setField
public CustomizerAttributeOperation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
clearField
public CustomizerAttributeOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
clearOneof
public CustomizerAttributeOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
setRepeatedField
public CustomizerAttributeOperation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
addRepeatedField
public CustomizerAttributeOperation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
mergeFrom
public CustomizerAttributeOperation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CustomizerAttributeOperation.Builder>
-
mergeFrom
public CustomizerAttributeOperation.Builder mergeFrom(CustomizerAttributeOperation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
mergeFrom
public CustomizerAttributeOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CustomizerAttributeOperation.Builder>
- Throws:
java.io.IOException
-
getOperationCase
public CustomizerAttributeOperation.OperationCase getOperationCase()
- Specified by:
getOperationCase
in interfaceCustomizerAttributeOperationOrBuilder
-
clearOperation
public CustomizerAttributeOperation.Builder clearOperation()
-
hasUpdateMask
public boolean hasUpdateMask()
FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;
- Specified by:
hasUpdateMask
in 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:
getUpdateMask
in interfaceCustomizerAttributeOperationOrBuilder
- Returns:
- The updateMask.
-
setUpdateMask
public CustomizerAttributeOperation.Builder setUpdateMask(com.google.protobuf.FieldMask value)
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
public CustomizerAttributeOperation.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4;
-
clearUpdateMask
public CustomizerAttributeOperation.Builder 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:
getUpdateMaskOrBuilder
in interfaceCustomizerAttributeOperationOrBuilder
-
hasCreate
public boolean hasCreate()
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v13.resources.CustomizerAttribute create = 1;
- Specified by:
hasCreate
in interfaceCustomizerAttributeOperationOrBuilder
- Returns:
- Whether the create field is set.
-
getCreate
public CustomizerAttribute getCreate()
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v13.resources.CustomizerAttribute create = 1;
- Specified by:
getCreate
in interfaceCustomizerAttributeOperationOrBuilder
- Returns:
- The create.
-
setCreate
public CustomizerAttributeOperation.Builder setCreate(CustomizerAttribute value)
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v13.resources.CustomizerAttribute create = 1;
-
setCreate
public CustomizerAttributeOperation.Builder setCreate(CustomizerAttribute.Builder builderForValue)
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v13.resources.CustomizerAttribute create = 1;
-
mergeCreate
public CustomizerAttributeOperation.Builder mergeCreate(CustomizerAttribute value)
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v13.resources.CustomizerAttribute create = 1;
-
clearCreate
public CustomizerAttributeOperation.Builder clearCreate()
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v13.resources.CustomizerAttribute create = 1;
-
getCreateBuilder
public CustomizerAttribute.Builder getCreateBuilder()
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v13.resources.CustomizerAttribute create = 1;
-
getCreateOrBuilder
public CustomizerAttributeOrBuilder getCreateOrBuilder()
Create operation: No resource name is expected for the new customizer attribute
.google.ads.googleads.v13.resources.CustomizerAttribute create = 1;
- Specified by:
getCreateOrBuilder
in 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:
hasRemove
in interfaceCustomizerAttributeOperationOrBuilder
- Returns:
- Whether the remove field is set.
-
getRemove
public java.lang.String 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:
getRemove
in 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:
getRemoveBytes
in interfaceCustomizerAttributeOperationOrBuilder
- Returns:
- The bytes for remove.
-
setRemove
public CustomizerAttributeOperation.Builder setRemove(java.lang.String value)
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
public CustomizerAttributeOperation.Builder 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
public CustomizerAttributeOperation.Builder 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}`
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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
mergeUnknownFields
public final CustomizerAttributeOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomizerAttributeOperation.Builder>
-
-