Class CustomerLabelOperation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CustomerLabelOperation.Builder>
-
- com.google.ads.googleads.v15.services.CustomerLabelOperation.Builder
-
- All Implemented Interfaces:
CustomerLabelOperationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- CustomerLabelOperation
public static final class CustomerLabelOperation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomerLabelOperation.Builder> implements CustomerLabelOperationOrBuilder
A single operation (create, remove) on a customer-label relationship.
Protobuf typegoogle.ads.googleads.v15.services.CustomerLabelOperation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerLabelOperation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CustomerLabelOperationbuild()CustomerLabelOperationbuildPartial()CustomerLabelOperation.Builderclear()CustomerLabelOperation.BuilderclearCreate()Create operation: No resource name is expected for the new customer-label relationship.CustomerLabelOperation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CustomerLabelOperation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CustomerLabelOperation.BuilderclearOperation()CustomerLabelOperation.BuilderclearRemove()Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`CustomerLabelOperation.Builderclone()CustomerLabelgetCreate()Create operation: No resource name is expected for the new customer-label relationship.CustomerLabel.BuildergetCreateBuilder()Create operation: No resource name is expected for the new customer-label relationship.CustomerLabelOrBuildergetCreateOrBuilder()Create operation: No resource name is expected for the new customer-label relationship.CustomerLabelOperationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CustomerLabelOperation.OperationCasegetOperationCase()java.lang.StringgetRemove()Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`com.google.protobuf.ByteStringgetRemoveBytes()Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`booleanhasCreate()Create operation: No resource name is expected for the new customer-label relationship.booleanhasRemove()Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CustomerLabelOperation.BuildermergeCreate(CustomerLabel value)Create operation: No resource name is expected for the new customer-label relationship.CustomerLabelOperation.BuildermergeFrom(CustomerLabelOperation other)CustomerLabelOperation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CustomerLabelOperation.BuildermergeFrom(com.google.protobuf.Message other)CustomerLabelOperation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CustomerLabelOperation.BuildersetCreate(CustomerLabel value)Create operation: No resource name is expected for the new customer-label relationship.CustomerLabelOperation.BuildersetCreate(CustomerLabel.Builder builderForValue)Create operation: No resource name is expected for the new customer-label relationship.CustomerLabelOperation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CustomerLabelOperation.BuildersetRemove(java.lang.String value)Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`CustomerLabelOperation.BuildersetRemoveBytes(com.google.protobuf.ByteString value)Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`CustomerLabelOperation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CustomerLabelOperation.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, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLabelOperation.Builder>
-
clear
public CustomerLabelOperation.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<CustomerLabelOperation.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<CustomerLabelOperation.Builder>
-
getDefaultInstanceForType
public CustomerLabelOperation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CustomerLabelOperation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CustomerLabelOperation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CustomerLabelOperation.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<CustomerLabelOperation.Builder>
-
setField
public CustomerLabelOperation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLabelOperation.Builder>
-
clearField
public CustomerLabelOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLabelOperation.Builder>
-
clearOneof
public CustomerLabelOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLabelOperation.Builder>
-
setRepeatedField
public CustomerLabelOperation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLabelOperation.Builder>
-
addRepeatedField
public CustomerLabelOperation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLabelOperation.Builder>
-
mergeFrom
public CustomerLabelOperation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomerLabelOperation.Builder>
-
mergeFrom
public CustomerLabelOperation.Builder mergeFrom(CustomerLabelOperation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLabelOperation.Builder>
-
mergeFrom
public CustomerLabelOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomerLabelOperation.Builder>- Throws:
java.io.IOException
-
getOperationCase
public CustomerLabelOperation.OperationCase getOperationCase()
- Specified by:
getOperationCasein interfaceCustomerLabelOperationOrBuilder
-
clearOperation
public CustomerLabelOperation.Builder clearOperation()
-
hasCreate
public boolean hasCreate()
Create operation: No resource name is expected for the new customer-label relationship.
.google.ads.googleads.v15.resources.CustomerLabel create = 1;- Specified by:
hasCreatein interfaceCustomerLabelOperationOrBuilder- Returns:
- Whether the create field is set.
-
getCreate
public CustomerLabel getCreate()
Create operation: No resource name is expected for the new customer-label relationship.
.google.ads.googleads.v15.resources.CustomerLabel create = 1;- Specified by:
getCreatein interfaceCustomerLabelOperationOrBuilder- Returns:
- The create.
-
setCreate
public CustomerLabelOperation.Builder setCreate(CustomerLabel value)
Create operation: No resource name is expected for the new customer-label relationship.
.google.ads.googleads.v15.resources.CustomerLabel create = 1;
-
setCreate
public CustomerLabelOperation.Builder setCreate(CustomerLabel.Builder builderForValue)
Create operation: No resource name is expected for the new customer-label relationship.
.google.ads.googleads.v15.resources.CustomerLabel create = 1;
-
mergeCreate
public CustomerLabelOperation.Builder mergeCreate(CustomerLabel value)
Create operation: No resource name is expected for the new customer-label relationship.
.google.ads.googleads.v15.resources.CustomerLabel create = 1;
-
clearCreate
public CustomerLabelOperation.Builder clearCreate()
Create operation: No resource name is expected for the new customer-label relationship.
.google.ads.googleads.v15.resources.CustomerLabel create = 1;
-
getCreateBuilder
public CustomerLabel.Builder getCreateBuilder()
Create operation: No resource name is expected for the new customer-label relationship.
.google.ads.googleads.v15.resources.CustomerLabel create = 1;
-
getCreateOrBuilder
public CustomerLabelOrBuilder getCreateOrBuilder()
Create operation: No resource name is expected for the new customer-label relationship.
.google.ads.googleads.v15.resources.CustomerLabel create = 1;- Specified by:
getCreateOrBuilderin interfaceCustomerLabelOperationOrBuilder
-
hasRemove
public boolean hasRemove()
Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Specified by:
hasRemovein interfaceCustomerLabelOperationOrBuilder- Returns:
- Whether the remove field is set.
-
getRemove
public java.lang.String getRemove()
Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getRemovein interfaceCustomerLabelOperationOrBuilder- Returns:
- The remove.
-
getRemoveBytes
public com.google.protobuf.ByteString getRemoveBytes()
Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getRemoveBytesin interfaceCustomerLabelOperationOrBuilder- Returns:
- The bytes for remove.
-
setRemove
public CustomerLabelOperation.Builder setRemove(java.lang.String value)
Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The remove to set.- Returns:
- This builder for chaining.
-
clearRemove
public CustomerLabelOperation.Builder clearRemove()
Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setRemoveBytes
public CustomerLabelOperation.Builder setRemoveBytes(com.google.protobuf.ByteString value)
Remove operation: A resource name for the customer-label relationship being removed, in this format: `customers/{customer_id}/customerLabels/{label_id}`string remove = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for remove to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CustomerLabelOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLabelOperation.Builder>
-
mergeUnknownFields
public final CustomerLabelOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerLabelOperation.Builder>
-
-