public boolean hasAssetId() {
      return ((bitField0_ & 0x00000004) != 0);
    }
<pre>
Optional. The ID to use for the asset, which will become the final
component of the asset's resource name if user choose to specify.
Otherwise, asset id will be generated by system.

This value should be up to 63 characters, and valid characters
are /[a-z][0-9]-/. The first character must be a letter, the last could be
a letter or a number.
</pre>

<code>optional string asset_id = 3 [(.google.api.field_behavior) = OPTIONAL];</code>

@return Whether the assetId field is set.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/CreateAssetRequest.java