Class DataUpdateAction.Builder (0.41.0)

public static final class DataUpdateAction.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataUpdateAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataUpdateAction.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public DataUpdateAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataUpdateAction.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataUpdateAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataUpdateAction.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataUpdateAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public DataUpdateAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataUpdateAction.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DataUpdateAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DataUpdateAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataUpdateAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataUpdateAction.Builder
Overrides