public boolean hasTenant() {
      return ((bitField0_ & 0x00000002) != 0);
    }
<pre>
Required. The tenant to be created.
</pre>

<code>
.google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED];
</code>

@return Whether the tenant field is set.
java-talent/proto-google-cloud-talent-v4beta1/src/main/java/com/google/cloud/talent/v4beta1/CreateTenantRequest.java