Package com.google.cloud.filestore.v1
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) Optional.intOptional.Optional.getReplicasOrBuilder(int index) Optional.List<? extends ReplicaConfigOrBuilder>Optional.getRole()Optional.intOptional.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()Optional. The replication role.
.google.cloud.filestore.v1.Replication.Role role = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for role.
-
getRole
Replication.Role getRole()Optional. The replication role.
.google.cloud.filestore.v1.Replication.Role role = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The role.
-
getReplicasList
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]; -
getReplicas
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]; -
getReplicasCount
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]; -
getReplicasOrBuilderList
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]; -
getReplicasOrBuilder
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];
-