Package io.grpc.channelz.v1
Interface ServerOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
Server
,Server.Builder
public interface ServerOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerData
getData()
The associated data of the Server.ServerDataOrBuilder
getDataOrBuilder()
The associated data of the Server.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.ServerRef
getRef()
The identifier for a Server.ServerRefOrBuilder
getRefOrBuilder()
The identifier for a Server.boolean
hasData()
The associated data of the Server.boolean
hasRef()
The identifier for a Server.-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRef
boolean hasRef()
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;
- Returns:
- Whether the ref field is set.
-
getRef
ServerRef getRef()
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;
- Returns:
- The ref.
-
getRefOrBuilder
ServerRefOrBuilder getRefOrBuilder()
The identifier for a Server. This should be set.
.grpc.channelz.v1.ServerRef ref = 1;
-
hasData
boolean hasData()
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;
- Returns:
- Whether the data field is set.
-
getData
ServerData getData()
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;
- Returns:
- The data.
-
getDataOrBuilder
ServerDataOrBuilder getDataOrBuilder()
The associated data of the Server.
.grpc.channelz.v1.ServerData data = 2;
-
getListenSocketList
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;
-
getListenSocket
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;
-
getListenSocketCount
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;
-
getListenSocketOrBuilderList
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;
-
getListenSocketOrBuilder
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;
-
-