- 0.50.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class MapProperty.Builder extends GeneratedMessageV3.Builder<MapProperty.Builder> implements MapPropertyOrBuilder
Map property value. Represents a structured entries of key value pairs, consisting of field names which map to dynamically typed values.
Protobuf type google.cloud.contentwarehouse.v1.MapProperty
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MapProperty.BuilderImplements
MapPropertyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MapProperty.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MapProperty.Builder |
build()
public MapProperty build()
Type | Description |
MapProperty |
buildPartial()
public MapProperty buildPartial()
Type | Description |
MapProperty |
clear()
public MapProperty.Builder clear()
Type | Description |
MapProperty.Builder |
clearField(Descriptors.FieldDescriptor field)
public MapProperty.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MapProperty.Builder |
clearFields()
public MapProperty.Builder clearFields()
Type | Description |
MapProperty.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MapProperty.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MapProperty.Builder |
clone()
public MapProperty.Builder clone()
Type | Description |
MapProperty.Builder |
containsFields(String key)
public boolean containsFields(String key)
Unordered map of dynamically typed values.
map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;
Name | Description |
key | String |
Type | Description |
boolean |
getDefaultInstanceForType()
public MapProperty getDefaultInstanceForType()
Type | Description |
MapProperty |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFields()
public Map<String,Value> getFields()
Use #getFieldsMap() instead.
Type | Description |
Map<String,Value> |
getFieldsCount()
public int getFieldsCount()
Unordered map of dynamically typed values.
map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;
Type | Description |
int |
getFieldsMap()
public Map<String,Value> getFieldsMap()
Unordered map of dynamically typed values.
map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;
Type | Description |
Map<String,Value> |
getFieldsOrDefault(String key, Value defaultValue)
public Value getFieldsOrDefault(String key, Value defaultValue)
Unordered map of dynamically typed values.
map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;
Name | Description |
key | String |
defaultValue | Value |
Type | Description |
Value |
getFieldsOrThrow(String key)
public Value getFieldsOrThrow(String key)
Unordered map of dynamically typed values.
map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;
Name | Description |
key | String |
Type | Description |
Value |
getMutableFields()
public Map<String,Value> getMutableFields()
Use alternate mutation accessors instead.
Type | Description |
Map<String,Value> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(MapProperty other)
public MapProperty.Builder mergeFrom(MapProperty other)
Name | Description |
other | MapProperty |
Type | Description |
MapProperty.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MapProperty.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MapProperty.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MapProperty.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MapProperty.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MapProperty.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MapProperty.Builder |
putAllFields(Map<String,Value> values)
public MapProperty.Builder putAllFields(Map<String,Value> values)
Unordered map of dynamically typed values.
map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;
Name | Description |
values | Map<String,Value> |
Type | Description |
MapProperty.Builder |
putFields(String key, Value value)
public MapProperty.Builder putFields(String key, Value value)
Unordered map of dynamically typed values.
map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;
Name | Description |
key | String |
value | Value |
Type | Description |
MapProperty.Builder |
removeFields(String key)
public MapProperty.Builder removeFields(String key)
Unordered map of dynamically typed values.
map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;
Name | Description |
key | String |
Type | Description |
MapProperty.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MapProperty.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MapProperty.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MapProperty.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MapProperty.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MapProperty.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MapProperty.Builder |