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
Inherited Members
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public ModelEvaluationSlice.Slice.SliceSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec build()
public ModelEvaluationSlice.Slice.SliceSpec buildPartial()
public ModelEvaluationSlice.Slice.SliceSpec.Builder clear()
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Builder clearConfigs()
public ModelEvaluationSlice.Slice.SliceSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Builder clone()
Overrides
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
|
public Map<String,ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> getConfigs()
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 | |
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;
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;
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
|
public ModelEvaluationSlice.Slice.SliceSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,ModelEvaluationSlice.Slice.SliceSpec.SliceConfig> getMutableConfigs()
Use alternate mutation accessors instead.
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
public final boolean isInitialized()
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Builder mergeFrom(ModelEvaluationSlice.Slice.SliceSpec other)
public ModelEvaluationSlice.Slice.SliceSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ModelEvaluationSlice.Slice.SliceSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
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
|
public ModelEvaluationSlice.Slice.SliceSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelEvaluationSlice.Slice.SliceSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ModelEvaluationSlice.Slice.SliceSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides