Class ModelEvaluationSlice.Slice (3.12.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 3.12.0keyboard_arrow_down
public static final class ModelEvaluationSlice . Slice extends GeneratedMessageV3 implements ModelEvaluationSlice . SliceOrBuilder
Definition of a slice.
Protobuf type google.cloud.aiplatform.v1.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
Type
Description
ByteString
The bytes for dimension.
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]