public static final class ModelEvaluationSlice.Slice.Builder extends GeneratedMessage.Builder<ModelEvaluationSlice.Slice.Builder> implements ModelEvaluationSlice.SliceOrBuilderDefinition of a slice.
Protobuf type google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ModelEvaluationSlice.Slice.BuilderImplements
ModelEvaluationSlice.SliceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ModelEvaluationSlice.Slice build()| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice |
|
buildPartial()
public ModelEvaluationSlice.Slice buildPartial()| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice |
|
clear()
public ModelEvaluationSlice.Slice.Builder clear()| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
|
clearDimension()
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];
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
This builder for chaining. |
clearSliceSpec()
public ModelEvaluationSlice.Slice.Builder clearSliceSpec()Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
|
clearValue()
public ModelEvaluationSlice.Slice.Builder clearValue()Output only. The value of the dimension in this slice.
string value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ModelEvaluationSlice.Slice getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDimension()
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. |
getDimensionBytes()
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. |
getSliceSpec()
public ModelEvaluationSlice.Slice.SliceSpec getSliceSpec()Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.SliceSpec |
The sliceSpec. |
getSliceSpecBuilder()
public ModelEvaluationSlice.Slice.SliceSpec.Builder getSliceSpecBuilder()Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.SliceSpec.Builder |
|
getSliceSpecOrBuilder()
public ModelEvaluationSlice.Slice.SliceSpecOrBuilder getSliceSpecOrBuilder()Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.SliceSpecOrBuilder |
|
getValue()
public String getValue()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. |
getValueBytes()
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. |
hasSliceSpec()
public boolean hasSliceSpec()Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sliceSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ModelEvaluationSlice.Slice other)
public ModelEvaluationSlice.Slice.Builder mergeFrom(ModelEvaluationSlice.Slice other)| Parameter | |
|---|---|
| Name | Description |
other |
ModelEvaluationSlice.Slice |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ModelEvaluationSlice.Slice.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ModelEvaluationSlice.Slice.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
|
mergeSliceSpec(ModelEvaluationSlice.Slice.SliceSpec value)
public ModelEvaluationSlice.Slice.Builder mergeSliceSpec(ModelEvaluationSlice.Slice.SliceSpec value)Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ModelEvaluationSlice.Slice.SliceSpec |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
|
setDimension(String value)
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 |
StringThe dimension to set. |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
This builder for chaining. |
setDimensionBytes(ByteString value)
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 |
ByteStringThe bytes for dimension to set. |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
This builder for chaining. |
setSliceSpec(ModelEvaluationSlice.Slice.SliceSpec value)
public ModelEvaluationSlice.Slice.Builder setSliceSpec(ModelEvaluationSlice.Slice.SliceSpec value)Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ModelEvaluationSlice.Slice.SliceSpec |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
|
setSliceSpec(ModelEvaluationSlice.Slice.SliceSpec.Builder builderForValue)
public ModelEvaluationSlice.Slice.Builder setSliceSpec(ModelEvaluationSlice.Slice.SliceSpec.Builder builderForValue)Output only. Specification for how the data was sliced.
.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec slice_spec = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ModelEvaluationSlice.Slice.SliceSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
|
setValue(String value)
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 |
StringThe value to set. |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
This builder for chaining. |
setValueBytes(ByteString value)
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 |
ByteStringThe bytes for value to set. |
| Returns | |
|---|---|
| Type | Description |
ModelEvaluationSlice.Slice.Builder |
This builder for chaining. |