Class ModelEvaluationSlice.Slice.SliceSpec.Builder (3.43.0)

public static final class ModelEvaluationSlice.Slice.SliceSpec.Builder extends GeneratedMessageV3.Builder<ModelEvaluationSlice.Slice.SliceSpec.Builder> implements ModelEvaluationSlice.Slice.SliceSpecOrBuilder

Specification for how the data should be sliced.

Protobuf type google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelEvaluationSlice.Slice.SliceSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ModelEvaluationSlice.Slice.SliceSpec.Builder clear()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

clearConfigs()

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

clearField(Descriptors.FieldDescriptor field)

public ModelEvaluationSlice.Slice.SliceSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelEvaluationSlice.Slice.SliceSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

clone()

public ModelEvaluationSlice.Slice.SliceSpec.Builder clone()
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

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

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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableConfigs() (deprecated)

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

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,SliceConfig>

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelEvaluationSlice.Slice.SliceSpec other)

public ModelEvaluationSlice.Slice.SliceSpec.Builder mergeFrom(ModelEvaluationSlice.Slice.SliceSpec other)
Parameter
Name Description
other ModelEvaluationSlice.Slice.SliceSpec
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModelEvaluationSlice.Slice.SliceSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ModelEvaluationSlice.Slice.SliceSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelEvaluationSlice.Slice.SliceSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

putAllConfigs(Map<String,ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> values)

public ModelEvaluationSlice.Slice.SliceSpec.Builder putAllConfigs(Map<String,ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> values)

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
values Map<String,SliceConfig>
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder

putConfigs(String key, ModelEvaluationSlice.Slice.SliceSpec.SliceConfig value)

public ModelEvaluationSlice.Slice.SliceSpec.Builder putConfigs(String key, ModelEvaluationSlice.Slice.SliceSpec.SliceConfig value)

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
Name Description
key String
value ModelEvaluationSlice.Slice.SliceSpec.SliceConfig
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder

putConfigsBuilderIfAbsent(String key)

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

removeConfigs(String key)

public ModelEvaluationSlice.Slice.SliceSpec.Builder removeConfigs(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
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModelEvaluationSlice.Slice.SliceSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ModelEvaluationSlice.Slice.SliceSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelEvaluationSlice.Slice.SliceSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides