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
      int getCores()
      Number of cores available to the server
      int getPort()
      the port bound by the server
      Stats.ServerStats getStats()
      .grpc.testing.ServerStats stats = 1;
      Stats.ServerStatsOrBuilder getStatsOrBuilder()
      .grpc.testing.ServerStats stats = 1;
      boolean hasStats()
      .grpc.testing.ServerStats stats = 1;
      • 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

      • 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.
      • 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.