public static final class UpdateOptions.Builder extends GeneratedMessageV3.Builder<UpdateOptions.Builder> implements UpdateOptionsOrBuilder
Options for Update operations.
Protobuf type google.cloud.contentwarehouse.v1.UpdateOptions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateOptions build()
buildPartial()
public UpdateOptions buildPartial()
clear()
public UpdateOptions.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMergeFieldsOptions()
public UpdateOptions.Builder clearMergeFieldsOptions()
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateOptions.Builder clearUpdateMask()
clearUpdateType()
public UpdateOptions.Builder clearUpdateType()
Type for update.
.google.cloud.contentwarehouse.v1.UpdateType update_type = 1;
clone()
public UpdateOptions.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMergeFieldsOptions()
public MergeFieldsOptions getMergeFieldsOptions()
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
getMergeFieldsOptionsBuilder()
public MergeFieldsOptions.Builder getMergeFieldsOptionsBuilder()
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
getMergeFieldsOptionsOrBuilder()
public MergeFieldsOptionsOrBuilder getMergeFieldsOptionsOrBuilder()
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
getUpdateMask()
public FieldMask getUpdateMask()
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
getUpdateType()
public UpdateType getUpdateType()
Type for update.
.google.cloud.contentwarehouse.v1.UpdateType update_type = 1;
Returns |
Type |
Description |
UpdateType |
The updateType.
|
getUpdateTypeValue()
public int getUpdateTypeValue()
Type for update.
.google.cloud.contentwarehouse.v1.UpdateType update_type = 1;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for updateType.
|
hasMergeFieldsOptions()
public boolean hasMergeFieldsOptions()
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
Returns |
Type |
Description |
boolean |
Whether the mergeFieldsOptions field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateOptions other)
public UpdateOptions.Builder mergeFrom(UpdateOptions other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateOptions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeMergeFieldsOptions(MergeFieldsOptions value)
public UpdateOptions.Builder mergeMergeFieldsOptions(MergeFieldsOptions value)
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateOptions.Builder mergeUpdateMask(FieldMask value)
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMergeFieldsOptions(MergeFieldsOptions value)
public UpdateOptions.Builder setMergeFieldsOptions(MergeFieldsOptions value)
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
setMergeFieldsOptions(MergeFieldsOptions.Builder builderForValue)
public UpdateOptions.Builder setMergeFieldsOptions(MergeFieldsOptions.Builder builderForValue)
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateOptions.Builder setUpdateMask(FieldMask value)
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateOptions.Builder setUpdateMask(FieldMask.Builder builderForValue)
Parameter |
Name |
Description |
builderForValue |
Builder
|
setUpdateType(UpdateType value)
public UpdateOptions.Builder setUpdateType(UpdateType value)
Type for update.
.google.cloud.contentwarehouse.v1.UpdateType update_type = 1;
Parameter |
Name |
Description |
value |
UpdateType
The updateType to set.
|
setUpdateTypeValue(int value)
public UpdateOptions.Builder setUpdateTypeValue(int value)
Type for update.
.google.cloud.contentwarehouse.v1.UpdateType update_type = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for updateType to set.
|