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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataUpdateAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DataUpdateAction build()
Returns
buildPartial()
public DataUpdateAction buildPartial()
Returns
clear()
public DataUpdateAction.Builder clear()
Returns
Overrides
clearEntries()
public DataUpdateAction.Builder clearEntries()
Returns
clearField(Descriptors.FieldDescriptor field)
public DataUpdateAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataUpdateAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DataUpdateAction.Builder clone()
Returns
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
Returns
getDefaultInstanceForType()
public DataUpdateAction getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getMutableEntries()
public Map<String,String> getMutableEntries()
Use alternate mutation accessors instead.
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DataUpdateAction other)
public DataUpdateAction.Builder mergeFrom(DataUpdateAction other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataUpdateAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataUpdateAction.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataUpdateAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DataUpdateAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataUpdateAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataUpdateAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides