public Builder setShardCount(int value) {

      shardCount_ = value;
      bitField0_ |= 0x00001000;
      onChanged();
      return this;
    }
<pre>
Optional. Number of shards for the instance.
</pre>

<code>int32 shard_count = 11 [(.google.api.field_behavior) = OPTIONAL];</code>

@param value The shardCount to set.
@return This builder for chaining.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/Instance.java