Class ClientInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.milvus.grpc.ClientInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ClientInfoOrBuilder, Serializable

public final class ClientInfo extends com.google.protobuf.GeneratedMessageV3 implements ClientInfoOrBuilder
Protobuf type milvus.proto.common.ClientInfo
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type milvus.proto.common.ClientInfo

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, 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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    reserved for newly-added feature if necessary.
    boolean
     
    static ClientInfo
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    string host = 5;
    com.google.protobuf.ByteString
    string host = 5;
    string local_time = 3;
    com.google.protobuf.ByteString
    string local_time = 3;
    com.google.protobuf.Parser<ClientInfo>
     
    Deprecated.
    int
    reserved for newly-added feature if necessary.
    reserved for newly-added feature if necessary.
    getReservedOrDefault(String key, String defaultValue)
    reserved for newly-added feature if necessary.
    reserved for newly-added feature if necessary.
    sdk_type can be `python`, `golang`, `nodejs` and etc.
    com.google.protobuf.ByteString
    sdk_type can be `python`, `golang`, `nodejs` and etc.
    string sdk_version = 2;
    com.google.protobuf.ByteString
    string sdk_version = 2;
    int
     
    string user = 4;
    com.google.protobuf.ByteString
    string user = 4;
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static ClientInfo
     
    static ClientInfo
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ClientInfo
    parseFrom(byte[] data)
     
    static ClientInfo
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ClientInfo
    parseFrom(com.google.protobuf.ByteString data)
     
    static ClientInfo
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ClientInfo
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static ClientInfo
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ClientInfo
     
    static ClientInfo
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ClientInfo
     
    static ClientInfo
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ClientInfo>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getSdkType

      public String getSdkType()
       sdk_type can be `python`, `golang`, `nodejs` and etc. It's not proper to make `sdk_type` an
       enumerate type, since we cannot always update the enum value everytime when newly sdk is supported.
       
      string sdk_type = 1;
      Specified by:
      getSdkType in interface ClientInfoOrBuilder
      Returns:
      The sdkType.
    • getSdkTypeBytes

      public com.google.protobuf.ByteString getSdkTypeBytes()
       sdk_type can be `python`, `golang`, `nodejs` and etc. It's not proper to make `sdk_type` an
       enumerate type, since we cannot always update the enum value everytime when newly sdk is supported.
       
      string sdk_type = 1;
      Specified by:
      getSdkTypeBytes in interface ClientInfoOrBuilder
      Returns:
      The bytes for sdkType.
    • getSdkVersion

      public String getSdkVersion()
      string sdk_version = 2;
      Specified by:
      getSdkVersion in interface ClientInfoOrBuilder
      Returns:
      The sdkVersion.
    • getSdkVersionBytes

      public com.google.protobuf.ByteString getSdkVersionBytes()
      string sdk_version = 2;
      Specified by:
      getSdkVersionBytes in interface ClientInfoOrBuilder
      Returns:
      The bytes for sdkVersion.
    • getLocalTime

      public String getLocalTime()
      string local_time = 3;
      Specified by:
      getLocalTime in interface ClientInfoOrBuilder
      Returns:
      The localTime.
    • getLocalTimeBytes

      public com.google.protobuf.ByteString getLocalTimeBytes()
      string local_time = 3;
      Specified by:
      getLocalTimeBytes in interface ClientInfoOrBuilder
      Returns:
      The bytes for localTime.
    • getUser

      public String getUser()
      string user = 4;
      Specified by:
      getUser in interface ClientInfoOrBuilder
      Returns:
      The user.
    • getUserBytes

      public com.google.protobuf.ByteString getUserBytes()
      string user = 4;
      Specified by:
      getUserBytes in interface ClientInfoOrBuilder
      Returns:
      The bytes for user.
    • getHost

      public String getHost()
      string host = 5;
      Specified by:
      getHost in interface ClientInfoOrBuilder
      Returns:
      The host.
    • getHostBytes

      public com.google.protobuf.ByteString getHostBytes()
      string host = 5;
      Specified by:
      getHostBytes in interface ClientInfoOrBuilder
      Returns:
      The bytes for host.
    • getReservedCount

      public int getReservedCount()
      Description copied from interface: ClientInfoOrBuilder
       reserved for newly-added feature if necessary.
       
      map<string, string> reserved = 6;
      Specified by:
      getReservedCount in interface ClientInfoOrBuilder
    • containsReserved

      public boolean containsReserved(String key)
       reserved for newly-added feature if necessary.
       
      map<string, string> reserved = 6;
      Specified by:
      containsReserved in interface ClientInfoOrBuilder
    • getReserved

      @Deprecated public Map<String,String> getReserved()
      Deprecated.
      Use getReservedMap() instead.
      Specified by:
      getReserved in interface ClientInfoOrBuilder
    • getReservedMap

      public Map<String,String> getReservedMap()
       reserved for newly-added feature if necessary.
       
      map<string, string> reserved = 6;
      Specified by:
      getReservedMap in interface ClientInfoOrBuilder
    • getReservedOrDefault

      public String getReservedOrDefault(String key, String defaultValue)
       reserved for newly-added feature if necessary.
       
      map<string, string> reserved = 6;
      Specified by:
      getReservedOrDefault in interface ClientInfoOrBuilder
    • getReservedOrThrow

      public String getReservedOrThrow(String key)
       reserved for newly-added feature if necessary.
       
      map<string, string> reserved = 6;
      Specified by:
      getReservedOrThrow in interface ClientInfoOrBuilder
    • 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 ClientInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ClientInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ClientInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ClientInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ClientInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ClientInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static ClientInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static ClientInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ClientInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ClientInfo.Builder newBuilder()
    • newBuilder

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

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

      protected ClientInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ClientInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ClientInfo> 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 ClientInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder