Class ErrorAnalysisAnnotation.Builder

    • Method Detail

      • 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.Builder<ErrorAnalysisAnnotation.Builder>
      • clear

        public ErrorAnalysisAnnotation.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorAnalysisAnnotation.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorAnalysisAnnotation.Builder>
      • getDefaultInstanceForType

        public ErrorAnalysisAnnotation getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ErrorAnalysisAnnotation build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ErrorAnalysisAnnotation buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ErrorAnalysisAnnotation.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorAnalysisAnnotation.Builder>
      • clearField

        public ErrorAnalysisAnnotation.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorAnalysisAnnotation.Builder>
      • clearOneof

        public ErrorAnalysisAnnotation.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorAnalysisAnnotation.Builder>
      • setRepeatedField

        public ErrorAnalysisAnnotation.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorAnalysisAnnotation.Builder>
      • addRepeatedField

        public ErrorAnalysisAnnotation.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorAnalysisAnnotation.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorAnalysisAnnotation.Builder>
      • mergeFrom

        public ErrorAnalysisAnnotation.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ErrorAnalysisAnnotation.Builder>
        Throws:
        IOException
      • getAttributedItemsCount

        public int getAttributedItemsCount()
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
        Specified by:
        getAttributedItemsCount in interface ErrorAnalysisAnnotationOrBuilder
      • setAttributedItems

        public ErrorAnalysisAnnotation.Builder setAttributedItems​(int index,
                                                                  ErrorAnalysisAnnotation.AttributedItem value)
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
      • setAttributedItems

        public ErrorAnalysisAnnotation.Builder setAttributedItems​(int index,
                                                                  ErrorAnalysisAnnotation.AttributedItem.Builder builderForValue)
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
      • addAttributedItems

        public ErrorAnalysisAnnotation.Builder addAttributedItems​(ErrorAnalysisAnnotation.AttributedItem value)
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
      • addAttributedItems

        public ErrorAnalysisAnnotation.Builder addAttributedItems​(int index,
                                                                  ErrorAnalysisAnnotation.AttributedItem value)
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
      • addAttributedItems

        public ErrorAnalysisAnnotation.Builder addAttributedItems​(int index,
                                                                  ErrorAnalysisAnnotation.AttributedItem.Builder builderForValue)
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
      • clearAttributedItems

        public ErrorAnalysisAnnotation.Builder clearAttributedItems()
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
      • removeAttributedItems

        public ErrorAnalysisAnnotation.Builder removeAttributedItems​(int index)
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
      • getAttributedItemsBuilder

        public ErrorAnalysisAnnotation.AttributedItem.Builder getAttributedItemsBuilder​(int index)
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
      • addAttributedItemsBuilder

        public ErrorAnalysisAnnotation.AttributedItem.Builder addAttributedItemsBuilder()
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
      • addAttributedItemsBuilder

        public ErrorAnalysisAnnotation.AttributedItem.Builder addAttributedItemsBuilder​(int index)
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
      • getAttributedItemsBuilderList

        public List<ErrorAnalysisAnnotation.AttributedItem.Builder> getAttributedItemsBuilderList()
         Attributed items for a given annotation, typically representing neighbors
         from the training sets constrained by the query type.
         
        repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;
      • getQueryTypeValue

        public int getQueryTypeValue()
         The query type used for finding the attributed items.
         
        .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType query_type = 2;
        Specified by:
        getQueryTypeValue in interface ErrorAnalysisAnnotationOrBuilder
        Returns:
        The enum numeric value on the wire for queryType.
      • setQueryTypeValue

        public ErrorAnalysisAnnotation.Builder setQueryTypeValue​(int value)
         The query type used for finding the attributed items.
         
        .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType query_type = 2;
        Parameters:
        value - The enum numeric value on the wire for queryType to set.
        Returns:
        This builder for chaining.
      • setQueryType

        public ErrorAnalysisAnnotation.Builder setQueryType​(ErrorAnalysisAnnotation.QueryType value)
         The query type used for finding the attributed items.
         
        .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType query_type = 2;
        Parameters:
        value - The queryType to set.
        Returns:
        This builder for chaining.
      • clearQueryType

        public ErrorAnalysisAnnotation.Builder clearQueryType()
         The query type used for finding the attributed items.
         
        .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType query_type = 2;
        Returns:
        This builder for chaining.
      • getOutlierScore

        public double getOutlierScore()
         The outlier score of this annotated item. Usually defined as the min of all
         distances from attributed items.
         
        double outlier_score = 3;
        Specified by:
        getOutlierScore in interface ErrorAnalysisAnnotationOrBuilder
        Returns:
        The outlierScore.
      • setOutlierScore

        public ErrorAnalysisAnnotation.Builder setOutlierScore​(double value)
         The outlier score of this annotated item. Usually defined as the min of all
         distances from attributed items.
         
        double outlier_score = 3;
        Parameters:
        value - The outlierScore to set.
        Returns:
        This builder for chaining.
      • clearOutlierScore

        public ErrorAnalysisAnnotation.Builder clearOutlierScore()
         The outlier score of this annotated item. Usually defined as the min of all
         distances from attributed items.
         
        double outlier_score = 3;
        Returns:
        This builder for chaining.
      • getOutlierThreshold

        public double getOutlierThreshold()
         The threshold used to determine if this annotation is an outlier or not.
         
        double outlier_threshold = 4;
        Specified by:
        getOutlierThreshold in interface ErrorAnalysisAnnotationOrBuilder
        Returns:
        The outlierThreshold.
      • setOutlierThreshold

        public ErrorAnalysisAnnotation.Builder setOutlierThreshold​(double value)
         The threshold used to determine if this annotation is an outlier or not.
         
        double outlier_threshold = 4;
        Parameters:
        value - The outlierThreshold to set.
        Returns:
        This builder for chaining.
      • clearOutlierThreshold

        public ErrorAnalysisAnnotation.Builder clearOutlierThreshold()
         The threshold used to determine if this annotation is an outlier or not.
         
        double outlier_threshold = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ErrorAnalysisAnnotation.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorAnalysisAnnotation.Builder>
      • mergeUnknownFields

        public final ErrorAnalysisAnnotation.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorAnalysisAnnotation.Builder>