@java.lang.Override
        public boolean hasTargetReplicaCount() {
          return ((bitField0_ & 0x00000002) != 0);
        }
<pre>
Output only. Target number of replica nodes per shard for the instance.
</pre>

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

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