Class Control.ScenarioResult

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Control.ScenarioResultOrBuilder, java.io.Serializable
    Enclosing class:
    Control

    public static final class Control.ScenarioResult
    extends com.google.protobuf.GeneratedMessageV3
    implements Control.ScenarioResultOrBuilder
     Results of a single benchmark scenario.
     
    Protobuf type grpc.testing.ScenarioResult
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasScenario

        public boolean hasScenario()
         Inputs used to run the scenario.
         
        .grpc.testing.Scenario scenario = 1;
        Specified by:
        hasScenario in interface Control.ScenarioResultOrBuilder
        Returns:
        Whether the scenario field is set.
      • hasLatencies

        public boolean hasLatencies()
         Histograms from all clients merged into one histogram.
         
        .grpc.testing.HistogramData latencies = 2;
        Specified by:
        hasLatencies in interface Control.ScenarioResultOrBuilder
        Returns:
        Whether the latencies field is set.
      • getServerCoresList

        public java.util.List<java.lang.Integer> getServerCoresList()
         Number of cores available to each server
         
        repeated int32 server_cores = 5;
        Specified by:
        getServerCoresList in interface Control.ScenarioResultOrBuilder
        Returns:
        A list containing the serverCores.
      • getServerCores

        public int getServerCores​(int index)
         Number of cores available to each server
         
        repeated int32 server_cores = 5;
        Specified by:
        getServerCores in interface Control.ScenarioResultOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The serverCores at the given index.
      • hasSummary

        public boolean hasSummary()
         An after-the-fact computed summary
         
        .grpc.testing.ScenarioResultSummary summary = 6;
        Specified by:
        hasSummary in interface Control.ScenarioResultOrBuilder
        Returns:
        Whether the summary field is set.
      • getClientSuccessList

        public java.util.List<java.lang.Boolean> getClientSuccessList()
         Information on success or failure of each worker
         
        repeated bool client_success = 7;
        Specified by:
        getClientSuccessList in interface Control.ScenarioResultOrBuilder
        Returns:
        A list containing the clientSuccess.
      • getClientSuccessCount

        public int getClientSuccessCount()
         Information on success or failure of each worker
         
        repeated bool client_success = 7;
        Specified by:
        getClientSuccessCount in interface Control.ScenarioResultOrBuilder
        Returns:
        The count of clientSuccess.
      • getClientSuccess

        public boolean getClientSuccess​(int index)
         Information on success or failure of each worker
         
        repeated bool client_success = 7;
        Specified by:
        getClientSuccess in interface Control.ScenarioResultOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The clientSuccess at the given index.
      • getServerSuccess

        public boolean getServerSuccess​(int index)
        repeated bool server_success = 8;
        Specified by:
        getServerSuccess in interface Control.ScenarioResultOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The serverSuccess at the given index.
      • getRequestResultsCount

        public int getRequestResultsCount()
         Number of failed requests (one row per status code seen)
         
        repeated .grpc.testing.RequestResultCount request_results = 9;
        Specified by:
        getRequestResultsCount in interface Control.ScenarioResultOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Control.ScenarioResult parseFrom​(java.nio.ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Control.ScenarioResult parseFrom​(java.nio.ByteBuffer data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Control.ScenarioResult parseFrom​(com.google.protobuf.ByteString data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Control.ScenarioResult parseFrom​(com.google.protobuf.ByteString data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Control.ScenarioResult parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Control.ScenarioResult parseFrom​(byte[] data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Control.ScenarioResult parseFrom​(java.io.InputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Control.ScenarioResult parseFrom​(java.io.InputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Control.ScenarioResult parseDelimitedFrom​(java.io.InputStream input)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Control.ScenarioResult parseDelimitedFrom​(java.io.InputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Control.ScenarioResult parseFrom​(com.google.protobuf.CodedInputStream input)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Control.ScenarioResult parseFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public Control.ScenarioResult.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Control.ScenarioResult.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Control.ScenarioResult.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Control.ScenarioResult> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Control.ScenarioResult getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder