public final class Server extends com.google.protobuf.GeneratedMessageV3 implements ServerOrBuilder
Server represents a single server. There may be multiple servers in a single program.Protobuf type
grpc.channelz.v1.Server| Modifier and Type | Class and Description |
|---|---|
static class |
Server.Builder
Server represents a single server.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, 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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DATA_FIELD_NUMBER |
static int |
LISTEN_SOCKET_FIELD_NUMBER |
static int |
REF_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ServerData |
getData()
The associated data of the Server.
|
ServerDataOrBuilder |
getDataOrBuilder()
The associated data of the Server.
|
static Server |
getDefaultInstance() |
Server |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
SocketRef |
getListenSocket(int index)
The sockets that the server is listening on.
|
int |
getListenSocketCount()
The sockets that the server is listening on.
|
List<SocketRef> |
getListenSocketList()
The sockets that the server is listening on.
|
SocketRefOrBuilder |
getListenSocketOrBuilder(int index)
The sockets that the server is listening on.
|
List<? extends SocketRefOrBuilder> |
getListenSocketOrBuilderList()
The sockets that the server is listening on.
|
com.google.protobuf.Parser<Server> |
getParserForType() |
ServerRef |
getRef()
The identifier for a Server.
|
ServerRefOrBuilder |
getRefOrBuilder()
The identifier for a Server.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasData()
The associated data of the Server.
|
int |
hashCode() |
boolean |
hasRef()
The identifier for a Server.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Server.Builder |
newBuilder() |
static Server.Builder |
newBuilder(Server prototype) |
Server.Builder |
newBuilderForType() |
protected Server.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Server |
parseDelimitedFrom(InputStream input) |
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(ByteBuffer data) |
static Server |
parseFrom(ByteBuffer 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 |
parseFrom(InputStream input) |
static Server |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Server> |
parser() |
Server.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REF_FIELD_NUMBER
public static final int DATA_FIELD_NUMBER
public static final int LISTEN_SOCKET_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasRef()
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;hasRef in interface ServerOrBuilderpublic ServerRef getRef()
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;getRef in interface ServerOrBuilderpublic ServerRefOrBuilder getRefOrBuilder()
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;getRefOrBuilder in interface ServerOrBuilderpublic boolean hasData()
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;hasData in interface ServerOrBuilderpublic ServerData getData()
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;getData in interface ServerOrBuilderpublic ServerDataOrBuilder getDataOrBuilder()
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;getDataOrBuilder in interface ServerOrBuilderpublic 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;getListenSocketList in interface ServerOrBuilderpublic 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;getListenSocketOrBuilderList in interface ServerOrBuilderpublic 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;getListenSocketCount in interface ServerOrBuilderpublic 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;getListenSocket in interface ServerOrBuilderpublic 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;getListenSocketOrBuilder in interface ServerOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Server parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Server parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Server parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Server parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Server parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Server parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Server parseFrom(InputStream input) throws IOException
IOExceptionpublic static Server parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Server parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Server parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Server parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Server parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Server.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Server.Builder newBuilder()
public static Server.Builder newBuilder(Server prototype)
public Server.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Server.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Server getDefaultInstance()
public static com.google.protobuf.Parser<Server> parser()
public com.google.protobuf.Parser<Server> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Server getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder