Interface ModelEvaluationSlice.SliceOrBuilder (3.17.0)

public static interface ModelEvaluationSlice.SliceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDimension()

public abstract String getDimension()

Output only. The dimension of the slice. Well-known dimensions are:

  • annotationSpec: This slice is on the test data that has either ground truth or prediction with AnnotationSpec.display_name equals to value.
  • slice: This slice is a user customized slice defined by its SliceSpec.

string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The dimension.

getDimensionBytes()

public abstract ByteString getDimensionBytes()

Output only. The dimension of the slice. Well-known dimensions are:

  • annotationSpec: This slice is on the test data that has either ground truth or prediction with AnnotationSpec.display_name equals to value.
  • slice: This slice is a user customized slice defined by its SliceSpec.

string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for dimension.

getSliceSpec()

public abstract ModelEvaluationSlice.Slice.SliceSpec getSliceSpec()

Output only. Specification for how the data was sliced.

.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec

The sliceSpec.

getSliceSpecOrBuilder()

public abstract ModelEvaluationSlice.Slice.SliceSpecOrBuilder getSliceSpecOrBuilder()

Output only. Specification for how the data was sliced.

.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpecOrBuilder

getValue()

public abstract String getValue()

Output only. The value of the dimension in this slice.

string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Output only. The value of the dimension in this slice.

string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for value.

hasSliceSpec()

public abstract boolean hasSliceSpec()

Output only. Specification for how the data was sliced.

.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the sliceSpec field is set.