Class EvaluationReference

  • All Implemented Interfaces:
    EvaluationReferenceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

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

      • EVALUATION_FIELD_NUMBER

        public static final int EVALUATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AGGREGATE_METRICS_FIELD_NUMBER

        public static final int AGGREGATE_METRICS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AGGREGATE_METRICS_EXACT_FIELD_NUMBER

        public static final int AGGREGATE_METRICS_EXACT_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
      • 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.
      • 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.
      • 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 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​(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
      • 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.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • 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.GeneratedMessageV3
      • getDefaultInstanceForType

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