Interface CrossClusterReplicationConfig.MembershipOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CrossClusterReplicationConfig.Membership,CrossClusterReplicationConfig.Membership.Builder
- Enclosing class:
- CrossClusterReplicationConfig
public static interface CrossClusterReplicationConfig.MembershipOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.getSecondaryClusters(int index) Output only.intOutput only.Output only.getSecondaryClustersOrBuilder(int index) Output only.Output only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPrimaryCluster
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:
- Whether the primaryCluster field is set.
-
getPrimaryCluster
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:
- The primaryCluster.
-
getPrimaryClusterOrBuilder
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]; -
getSecondaryClustersList
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]; -
getSecondaryClusters
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]; -
getSecondaryClustersCount
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]; -
getSecondaryClustersOrBuilderList
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]; -
getSecondaryClustersOrBuilder
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];
-