Interface ModelEvaluationSlice.SliceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelEvaluationSlice.Slice
,ModelEvaluationSlice.Slice.Builder
- Enclosing class:
- ModelEvaluationSlice
public static interface ModelEvaluationSlice.SliceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDimension()
Output only.com.google.protobuf.ByteString
getDimensionBytes()
Output only.ModelEvaluationSlice.Slice.SliceSpec
getSliceSpec()
Output only.ModelEvaluationSlice.Slice.SliceSpecOrBuilder
getSliceSpecOrBuilder()
Output only.String
getValue()
Output only.com.google.protobuf.ByteString
getValueBytes()
Output only.boolean
hasSliceSpec()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDimension
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][google.cloud.aiplatform.v1beta1.AnnotationSpec.display_name] equals to [value][google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.value]. * `slice`: This slice is a user customized slice defined by its SliceSpec.
string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The dimension.
-
getDimensionBytes
com.google.protobuf.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][google.cloud.aiplatform.v1beta1.AnnotationSpec.display_name] equals to [value][google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.value]. * `slice`: This slice is a user customized slice defined by its SliceSpec.
string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for dimension.
-
getValue
String getValue()
Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for value.
-
hasSliceSpec
boolean hasSliceSpec()
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the sliceSpec field is set.
-
getSliceSpec
ModelEvaluationSlice.Slice.SliceSpec getSliceSpec()
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The sliceSpec.
-
getSliceSpecOrBuilder
ModelEvaluationSlice.Slice.SliceSpecOrBuilder getSliceSpecOrBuilder()
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
-