Class ErrorAnalysisAnnotation.AttributedItem.Builder (3.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ErrorAnalysisAnnotation.AttributedItem build()
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem

buildPartial()

public ErrorAnalysisAnnotation.AttributedItem buildPartial()
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorAnalysisAnnotation.AttributedItem.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem.Builder
Overrides

clone()

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

The bytes for annotationResourceName.

getDefaultInstanceForType()

public ErrorAnalysisAnnotation.AttributedItem getDefaultInstanceForType()
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDistance()

public double getDistance()

The distance of this item to the annotation.

double distance = 2;

Returns
TypeDescription
double

The distance.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ErrorAnalysisAnnotation.AttributedItem other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The annotationResourceName to set.

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

The bytes for annotationResourceName to set.

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

The distance to set.

Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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