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 |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static DataUpdateAction getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataUpdateAction.Builder newBuilder()
newBuilder(DataUpdateAction prototype)
public static DataUpdateAction.Builder newBuilder(DataUpdateAction prototype)
parseDelimitedFrom(InputStream input)
public static DataUpdateAction parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataUpdateAction parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataUpdateAction parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static DataUpdateAction parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static DataUpdateAction parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataUpdateAction parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataUpdateAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataUpdateAction> parser()
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 |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public DataUpdateAction getDefaultInstanceForType()
getEntries()
public Map<String,String> getEntries()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
getParserForType()
public Parser<DataUpdateAction> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataUpdateAction.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataUpdateAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DataUpdateAction.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides