Class ErrorAnalysisAnnotation (3.21.0)

public final class ErrorAnalysisAnnotation extends GeneratedMessageV3 implements ErrorAnalysisAnnotationOrBuilder

Model error analysis for each annotation.

Protobuf type google.cloud.aiplatform.v1.ErrorAnalysisAnnotation

Static Fields

ATTRIBUTED_ITEMS_FIELD_NUMBER

public static final int ATTRIBUTED_ITEMS_FIELD_NUMBER
Field Value
TypeDescription
int

OUTLIER_SCORE_FIELD_NUMBER

public static final int OUTLIER_SCORE_FIELD_NUMBER
Field Value
TypeDescription
int

OUTLIER_THRESHOLD_FIELD_NUMBER

public static final int OUTLIER_THRESHOLD_FIELD_NUMBER
Field Value
TypeDescription
int

QUERY_TYPE_FIELD_NUMBER

public static final int QUERY_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ErrorAnalysisAnnotation getDefaultInstance()
Returns
TypeDescription
ErrorAnalysisAnnotation

getDescriptor()

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

newBuilder()

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

newBuilder(ErrorAnalysisAnnotation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
TypeDescription
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.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
TypeDescription
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.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1;

Returns
TypeDescription
List<? extends com.google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItemOrBuilder>

getDefaultInstanceForType()

public ErrorAnalysisAnnotation getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
double

The outlierThreshold.

getParserForType()

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

getQueryType()

public ErrorAnalysisAnnotation.QueryType getQueryType()

The query type used for finding the attributed items.

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

Returns
TypeDescription
ErrorAnalysisAnnotation.QueryType

The queryType.

getQueryTypeValue()

public int getQueryTypeValue()

The query type used for finding the attributed items.

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

Returns
TypeDescription
int

The enum numeric value on the wire for queryType.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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