Class ModelEvaluationSlice.Slice.SliceSpec (3.48.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.48.0keyboard_arrow_down
public static final class ModelEvaluationSlice . Slice . SliceSpec extends GeneratedMessageV3 implements ModelEvaluationSlice . Slice . SliceSpecOrBuilder
Specification for how the data should be sliced.
Protobuf type google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CONFIGS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ModelEvaluationSlice . Slice . SliceSpec getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ModelEvaluationSlice . Slice . SliceSpec . Builder newBuilder ()
public static ModelEvaluationSlice . Slice . SliceSpec . Builder newBuilder ( ModelEvaluationSlice . Slice . SliceSpec prototype )
public static ModelEvaluationSlice . Slice . SliceSpec parseDelimitedFrom ( InputStream input )
public static ModelEvaluationSlice . Slice . SliceSpec parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelEvaluationSlice . Slice . SliceSpec parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ModelEvaluationSlice . Slice . SliceSpec parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ModelEvaluationSlice . Slice . SliceSpec parseFrom ( ByteString data )
public static ModelEvaluationSlice . Slice . SliceSpec parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ModelEvaluationSlice . Slice . SliceSpec parseFrom ( CodedInputStream input )
public static ModelEvaluationSlice . Slice . SliceSpec parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelEvaluationSlice . Slice . SliceSpec parseFrom ( InputStream input )
public static ModelEvaluationSlice . Slice . SliceSpec parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ModelEvaluationSlice . Slice . SliceSpec parseFrom ( ByteBuffer data )
public static ModelEvaluationSlice . Slice . SliceSpec parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ModelEvaluationSlice . Slice . SliceSpec > parser ()
Methods
public boolean containsConfigs ( String key )
Mapping configuration for this SliceSpec.
The key is the name of the feature.
By default, the key will be prefixed by "instance" as a dictionary
prefix for Vertex Batch Predictions output format.
map<string, .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;
Parameter
Name
Description
key
String
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Map<String , ModelEvaluationSlice . Slice . SliceSpec . SliceConfig > getConfigs ()
public int getConfigsCount ()
Mapping configuration for this SliceSpec.
The key is the name of the feature.
By default, the key will be prefixed by "instance" as a dictionary
prefix for Vertex Batch Predictions output format.
map<string, .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;
Returns
Type
Description
int
public Map<String , ModelEvaluationSlice . Slice . SliceSpec . SliceConfig > getConfigsMap ()
Mapping configuration for this SliceSpec.
The key is the name of the feature.
By default, the key will be prefixed by "instance" as a dictionary
prefix for Vertex Batch Predictions output format.
map<string, .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;
public ModelEvaluationSlice . Slice . SliceSpec . SliceConfig getConfigsOrDefault ( String key , ModelEvaluationSlice . Slice . SliceSpec . SliceConfig defaultValue )
Mapping configuration for this SliceSpec.
The key is the name of the feature.
By default, the key will be prefixed by "instance" as a dictionary
prefix for Vertex Batch Predictions output format.
map<string, .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;
public ModelEvaluationSlice . Slice . SliceSpec . SliceConfig getConfigsOrThrow ( String key )
Mapping configuration for this SliceSpec.
The key is the name of the feature.
By default, the key will be prefixed by "instance" as a dictionary
prefix for Vertex Batch Predictions output format.
map<string, .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;
Parameter
Name
Description
key
String
public ModelEvaluationSlice . Slice . SliceSpec getDefaultInstanceForType ()
public Parser<ModelEvaluationSlice . Slice . SliceSpec > getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection ( int number )
Parameter
Name
Description
number
int
Returns
Type
Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized ()
Overrides
public ModelEvaluationSlice . Slice . SliceSpec . Builder newBuilderForType ()
protected ModelEvaluationSlice . Slice . SliceSpec . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ModelEvaluationSlice . Slice . SliceSpec . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
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,[]]