public static final class MapValue.Map extends com.google.protobuf.GeneratedMessageV3 implements MapValue.MapOrBuilder
Map| 限定符和类型 | 类和说明 |
|---|---|
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ATTACHMENTS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsAttachments(String key)
map<string, string> attachments = 1; |
boolean |
equals(Object obj) |
Map<String,String> |
getAttachments()
已过时。
|
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 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public int getAttachmentsCount()
MapValue.MapOrBuildermap<string, string> attachments = 1;getAttachmentsCount 在接口中 MapValue.MapOrBuilderpublic boolean containsAttachments(String key)
map<string, string> attachments = 1;containsAttachments 在接口中 MapValue.MapOrBuilder@Deprecated public Map<String,String> getAttachments()
getAttachmentsMap() instead.getAttachments 在接口中 MapValue.MapOrBuilderpublic Map<String,String> getAttachmentsMap()
map<string, string> attachments = 1;getAttachmentsMap 在接口中 MapValue.MapOrBuilderpublic String getAttachmentsOrDefault(String key, String defaultValue)
map<string, string> attachments = 1;getAttachmentsOrDefault 在接口中 MapValue.MapOrBuilderpublic String getAttachmentsOrThrow(String key)
map<string, string> attachments = 1;getAttachmentsOrThrow 在接口中 MapValue.MapOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static MapValue.Map.Builder newBuilder()
public static MapValue.Map.Builder newBuilder(MapValue.Map prototype)
public MapValue.Map.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 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 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public MapValue.Map getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.