@java.lang.Override
  public com.google.cloud.memorystore.v1beta.ZoneDistributionConfig.ZoneDistributionMode getMode() {
    com.google.cloud.memorystore.v1beta.ZoneDistributionConfig.ZoneDistributionMode result =
        com.google.cloud.memorystore.v1beta.ZoneDistributionConfig.ZoneDistributionMode.forNumber(
            mode_);
    return result == null
        ? com.google.cloud.memorystore.v1beta.ZoneDistributionConfig.ZoneDistributionMode
            .UNRECOGNIZED
        : result;
  }
<pre>
Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
</pre>

<code>
.google.cloud.memorystore.v1beta.ZoneDistributionConfig.ZoneDistributionMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
</code>

@return The mode.
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/ZoneDistributionConfig.java