Package io.grpc.channelz.v1
Interface GetServersRequestOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
GetServersRequest
,GetServersRequest.Builder
public interface GetServersRequestOrBuilder extends MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMaxResults()
If non-zero, the server will return a page of results containing at most this many items.long
getStartServerId()
start_server_id indicates that only servers at or above this id should be included in the results.-
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
-
getStartServerId
long getStartServerId()
start_server_id indicates that only servers at or above this id should be included in the results. To request the first page, this must be set to 0. To request subsequent pages, the client generates this value by adding 1 to the highest seen result ID.
int64 start_server_id = 1;
- Returns:
- The startServerId.
-
getMaxResults
long getMaxResults()
If non-zero, the server will return a page of results containing at most this many items. If zero, the server will choose a reasonable page size. Must never be negative.
int64 max_results = 2;
- Returns:
- The maxResults.
-
-