public final class UpdateOptions extends GeneratedMessageV3 implements UpdateOptionsOrBuilder
Options for Update operations.
Protobuf type google.cloud.contentwarehouse.v1.UpdateOptions
Static Fields
MERGE_FIELDS_OPTIONS_FIELD_NUMBER
public static final int MERGE_FIELDS_OPTIONS_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
UPDATE_TYPE_FIELD_NUMBER
public static final int UPDATE_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateOptions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateOptions.Builder newBuilder()
Returns
newBuilder(UpdateOptions prototype)
public static UpdateOptions.Builder newBuilder(UpdateOptions prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static UpdateOptions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateOptions parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateOptions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static UpdateOptions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static UpdateOptions parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateOptions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateOptions> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UpdateOptions getDefaultInstanceForType()
Returns
getMergeFieldsOptions()
public MergeFieldsOptions getMergeFieldsOptions()
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
getParserForType()
public Parser<UpdateOptions> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateOptions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateOptions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions