Class Instance.PerformanceLimits.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceLimits.Builder>
com.google.cloud.filestore.v1beta1.Instance.PerformanceLimits.Builder
All Implemented Interfaces:
Instance.PerformanceLimitsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Instance.PerformanceLimits

public static final class Instance.PerformanceLimits.Builder extends com.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceLimits.Builder> implements Instance.PerformanceLimitsOrBuilder
 The enforced performance limits, calculated from the instance's performance
 configuration.
 
Protobuf type google.cloud.filestore.v1beta1.Instance.PerformanceLimits
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceLimits.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceLimits.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceLimits.Builder>
    • getDefaultInstanceForType

      public Instance.PerformanceLimits getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Instance.PerformanceLimits buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Instance.PerformanceLimits.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.PerformanceLimits.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceLimits.Builder>
    • mergeFrom

      public Instance.PerformanceLimits.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.PerformanceLimits.Builder>
      Throws:
      IOException
    • getMaxIops

      public long getMaxIops()
       Output only. The max IOPS.
       
      int64 max_iops = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaxIops in interface Instance.PerformanceLimitsOrBuilder
      Returns:
      The maxIops.
    • setMaxIops

      public Instance.PerformanceLimits.Builder setMaxIops(long value)
       Output only. The max IOPS.
       
      int64 max_iops = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The maxIops to set.
      Returns:
      This builder for chaining.
    • clearMaxIops

      public Instance.PerformanceLimits.Builder clearMaxIops()
       Output only. The max IOPS.
       
      int64 max_iops = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMaxReadIops

      public long getMaxReadIops()
       Output only. The max read IOPS.
       
      int64 max_read_iops = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaxReadIops in interface Instance.PerformanceLimitsOrBuilder
      Returns:
      The maxReadIops.
    • setMaxReadIops

      public Instance.PerformanceLimits.Builder setMaxReadIops(long value)
       Output only. The max read IOPS.
       
      int64 max_read_iops = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The maxReadIops to set.
      Returns:
      This builder for chaining.
    • clearMaxReadIops

      public Instance.PerformanceLimits.Builder clearMaxReadIops()
       Output only. The max read IOPS.
       
      int64 max_read_iops = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMaxWriteIops

      public long getMaxWriteIops()
       Output only. The max write IOPS.
       
      int64 max_write_iops = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaxWriteIops in interface Instance.PerformanceLimitsOrBuilder
      Returns:
      The maxWriteIops.
    • setMaxWriteIops

      public Instance.PerformanceLimits.Builder setMaxWriteIops(long value)
       Output only. The max write IOPS.
       
      int64 max_write_iops = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The maxWriteIops to set.
      Returns:
      This builder for chaining.
    • clearMaxWriteIops

      public Instance.PerformanceLimits.Builder clearMaxWriteIops()
       Output only. The max write IOPS.
       
      int64 max_write_iops = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMaxReadThroughputBps

      public long getMaxReadThroughputBps()
       Output only. The max read throughput in bytes per second.
       
      int64 max_read_throughput_bps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaxReadThroughputBps in interface Instance.PerformanceLimitsOrBuilder
      Returns:
      The maxReadThroughputBps.
    • setMaxReadThroughputBps

      public Instance.PerformanceLimits.Builder setMaxReadThroughputBps(long value)
       Output only. The max read throughput in bytes per second.
       
      int64 max_read_throughput_bps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The maxReadThroughputBps to set.
      Returns:
      This builder for chaining.
    • clearMaxReadThroughputBps

      public Instance.PerformanceLimits.Builder clearMaxReadThroughputBps()
       Output only. The max read throughput in bytes per second.
       
      int64 max_read_throughput_bps = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getMaxWriteThroughputBps

      public long getMaxWriteThroughputBps()
       Output only. The max write throughput in bytes per second.
       
      int64 max_write_throughput_bps = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMaxWriteThroughputBps in interface Instance.PerformanceLimitsOrBuilder
      Returns:
      The maxWriteThroughputBps.
    • setMaxWriteThroughputBps

      public Instance.PerformanceLimits.Builder setMaxWriteThroughputBps(long value)
       Output only. The max write throughput in bytes per second.
       
      int64 max_write_throughput_bps = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The maxWriteThroughputBps to set.
      Returns:
      This builder for chaining.
    • clearMaxWriteThroughputBps

      public Instance.PerformanceLimits.Builder clearMaxWriteThroughputBps()
       Output only. The max write throughput in bytes per second.
       
      int64 max_write_throughput_bps = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.