Interface ReplicationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Replication,Replication.Builder
@Generated
public interface ReplicationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetReplicas(int index) Replication configuration for the replica instance associated with this instance.intReplication configuration for the replica instance associated with this instance.Replication configuration for the replica instance associated with this instance.getReplicasOrBuilder(int index) Replication configuration for the replica instance associated with this instance.List<? extends ReplicaConfigOrBuilder>Replication configuration for the replica instance associated with this instance.getRole()Output only.intOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRoleValue
int getRoleValue()Output only. The replication role.
.google.cloud.filestore.v1beta1.Replication.Role role = 1;- Returns:
- The enum numeric value on the wire for role.
-
getRole
Replication.Role getRole()Output only. The replication role.
.google.cloud.filestore.v1beta1.Replication.Role role = 1;- Returns:
- The role.
-
getReplicasList
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; -
getReplicas
Replication configuration for the replica instance associated with this instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2; -
getReplicasCount
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; -
getReplicasOrBuilderList
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; -
getReplicasOrBuilder
Replication configuration for the replica instance associated with this instance. Only a single replica is supported.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig replicas = 2;
-