public boolean hasEncryptionSpec() {
      return ((bitField0_ & 0x00000200) != 0);
    }
<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>

@return Whether the encryptionSpec field is set.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Endpoint.java