@java.lang.Override
        public boolean hasTargetShardCount() {
          return ((bitField0_ & 0x00000001) != 0);
        }
<pre>
Output only. Target number of shards for the instance.
</pre>

<code>optional int32 target_shard_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return Whether the targetShardCount field is set.
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/Instance.java