Class Replay.ResultsSummary

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.policysimulator.v1.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.GeneratedMessage implements Replay.ResultsSummaryOrBuilder
 Summary statistics about the replayed log entries.
 
Protobuf type google.cloud.policysimulator.v1.Replay.ResultsSummary
See Also:
  • Field Details

    • LOG_COUNT_FIELD_NUMBER

      public static final int LOG_COUNT_FIELD_NUMBER
      See Also:
    • UNCHANGED_COUNT_FIELD_NUMBER

      public static final int UNCHANGED_COUNT_FIELD_NUMBER
      See Also:
    • DIFFERENCE_COUNT_FIELD_NUMBER

      public static final int DIFFERENCE_COUNT_FIELD_NUMBER
      See Also:
    • ERROR_COUNT_FIELD_NUMBER

      public static final int ERROR_COUNT_FIELD_NUMBER
      See Also:
    • OLDEST_DATE_FIELD_NUMBER

      public static final int OLDEST_DATE_FIELD_NUMBER
      See Also:
    • NEWEST_DATE_FIELD_NUMBER

      public static final int NEWEST_DATE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getLogCount

      public int getLogCount()
       The total number of log entries replayed.
       
      int32 log_count = 1;
      Specified by:
      getLogCount in interface Replay.ResultsSummaryOrBuilder
      Returns:
      The logCount.
    • 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 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.
    • getOldestDateOrBuilder

      public DateOrBuilder getOldestDateOrBuilder()
       The date of the oldest log entry replayed.
       
      .google.type.Date oldest_date = 5;
      Specified by:
      getOldestDateOrBuilder in interface Replay.ResultsSummaryOrBuilder
    • 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 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.
    • getNewestDateOrBuilder

      public DateOrBuilder getNewestDateOrBuilder()
       The date of the newest log entry replayed.
       
      .google.type.Date newest_date = 6;
      Specified by:
      getNewestDateOrBuilder in interface Replay.ResultsSummaryOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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
    • parseFrom

      public static Replay.ResultsSummary parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Replay.ResultsSummary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Replay.ResultsSummary parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Replay.ResultsSummary parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Replay.ResultsSummary parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Replay.ResultsSummary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Replay.ResultsSummary.Builder newBuilder()
    • newBuilder

      public static Replay.ResultsSummary.Builder newBuilder(Replay.ResultsSummary prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Replay.ResultsSummary getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Replay.ResultsSummary> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

      public Replay.ResultsSummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder