Package org.apache.dubbo.metadata
Class ServiceInfoV2
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.dubbo.metadata.ServiceInfoV2
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ServiceInfoV2OrBuilder
public final class ServiceInfoV2
extends com.google.protobuf.GeneratedMessageV3
implements ServiceInfoV2OrBuilder
Protobuf type
org.apache.dubbo.metadata.ServiceInfoV2- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.apache.dubbo.metadata.ServiceInfoV2Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsParams(String key) map<string, string> params = 7;booleanstatic ServiceInfoV2static final com.google.protobuf.Descriptors.DescriptorgetGroup()string group = 2;com.google.protobuf.ByteStringstring group = 2;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;Deprecated.intmap<string, string> params = 7;map<string, string> params = 7;getParamsOrDefault(String key, String defaultValue) map<string, string> params = 7;getParamsOrThrow(String key) map<string, string> params = 7;com.google.protobuf.Parser<ServiceInfoV2> getPath()string path = 6;com.google.protobuf.ByteStringstring path = 6;intgetPort()int32 port = 5;string protocol = 4;com.google.protobuf.ByteStringstring protocol = 4;intstring version = 3;com.google.protobuf.ByteStringstring version = 3;inthashCode()final booleanstatic ServiceInfoV2.Builderstatic ServiceInfoV2.BuildernewBuilder(ServiceInfoV2 prototype) static ServiceInfoV2parseDelimitedFrom(InputStream input) static ServiceInfoV2parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceInfoV2parseFrom(byte[] data) static ServiceInfoV2parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceInfoV2parseFrom(com.google.protobuf.ByteString data) static ServiceInfoV2parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceInfoV2parseFrom(com.google.protobuf.CodedInputStream input) static ServiceInfoV2parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceInfoV2parseFrom(InputStream input) static ServiceInfoV2parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ServiceInfoV2parseFrom(ByteBuffer data) static ServiceInfoV2parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ServiceInfoV2> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER- See Also:
-
PORT_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER- See Also:
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER- See Also:
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getName
string name = 1;- Specified by:
getNamein interfaceServiceInfoV2OrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1;- Specified by:
getNameBytesin interfaceServiceInfoV2OrBuilder- Returns:
- The bytes for name.
-
getGroup
string group = 2;- Specified by:
getGroupin interfaceServiceInfoV2OrBuilder- Returns:
- The group.
-
getGroupBytes
public com.google.protobuf.ByteString getGroupBytes()string group = 2;- Specified by:
getGroupBytesin interfaceServiceInfoV2OrBuilder- Returns:
- The bytes for group.
-
getVersion
string version = 3;- Specified by:
getVersionin interfaceServiceInfoV2OrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()string version = 3;- Specified by:
getVersionBytesin interfaceServiceInfoV2OrBuilder- Returns:
- The bytes for version.
-
getProtocol
string protocol = 4;- Specified by:
getProtocolin interfaceServiceInfoV2OrBuilder- Returns:
- The protocol.
-
getProtocolBytes
public com.google.protobuf.ByteString getProtocolBytes()string protocol = 4;- Specified by:
getProtocolBytesin interfaceServiceInfoV2OrBuilder- Returns:
- The bytes for protocol.
-
getPort
public int getPort()int32 port = 5;- Specified by:
getPortin interfaceServiceInfoV2OrBuilder- Returns:
- The port.
-
getPath
string path = 6;- Specified by:
getPathin interfaceServiceInfoV2OrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()string path = 6;- Specified by:
getPathBytesin interfaceServiceInfoV2OrBuilder- Returns:
- The bytes for path.
-
getParamsCount
public int getParamsCount()Description copied from interface:ServiceInfoV2OrBuildermap<string, string> params = 7;- Specified by:
getParamsCountin interfaceServiceInfoV2OrBuilder
-
containsParams
map<string, string> params = 7;- Specified by:
containsParamsin interfaceServiceInfoV2OrBuilder
-
getParams
Deprecated.UsegetParamsMap()instead.- Specified by:
getParamsin interfaceServiceInfoV2OrBuilder
-
getParamsMap
map<string, string> params = 7;- Specified by:
getParamsMapin interfaceServiceInfoV2OrBuilder
-
getParamsOrDefault
map<string, string> params = 7;- Specified by:
getParamsOrDefaultin interfaceServiceInfoV2OrBuilder
-
getParamsOrThrow
map<string, string> params = 7;- Specified by:
getParamsOrThrowin interfaceServiceInfoV2OrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ServiceInfoV2 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceInfoV2 parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceInfoV2 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceInfoV2 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceInfoV2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ServiceInfoV2 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ServiceInfoV2 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ServiceInfoV2 parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ServiceInfoV2 parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ServiceInfoV2 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-