Package io.grpc.channelz.v1
Interface ServerOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Server
,Server.Builder
public interface ServerOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
The associated data of the Server.The associated data of the Server.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.getListenSocketOrBuilder
(int index) The sockets that the server is listening on.List
<? extends SocketRefOrBuilder> The sockets that the server is listening on.getRef()
The identifier for a Server.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 Details
-
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
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
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
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;
-