Class ErrorAnalysisAnnotation.AttributedItem (3.28.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
TypeDescription
int

DISTANCE_FIELD_NUMBER

public static final int DISTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ErrorAnalysisAnnotation.AttributedItem getDefaultInstance()
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ErrorAnalysisAnnotation.AttributedItem.Builder newBuilder()
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem.Builder

newBuilder(ErrorAnalysisAnnotation.AttributedItem prototype)

public static ErrorAnalysisAnnotation.AttributedItem.Builder newBuilder(ErrorAnalysisAnnotation.AttributedItem prototype)
Parameter
NameDescription
prototypeErrorAnalysisAnnotation.AttributedItem
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem.Builder

parseDelimitedFrom(InputStream input)

public static ErrorAnalysisAnnotation.AttributedItem parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ErrorAnalysisAnnotation.AttributedItem parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

getDistance()

public double getDistance()

The distance of this item to the annotation.

double distance = 2;

Returns
TypeDescription
double

The distance.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ErrorAnalysisAnnotation.AttributedItem.Builder newBuilderForType()
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ErrorAnalysisAnnotation.AttributedItem.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ErrorAnalysisAnnotation.AttributedItem.Builder toBuilder()
Returns
TypeDescription
ErrorAnalysisAnnotation.AttributedItem.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException