Class Instance.PerformanceConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceConfig.Builder>
com.google.cloud.filestore.v1beta1.Instance.PerformanceConfig.Builder
- All Implemented Interfaces:
Instance.PerformanceConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Instance.PerformanceConfig
public static final class Instance.PerformanceConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceConfig.Builder>
implements Instance.PerformanceConfigOrBuilder
Used for setting the performance configuration. If the user doesn't specify PerformanceConfig, automatically provision the default performance settings as described in https://cloud.google.com/filestore/docs/performance. Larger instances will be linearly set to more IOPS. If the instance's capacity is increased or decreased, its performance will be automatically adjusted upwards or downwards accordingly (respectively).Protobuf type
google.cloud.filestore.v1beta1.Instance.PerformanceConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorChoose 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.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.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFixedIops(Instance.FixedIOPS value) Choose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeIopsPerTb(Instance.IOPSPerTB value) Provision IOPS dynamically based on the capacity of the instance.setFixedIops(Instance.FixedIOPS value) Choose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity.setFixedIops(Instance.FixedIOPS.Builder builderForValue) Choose a fixed provisioned IOPS value for the instance, which will remain constant regardless of instance capacity.setIopsPerTb(Instance.IOPSPerTB value) Provision IOPS dynamically based on the capacity of the instance.setIopsPerTb(Instance.IOPSPerTB.Builder builderForValue) Provision IOPS dynamically based on the capacity of the instance.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.PerformanceConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Instance.PerformanceConfig.Builder>
-
mergeFrom
public Instance.PerformanceConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.PerformanceConfig.Builder>- Throws:
IOException
-
getModeCase
- Specified by:
getModeCasein interfaceInstance.PerformanceConfigOrBuilder
-
clearMode
-
hasIopsPerTb
public 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;- Specified by:
hasIopsPerTbin interfaceInstance.PerformanceConfigOrBuilder- Returns:
- Whether the iopsPerTb field is set.
-
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;- Specified by:
getIopsPerTbin interfaceInstance.PerformanceConfigOrBuilder- Returns:
- The iopsPerTb.
-
setIopsPerTb
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; -
setIopsPerTb
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; -
mergeIopsPerTb
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; -
clearIopsPerTb
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; -
getIopsPerTbBuilder
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; -
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;- Specified by:
getIopsPerTbOrBuilderin interfaceInstance.PerformanceConfigOrBuilder
-
hasFixedIops
public 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;- Specified by:
hasFixedIopsin interfaceInstance.PerformanceConfigOrBuilder- Returns:
- Whether the fixedIops field is set.
-
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;- Specified by:
getFixedIopsin interfaceInstance.PerformanceConfigOrBuilder- Returns:
- The fixedIops.
-
setFixedIops
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; -
setFixedIops
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; -
mergeFixedIops
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; -
clearFixedIops
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; -
getFixedIopsBuilder
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; -
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;- Specified by:
getFixedIopsOrBuilderin interfaceInstance.PerformanceConfigOrBuilder
-