Class CrossClusterReplicationConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CrossClusterReplicationConfig.Builder>
com.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.Builder
- All Implemented Interfaces:
CrossClusterReplicationConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CrossClusterReplicationConfig
public static final class CrossClusterReplicationConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CrossClusterReplicationConfig.Builder>
implements CrossClusterReplicationConfigOrBuilder
Cross cluster replication config.Protobuf type
google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllSecondaryClusters(Iterable<? extends CrossClusterReplicationConfig.RemoteCluster> values) List of secondary clusters that are replicating from this primary cluster.addSecondaryClusters(int index, CrossClusterReplicationConfig.RemoteCluster value) List of secondary clusters that are replicating from this primary cluster.addSecondaryClusters(int index, CrossClusterReplicationConfig.RemoteCluster.Builder builderForValue) List of secondary clusters that are replicating from this primary cluster.List of secondary clusters that are replicating from this primary cluster.addSecondaryClusters(CrossClusterReplicationConfig.RemoteCluster.Builder builderForValue) List of secondary clusters that are replicating from this primary cluster.List of secondary clusters that are replicating from this primary cluster.addSecondaryClustersBuilder(int index) List of secondary clusters that are replicating from this primary cluster.build()clear()The role of the cluster in cross cluster replication.Output only.Details of the primary cluster that is used as the replication source for this secondary cluster.List of secondary clusters that are replicating from this primary cluster.Output only.The role of the cluster in cross cluster replication.intThe role of the cluster in cross cluster replication.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.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.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.getSecondaryClustersBuilder(int index) List of secondary clusters that are replicating from this primary cluster.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.Timestamp.BuilderOutput 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Details of the primary cluster that is used as the replication source for this secondary cluster.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.removeSecondaryClusters(int index) List of secondary clusters that are replicating from this primary cluster.The role of the cluster in cross cluster replication.setClusterRoleValue(int value) The role of the cluster in cross cluster replication.Output only.setMembership(CrossClusterReplicationConfig.Membership.Builder builderForValue) Output only.Details of the primary cluster that is used as the replication source for this secondary cluster.setPrimaryCluster(CrossClusterReplicationConfig.RemoteCluster.Builder builderForValue) Details of the primary cluster that is used as the replication source for this secondary cluster.setSecondaryClusters(int index, CrossClusterReplicationConfig.RemoteCluster value) List of secondary clusters that are replicating from this primary cluster.setSecondaryClusters(int index, CrossClusterReplicationConfig.RemoteCluster.Builder builderForValue) List of secondary clusters that are replicating from this primary cluster.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CrossClusterReplicationConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CrossClusterReplicationConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CrossClusterReplicationConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CrossClusterReplicationConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CrossClusterReplicationConfig.Builder>
-
mergeFrom
public CrossClusterReplicationConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CrossClusterReplicationConfig.Builder>- Throws:
IOException
-
getClusterRoleValue
public int getClusterRoleValue()The role of the cluster in cross cluster replication.
.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.ClusterRole cluster_role = 1;- Specified by:
getClusterRoleValuein interfaceCrossClusterReplicationConfigOrBuilder- Returns:
- The enum numeric value on the wire for clusterRole.
-
setClusterRoleValue
The role of the cluster in cross cluster replication.
.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.ClusterRole cluster_role = 1;- Parameters:
value- The enum numeric value on the wire for clusterRole to set.- Returns:
- This builder for chaining.
-
getClusterRole
The role of the cluster in cross cluster replication.
.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.ClusterRole cluster_role = 1;- Specified by:
getClusterRolein interfaceCrossClusterReplicationConfigOrBuilder- Returns:
- The clusterRole.
-
setClusterRole
public CrossClusterReplicationConfig.Builder setClusterRole(CrossClusterReplicationConfig.ClusterRole value) The role of the cluster in cross cluster replication.
.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.ClusterRole cluster_role = 1;- Parameters:
value- The clusterRole to set.- Returns:
- This builder for chaining.
-
clearClusterRole
The role of the cluster in cross cluster replication.
.google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.ClusterRole cluster_role = 1;- Returns:
- This builder for chaining.
-
hasPrimaryCluster
public 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;- Specified by:
hasPrimaryClusterin interfaceCrossClusterReplicationConfigOrBuilder- 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;- Specified by:
getPrimaryClusterin interfaceCrossClusterReplicationConfigOrBuilder- Returns:
- The primaryCluster.
-
setPrimaryCluster
public CrossClusterReplicationConfig.Builder setPrimaryCluster(CrossClusterReplicationConfig.RemoteCluster value) 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; -
setPrimaryCluster
public CrossClusterReplicationConfig.Builder setPrimaryCluster(CrossClusterReplicationConfig.RemoteCluster.Builder builderForValue) 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; -
mergePrimaryCluster
public CrossClusterReplicationConfig.Builder mergePrimaryCluster(CrossClusterReplicationConfig.RemoteCluster value) 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; -
clearPrimaryCluster
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; -
getPrimaryClusterBuilder
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; -
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;- Specified by:
getPrimaryClusterOrBuilderin interfaceCrossClusterReplicationConfigOrBuilder
-
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;- Specified by:
getSecondaryClustersListin interfaceCrossClusterReplicationConfigOrBuilder
-
getSecondaryClustersCount
public 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;- Specified by:
getSecondaryClustersCountin interfaceCrossClusterReplicationConfigOrBuilder
-
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;- Specified by:
getSecondaryClustersin interfaceCrossClusterReplicationConfigOrBuilder
-
setSecondaryClusters
public CrossClusterReplicationConfig.Builder setSecondaryClusters(int index, CrossClusterReplicationConfig.RemoteCluster value) 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; -
setSecondaryClusters
public CrossClusterReplicationConfig.Builder setSecondaryClusters(int index, CrossClusterReplicationConfig.RemoteCluster.Builder builderForValue) 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; -
addSecondaryClusters
public CrossClusterReplicationConfig.Builder addSecondaryClusters(CrossClusterReplicationConfig.RemoteCluster value) 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; -
addSecondaryClusters
public CrossClusterReplicationConfig.Builder addSecondaryClusters(int index, CrossClusterReplicationConfig.RemoteCluster value) 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; -
addSecondaryClusters
public CrossClusterReplicationConfig.Builder addSecondaryClusters(CrossClusterReplicationConfig.RemoteCluster.Builder builderForValue) 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; -
addSecondaryClusters
public CrossClusterReplicationConfig.Builder addSecondaryClusters(int index, CrossClusterReplicationConfig.RemoteCluster.Builder builderForValue) 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; -
addAllSecondaryClusters
public CrossClusterReplicationConfig.Builder addAllSecondaryClusters(Iterable<? extends CrossClusterReplicationConfig.RemoteCluster> values) 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; -
clearSecondaryClusters
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; -
removeSecondaryClusters
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; -
getSecondaryClustersBuilder
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
public 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;- Specified by:
getSecondaryClustersOrBuilderin interfaceCrossClusterReplicationConfigOrBuilder
-
getSecondaryClustersOrBuilderList
public 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;- Specified by:
getSecondaryClustersOrBuilderListin interfaceCrossClusterReplicationConfigOrBuilder
-
addSecondaryClustersBuilder
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; -
addSecondaryClustersBuilder
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; -
getSecondaryClustersBuilderList
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
public 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];- Specified by:
hasUpdateTimein interfaceCrossClusterReplicationConfigOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceCrossClusterReplicationConfigOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The last time cross cluster replication config was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
public CrossClusterReplicationConfig.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The last time cross cluster replication config was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The last time cross cluster replication config was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The last time cross cluster replication config was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The last time cross cluster replication config was updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceCrossClusterReplicationConfigOrBuilder
-
hasMembership
public 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];- Specified by:
hasMembershipin interfaceCrossClusterReplicationConfigOrBuilder- 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];- Specified by:
getMembershipin interfaceCrossClusterReplicationConfigOrBuilder- Returns:
- The membership.
-
setMembership
public CrossClusterReplicationConfig.Builder setMembership(CrossClusterReplicationConfig.Membership value) 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]; -
setMembership
public CrossClusterReplicationConfig.Builder setMembership(CrossClusterReplicationConfig.Membership.Builder builderForValue) 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]; -
mergeMembership
public CrossClusterReplicationConfig.Builder mergeMembership(CrossClusterReplicationConfig.Membership value) 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]; -
clearMembership
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]; -
getMembershipBuilder
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]; -
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];- Specified by:
getMembershipOrBuilderin interfaceCrossClusterReplicationConfigOrBuilder
-