Class DataUpdateAction.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
- com.google.cloud.contentwarehouse.v1.DataUpdateAction.Builder
-
- All Implemented Interfaces:
DataUpdateActionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DataUpdateAction
public static final class DataUpdateAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder> implements DataUpdateActionOrBuilder
Represents the action responsible for properties update operations.
Protobuf typegoogle.cloud.contentwarehouse.v1.DataUpdateAction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DataUpdateAction.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataUpdateAction
build()
DataUpdateAction
buildPartial()
DataUpdateAction.Builder
clear()
DataUpdateAction.Builder
clearEntries()
DataUpdateAction.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DataUpdateAction.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DataUpdateAction.Builder
clone()
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.DataUpdateAction
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,String>
getEntries()
Deprecated.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.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.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.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.Map<String,String>
getMutableEntries()
Deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
DataUpdateAction.Builder
mergeFrom(DataUpdateAction other)
DataUpdateAction.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DataUpdateAction.Builder
mergeFrom(com.google.protobuf.Message other)
DataUpdateAction.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.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.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.DataUpdateAction.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataUpdateAction.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DataUpdateAction.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
clear
public DataUpdateAction.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
getDefaultInstanceForType
public DataUpdateAction getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataUpdateAction build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataUpdateAction buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataUpdateAction.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
setField
public DataUpdateAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
clearField
public DataUpdateAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
clearOneof
public DataUpdateAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
setRepeatedField
public DataUpdateAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
addRepeatedField
public DataUpdateAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
mergeFrom
public DataUpdateAction.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataUpdateAction.Builder>
-
mergeFrom
public DataUpdateAction.Builder mergeFrom(DataUpdateAction other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
mergeFrom
public DataUpdateAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataUpdateAction.Builder>
- Throws:
IOException
-
getEntriesCount
public int getEntriesCount()
Description copied from interface:DataUpdateActionOrBuilder
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;
- Specified by:
getEntriesCount
in interfaceDataUpdateActionOrBuilder
-
containsEntries
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;
- Specified by:
containsEntries
in interfaceDataUpdateActionOrBuilder
-
getEntries
@Deprecated public Map<String,String> getEntries()
Deprecated.UsegetEntriesMap()
instead.- Specified by:
getEntries
in interfaceDataUpdateActionOrBuilder
-
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;
- Specified by:
getEntriesMap
in interfaceDataUpdateActionOrBuilder
-
getEntriesOrDefault
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;
- Specified by:
getEntriesOrDefault
in interfaceDataUpdateActionOrBuilder
-
getEntriesOrThrow
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;
- Specified by:
getEntriesOrThrow
in interfaceDataUpdateActionOrBuilder
-
clearEntries
public DataUpdateAction.Builder clearEntries()
-
removeEntries
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;
-
getMutableEntries
@Deprecated public Map<String,String> getMutableEntries()
Deprecated.Use alternate mutation accessors instead.
-
putEntries
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;
-
putAllEntries
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;
-
setUnknownFields
public final DataUpdateAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
mergeUnknownFields
public final DataUpdateAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataUpdateAction.Builder>
-
-