Send feedback Class CrossClusterReplicationConfig.Membership (0.32.0) Stay organized with collections Save and categorize content based on your preferences.
Version 0.32.0keyboard_arrow_down
public static final class CrossClusterReplicationConfig . Membership extends GeneratedMessageV3 implements CrossClusterReplicationConfig . MembershipOrBuilder
An output only view of all the member clusters participating in the cross cluster replication.
Protobuf type google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.Membership
Inherited Members com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields PRIMARY_CLUSTER_FIELD_NUMBER
public static final int PRIMARY_CLUSTER_FIELD_NUMBER
Field Value Type Description int
SECONDARY_CLUSTERS_FIELD_NUMBER
public static final int SECONDARY_CLUSTERS_FIELD_NUMBER
Field Value Type Description int
Static Methods getDefaultInstance()
public static CrossClusterReplicationConfig . Membership getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static CrossClusterReplicationConfig . Membership . Builder newBuilder ()
newBuilder(CrossClusterReplicationConfig.Membership )
public static CrossClusterReplicationConfig . Membership . Builder newBuilder ( CrossClusterReplicationConfig . Membership )
public static CrossClusterReplicationConfig . Membership parseDelimitedFrom ( InputStream input )
public static CrossClusterReplicationConfig . Membership parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static CrossClusterReplicationConfig . Membership parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CrossClusterReplicationConfig . Membership parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static CrossClusterReplicationConfig . Membership parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CrossClusterReplicationConfig . Membership parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CrossClusterReplicationConfig . Membership parseFrom ( CodedInputStream input )
public static CrossClusterReplicationConfig . Membership parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CrossClusterReplicationConfig . Membership parseFrom ( InputStream input )
public static CrossClusterReplicationConfig . Membership parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static CrossClusterReplicationConfig . Membership parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CrossClusterReplicationConfig . Membership parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<CrossClusterReplicationConfig . Membership > parser ()
Methods equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides getDefaultInstanceForType()
public CrossClusterReplicationConfig . Membership getDefaultInstanceForType ()
getParserForType()
public Parser<CrossClusterReplicationConfig . Membership > getParserForType ()
Overrides getPrimaryCluster()
public CrossClusterReplicationConfig . RemoteCluster getPrimaryCluster ()
Output only. The primary cluster that acts as the source of replication for the secondary clusters.
.google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.RemoteCluster primary_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPrimaryClusterOrBuilder()
public CrossClusterReplicationConfig . RemoteClusterOrBuilder getPrimaryClusterOrBuilder ()
Output only. The primary cluster that acts as the source of replication for the secondary clusters.
.google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.RemoteCluster primary_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSecondaryClusters(int index)
public CrossClusterReplicationConfig . RemoteCluster getSecondaryClusters ( int index )
Output only. The list of secondary clusters replicating from the primary cluster.
repeated .google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter Name Description index
int
getSecondaryClustersCount()
public int getSecondaryClustersCount ()
Output only. The list of secondary clusters replicating from the primary cluster.
repeated .google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description int
getSecondaryClustersList()
public List<CrossClusterReplicationConfig . RemoteCluster > getSecondaryClustersList ()
Output only. The list of secondary clusters replicating from the primary cluster.
repeated .google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSecondaryClustersOrBuilder(int index)
public CrossClusterReplicationConfig . RemoteClusterOrBuilder getSecondaryClustersOrBuilder ( int index )
Output only. The list of secondary clusters replicating from the primary cluster.
repeated .google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter Name Description index
int
getSecondaryClustersOrBuilderList()
public List <? extends CrossClusterReplicationConfig . RemoteClusterOrBuilder > getSecondaryClustersOrBuilderList ()
Output only. The list of secondary clusters replicating from the primary cluster.
repeated .google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description List <? extends com.google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.RemoteClusterOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides hasPrimaryCluster()
public boolean hasPrimaryCluster ()
Output only. The primary cluster that acts as the source of replication for the secondary clusters.
.google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.RemoteCluster primary_cluster = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns Type Description boolean
Whether the primaryCluster field is set.
hashCode() Returns Type Description int
Overrides internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides isInitialized()
public final boolean isInitialized ()
Overrides newBuilderForType()
public CrossClusterReplicationConfig . Membership . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CrossClusterReplicationConfig . Membership . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides toBuilder()
public CrossClusterReplicationConfig . Membership . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-11 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-11 UTC."],[],[]]