Package com.google.cloud.aiplatform.v1
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
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.Output only.Output only.getValue()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.v1.AnnotationSpec.display_name] equals to [value][google.cloud.aiplatform.v1.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.v1.AnnotationSpec.display_name] equals to [value][google.cloud.aiplatform.v1.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.v1.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.v1.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.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-