Class ErrorAnalysisAnnotation.AttributedItem.Builder (3.84.0)

public static final class ErrorAnalysisAnnotation.AttributedItem.Builder extends GeneratedMessage.Builder<ErrorAnalysisAnnotation.AttributedItem.Builder> implements ErrorAnalysisAnnotation.AttributedItemOrBuilder

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

Protobuf type google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem

Static Methods

getDescriptor()

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

Methods

build()

public ErrorAnalysisAnnotation.AttributedItem build()
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem

buildPartial()

public ErrorAnalysisAnnotation.AttributedItem buildPartial()
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem

clear()

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

clearAnnotationResourceName()

public ErrorAnalysisAnnotation.AttributedItem.Builder clearAnnotationResourceName()

The unique ID for each annotation. Used by FE to allocate the annotation in DB.

string annotation_resource_name = 1;

Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

This builder for chaining.

clearDistance()

public ErrorAnalysisAnnotation.AttributedItem.Builder clearDistance()

The distance of this item to the annotation.

double distance = 2;

Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

This builder for chaining.

getAnnotationResourceName()

public String getAnnotationResourceName()

The unique ID for each annotation. Used by FE to allocate the annotation in DB.

string annotation_resource_name = 1;

Returns
Type Description
String

The annotationResourceName.

getAnnotationResourceNameBytes()

public ByteString getAnnotationResourceNameBytes()

The unique ID for each annotation. Used by FE to allocate the annotation in DB.

string annotation_resource_name = 1;

Returns
Type Description
ByteString

The bytes for annotationResourceName.

getDefaultInstanceForType()

public ErrorAnalysisAnnotation.AttributedItem getDefaultInstanceForType()
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem

getDescriptorForType()

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

getDistance()

public double getDistance()

The distance of this item to the annotation.

double distance = 2;

Returns
Type Description
double

The distance.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ErrorAnalysisAnnotation.AttributedItem other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAnnotationResourceName(String value)

public ErrorAnalysisAnnotation.AttributedItem.Builder setAnnotationResourceName(String value)

The unique ID for each annotation. Used by FE to allocate the annotation in DB.

string annotation_resource_name = 1;

Parameter
Name Description
value String

The annotationResourceName to set.

Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

This builder for chaining.

setAnnotationResourceNameBytes(ByteString value)

public ErrorAnalysisAnnotation.AttributedItem.Builder setAnnotationResourceNameBytes(ByteString value)

The unique ID for each annotation. Used by FE to allocate the annotation in DB.

string annotation_resource_name = 1;

Parameter
Name Description
value ByteString

The bytes for annotationResourceName to set.

Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

This builder for chaining.

setDistance(double value)

public ErrorAnalysisAnnotation.AttributedItem.Builder setDistance(double value)

The distance of this item to the annotation.

double distance = 2;

Parameter
Name Description
value double

The distance to set.

Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

This builder for chaining.