@java.lang.Override
  public int getInstanceRoleValue() {
    return instanceRole_;
  }
<pre>
Required. The role of the instance in cross instance replication.
</pre>

<code>
.google.cloud.memorystore.v1.CrossInstanceReplicationConfig.InstanceRole instance_role = 1 [(.google.api.field_behavior) = REQUIRED];
</code>

@return The enum numeric value on the wire for instanceRole.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/CrossInstanceReplicationConfig.java