public Builder setEncryptionSpec(com.google.cloud.vertexai.api.EncryptionSpec value) {
      if (encryptionSpecBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        encryptionSpec_ = value;
      } else {
        encryptionSpecBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000200;
      onChanged();
      return this;
    }
<pre>
Customer-managed encryption key spec for an Endpoint. If set, this
Endpoint and all sub-resources of this Endpoint will be secured by
this key.
</pre>

<code>.google.cloud.vertexai.v1.EncryptionSpec encryption_spec = 10;</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Endpoint.java