public static final class ModelEvaluation.ModelEvaluationExplanationSpec.Builder extends GeneratedMessageV3.Builder<ModelEvaluation.ModelEvaluationExplanationSpec.Builder> implements ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder
Protobuf type
google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec
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 ModelEvaluation.ModelEvaluationExplanationSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec build()
public ModelEvaluation.ModelEvaluationExplanationSpec buildPartial()
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clear()
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clearExplanationSpec()
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clearExplanationType()
Explanation type.
For AutoML Image Classification models, possible values are:
image-integrated-gradients
image-xrai
string explanation_type = 1;
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder clone()
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public ExplanationSpec getExplanationSpec()
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
public ExplanationSpec.Builder getExplanationSpecBuilder()
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
public ExplanationSpecOrBuilder getExplanationSpecOrBuilder()
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
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()
Overrides
public final boolean isInitialized()
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeExplanationSpec(ExplanationSpec value)
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeFrom(ModelEvaluation.ModelEvaluationExplanationSpec other)
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ModelEvaluation.ModelEvaluationExplanationSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setExplanationSpec(ExplanationSpec value)
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setExplanationSpec(ExplanationSpec.Builder builderForValue)
Explanation spec details.
.google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 2;
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.
|
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.
|
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ModelEvaluation.ModelEvaluationExplanationSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides