Class ErrorAnalysisAnnotation.Builder (3.29.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItem>
Returns
TypeDescription
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
NameDescription
valueErrorAnalysisAnnotation.AttributedItem
Returns
TypeDescription
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
NameDescription
builderForValueErrorAnalysisAnnotation.AttributedItem.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueErrorAnalysisAnnotation.AttributedItem
Returns
TypeDescription
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
NameDescription
indexint
builderForValueErrorAnalysisAnnotation.AttributedItem.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorAnalysisAnnotation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ErrorAnalysisAnnotation.Builder
Overrides

build()

public ErrorAnalysisAnnotation build()
Returns
TypeDescription
ErrorAnalysisAnnotation

buildPartial()

public ErrorAnalysisAnnotation buildPartial()
Returns
TypeDescription
ErrorAnalysisAnnotation

clear()

public ErrorAnalysisAnnotation.Builder clear()
Returns
TypeDescription
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
TypeDescription
ErrorAnalysisAnnotation.Builder

clearField(Descriptors.FieldDescriptor field)

public ErrorAnalysisAnnotation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ErrorAnalysisAnnotation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorAnalysisAnnotation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ErrorAnalysisAnnotation.Builder

This builder for chaining.

clone()

public ErrorAnalysisAnnotation.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItemOrBuilder>

getDefaultInstanceForType()

public ErrorAnalysisAnnotation getDefaultInstanceForType()
Returns
TypeDescription
ErrorAnalysisAnnotation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for queryType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ErrorAnalysisAnnotation other)

public ErrorAnalysisAnnotation.Builder mergeFrom(ErrorAnalysisAnnotation other)
Parameter
NameDescription
otherErrorAnalysisAnnotation
Returns
TypeDescription
ErrorAnalysisAnnotation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorAnalysisAnnotation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorAnalysisAnnotation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ErrorAnalysisAnnotation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ErrorAnalysisAnnotation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorAnalysisAnnotation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueErrorAnalysisAnnotation.AttributedItem
Returns
TypeDescription
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
NameDescription
indexint
builderForValueErrorAnalysisAnnotation.AttributedItem.Builder
Returns
TypeDescription
ErrorAnalysisAnnotation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorAnalysisAnnotation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuedouble

The outlierScore to set.

Returns
TypeDescription
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
NameDescription
valuedouble

The outlierThreshold to set.

Returns
TypeDescription
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
NameDescription
valueErrorAnalysisAnnotation.QueryType

The queryType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ErrorAnalysisAnnotation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorAnalysisAnnotation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ErrorAnalysisAnnotation.Builder
Overrides