Class Server

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.grpc.channelz.v1.Server
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ServerOrBuilder, Serializable

public final class Server extends com.google.protobuf.GeneratedMessage implements ServerOrBuilder
 Server represents a single server.  There may be multiple servers in a single
 program.
 
Protobuf type grpc.channelz.v1.Server
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Server represents a single server.

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

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

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

    com.google.protobuf.AbstractMessage.BuilderParent

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

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

    Fields
    Modifier and Type
    Field
    Description
    private int
     
    private ServerData
     
    static final int
     
    private static final Server
     
    static final int
     
    private List<SocketRef>
     
    private byte
     
    private static final com.google.protobuf.Parser<Server>
     
    private ServerRef
     
    static final int
     
    private static final long
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
    private
    Server(com.google.protobuf.GeneratedMessage.Builder<?> builder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The associated data of the Server.
    The associated data of the Server.
    static Server
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    getListenSocket(int index)
    The sockets that the server is listening on.
    int
    The sockets that the server is listening on.
    The sockets that the server is listening on.
    The sockets that the server is listening on.
    The sockets that the server is listening on.
    com.google.protobuf.Parser<Server>
     
    The identifier for a Server.
    The identifier for a Server.
    int
     
    boolean
    The associated data of the Server.
    int
     
    boolean
    The identifier for a Server.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Server prototype)
     
     
    protected Server.Builder
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Server
     
    static Server
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Server
    parseFrom(byte[] data)
     
    static Server
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Server
    parseFrom(com.google.protobuf.ByteString data)
     
    static Server
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Server
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Server
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Server
     
    static Server
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Server
     
    static Server
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Server>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    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

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • bitField0_

      private int bitField0_
    • REF_FIELD_NUMBER

      public static final int REF_FIELD_NUMBER
      See Also:
    • ref_

      private ServerRef ref_
    • DATA_FIELD_NUMBER

      public static final int DATA_FIELD_NUMBER
      See Also:
    • data_

      private ServerData data_
    • LISTEN_SOCKET_FIELD_NUMBER

      public static final int LISTEN_SOCKET_FIELD_NUMBER
      See Also:
    • listenSocket_

      private List<SocketRef> listenSocket_
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final Server DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<Server> PARSER
  • Constructor Details

    • Server

      private Server(com.google.protobuf.GeneratedMessage.Builder<?> builder)
    • Server

      private Server()
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasRef

      public boolean hasRef()
       The identifier for a Server.  This should be set.
       
      .grpc.channelz.v1.ServerRef ref = 1;
      Specified by:
      hasRef in interface ServerOrBuilder
      Returns:
      Whether the ref field is set.
    • getRef

      public ServerRef getRef()
       The identifier for a Server.  This should be set.
       
      .grpc.channelz.v1.ServerRef ref = 1;
      Specified by:
      getRef in interface ServerOrBuilder
      Returns:
      The ref.
    • getRefOrBuilder

      public ServerRefOrBuilder getRefOrBuilder()
       The identifier for a Server.  This should be set.
       
      .grpc.channelz.v1.ServerRef ref = 1;
      Specified by:
      getRefOrBuilder in interface ServerOrBuilder
    • hasData

      public boolean hasData()
       The associated data of the Server.
       
      .grpc.channelz.v1.ServerData data = 2;
      Specified by:
      hasData in interface ServerOrBuilder
      Returns:
      Whether the data field is set.
    • getData

      public ServerData getData()
       The associated data of the Server.
       
      .grpc.channelz.v1.ServerData data = 2;
      Specified by:
      getData in interface ServerOrBuilder
      Returns:
      The data.
    • getDataOrBuilder

      public ServerDataOrBuilder getDataOrBuilder()
       The associated data of the Server.
       
      .grpc.channelz.v1.ServerData data = 2;
      Specified by:
      getDataOrBuilder in interface ServerOrBuilder
    • getListenSocketList

      public List<SocketRef> getListenSocketList()
       The sockets that the server is listening on.  There are no ordering
       guarantees.  This may be absent.
       
      repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
      Specified by:
      getListenSocketList in interface ServerOrBuilder
    • getListenSocketOrBuilderList

      public List<? extends SocketRefOrBuilder> getListenSocketOrBuilderList()
       The sockets that the server is listening on.  There are no ordering
       guarantees.  This may be absent.
       
      repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
      Specified by:
      getListenSocketOrBuilderList in interface ServerOrBuilder
    • getListenSocketCount

      public int getListenSocketCount()
       The sockets that the server is listening on.  There are no ordering
       guarantees.  This may be absent.
       
      repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
      Specified by:
      getListenSocketCount in interface ServerOrBuilder
    • getListenSocket

      public SocketRef getListenSocket(int index)
       The sockets that the server is listening on.  There are no ordering
       guarantees.  This may be absent.
       
      repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
      Specified by:
      getListenSocket in interface ServerOrBuilder
    • getListenSocketOrBuilder

      public SocketRefOrBuilder getListenSocketOrBuilder(int index)
       The sockets that the server is listening on.  There are no ordering
       guarantees.  This may be absent.
       
      repeated .grpc.channelz.v1.SocketRef listen_socket = 3;
      Specified by:
      getListenSocketOrBuilder in interface ServerOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 Server parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Server.Builder newBuilder()
    • newBuilder

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

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

      protected Server.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Server getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Server> 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.GeneratedMessage
    • getDefaultInstanceForType

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