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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataUpdateAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DataUpdateAction build()
buildPartial()
public DataUpdateAction buildPartial()
clear()
public DataUpdateAction.Builder clear()
Overrides
clearEntries()
public DataUpdateAction.Builder clearEntries()
clearField(Descriptors.FieldDescriptor field)
public DataUpdateAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataUpdateAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DataUpdateAction.Builder clone()
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
|
getDefaultInstanceForType()
public DataUpdateAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEntries() (deprecated)
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
|
getMutableEntries() (deprecated)
public Map<String,String> getMutableEntries()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DataUpdateAction other)
public DataUpdateAction.Builder mergeFrom(DataUpdateAction other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataUpdateAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DataUpdateAction.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataUpdateAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public DataUpdateAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataUpdateAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataUpdateAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides