Class ErrorAnalysisAnnotation.AttributedItem (3.53.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ErrorAnalysisAnnotation.AttributedItem

Static Fields

ANNOTATION_RESOURCE_NAME_FIELD_NUMBER

public static final int ANNOTATION_RESOURCE_NAME_FIELD_NUMBER
Field Value
Type Description
int

DISTANCE_FIELD_NUMBER

public static final int DISTANCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ErrorAnalysisAnnotation.AttributedItem getDefaultInstance()
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem

getDescriptor()

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

newBuilder()

public static ErrorAnalysisAnnotation.AttributedItem.Builder newBuilder()
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

newBuilder(ErrorAnalysisAnnotation.AttributedItem prototype)

public static ErrorAnalysisAnnotation.AttributedItem.Builder newBuilder(ErrorAnalysisAnnotation.AttributedItem prototype)
Parameter
Name Description
prototype ErrorAnalysisAnnotation.AttributedItem
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

parseDelimitedFrom(InputStream input)

public static ErrorAnalysisAnnotation.AttributedItem parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ErrorAnalysisAnnotation.AttributedItem> parser()
Returns
Type Description
Parser<AttributedItem>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getDistance()

public double getDistance()

The distance of this item to the annotation.

double distance = 2;

Returns
Type Description
double

The distance.

getParserForType()

public Parser<ErrorAnalysisAnnotation.AttributedItem> getParserForType()
Returns
Type Description
Parser<AttributedItem>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ErrorAnalysisAnnotation.AttributedItem.Builder newBuilderForType()
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ErrorAnalysisAnnotation.AttributedItem.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ErrorAnalysisAnnotation.AttributedItem.Builder toBuilder()
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException