public static com.google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo parseFrom(
          com.google.protobuf.CodedInputStream input) throws java.io.IOException {
        return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
      }
<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 The targetReplicaCount.
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/Instance.java