public final class ModelEvaluationSlice extends GeneratedMessageV3 implements ModelEvaluationSliceOrBuilder
A collection of metrics calculated by comparing Model's predictions on a
slice of the test data against ground truth annotations.
Protobuf type google.cloud.aiplatform.v1.ModelEvaluationSlice
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int METRICS_FIELD_NUMBER
Field Value
public static final int METRICS_SCHEMA_URI_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
public static final int SLICE_FIELD_NUMBER
Field Value
Static Methods
public static ModelEvaluationSlice getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ModelEvaluationSlice.Builder newBuilder()
Returns
public static ModelEvaluationSlice.Builder newBuilder(ModelEvaluationSlice prototype)
Parameter
Returns
public static ModelEvaluationSlice parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelEvaluationSlice parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluationSlice parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ModelEvaluationSlice parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluationSlice parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ModelEvaluationSlice parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluationSlice parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ModelEvaluationSlice parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluationSlice parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelEvaluationSlice parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluationSlice parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ModelEvaluationSlice parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ModelEvaluationSlice> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Timestamp getCreateTime()
Output only. Timestamp when this ModelEvaluationSlice was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this ModelEvaluationSlice was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public ModelEvaluationSlice getDefaultInstanceForType()
Returns
public Value getMetrics()
Output only. Sliced evaluation metrics of the Model. The schema of the
metrics is stored in
metrics_schema_uri
.google.protobuf.Value metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
Value | The metrics.
|
public ValueOrBuilder getMetricsOrBuilder()
Output only. Sliced evaluation metrics of the Model. The schema of the
metrics is stored in
metrics_schema_uri
.google.protobuf.Value metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public String getMetricsSchemaUri()
Output only. Points to a YAML file stored on Google Cloud Storage
describing the
metrics of this
ModelEvaluationSlice. The schema is defined as an OpenAPI 3.0.2 Schema
Object.
string metrics_schema_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The metricsSchemaUri.
|
public ByteString getMetricsSchemaUriBytes()
Output only. Points to a YAML file stored on Google Cloud Storage
describing the
metrics of this
ModelEvaluationSlice. The schema is defined as an OpenAPI 3.0.2 Schema
Object.
string metrics_schema_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
ByteString | The bytes for metricsSchemaUri.
|
Output only. The resource name of the ModelEvaluationSlice.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Output only. The resource name of the ModelEvaluationSlice.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Parser<ModelEvaluationSlice> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public ModelEvaluationSlice.Slice getSlice()
Output only. The slice of the test data that is used to evaluate the Model.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice slice = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public ModelEvaluationSlice.SliceOrBuilder getSliceOrBuilder()
Output only. The slice of the test data that is used to evaluate the Model.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice slice = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasCreateTime()
Output only. Timestamp when this ModelEvaluationSlice was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
public boolean hasMetrics()
Output only. Sliced evaluation metrics of the Model. The schema of the
metrics is stored in
metrics_schema_uri
.google.protobuf.Value metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the metrics field is set.
|
public boolean hasSlice()
Output only. The slice of the test data that is used to evaluate the Model.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice slice = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the slice field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelEvaluationSlice.Builder newBuilderForType()
Returns
protected ModelEvaluationSlice.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ModelEvaluationSlice.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions