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 Summary
Modifier and TypeMethodDescriptionThe role of the cluster in cross cluster replication.intThe role of the cluster in cross cluster replication.Output only.Output only.Details of the primary cluster that is used as the replication source for this secondary cluster.Details of the primary cluster that is used as the replication source for this secondary cluster.getSecondaryClusters(int index) List of secondary clusters that are replicating from this primary cluster.intList of secondary clusters that are replicating from this primary cluster.List of secondary clusters that are replicating from this primary cluster.getSecondaryClustersOrBuilder(int index) List of secondary clusters that are replicating from this primary cluster.List of secondary clusters that are replicating from this primary cluster.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanDetails of the primary cluster that is used as the replication source for this secondary cluster.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
-
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
CrossClusterReplicationConfig.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
CrossClusterReplicationConfig.RemoteCluster 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
CrossClusterReplicationConfig.RemoteClusterOrBuilder 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<CrossClusterReplicationConfig.RemoteCluster> 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
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
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
CrossClusterReplicationConfig.Membership 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
CrossClusterReplicationConfig.MembershipOrBuilder 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];
-