public static interface CrossClusterReplicationConfig.MembershipOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPrimaryCluster()
public abstract CrossClusterReplicationConfig.RemoteCluster getPrimaryCluster()Output only. The primary cluster that acts as the source of replication for the secondary clusters.
.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster primary_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CrossClusterReplicationConfig.RemoteCluster |
The primaryCluster. |
getPrimaryClusterOrBuilder()
public abstract CrossClusterReplicationConfig.RemoteClusterOrBuilder getPrimaryClusterOrBuilder()Output only. The primary cluster that acts as the source of replication for the secondary clusters.
.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster primary_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CrossClusterReplicationConfig.RemoteClusterOrBuilder |
|
getSecondaryClusters(int index)
public abstract CrossClusterReplicationConfig.RemoteCluster getSecondaryClusters(int index)Output only. The list of secondary clusters replicating from the primary cluster.
repeated .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CrossClusterReplicationConfig.RemoteCluster |
|
getSecondaryClustersCount()
public abstract int getSecondaryClustersCount()Output only. The list of secondary clusters replicating from the primary cluster.
repeated .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSecondaryClustersList()
public abstract List<CrossClusterReplicationConfig.RemoteCluster> getSecondaryClustersList()Output only. The list of secondary clusters replicating from the primary cluster.
repeated .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<RemoteCluster> |
|
getSecondaryClustersOrBuilder(int index)
public abstract CrossClusterReplicationConfig.RemoteClusterOrBuilder getSecondaryClustersOrBuilder(int index)Output only. The list of secondary clusters replicating from the primary cluster.
repeated .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CrossClusterReplicationConfig.RemoteClusterOrBuilder |
|
getSecondaryClustersOrBuilderList()
public abstract List<? extends CrossClusterReplicationConfig.RemoteClusterOrBuilder> getSecondaryClustersOrBuilderList()Output only. The list of secondary clusters replicating from the primary cluster.
repeated .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteClusterOrBuilder> |
|
hasPrimaryCluster()
public abstract boolean hasPrimaryCluster()Output only. The primary cluster that acts as the source of replication for the secondary clusters.
.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster primary_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the primaryCluster field is set. |