public static final class CrossClusterReplicationConfig.Membership extends GeneratedMessage implements CrossClusterReplicationConfig.MembershipOrBuilder
An output only view of all the member clusters participating in the cross
cluster replication.
Protobuf type
google.cloud.redis.cluster.v1beta1.CrossClusterReplicationConfig.Membership
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 prototype)
public static CrossClusterReplicationConfig.Membership.Builder newBuilder(CrossClusterReplicationConfig.Membership prototype)
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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.CrossClusterReplicationConfig.RemoteCluster secondary_clusters = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.redis.cluster.v1beta1.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.v1beta1.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CrossClusterReplicationConfig.Membership.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CrossClusterReplicationConfig.Membership.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public CrossClusterReplicationConfig.Membership.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides