Interface ReplicationOrBuilder (1.61.0)

public interface ReplicationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getReplicas(int index)

public abstract ReplicaConfig getReplicas(int index)

Replication configuration for the replica instance associated with this instance. Only a single replica is supported.

repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;

Parameter
Name Description
index int
Returns
Type Description
ReplicaConfig

getReplicasCount()

public abstract int getReplicasCount()

Replication configuration for the replica instance associated with this instance. Only a single replica is supported.

repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;

Returns
Type Description
int

getReplicasList()

public abstract List<ReplicaConfig> getReplicasList()

Replication configuration for the replica instance associated with this instance. Only a single replica is supported.

repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;

Returns
Type Description
List<ReplicaConfig>

getReplicasOrBuilder(int index)

public abstract ReplicaConfigOrBuilder getReplicasOrBuilder(int index)

Replication configuration for the replica instance associated with this instance. Only a single replica is supported.

repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;

Parameter
Name Description
index int
Returns
Type Description
ReplicaConfigOrBuilder

getReplicasOrBuilderList()

public abstract List<? extends ReplicaConfigOrBuilder> getReplicasOrBuilderList()

Replication configuration for the replica instance associated with this instance. Only a single replica is supported.

repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;

Returns
Type Description
List<? extends com.google.cloud.filestore.v1beta1.ReplicaConfigOrBuilder>

getRole()

public abstract Replication.Role getRole()

Output only. The replication role.

.google.cloud.filestore.v1beta1.Replication.Role role = 1;

Returns
Type Description
Replication.Role

The role.

getRoleValue()

public abstract int getRoleValue()

Output only. The replication role.

.google.cloud.filestore.v1beta1.Replication.Role role = 1;

Returns
Type Description
int

The enum numeric value on the wire for role.