Class ModelEvaluationSlice.Slice.SliceSpec.Builder (3.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModelEvaluationSlice.Slice.SliceSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

build()

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

buildPartial()

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

clear()

public ModelEvaluationSlice.Slice.SliceSpec.Builder clear()
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

clearConfigs()

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

clearField(Descriptors.FieldDescriptor field)

public ModelEvaluationSlice.Slice.SliceSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelEvaluationSlice.Slice.SliceSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

clone()

public ModelEvaluationSlice.Slice.SliceSpec.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutableConfigs()

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

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,SliceConfig>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

internalGetMutableMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ModelEvaluationSlice.Slice.SliceSpec other)

public ModelEvaluationSlice.Slice.SliceSpec.Builder mergeFrom(ModelEvaluationSlice.Slice.SliceSpec other)
Parameter
NameDescription
otherModelEvaluationSlice.Slice.SliceSpec
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ModelEvaluationSlice.Slice.SliceSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelEvaluationSlice.Slice.SliceSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,SliceConfig>
Returns
TypeDescription
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
NameDescription
keyString
valueModelEvaluationSlice.Slice.SliceSpec.SliceConfig
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.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
NameDescription
keyString
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModelEvaluationSlice.Slice.SliceSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelEvaluationSlice.Slice.SliceSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModelEvaluationSlice.Slice.SliceSpec.Builder
Overrides