public static final class ModelEvaluationSlice.Slice.Builder extends GeneratedMessageV3.Builder<ModelEvaluationSlice.Slice.Builder> implements ModelEvaluationSlice.SliceOrBuilder
Definition of a slice.
Protobuf type google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelEvaluationSlice.Slice build()
public ModelEvaluationSlice.Slice buildPartial()
public ModelEvaluationSlice.Slice.Builder clear()
Overrides
public ModelEvaluationSlice.Slice.Builder clearDimension()
Output only. The dimension of the slice.
Well-known dimensions are:
annotationSpec
: This slice is on the test data that has either
ground truth or prediction with
AnnotationSpec.display_name
equals to
value.
slice
: This slice is a user customized slice defined by its
SliceSpec.
string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ModelEvaluationSlice.Slice.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ModelEvaluationSlice.Slice.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ModelEvaluationSlice.Slice.Builder clearSliceSpec()
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ModelEvaluationSlice.Slice.Builder clearValue()
Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ModelEvaluationSlice.Slice.Builder clone()
Overrides
public ModelEvaluationSlice.Slice getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getDimension()
Output only. The dimension of the slice.
Well-known dimensions are:
annotationSpec
: This slice is on the test data that has either
ground truth or prediction with
AnnotationSpec.display_name
equals to
value.
slice
: This slice is a user customized slice defined by its
SliceSpec.
string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The dimension.
|
public ByteString getDimensionBytes()
Output only. The dimension of the slice.
Well-known dimensions are:
annotationSpec
: This slice is on the test data that has either
ground truth or prediction with
AnnotationSpec.display_name
equals to
value.
slice
: This slice is a user customized slice defined by its
SliceSpec.
string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for dimension.
|
public ModelEvaluationSlice.Slice.SliceSpec getSliceSpec()
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ModelEvaluationSlice.Slice.SliceSpec.Builder getSliceSpecBuilder()
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ModelEvaluationSlice.Slice.SliceSpecOrBuilder getSliceSpecOrBuilder()
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The value.
|
public ByteString getValueBytes()
Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for value.
|
public boolean hasSliceSpec()
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the sliceSpec field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ModelEvaluationSlice.Slice.Builder mergeFrom(ModelEvaluationSlice.Slice other)
public ModelEvaluationSlice.Slice.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ModelEvaluationSlice.Slice.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public ModelEvaluationSlice.Slice.Builder mergeSliceSpec(ModelEvaluationSlice.Slice.SliceSpec value)
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final ModelEvaluationSlice.Slice.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ModelEvaluationSlice.Slice.Builder setDimension(String value)
Output only. The dimension of the slice.
Well-known dimensions are:
annotationSpec
: This slice is on the test data that has either
ground truth or prediction with
AnnotationSpec.display_name
equals to
value.
slice
: This slice is a user customized slice defined by its
SliceSpec.
string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | String
The dimension to set.
|
public ModelEvaluationSlice.Slice.Builder setDimensionBytes(ByteString value)
Output only. The dimension of the slice.
Well-known dimensions are:
annotationSpec
: This slice is on the test data that has either
ground truth or prediction with
AnnotationSpec.display_name
equals to
value.
slice
: This slice is a user customized slice defined by its
SliceSpec.
string dimension = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for dimension to set.
|
public ModelEvaluationSlice.Slice.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelEvaluationSlice.Slice.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ModelEvaluationSlice.Slice.Builder setSliceSpec(ModelEvaluationSlice.Slice.SliceSpec value)
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ModelEvaluationSlice.Slice.Builder setSliceSpec(ModelEvaluationSlice.Slice.SliceSpec.Builder builderForValue)
Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final ModelEvaluationSlice.Slice.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ModelEvaluationSlice.Slice.Builder setValue(String value)
Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | String
The value to set.
|
public ModelEvaluationSlice.Slice.Builder setValueBytes(ByteString value)
Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for value to set.
|