Package com.google.cloud.aiplatform.v1
Class ErrorAnalysisAnnotation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ErrorAnalysisAnnotation.Builder>
com.google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.Builder
- All Implemented Interfaces:
ErrorAnalysisAnnotationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ErrorAnalysisAnnotation
public static final class ErrorAnalysisAnnotation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ErrorAnalysisAnnotation.Builder>
implements ErrorAnalysisAnnotationOrBuilder
Model error analysis for each annotation.Protobuf type
google.cloud.aiplatform.v1.ErrorAnalysisAnnotation-
Method Summary
Modifier and TypeMethodDescriptionaddAllAttributedItems(Iterable<? extends ErrorAnalysisAnnotation.AttributedItem> values) Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.addAttributedItems(int index, ErrorAnalysisAnnotation.AttributedItem value) Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.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.Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.addAttributedItems(ErrorAnalysisAnnotation.AttributedItem.Builder builderForValue) Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.addAttributedItemsBuilder(int index) Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.build()clear()Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.The outlier score of this annotated item.The threshold used to determine if this annotation is an outlier or not.The query type used for finding the attributed items.getAttributedItems(int index) Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.getAttributedItemsBuilder(int index) Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.intAttributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.getAttributedItemsOrBuilder(int index) Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoubleThe outlier score of this annotated item.doubleThe threshold used to determine if this annotation is an outlier or not.The query type used for finding the attributed items.intThe query type used for finding the attributed items.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ErrorAnalysisAnnotation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAttributedItems(int index) Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.setAttributedItems(int index, ErrorAnalysisAnnotation.AttributedItem value) Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.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.setOutlierScore(double value) The outlier score of this annotated item.setOutlierThreshold(double value) The threshold used to determine if this annotation is an outlier or not.The query type used for finding the attributed items.setQueryTypeValue(int value) The query type used for finding the attributed items.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ErrorAnalysisAnnotation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ErrorAnalysisAnnotation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ErrorAnalysisAnnotation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ErrorAnalysisAnnotation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ErrorAnalysisAnnotation.Builder>
-
mergeFrom
public ErrorAnalysisAnnotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ErrorAnalysisAnnotation.Builder>- Throws:
IOException
-
getAttributedItemsList
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:
getAttributedItemsListin interfaceErrorAnalysisAnnotationOrBuilder
-
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:
getAttributedItemsCountin interfaceErrorAnalysisAnnotationOrBuilder
-
getAttributedItems
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:
getAttributedItemsin interfaceErrorAnalysisAnnotationOrBuilder
-
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(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(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; -
addAllAttributedItems
public ErrorAnalysisAnnotation.Builder addAllAttributedItems(Iterable<? extends ErrorAnalysisAnnotation.AttributedItem> values) 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
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
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
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; -
getAttributedItemsOrBuilder
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:
getAttributedItemsOrBuilderin interfaceErrorAnalysisAnnotationOrBuilder
-
getAttributedItemsOrBuilderList
public List<? extends ErrorAnalysisAnnotation.AttributedItemOrBuilder> getAttributedItemsOrBuilderList()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:
getAttributedItemsOrBuilderListin interfaceErrorAnalysisAnnotationOrBuilder
-
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
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
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:
getQueryTypeValuein interfaceErrorAnalysisAnnotationOrBuilder- Returns:
- The enum numeric value on the wire for queryType.
-
setQueryTypeValue
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.
-
getQueryType
The query type used for finding the attributed items.
.google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType query_type = 2;- Specified by:
getQueryTypein interfaceErrorAnalysisAnnotationOrBuilder- Returns:
- The queryType.
-
setQueryType
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
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:
getOutlierScorein interfaceErrorAnalysisAnnotationOrBuilder- Returns:
- The outlierScore.
-
setOutlierScore
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
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:
getOutlierThresholdin interfaceErrorAnalysisAnnotationOrBuilder- Returns:
- The outlierThreshold.
-
setOutlierThreshold
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
The threshold used to determine if this annotation is an outlier or not.
double outlier_threshold = 4;- Returns:
- This builder for chaining.
-