Interface Instance.PerformanceConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Instance.PerformanceConfig,Instance.PerformanceConfig.Builder
- Enclosing class:
- Instance
public static interface Instance.PerformanceConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionChoose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity.Choose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity.Provision IOPS dynamically based on the capacity of the instance.Provision IOPS dynamically based on the capacity of the instance.booleanChoose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity.booleanProvision IOPS dynamically based on the capacity of the instance.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
-
hasIopsPerTb
boolean hasIopsPerTb()Provision IOPS dynamically based on the capacity of the instance. Provisioned IOPS will be calculated by multiplying the capacity of the instance in TiB by the `iops_per_tb` value. For example, for a 2 TiB instance with an `iops_per_tb` value of 17000 the provisioned IOPS will be 34000. If the calculated value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with an `InvalidArgument` error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with an `InvalidArgument` error.
.google.cloud.filestore.v1beta1.Instance.IOPSPerTB iops_per_tb = 4;- Returns:
- Whether the iopsPerTb field is set.
-
getIopsPerTb
Instance.IOPSPerTB getIopsPerTb()Provision IOPS dynamically based on the capacity of the instance. Provisioned IOPS will be calculated by multiplying the capacity of the instance in TiB by the `iops_per_tb` value. For example, for a 2 TiB instance with an `iops_per_tb` value of 17000 the provisioned IOPS will be 34000. If the calculated value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with an `InvalidArgument` error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with an `InvalidArgument` error.
.google.cloud.filestore.v1beta1.Instance.IOPSPerTB iops_per_tb = 4;- Returns:
- The iopsPerTb.
-
getIopsPerTbOrBuilder
Instance.IOPSPerTBOrBuilder getIopsPerTbOrBuilder()Provision IOPS dynamically based on the capacity of the instance. Provisioned IOPS will be calculated by multiplying the capacity of the instance in TiB by the `iops_per_tb` value. For example, for a 2 TiB instance with an `iops_per_tb` value of 17000 the provisioned IOPS will be 34000. If the calculated value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with an `InvalidArgument` error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with an `InvalidArgument` error.
.google.cloud.filestore.v1beta1.Instance.IOPSPerTB iops_per_tb = 4; -
hasFixedIops
boolean hasFixedIops()Choose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity. Value must be a multiple of 1000. If the chosen value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with an `InvalidArgument` error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with an `InvalidArgument` error.
.google.cloud.filestore.v1beta1.Instance.FixedIOPS fixed_iops = 2;- Returns:
- Whether the fixedIops field is set.
-
getFixedIops
Instance.FixedIOPS getFixedIops()Choose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity. Value must be a multiple of 1000. If the chosen value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with an `InvalidArgument` error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with an `InvalidArgument` error.
.google.cloud.filestore.v1beta1.Instance.FixedIOPS fixed_iops = 2;- Returns:
- The fixedIops.
-
getFixedIopsOrBuilder
Instance.FixedIOPSOrBuilder getFixedIopsOrBuilder()Choose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity. Value must be a multiple of 1000. If the chosen value is outside the supported range for the instance's capacity during instance creation, instance creation will fail with an `InvalidArgument` error. Similarly, if an instance capacity update would result in a value outside the supported range, the update will fail with an `InvalidArgument` error.
.google.cloud.filestore.v1beta1.Instance.FixedIOPS fixed_iops = 2; -
getModeCase
Instance.PerformanceConfig.ModeCase getModeCase()
-