public static final class MapValue.Map extends com.google.protobuf.GeneratedMessageV3 implements MapValue.MapOrBuilder
Map| Modifier and Type | Class and Description |
|---|---|
static class |
MapValue.Map.Builder
Protobuf type
Map |
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ATTACHMENTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAttachments(String key)
map<string, string> attachments = 1; |
boolean |
equals(Object obj) |
Map<String,String> |
getAttachments()
Deprecated.
|
int |
getAttachmentsCount()
map<string, string> attachments = 1; |
Map<String,String> |
getAttachmentsMap()
map<string, string> attachments = 1; |
String |
getAttachmentsOrDefault(String key,
String defaultValue)
map<string, string> attachments = 1; |
String |
getAttachmentsOrThrow(String key)
map<string, string> attachments = 1; |
static MapValue.Map |
getDefaultInstance() |
MapValue.Map |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<MapValue.Map> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
isInitialized() |
static MapValue.Map.Builder |
newBuilder() |
static MapValue.Map.Builder |
newBuilder(MapValue.Map prototype) |
MapValue.Map.Builder |
newBuilderForType() |
static MapValue.Map |
parseDelimitedFrom(InputStream input) |
static MapValue.Map |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MapValue.Map |
parseFrom(byte[] data) |
static MapValue.Map |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MapValue.Map |
parseFrom(ByteBuffer data) |
static MapValue.Map |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MapValue.Map |
parseFrom(com.google.protobuf.ByteString data) |
static MapValue.Map |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MapValue.Map |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MapValue.Map |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MapValue.Map |
parseFrom(InputStream input) |
static MapValue.Map |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MapValue.Map> |
parser() |
MapValue.Map.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ATTACHMENTS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public int getAttachmentsCount()
MapValue.MapOrBuildermap<string, string> attachments = 1;getAttachmentsCount in interface MapValue.MapOrBuilderpublic boolean containsAttachments(String key)
map<string, string> attachments = 1;containsAttachments in interface MapValue.MapOrBuilder@Deprecated public Map<String,String> getAttachments()
getAttachmentsMap() instead.getAttachments in interface MapValue.MapOrBuilderpublic Map<String,String> getAttachmentsMap()
map<string, string> attachments = 1;getAttachmentsMap in interface MapValue.MapOrBuilderpublic String getAttachmentsOrDefault(String key, String defaultValue)
map<string, string> attachments = 1;getAttachmentsOrDefault in interface MapValue.MapOrBuilderpublic String getAttachmentsOrThrow(String key)
map<string, string> attachments = 1;getAttachmentsOrThrow in interface MapValue.MapOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MapValue.Map parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MapValue.Map parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MapValue.Map parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MapValue.Map parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MapValue.Map parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MapValue.Map parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MapValue.Map parseFrom(InputStream input) throws IOException
IOExceptionpublic static MapValue.Map parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MapValue.Map parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MapValue.Map parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MapValue.Map parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MapValue.Map parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MapValue.Map.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MapValue.Map.Builder newBuilder()
public static MapValue.Map.Builder newBuilder(MapValue.Map prototype)
public MapValue.Map.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static MapValue.Map getDefaultInstance()
public static com.google.protobuf.Parser<MapValue.Map> parser()
public com.google.protobuf.Parser<MapValue.Map> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MapValue.Map getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.