public final class DataUpdateAction extends GeneratedMessageV3 implements DataUpdateActionOrBuilder
Represents the action responsible for properties update operations.
Protobuf type google.cloud.contentwarehouse.v1.DataUpdateAction
Static Fields
ENTRIES_FIELD_NUMBER
public static final int ENTRIES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DataUpdateAction getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DataUpdateAction.Builder newBuilder()
Returns
newBuilder(DataUpdateAction prototype)
public static DataUpdateAction.Builder newBuilder(DataUpdateAction prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static DataUpdateAction parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataUpdateAction parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataUpdateAction parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static DataUpdateAction parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static DataUpdateAction parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataUpdateAction parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DataUpdateAction> parser()
Returns
Methods
containsEntries(String key)
public boolean containsEntries(String key)
Map of (K, V) -> (valid name of the field, new value of the field)
E.g., ("age", "60") entry triggers update of field age with a value of 60.
If the field is not present then new entry is added.
During update action execution, value strings will be casted to
appropriate types.
map<string, string> entries = 1;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DataUpdateAction getDefaultInstanceForType()
Returns
getEntries()
public Map<String,String> getEntries()
Returns
getEntriesCount()
public int getEntriesCount()
Map of (K, V) -> (valid name of the field, new value of the field)
E.g., ("age", "60") entry triggers update of field age with a value of 60.
If the field is not present then new entry is added.
During update action execution, value strings will be casted to
appropriate types.
map<string, string> entries = 1;
Returns
getEntriesMap()
public Map<String,String> getEntriesMap()
Map of (K, V) -> (valid name of the field, new value of the field)
E.g., ("age", "60") entry triggers update of field age with a value of 60.
If the field is not present then new entry is added.
During update action execution, value strings will be casted to
appropriate types.
map<string, string> entries = 1;
Returns
getEntriesOrDefault(String key, String defaultValue)
public String getEntriesOrDefault(String key, String defaultValue)
Map of (K, V) -> (valid name of the field, new value of the field)
E.g., ("age", "60") entry triggers update of field age with a value of 60.
If the field is not present then new entry is added.
During update action execution, value strings will be casted to
appropriate types.
map<string, string> entries = 1;
Parameters
Returns
getEntriesOrThrow(String key)
public String getEntriesOrThrow(String key)
Map of (K, V) -> (valid name of the field, new value of the field)
E.g., ("age", "60") entry triggers update of field age with a value of 60.
If the field is not present then new entry is added.
During update action execution, value strings will be casted to
appropriate types.
map<string, string> entries = 1;
Parameter
Returns
getParserForType()
public Parser<DataUpdateAction> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DataUpdateAction.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataUpdateAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DataUpdateAction.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions