Send feedback
Class UpdateOptions.Builder (0.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.12.0 keyboard_arrow_down
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.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;
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]