类 MapValue.Map
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.apache.dubbo.common.serialize.protobuf.support.wrapper.MapValue.Map
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,MapValue.MapOrBuilder
- 封闭类:
- MapValue
public static final class MapValue.Map extends com.google.protobuf.GeneratedMessageV3 implements MapValue.MapOrBuilder
Protobuf typeorg.apache.dubbo.common.serialize.protobuf.support.wrapper.Map- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classMapValue.Map.BuilderProtobuf typeorg.apache.dubbo.common.serialize.protobuf.support.wrapper.Map-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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 intATTACHMENTS_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsAttachments(String key)map<string, string> attachments = 1;booleanequals(Object obj)Map<String,String>getAttachments()已过时。intgetAttachmentsCount()map<string, string> attachments = 1;Map<String,String>getAttachmentsMap()map<string, string> attachments = 1;StringgetAttachmentsOrDefault(String key, String defaultValue)map<string, string> attachments = 1;StringgetAttachmentsOrThrow(String key)map<string, string> attachments = 1;static MapValue.MapgetDefaultInstance()MapValue.MapgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<MapValue.Map>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanisInitialized()static MapValue.Map.BuildernewBuilder()static MapValue.Map.BuildernewBuilder(MapValue.Map prototype)MapValue.Map.BuildernewBuilderForType()static MapValue.MapparseDelimitedFrom(InputStream input)static MapValue.MapparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MapValue.MapparseFrom(byte[] data)static MapValue.MapparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MapValue.MapparseFrom(com.google.protobuf.ByteString data)static MapValue.MapparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MapValue.MapparseFrom(com.google.protobuf.CodedInputStream input)static MapValue.MapparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MapValue.MapparseFrom(InputStream input)static MapValue.MapparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MapValue.MapparseFrom(ByteBuffer data)static MapValue.MapparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MapValue.Map>parser()MapValue.Map.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString
-
-
-
-
字段详细资料
-
ATTACHMENTS_FIELD_NUMBER
public static final int ATTACHMENTS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
getAttachmentsCount
public int getAttachmentsCount()
从接口复制的说明:MapValue.MapOrBuildermap<string, string> attachments = 1;- 指定者:
getAttachmentsCount在接口中MapValue.MapOrBuilder
-
containsAttachments
public boolean containsAttachments(String key)
map<string, string> attachments = 1;- 指定者:
containsAttachments在接口中MapValue.MapOrBuilder
-
getAttachments
@Deprecated public Map<String,String> getAttachments()
已过时。UsegetAttachmentsMap()instead.- 指定者:
getAttachments在接口中MapValue.MapOrBuilder
-
getAttachmentsMap
public Map<String,String> getAttachmentsMap()
map<string, string> attachments = 1;- 指定者:
getAttachmentsMap在接口中MapValue.MapOrBuilder
-
getAttachmentsOrDefault
public String getAttachmentsOrDefault(String key, String defaultValue)
map<string, string> attachments = 1;- 指定者:
getAttachmentsOrDefault在接口中MapValue.MapOrBuilder
-
getAttachmentsOrThrow
public String getAttachmentsOrThrow(String key)
map<string, string> attachments = 1;- 指定者:
getAttachmentsOrThrow在接口中MapValue.MapOrBuilder
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static MapValue.Map parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapValue.Map parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapValue.Map parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapValue.Map parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapValue.Map parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapValue.Map parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MapValue.Map parseFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static MapValue.Map parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static MapValue.Map parseDelimitedFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static MapValue.Map parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseFrom
public static MapValue.Map parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static MapValue.Map parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
newBuilderForType
public MapValue.Map.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static MapValue.Map.Builder newBuilder()
-
newBuilder
public static MapValue.Map.Builder newBuilder(MapValue.Map prototype)
-
toBuilder
public MapValue.Map.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
getDefaultInstance
public static MapValue.Map getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MapValue.Map> parser()
-
getParserForType
public com.google.protobuf.Parser<MapValue.Map> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MapValue.Map getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-