Class Replay.ResultsSummary

  • All Implemented Interfaces:
    Replay.ResultsSummaryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
    Enclosing class:
    Replay

    public static final class Replay.ResultsSummary
    extends com.google.protobuf.GeneratedMessageV3
    implements Replay.ResultsSummaryOrBuilder
     Summary statistics about the replayed log entries.
     
    Protobuf type google.cloud.policysimulator.v1.Replay.ResultsSummary
    See Also:
    Serialized Form
    • Field Detail

      • UNCHANGED_COUNT_FIELD_NUMBER

        public static final int UNCHANGED_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DIFFERENCE_COUNT_FIELD_NUMBER

        public static final int DIFFERENCE_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ERROR_COUNT_FIELD_NUMBER

        public static final int ERROR_COUNT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OLDEST_DATE_FIELD_NUMBER

        public static final int OLDEST_DATE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NEWEST_DATE_FIELD_NUMBER

        public static final int NEWEST_DATE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected 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
      • getUnchangedCount

        public int getUnchangedCount()
         The number of replayed log entries with no difference between
         baseline and simulated policies.
         
        int32 unchanged_count = 2;
        Specified by:
        getUnchangedCount in interface Replay.ResultsSummaryOrBuilder
        Returns:
        The unchangedCount.
      • getDifferenceCount

        public int getDifferenceCount()
         The number of replayed log entries with a difference between baseline and
         simulated policies.
         
        int32 difference_count = 3;
        Specified by:
        getDifferenceCount in interface Replay.ResultsSummaryOrBuilder
        Returns:
        The differenceCount.
      • getErrorCount

        public int getErrorCount()
         The number of log entries that could not be replayed.
         
        int32 error_count = 4;
        Specified by:
        getErrorCount in interface Replay.ResultsSummaryOrBuilder
        Returns:
        The errorCount.
      • hasOldestDate

        public boolean hasOldestDate()
         The date of the oldest log entry replayed.
         
        .google.type.Date oldest_date = 5;
        Specified by:
        hasOldestDate in interface Replay.ResultsSummaryOrBuilder
        Returns:
        Whether the oldestDate field is set.
      • getOldestDate

        public com.google.type.Date getOldestDate()
         The date of the oldest log entry replayed.
         
        .google.type.Date oldest_date = 5;
        Specified by:
        getOldestDate in interface Replay.ResultsSummaryOrBuilder
        Returns:
        The oldestDate.
      • hasNewestDate

        public boolean hasNewestDate()
         The date of the newest log entry replayed.
         
        .google.type.Date newest_date = 6;
        Specified by:
        hasNewestDate in interface Replay.ResultsSummaryOrBuilder
        Returns:
        Whether the newestDate field is set.
      • getNewestDate

        public com.google.type.Date getNewestDate()
         The date of the newest log entry replayed.
         
        .google.type.Date newest_date = 6;
        Specified by:
        getNewestDate in interface Replay.ResultsSummaryOrBuilder
        Returns:
        The newestDate.
      • 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 IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        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​(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 Replay.ResultsSummary parseFrom​(ByteBuffer data)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Replay.ResultsSummary parseFrom​(ByteBuffer data,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<Replay.ResultsSummary> 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 Replay.ResultsSummary getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder