Class EvaluationReference

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.documentai.v1.EvaluationReference
All Implemented Interfaces:
EvaluationReferenceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class EvaluationReference extends com.google.protobuf.GeneratedMessage implements EvaluationReferenceOrBuilder
 Gives a short summary of an evaluation, and links to the evaluation itself.
 
Protobuf type google.cloud.documentai.v1.EvaluationReference
See Also:
  • Field Details

    • OPERATION_FIELD_NUMBER

      public static final int OPERATION_FIELD_NUMBER
      See Also:
    • EVALUATION_FIELD_NUMBER

      public static final int EVALUATION_FIELD_NUMBER
      See Also:
    • AGGREGATE_METRICS_FIELD_NUMBER

      public static final int AGGREGATE_METRICS_FIELD_NUMBER
      See Also:
    • AGGREGATE_METRICS_EXACT_FIELD_NUMBER

      public static final int AGGREGATE_METRICS_EXACT_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
    • getOperation

      public String getOperation()
       The resource name of the Long Running Operation for the evaluation.
       
      string operation = 1;
      Specified by:
      getOperation in interface EvaluationReferenceOrBuilder
      Returns:
      The operation.
    • getOperationBytes

      public com.google.protobuf.ByteString getOperationBytes()
       The resource name of the Long Running Operation for the evaluation.
       
      string operation = 1;
      Specified by:
      getOperationBytes in interface EvaluationReferenceOrBuilder
      Returns:
      The bytes for operation.
    • getEvaluation

      public String getEvaluation()
       The resource name of the evaluation.
       
      string evaluation = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEvaluation in interface EvaluationReferenceOrBuilder
      Returns:
      The evaluation.
    • getEvaluationBytes

      public com.google.protobuf.ByteString getEvaluationBytes()
       The resource name of the evaluation.
       
      string evaluation = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEvaluationBytes in interface EvaluationReferenceOrBuilder
      Returns:
      The bytes for evaluation.
    • hasAggregateMetrics

      public boolean hasAggregateMetrics()
       An aggregate of the statistics for the evaluation with fuzzy matching on.
       
      .google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics = 4;
      Specified by:
      hasAggregateMetrics in interface EvaluationReferenceOrBuilder
      Returns:
      Whether the aggregateMetrics field is set.
    • getAggregateMetrics

      public Evaluation.Metrics getAggregateMetrics()
       An aggregate of the statistics for the evaluation with fuzzy matching on.
       
      .google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics = 4;
      Specified by:
      getAggregateMetrics in interface EvaluationReferenceOrBuilder
      Returns:
      The aggregateMetrics.
    • getAggregateMetricsOrBuilder

      public Evaluation.MetricsOrBuilder getAggregateMetricsOrBuilder()
       An aggregate of the statistics for the evaluation with fuzzy matching on.
       
      .google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics = 4;
      Specified by:
      getAggregateMetricsOrBuilder in interface EvaluationReferenceOrBuilder
    • hasAggregateMetricsExact

      public boolean hasAggregateMetricsExact()
       An aggregate of the statistics for the evaluation with fuzzy matching off.
       
      .google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics_exact = 5;
      Specified by:
      hasAggregateMetricsExact in interface EvaluationReferenceOrBuilder
      Returns:
      Whether the aggregateMetricsExact field is set.
    • getAggregateMetricsExact

      public Evaluation.Metrics getAggregateMetricsExact()
       An aggregate of the statistics for the evaluation with fuzzy matching off.
       
      .google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics_exact = 5;
      Specified by:
      getAggregateMetricsExact in interface EvaluationReferenceOrBuilder
      Returns:
      The aggregateMetricsExact.
    • getAggregateMetricsExactOrBuilder

      public Evaluation.MetricsOrBuilder getAggregateMetricsExactOrBuilder()
       An aggregate of the statistics for the evaluation with fuzzy matching off.
       
      .google.cloud.documentai.v1.Evaluation.Metrics aggregate_metrics_exact = 5;
      Specified by:
      getAggregateMetricsExactOrBuilder in interface EvaluationReferenceOrBuilder
    • 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 EvaluationReference parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static EvaluationReference parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static EvaluationReference parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static EvaluationReference.Builder newBuilder()
    • newBuilder

      public static EvaluationReference.Builder newBuilder(EvaluationReference prototype)
    • toBuilder

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

      protected EvaluationReference.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static EvaluationReference getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EvaluationReference> parser()
    • getParserForType

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