public static final class ModelEvaluation.ModelEvaluationExplanationSpec.Builder extends GeneratedMessageV3.Builder<ModelEvaluation.ModelEvaluationExplanationSpec.Builder> implements ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder
Protobuf type
google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec build()
Returns
public ModelEvaluation.ModelEvaluationExplanationSpec buildPartial()
Returns
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clear()
Returns
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clearExplanationSpec()
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
Returns
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clearExplanationType()
Explanation type.
For AutoML Image Classification models, possible values are:
image-integrated-gradients
image-xrai
string explanation_type = 1;
Returns
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clone()
Returns
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ExplanationSpec getExplanationSpec()
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
Returns
public ExplanationSpec.Builder getExplanationSpecBuilder()
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
Returns
public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
Returns
public String getExplanationType()
Explanation type.
For AutoML Image Classification models, possible values are:
image-integrated-gradients
image-xrai
string explanation_type = 1;
Returns
Type | Description |
String | The explanationType.
|
public ByteString getExplanationTypeBytes()
Explanation type.
For AutoML Image Classification models, possible values are:
image-integrated-gradients
image-xrai
string explanation_type = 1;
Returns
Type | Description |
ByteString | The bytes for explanationType.
|
public boolean hasExplanationSpec()
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
Returns
Type | Description |
boolean | Whether the explanationSpec field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeExplanationSpec(ExplanationSpec value)
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
Parameter
Returns
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeFrom(ModelEvaluation.ModelEvaluationExplanationSpec other)
Parameter
Returns
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setExplanationSpec(ExplanationSpec value)
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
Parameter
Returns
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setExplanationSpec(ExplanationSpec.Builder builderForValue)
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
Parameter
Returns
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setExplanationType(String value)
Explanation type.
For AutoML Image Classification models, possible values are:
image-integrated-gradients
image-xrai
string explanation_type = 1;
Parameter
Name | Description |
value | String
The explanationType to set.
|
Returns
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setExplanationTypeBytes(ByteString value)
Explanation type.
For AutoML Image Classification models, possible values are:
image-integrated-gradients
image-xrai
string explanation_type = 1;
Parameter
Name | Description |
value | ByteString
The bytes for explanationType to set.
|
Returns
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ModelEvaluation.ModelEvaluationExplanationSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides