Class ErrorAnalysisAnnotation.Builder (3.42.0)

public static final class ErrorAnalysisAnnotation.Builder extends GeneratedMessageV3.Builder<ErrorAnalysisAnnotation.Builder> implements ErrorAnalysisAnnotationOrBuilder

Model error analysis for each annotation.

Protobuf type google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAttributedItems(Iterable<? extends ErrorAnalysisAnnotation.AttributedItem> values)

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItem>
Returns
Type Description
ErrorAnalysisAnnotation.Builder

addAttributedItems(ErrorAnalysisAnnotation.AttributedItem value)

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
Name Description
value ErrorAnalysisAnnotation.AttributedItem
Returns
Type Description
ErrorAnalysisAnnotation.Builder

addAttributedItems(ErrorAnalysisAnnotation.AttributedItem.Builder builderForValue)

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
Name Description
builderForValue ErrorAnalysisAnnotation.AttributedItem.Builder
Returns
Type Description
ErrorAnalysisAnnotation.Builder

addAttributedItems(int index, ErrorAnalysisAnnotation.AttributedItem value)

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameters
Name Description
index int
value ErrorAnalysisAnnotation.AttributedItem
Returns
Type Description
ErrorAnalysisAnnotation.Builder

addAttributedItems(int index, ErrorAnalysisAnnotation.AttributedItem.Builder builderForValue)

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameters
Name Description
index int
builderForValue ErrorAnalysisAnnotation.AttributedItem.Builder
Returns
Type Description
ErrorAnalysisAnnotation.Builder

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

addAttributedItemsBuilder(int index)

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorAnalysisAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ErrorAnalysisAnnotation.Builder
Overrides

build()

public ErrorAnalysisAnnotation build()
Returns
Type Description
ErrorAnalysisAnnotation

buildPartial()

public ErrorAnalysisAnnotation buildPartial()
Returns
Type Description
ErrorAnalysisAnnotation

clear()

public ErrorAnalysisAnnotation.Builder clear()
Returns
Type Description
ErrorAnalysisAnnotation.Builder
Overrides

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
Type Description
ErrorAnalysisAnnotation.Builder

clearField(Descriptors.FieldDescriptor field)

public ErrorAnalysisAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ErrorAnalysisAnnotation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorAnalysisAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ErrorAnalysisAnnotation.Builder
Overrides

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
Type Description
ErrorAnalysisAnnotation.Builder

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
Type Description
ErrorAnalysisAnnotation.Builder

This builder for chaining.

clearQueryType()

public ErrorAnalysisAnnotation.Builder clearQueryType()

The query type used for finding the attributed items.

.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.QueryType query_type = 2;

Returns
Type Description
ErrorAnalysisAnnotation.Builder

This builder for chaining.

clone()

public ErrorAnalysisAnnotation.Builder clone()
Returns
Type Description
ErrorAnalysisAnnotation.Builder
Overrides

getAttributedItems(int index)

public ErrorAnalysisAnnotation.AttributedItem getAttributedItems(int index)

Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.

repeated .google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem

getAttributedItemsBuilder(int index)

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
Type Description
List<Builder>

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
Type Description
int

getAttributedItemsList()

public List<ErrorAnalysisAnnotation.AttributedItem> getAttributedItemsList()

Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.

repeated .google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
Type Description
List<AttributedItem>

getAttributedItemsOrBuilder(int index)

public ErrorAnalysisAnnotation.AttributedItemOrBuilder getAttributedItemsOrBuilder(int index)

Attributed items for a given annotation, typically representing neighbors from the training sets constrained by the query type.

repeated .google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItemOrBuilder

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItemOrBuilder>

getDefaultInstanceForType()

public ErrorAnalysisAnnotation getDefaultInstanceForType()
Returns
Type Description
ErrorAnalysisAnnotation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
Type Description
double

The outlierScore.

getOutlierThreshold()

public double getOutlierThreshold()

The threshold used to determine if this annotation is an outlier or not.

double outlier_threshold = 4;

Returns
Type Description
double

The outlierThreshold.

getQueryType()

public ErrorAnalysisAnnotation.QueryType getQueryType()

The query type used for finding the attributed items.

.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.QueryType query_type = 2;

Returns
Type Description
ErrorAnalysisAnnotation.QueryType

The queryType.

getQueryTypeValue()

public int getQueryTypeValue()

The query type used for finding the attributed items.

.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.QueryType query_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for queryType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ErrorAnalysisAnnotation other)

public ErrorAnalysisAnnotation.Builder mergeFrom(ErrorAnalysisAnnotation other)
Parameter
Name Description
other ErrorAnalysisAnnotation
Returns
Type Description
ErrorAnalysisAnnotation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorAnalysisAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorAnalysisAnnotation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ErrorAnalysisAnnotation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ErrorAnalysisAnnotation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorAnalysisAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ErrorAnalysisAnnotation.Builder
Overrides

removeAttributedItems(int index)

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorAnalysisAnnotation.Builder

setAttributedItems(int index, ErrorAnalysisAnnotation.AttributedItem value)

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameters
Name Description
index int
value ErrorAnalysisAnnotation.AttributedItem
Returns
Type Description
ErrorAnalysisAnnotation.Builder

setAttributedItems(int index, ErrorAnalysisAnnotation.AttributedItem.Builder builderForValue)

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.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameters
Name Description
index int
builderForValue ErrorAnalysisAnnotation.AttributedItem.Builder
Returns
Type Description
ErrorAnalysisAnnotation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorAnalysisAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ErrorAnalysisAnnotation.Builder
Overrides

setOutlierScore(double value)

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;

Parameter
Name Description
value double

The outlierScore to set.

Returns
Type Description
ErrorAnalysisAnnotation.Builder

This builder for chaining.

setOutlierThreshold(double value)

public ErrorAnalysisAnnotation.Builder setOutlierThreshold(double value)

The threshold used to determine if this annotation is an outlier or not.

double outlier_threshold = 4;

Parameter
Name Description
value double

The outlierThreshold to set.

Returns
Type Description
ErrorAnalysisAnnotation.Builder

This builder for chaining.

setQueryType(ErrorAnalysisAnnotation.QueryType value)

public ErrorAnalysisAnnotation.Builder setQueryType(ErrorAnalysisAnnotation.QueryType value)

The query type used for finding the attributed items.

.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.QueryType query_type = 2;

Parameter
Name Description
value ErrorAnalysisAnnotation.QueryType

The queryType to set.

Returns
Type Description
ErrorAnalysisAnnotation.Builder

This builder for chaining.

setQueryTypeValue(int value)

public ErrorAnalysisAnnotation.Builder setQueryTypeValue(int value)

The query type used for finding the attributed items.

.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.QueryType query_type = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for queryType to set.

Returns
Type Description
ErrorAnalysisAnnotation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ErrorAnalysisAnnotation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ErrorAnalysisAnnotation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorAnalysisAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ErrorAnalysisAnnotation.Builder
Overrides