Interface ReplicationOrBuilder (1.61.0)

public interface ReplicationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getReplicas(int index)

public abstract ReplicaConfig getReplicas(int index)

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

repeated .google.cloud.filestore.v1.ReplicaConfig replicas = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReplicaConfig

getReplicasCount()

public abstract int getReplicasCount()

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

repeated .google.cloud.filestore.v1.ReplicaConfig replicas = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getReplicasList()

public abstract List<ReplicaConfig> getReplicasList()

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

repeated .google.cloud.filestore.v1.ReplicaConfig replicas = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ReplicaConfig>

getReplicasOrBuilder(int index)

public abstract ReplicaConfigOrBuilder getReplicasOrBuilder(int index)

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

repeated .google.cloud.filestore.v1.ReplicaConfig replicas = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReplicaConfigOrBuilder

getReplicasOrBuilderList()

public abstract List<? extends ReplicaConfigOrBuilder> getReplicasOrBuilderList()

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

repeated .google.cloud.filestore.v1.ReplicaConfig replicas = 2 [(.google.api.field_behavior) = OPTIONAL];

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

getRole()

public abstract Replication.Role getRole()

Optional. The replication role.

.google.cloud.filestore.v1.Replication.Role role = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Replication.Role

The role.

getRoleValue()

public abstract int getRoleValue()

Optional. The replication role.

.google.cloud.filestore.v1.Replication.Role role = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for role.