public final class MapProperty extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
FIELDS_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MapProperty getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MapProperty.Builder newBuilder()
newBuilder(MapProperty prototype)
public static MapProperty.Builder newBuilder(MapProperty prototype)
parseDelimitedFrom(InputStream input)
public static MapProperty parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MapProperty parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MapProperty parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MapProperty parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MapProperty parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MapProperty parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static MapProperty parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MapProperty parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static MapProperty parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MapProperty parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MapProperty parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MapProperty parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MapProperty> parser()
Methods
containsFields(String key)
public boolean containsFields(String key)
Unordered map of dynamically typed values.
map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public MapProperty getDefaultInstanceForType()
getFields()
public Map<String,Value> getFields()
getFieldsCount()
public int getFieldsCount()
Unordered map of dynamically typed values.
map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;
Returns |
---|
Type | Description |
int | |
getFieldsMap()
public Map<String,Value> getFieldsMap()
Unordered map of dynamically typed values.
map<string, .google.cloud.contentwarehouse.v1.Value> fields = 1;
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;
Returns |
---|
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;
Parameter |
---|
Name | Description |
key | String
|
Returns |
---|
Type | Description |
Value | |
getParserForType()
public Parser<MapProperty> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MapProperty.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MapProperty.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MapProperty.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides