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:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • getName

      public String getName()
      string name = 1;
      Specified by:
      getName in interface ServiceInfoV2OrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1;
      Specified by:
      getNameBytes in interface ServiceInfoV2OrBuilder
      Returns:
      The bytes for name.
    • getGroup

      public String getGroup()
      string group = 2;
      Specified by:
      getGroup in interface ServiceInfoV2OrBuilder
      Returns:
      The group.
    • getGroupBytes

      public com.google.protobuf.ByteString getGroupBytes()
      string group = 2;
      Specified by:
      getGroupBytes in interface ServiceInfoV2OrBuilder
      Returns:
      The bytes for group.
    • getVersion

      public String getVersion()
      string version = 3;
      Specified by:
      getVersion in interface ServiceInfoV2OrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
      string version = 3;
      Specified by:
      getVersionBytes in interface ServiceInfoV2OrBuilder
      Returns:
      The bytes for version.
    • getProtocol

      public String getProtocol()
      string protocol = 4;
      Specified by:
      getProtocol in interface ServiceInfoV2OrBuilder
      Returns:
      The protocol.
    • getProtocolBytes

      public com.google.protobuf.ByteString getProtocolBytes()
      string protocol = 4;
      Specified by:
      getProtocolBytes in interface ServiceInfoV2OrBuilder
      Returns:
      The bytes for protocol.
    • getPort

      public int getPort()
      int32 port = 5;
      Specified by:
      getPort in interface ServiceInfoV2OrBuilder
      Returns:
      The port.
    • getPath

      public String getPath()
      string path = 6;
      Specified by:
      getPath in interface ServiceInfoV2OrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
      string path = 6;
      Specified by:
      getPathBytes in interface ServiceInfoV2OrBuilder
      Returns:
      The bytes for path.
    • getParamsCount

      public int getParamsCount()
      Description copied from interface: ServiceInfoV2OrBuilder
      map<string, string> params = 7;
      Specified by:
      getParamsCount in interface ServiceInfoV2OrBuilder
    • containsParams

      public boolean containsParams(String key)
      map<string, string> params = 7;
      Specified by:
      containsParams in interface ServiceInfoV2OrBuilder
    • getParams

      @Deprecated public Map<String,String> getParams()
      Deprecated.
      Use getParamsMap() instead.
      Specified by:
      getParams in interface ServiceInfoV2OrBuilder
    • getParamsMap

      public Map<String,String> getParamsMap()
      map<string, string> params = 7;
      Specified by:
      getParamsMap in interface ServiceInfoV2OrBuilder
    • getParamsOrDefault

      public String getParamsOrDefault(String key, String defaultValue)
      map<string, string> params = 7;
      Specified by:
      getParamsOrDefault in interface ServiceInfoV2OrBuilder
    • getParamsOrThrow

      public String getParamsOrThrow(String key)
      map<string, string> params = 7;
      Specified by:
      getParamsOrThrow in interface ServiceInfoV2OrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static ServiceInfoV2 parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ServiceInfoV2 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ServiceInfoV2 parseDelimitedFrom(InputStream input) throws IOException
      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

      public ServiceInfoV2.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ServiceInfoV2.Builder newBuilder()
    • newBuilder

      public static ServiceInfoV2.Builder newBuilder(ServiceInfoV2 prototype)
    • toBuilder

      public ServiceInfoV2.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • getDefaultInstance

      public static ServiceInfoV2 getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ServiceInfoV2> parser()
    • getParserForType

      public com.google.protobuf.Parser<ServiceInfoV2> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ServiceInfoV2 getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder