Class DataUpdateAction.Builder (0.79.0)

public static final class DataUpdateAction.Builder extends GeneratedMessage.Builder<DataUpdateAction.Builder> implements DataUpdateActionOrBuilder

Represents the action responsible for properties update operations.

Protobuf type google.cloud.contentwarehouse.v1.DataUpdateAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DataUpdateAction build()
Returns
Type Description
DataUpdateAction

buildPartial()

public DataUpdateAction buildPartial()
Returns
Type Description
DataUpdateAction

clear()

public DataUpdateAction.Builder clear()
Returns
Type Description
DataUpdateAction.Builder
Overrides

clearEntries()

public DataUpdateAction.Builder clearEntries()
Returns
Type Description
DataUpdateAction.Builder

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
Returns
Type Description
boolean

getDefaultInstanceForType()

public DataUpdateAction getDefaultInstanceForType()
Returns
Type Description
DataUpdateAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEntries() (deprecated)

public Map<String,String> getEntries()

Use #getEntriesMap() instead.

Returns
Type Description
Map<String,String>

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;

Returns
Type Description
Map<String,String>

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
Name Description
key String
defaultValue String
Returns
Type Description
String

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
Returns
Type Description
String

getMutableEntries() (deprecated)

public Map<String,String> getMutableEntries()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataUpdateAction other)

public DataUpdateAction.Builder mergeFrom(DataUpdateAction other)
Parameter
Name Description
other DataUpdateAction
Returns
Type Description
DataUpdateAction.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataUpdateAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataUpdateAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DataUpdateAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DataUpdateAction.Builder
Overrides

putAllEntries(Map<String,String> values)

public DataUpdateAction.Builder putAllEntries(Map<String,String> values)

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
values Map<String,String>
Returns
Type Description
DataUpdateAction.Builder

putEntries(String key, String value)

public DataUpdateAction.Builder putEntries(String key, String value)

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
Name Description
key String
value String
Returns
Type Description
DataUpdateAction.Builder

removeEntries(String key)

public DataUpdateAction.Builder removeEntries(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
Returns
Type Description
DataUpdateAction.Builder