public com.google.cloud.vertexai.api.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() {
      if (encryptionSpecBuilder_ != null) {
        return encryptionSpecBuilder_.getMessageOrBuilder();
      } else {
        return encryptionSpec_ == null
            ? com.google.cloud.vertexai.api.EncryptionSpec.getDefaultInstance()
            : encryptionSpec_;
      }
    }
<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