Class ModelEvaluationSlice.Slice.SliceSpec.Builder (3.56.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.v1.ModelEvaluationSlice.Slice.SliceSpec

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
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()
Overrides

clearConfigs()

public ModelEvaluationSlice.Slice.SliceSpec.Builder clearConfigs()

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ModelEvaluationSlice.Slice.SliceSpec.Builder clone()
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.v1.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.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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelEvaluationSlice.Slice.SliceSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> configs = 1;

Parameter
Name Description
values Map<String,SliceConfig>

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

Parameters
Name Description
key String
value ModelEvaluationSlice.Slice.SliceSpec.SliceConfig

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

Parameter
Name Description
key String

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

Parameter
Name Description
key String

setField(Descriptors.FieldDescriptor field, Object value)

public ModelEvaluationSlice.Slice.SliceSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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