Class ModelEvaluationSlice.Slice.SliceSpec (3.44.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ModelEvaluationSlice.Slice.SliceSpec

Static Fields

CONFIGS_FIELD_NUMBER

public static final int CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ModelEvaluationSlice.Slice.SliceSpec getDefaultInstance()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ModelEvaluationSlice.Slice.SliceSpec.Builder newBuilder()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder

newBuilder(ModelEvaluationSlice.Slice.SliceSpec prototype)

public static ModelEvaluationSlice.Slice.SliceSpec.Builder newBuilder(ModelEvaluationSlice.Slice.SliceSpec prototype)
Parameter
Name Description
prototype ModelEvaluationSlice.Slice.SliceSpec
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder

parseDelimitedFrom(InputStream input)

public static ModelEvaluationSlice.Slice.SliceSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ModelEvaluationSlice.Slice.SliceSpec> parser()
Returns
Type Description
Parser<SliceSpec>

Methods

containsConfigs(String key)

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
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConfigs() (deprecated)

public Map<String,ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> getConfigs()

Use #getConfigsMap() instead.

Returns
Type Description
Map<String,SliceConfig>

getConfigsCount()

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

getConfigsMap()

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;

Returns
Type Description
Map<String,SliceConfig>

getConfigsOrDefault(String key, ModelEvaluationSlice.Slice.SliceSpec.SliceConfig defaultValue)

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;

Parameters
Name Description
key String
defaultValue ModelEvaluationSlice.Slice.SliceSpec.SliceConfig
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.SliceConfig

getConfigsOrThrow(String key)

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
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.SliceConfig

getDefaultInstanceForType()

public ModelEvaluationSlice.Slice.SliceSpec getDefaultInstanceForType()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec

getParserForType()

public Parser<ModelEvaluationSlice.Slice.SliceSpec> getParserForType()
Returns
Type Description
Parser<SliceSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ModelEvaluationSlice.Slice.SliceSpec.Builder newBuilderForType()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelEvaluationSlice.Slice.SliceSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ModelEvaluationSlice.Slice.SliceSpec.Builder toBuilder()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException