Class ErrorAnalysisAnnotation (3.47.0)

public final class ErrorAnalysisAnnotation extends GeneratedMessageV3 implements ErrorAnalysisAnnotationOrBuilder

Model error analysis for each annotation.

Protobuf type google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation

Static Fields

ATTRIBUTED_ITEMS_FIELD_NUMBER

public static final int ATTRIBUTED_ITEMS_FIELD_NUMBER
Field Value
Type Description
int

OUTLIER_SCORE_FIELD_NUMBER

public static final int OUTLIER_SCORE_FIELD_NUMBER
Field Value
Type Description
int

OUTLIER_THRESHOLD_FIELD_NUMBER

public static final int OUTLIER_THRESHOLD_FIELD_NUMBER
Field Value
Type Description
int

QUERY_TYPE_FIELD_NUMBER

public static final int QUERY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ErrorAnalysisAnnotation getDefaultInstance()
Returns
Type Description
ErrorAnalysisAnnotation

getDescriptor()

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

newBuilder()

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

newBuilder(ErrorAnalysisAnnotation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttributedItems(int index)

public ErrorAnalysisAnnotation.AttributedItem getAttributedItems(int index)

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

repeated .google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItem

getAttributedItemsCount()

public int getAttributedItemsCount()

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

repeated .google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
Type Description
int

getAttributedItemsList()

public List<ErrorAnalysisAnnotation.AttributedItem> getAttributedItemsList()

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

repeated .google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
Type Description
List<AttributedItem>

getAttributedItemsOrBuilder(int index)

public ErrorAnalysisAnnotation.AttributedItemOrBuilder getAttributedItemsOrBuilder(int index)

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

repeated .google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
Name Description
index int
Returns
Type Description
ErrorAnalysisAnnotation.AttributedItemOrBuilder

getAttributedItemsOrBuilderList()

public List<? extends ErrorAnalysisAnnotation.AttributedItemOrBuilder> getAttributedItemsOrBuilderList()

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

repeated .google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.AttributedItemOrBuilder>

getDefaultInstanceForType()

public ErrorAnalysisAnnotation getDefaultInstanceForType()
Returns
Type Description
ErrorAnalysisAnnotation

getOutlierScore()

public double getOutlierScore()

The outlier score of this annotated item. Usually defined as the min of all distances from attributed items.

double outlier_score = 3;

Returns
Type Description
double

The outlierScore.

getOutlierThreshold()

public double getOutlierThreshold()

The threshold used to determine if this annotation is an outlier or not.

double outlier_threshold = 4;

Returns
Type Description
double

The outlierThreshold.

getParserForType()

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

getQueryType()

public ErrorAnalysisAnnotation.QueryType getQueryType()

The query type used for finding the attributed items.

.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.QueryType query_type = 2;

Returns
Type Description
ErrorAnalysisAnnotation.QueryType

The queryType.

getQueryTypeValue()

public int getQueryTypeValue()

The query type used for finding the attributed items.

.google.cloud.aiplatform.v1beta1.ErrorAnalysisAnnotation.QueryType query_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for queryType.

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.Builder newBuilderForType()
Returns
Type Description
ErrorAnalysisAnnotation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ErrorAnalysisAnnotation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ErrorAnalysisAnnotation.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.Builder toBuilder()
Returns
Type Description
ErrorAnalysisAnnotation.Builder

writeTo(CodedOutputStream output)

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