private void buildPartialOneofs(com.google.cloud.vertexai.api.ExplanationParameters result) {
      result.methodCase_ = methodCase_;
      result.method_ = this.method_;
      if (methodCase_ == 1 && sampledShapleyAttributionBuilder_ != null) {
        result.method_ = sampledShapleyAttributionBuilder_.build();
      }
      if (methodCase_ == 2 && integratedGradientsAttributionBuilder_ != null) {
        result.method_ = integratedGradientsAttributionBuilder_.build();
      }
      if (methodCase_ == 3 && xraiAttributionBuilder_ != null) {
        result.method_ = xraiAttributionBuilder_.build();
      }
      if (methodCase_ == 7 && examplesBuilder_ != null) {
        result.method_ = examplesBuilder_.build();
      }
    }
<pre>
Parameters to configure explaining for Model's predictions.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.ExplanationParameters}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationParameters.java