Package io.grpc.channelz.v1
Interface GetTopChannelsRequestOrBuilder
-
- All Superinterfaces:
MessageLiteOrBuilder
,MessageOrBuilder
- All Known Implementing Classes:
GetTopChannelsRequest
,GetTopChannelsRequest.Builder
public interface GetTopChannelsRequestOrBuilder 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
getStartChannelId()
start_channel_id indicates that only channels 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
-
getStartChannelId
long getStartChannelId()
start_channel_id indicates that only channels at or above this id should be included in the results. To request the first page, this should be set to 0. To request subsequent pages, the client generates this value by adding 1 to the highest seen result ID.
int64 start_channel_id = 1;
- Returns:
- The startChannelId.
-
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.
-
-