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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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 MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
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)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides