Interface CrossClusterReplicationConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CrossClusterReplicationConfig, CrossClusterReplicationConfig.Builder

@Generated public interface CrossClusterReplicationConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getClusterRoleValue

      int getClusterRoleValue()
       The role of the cluster in cross cluster replication.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.ClusterRole cluster_role = 1;
      Returns:
      The enum numeric value on the wire for clusterRole.
    • getClusterRole

       The role of the cluster in cross cluster replication.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.ClusterRole cluster_role = 1;
      Returns:
      The clusterRole.
    • hasPrimaryCluster

      boolean hasPrimaryCluster()
       Details of the primary cluster that is used as the replication source for
       this secondary cluster.
      
       This field is only set for a secondary cluster.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster primary_cluster = 2;
      Returns:
      Whether the primaryCluster field is set.
    • getPrimaryCluster

       Details of the primary cluster that is used as the replication source for
       this secondary cluster.
      
       This field is only set for a secondary cluster.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster primary_cluster = 2;
      Returns:
      The primaryCluster.
    • getPrimaryClusterOrBuilder

       Details of the primary cluster that is used as the replication source for
       this secondary cluster.
      
       This field is only set for a secondary cluster.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster primary_cluster = 2;
    • getSecondaryClustersList

       List of secondary clusters that are replicating from this primary cluster.
      
       This field is only set for a primary cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 3;
    • getSecondaryClusters

      CrossClusterReplicationConfig.RemoteCluster getSecondaryClusters(int index)
       List of secondary clusters that are replicating from this primary cluster.
      
       This field is only set for a primary cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 3;
    • getSecondaryClustersCount

      int getSecondaryClustersCount()
       List of secondary clusters that are replicating from this primary cluster.
      
       This field is only set for a primary cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 3;
    • getSecondaryClustersOrBuilderList

      List<? extends CrossClusterReplicationConfig.RemoteClusterOrBuilder> getSecondaryClustersOrBuilderList()
       List of secondary clusters that are replicating from this primary cluster.
      
       This field is only set for a primary cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 3;
    • getSecondaryClustersOrBuilder

      CrossClusterReplicationConfig.RemoteClusterOrBuilder getSecondaryClustersOrBuilder(int index)
       List of secondary clusters that are replicating from this primary cluster.
      
       This field is only set for a primary cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 3;
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The last time cross cluster replication config was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The last time cross cluster replication config was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The last time cross cluster replication config was updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasMembership

      boolean hasMembership()
       Output only. An output only view of all the member clusters participating
       in the cross cluster replication. This view will be provided by every
       member cluster irrespective of its cluster role(primary or secondary).
      
       A primary cluster can provide information about all the secondary clusters
       replicating from it. However, a secondary cluster only knows about the
       primary cluster from which it is replicating. However, for scenarios, where
       the primary cluster is unavailable(e.g. regional outage), a GetCluster
       request can be sent to any other member cluster and this field will list
       all the member clusters participating in cross cluster replication.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.Membership membership = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the membership field is set.
    • getMembership

       Output only. An output only view of all the member clusters participating
       in the cross cluster replication. This view will be provided by every
       member cluster irrespective of its cluster role(primary or secondary).
      
       A primary cluster can provide information about all the secondary clusters
       replicating from it. However, a secondary cluster only knows about the
       primary cluster from which it is replicating. However, for scenarios, where
       the primary cluster is unavailable(e.g. regional outage), a GetCluster
       request can be sent to any other member cluster and this field will list
       all the member clusters participating in cross cluster replication.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.Membership membership = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The membership.
    • getMembershipOrBuilder

       Output only. An output only view of all the member clusters participating
       in the cross cluster replication. This view will be provided by every
       member cluster irrespective of its cluster role(primary or secondary).
      
       A primary cluster can provide information about all the secondary clusters
       replicating from it. However, a secondary cluster only knows about the
       primary cluster from which it is replicating. However, for scenarios, where
       the primary cluster is unavailable(e.g. regional outage), a GetCluster
       request can be sent to any other member cluster and this field will list
       all the member clusters participating in cross cluster replication.
       
      .google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.Membership membership = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];