Package io.grpc.benchmarks.proto
Interface Control.ServerStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Control.ServerStatus,Control.ServerStatus.Builder
- Enclosing class:
- Control
public static interface Control.ServerStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCores()Number of cores available to the serverintgetPort()the port bound by the serverStats.ServerStatsgetStats().grpc.testing.ServerStats stats = 1;Stats.ServerStatsOrBuildergetStatsOrBuilder().grpc.testing.ServerStats stats = 1;booleanhasStats().grpc.testing.ServerStats stats = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasStats
boolean hasStats()
.grpc.testing.ServerStats stats = 1;- Returns:
- Whether the stats field is set.
-
getStats
Stats.ServerStats getStats()
.grpc.testing.ServerStats stats = 1;- Returns:
- The stats.
-
getStatsOrBuilder
Stats.ServerStatsOrBuilder getStatsOrBuilder()
.grpc.testing.ServerStats stats = 1;
-
getPort
int getPort()
the port bound by the server
int32 port = 2;- Returns:
- The port.
-
getCores
int getCores()
Number of cores available to the server
int32 cores = 3;- Returns:
- The cores.
-
-