Send feedback
Class UpdateOptions.Builder (0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.6.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 ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateOptions . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public UpdateOptions build ()
Returns
buildPartial()
public UpdateOptions buildPartial ()
Returns
clear()
public UpdateOptions . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateOptions . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearMergeFieldsOptions()
public UpdateOptions . Builder clearMergeFieldsOptions ()
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateOptions . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateOptions . Builder clearUpdateMask ()
Returns
clearUpdateType()
public UpdateOptions . Builder clearUpdateType ()
Type for update.
.google.cloud.contentwarehouse.v1.UpdateType update_type = 1;
Returns
clone()
public UpdateOptions . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public UpdateOptions getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getMergeFieldsOptions()
public MergeFieldsOptions getMergeFieldsOptions ()
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
Returns
getMergeFieldsOptionsBuilder()
public MergeFieldsOptions . Builder getMergeFieldsOptionsBuilder ()
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
Returns
getMergeFieldsOptionsOrBuilder()
public MergeFieldsOptionsOrBuilder getMergeFieldsOptionsOrBuilder ()
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
Returns
getUpdateMask()
public FieldMask getUpdateMask ()
Returns
getUpdateMaskBuilder()
public FieldMask . Builder getUpdateMaskBuilder ()
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
Returns
getUpdateType()
public UpdateType getUpdateType ()
Type for update.
.google.cloud.contentwarehouse.v1.UpdateType update_type = 1;
Returns
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(UpdateOptions other)
public UpdateOptions . Builder mergeFrom ( UpdateOptions other )
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateOptions . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateOptions . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeMergeFieldsOptions(MergeFieldsOptions value)
public UpdateOptions . Builder mergeMergeFieldsOptions ( MergeFieldsOptions value )
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOptions . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateOptions . Builder mergeUpdateMask ( FieldMask value )
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateOptions . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setMergeFieldsOptions(MergeFieldsOptions value)
public UpdateOptions . Builder setMergeFieldsOptions ( MergeFieldsOptions value )
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
Parameter
Returns
setMergeFieldsOptions(MergeFieldsOptions.Builder builderForValue)
public UpdateOptions . Builder setMergeFieldsOptions ( MergeFieldsOptions . Builder builderForValue )
Options for merging.
.google.cloud.contentwarehouse.v1.MergeFieldsOptions merge_fields_options = 3;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateOptions . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateOptions . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateOptions . Builder setUpdateMask ( FieldMask value )
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateOptions . Builder setUpdateMask ( FieldMask . Builder builderForValue )
Parameter
Name Description builderForValue
Builder
Returns
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.
Returns
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.
Returns
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-28 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-28 UTC."],[],[]]