Class ModelEvaluationSlice.Slice.SliceSpec (3.15.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.v1beta1.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ModelEvaluationSlice.Slice.SliceSpec getDefaultInstance()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ModelEvaluationSlice.Slice.SliceSpec.Builder newBuilder()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder

newBuilder(ModelEvaluationSlice.Slice.SliceSpec prototype)

public static ModelEvaluationSlice.Slice.SliceSpec.Builder newBuilder(ModelEvaluationSlice.Slice.SliceSpec prototype)
Parameter
NameDescription
prototypeModelEvaluationSlice.Slice.SliceSpec
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder

parseDelimitedFrom(InputStream input)

public static ModelEvaluationSlice.Slice.SliceSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ModelEvaluationSlice.Slice.SliceSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ModelEvaluationSlice.Slice.SliceSpec> parser()
Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConfigs()

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

Use #getConfigsMap() instead.

Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;

Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;

Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;

Parameters
NameDescription
keyString
defaultValueModelEvaluationSlice.Slice.SliceSpec.SliceConfig
Returns
TypeDescription
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.v1beta1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.SliceConfig

getDefaultInstanceForType()

public ModelEvaluationSlice.Slice.SliceSpec getDefaultInstanceForType()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ModelEvaluationSlice.Slice.SliceSpec.Builder newBuilderForType()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ModelEvaluationSlice.Slice.SliceSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ModelEvaluationSlice.Slice.SliceSpec.Builder toBuilder()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException