Class ErrorAnalysisAnnotation.AttributedItem.Builder (3.42.0)

public static final class ErrorAnalysisAnnotation.AttributedItem.Builder extends GeneratedMessageV3.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.v1beta1.ErrorAnalysisAnnotation.AttributedItem

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorAnalysisAnnotation.AttributedItem.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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