public static final class ModelEvaluationSlice.Slice extends GeneratedMessageV3 implements ModelEvaluationSlice.SliceOrBuilder
Definition of a slice.
Protobuf type google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice
Static Fields
public static final int DIMENSION_FIELD_NUMBER
Field Value
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
public static ModelEvaluationSlice.Slice getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ModelEvaluationSlice.Slice.Builder newBuilder()
Returns
public static ModelEvaluationSlice.Slice.Builder newBuilder(ModelEvaluationSlice.Slice prototype)
Parameter
Returns
public static ModelEvaluationSlice.Slice parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelEvaluationSlice.Slice parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluationSlice.Slice parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ModelEvaluationSlice.Slice parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluationSlice.Slice parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ModelEvaluationSlice.Slice parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluationSlice.Slice parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ModelEvaluationSlice.Slice parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluationSlice.Slice parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ModelEvaluationSlice.Slice parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ModelEvaluationSlice.Slice parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ModelEvaluationSlice.Slice parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ModelEvaluationSlice.Slice> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ModelEvaluationSlice.Slice getDefaultInstanceForType()
Returns
public 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.
string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The dimension.
|
public 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.
string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Parser<ModelEvaluationSlice.Slice> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The value.
|
public ByteString getValueBytes()
Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelEvaluationSlice.Slice.Builder newBuilderForType()
Returns
protected ModelEvaluationSlice.Slice.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ModelEvaluationSlice.Slice.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions