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 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

      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];
    • 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

      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];