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 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

       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

       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

       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

      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];
    • 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

      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];