Class CustomerAssetOperation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CustomerAssetOperation.Builder>
com.google.ads.googleads.v18.services.CustomerAssetOperation.Builder
- All Implemented Interfaces:
CustomerAssetOperationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CustomerAssetOperation
public static final class CustomerAssetOperation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CustomerAssetOperation.Builder>
implements CustomerAssetOperationOrBuilder
A single operation (create, update, remove) on a customer asset.Protobuf type
google.ads.googleads.v18.services.CustomerAssetOperation-
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 customer asset.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Remove operation: A resource name for the removed customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`Update operation: The customer asset is expected to have a valid resource name.FieldMask that determines which resource fields are modified in an update.clone()Create operation: No resource name is expected for the new customer asset.Create operation: No resource name is expected for the new customer asset.Create operation: No resource name is expected for the new customer asset.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRemove operation: A resource name for the removed customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`com.google.protobuf.ByteStringRemove operation: A resource name for the removed customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`Update operation: The customer asset is expected to have a valid resource name.Update operation: The customer asset is expected to have a valid resource name.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.Update operation: The customer asset is expected to have a valid resource name.booleanCreate operation: No resource name is expected for the new customer asset.booleanRemove operation: A resource name for the removed customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`booleanUpdate operation: The customer asset is expected to have a valid resource name.booleanFieldMask that determines which resource fields are modified in an update.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCreate(CustomerAsset value) Create operation: No resource name is expected for the new customer asset.mergeFrom(CustomerAssetOperation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdate(CustomerAsset value) Update operation: The customer asset is expected to have a valid resource name.mergeUpdateMask(com.google.protobuf.FieldMask value) FieldMask that determines which resource fields are modified in an update.setCreate(CustomerAsset value) Create operation: No resource name is expected for the new customer asset.setCreate(CustomerAsset.Builder builderForValue) Create operation: No resource name is expected for the new customer asset.Remove operation: A resource name for the removed customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`setRemoveBytes(com.google.protobuf.ByteString value) Remove operation: A resource name for the removed customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdate(CustomerAsset value) Update operation: The customer asset is expected to have a valid resource name.setUpdate(CustomerAsset.Builder builderForValue) Update operation: The customer asset is expected to have a valid resource name.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<CustomerAssetOperation.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<CustomerAssetOperation.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<CustomerAssetOperation.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<CustomerAssetOperation.Builder>
-
setField
public CustomerAssetOperation.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<CustomerAssetOperation.Builder>
-
clearField
public CustomerAssetOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerAssetOperation.Builder>
-
clearOneof
public CustomerAssetOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerAssetOperation.Builder>
-
setRepeatedField
public CustomerAssetOperation.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<CustomerAssetOperation.Builder>
-
addRepeatedField
public CustomerAssetOperation.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<CustomerAssetOperation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CustomerAssetOperation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerAssetOperation.Builder>
-
mergeFrom
public CustomerAssetOperation.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<CustomerAssetOperation.Builder>- Throws:
IOException
-
getOperationCase
- Specified by:
getOperationCasein interfaceCustomerAssetOperationOrBuilder
-
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 interfaceCustomerAssetOperationOrBuilder- 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 interfaceCustomerAssetOperationOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
FieldMask that determines which resource fields are modified in an update.
.google.protobuf.FieldMask update_mask = 4; -
setUpdateMask
public CustomerAssetOperation.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 interfaceCustomerAssetOperationOrBuilder
-
hasCreate
public boolean hasCreate()Create operation: No resource name is expected for the new customer asset.
.google.ads.googleads.v18.resources.CustomerAsset create = 1;- Specified by:
hasCreatein interfaceCustomerAssetOperationOrBuilder- Returns:
- Whether the create field is set.
-
getCreate
Create operation: No resource name is expected for the new customer asset.
.google.ads.googleads.v18.resources.CustomerAsset create = 1;- Specified by:
getCreatein interfaceCustomerAssetOperationOrBuilder- Returns:
- The create.
-
setCreate
Create operation: No resource name is expected for the new customer asset.
.google.ads.googleads.v18.resources.CustomerAsset create = 1; -
setCreate
Create operation: No resource name is expected for the new customer asset.
.google.ads.googleads.v18.resources.CustomerAsset create = 1; -
mergeCreate
Create operation: No resource name is expected for the new customer asset.
.google.ads.googleads.v18.resources.CustomerAsset create = 1; -
clearCreate
Create operation: No resource name is expected for the new customer asset.
.google.ads.googleads.v18.resources.CustomerAsset create = 1; -
getCreateBuilder
Create operation: No resource name is expected for the new customer asset.
.google.ads.googleads.v18.resources.CustomerAsset create = 1; -
getCreateOrBuilder
Create operation: No resource name is expected for the new customer asset.
.google.ads.googleads.v18.resources.CustomerAsset create = 1;- Specified by:
getCreateOrBuilderin interfaceCustomerAssetOperationOrBuilder
-
hasUpdate
public boolean hasUpdate()Update operation: The customer asset is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomerAsset update = 3;- Specified by:
hasUpdatein interfaceCustomerAssetOperationOrBuilder- Returns:
- Whether the update field is set.
-
getUpdate
Update operation: The customer asset is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomerAsset update = 3;- Specified by:
getUpdatein interfaceCustomerAssetOperationOrBuilder- Returns:
- The update.
-
setUpdate
Update operation: The customer asset is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomerAsset update = 3; -
setUpdate
Update operation: The customer asset is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomerAsset update = 3; -
mergeUpdate
Update operation: The customer asset is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomerAsset update = 3; -
clearUpdate
Update operation: The customer asset is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomerAsset update = 3; -
getUpdateBuilder
Update operation: The customer asset is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomerAsset update = 3; -
getUpdateOrBuilder
Update operation: The customer asset is expected to have a valid resource name.
.google.ads.googleads.v18.resources.CustomerAsset update = 3;- Specified by:
getUpdateOrBuilderin interfaceCustomerAssetOperationOrBuilder
-
hasRemove
public boolean hasRemove()Remove operation: A resource name for the removed customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`string remove = 2 [(.google.api.resource_reference) = { ... }- Specified by:
hasRemovein interfaceCustomerAssetOperationOrBuilder- Returns:
- Whether the remove field is set.
-
getRemove
Remove operation: A resource name for the removed customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`string remove = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getRemovein interfaceCustomerAssetOperationOrBuilder- Returns:
- The remove.
-
getRemoveBytes
public com.google.protobuf.ByteString getRemoveBytes()Remove operation: A resource name for the removed customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`string remove = 2 [(.google.api.resource_reference) = { ... }- Specified by:
getRemoveBytesin interfaceCustomerAssetOperationOrBuilder- Returns:
- The bytes for remove.
-
setRemove
Remove operation: A resource name for the removed customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`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 customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`string remove = 2 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setRemoveBytes
Remove operation: A resource name for the removed customer asset is expected, in this format: `customers/{customer_id}/customerAssets/{asset_id}~{field_type}`string remove = 2 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for remove to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CustomerAssetOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerAssetOperation.Builder>
-
mergeUnknownFields
public final CustomerAssetOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerAssetOperation.Builder>
-