Class Instance.PerformanceConfig.Builder (1.61.0)

public static final class Instance.PerformanceConfig.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Instance.PerformanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Instance.PerformanceConfig.Builder
Overrides

build()

public Instance.PerformanceConfig build()
Returns
Type Description
Instance.PerformanceConfig

buildPartial()

public Instance.PerformanceConfig buildPartial()
Returns
Type Description
Instance.PerformanceConfig

clear()

public Instance.PerformanceConfig.Builder clear()
Returns
Type Description
Instance.PerformanceConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Instance.PerformanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Instance.PerformanceConfig.Builder
Overrides

clearFixedIops()

public Instance.PerformanceConfig.Builder 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;

Returns
Type Description
Instance.PerformanceConfig.Builder

clearIopsPerTb()

public Instance.PerformanceConfig.Builder 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;

Returns
Type Description
Instance.PerformanceConfig.Builder

clearMode()

public Instance.PerformanceConfig.Builder clearMode()
Returns
Type Description
Instance.PerformanceConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Instance.PerformanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Instance.PerformanceConfig.Builder
Overrides

clone()

public Instance.PerformanceConfig.Builder clone()
Returns
Type Description
Instance.PerformanceConfig.Builder
Overrides

getDefaultInstanceForType()

public Instance.PerformanceConfig getDefaultInstanceForType()
Returns
Type Description
Instance.PerformanceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFixedIops()

public 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
Type Description
Instance.FixedIOPS

The fixedIops.

getFixedIopsBuilder()

public Instance.FixedIOPS.Builder 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;

Returns
Type Description
Instance.FixedIOPS.Builder

getFixedIopsOrBuilder()

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

Returns
Type Description
Instance.FixedIOPSOrBuilder

getIopsPerTb()

public 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
Type Description
Instance.IOPSPerTB

The iopsPerTb.

getIopsPerTbBuilder()

public Instance.IOPSPerTB.Builder 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;

Returns
Type Description
Instance.IOPSPerTB.Builder

getIopsPerTbOrBuilder()

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

Returns
Type Description
Instance.IOPSPerTBOrBuilder

getModeCase()

public Instance.PerformanceConfig.ModeCase getModeCase()
Returns
Type Description
Instance.PerformanceConfig.ModeCase

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;

Returns
Type Description
boolean

Whether the fixedIops field is set.

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;

Returns
Type Description
boolean

Whether the iopsPerTb field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFixedIops(Instance.FixedIOPS value)

public Instance.PerformanceConfig.Builder mergeFixedIops(Instance.FixedIOPS value)

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;

Parameter
Name Description
value Instance.FixedIOPS
Returns
Type Description
Instance.PerformanceConfig.Builder

mergeFrom(Instance.PerformanceConfig other)

public Instance.PerformanceConfig.Builder mergeFrom(Instance.PerformanceConfig other)
Parameter
Name Description
other Instance.PerformanceConfig
Returns
Type Description
Instance.PerformanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Instance.PerformanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.PerformanceConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Instance.PerformanceConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Instance.PerformanceConfig.Builder
Overrides

mergeIopsPerTb(Instance.IOPSPerTB value)

public Instance.PerformanceConfig.Builder mergeIopsPerTb(Instance.IOPSPerTB value)

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;

Parameter
Name Description
value Instance.IOPSPerTB
Returns
Type Description
Instance.PerformanceConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.PerformanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.PerformanceConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Instance.PerformanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Instance.PerformanceConfig.Builder
Overrides

setFixedIops(Instance.FixedIOPS value)

public Instance.PerformanceConfig.Builder setFixedIops(Instance.FixedIOPS value)

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;

Parameter
Name Description
value Instance.FixedIOPS
Returns
Type Description
Instance.PerformanceConfig.Builder

setFixedIops(Instance.FixedIOPS.Builder builderForValue)

public Instance.PerformanceConfig.Builder setFixedIops(Instance.FixedIOPS.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Instance.FixedIOPS.Builder
Returns
Type Description
Instance.PerformanceConfig.Builder

setIopsPerTb(Instance.IOPSPerTB value)

public Instance.PerformanceConfig.Builder setIopsPerTb(Instance.IOPSPerTB value)

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;

Parameter
Name Description
value Instance.IOPSPerTB
Returns
Type Description
Instance.PerformanceConfig.Builder

setIopsPerTb(Instance.IOPSPerTB.Builder builderForValue)

public Instance.PerformanceConfig.Builder setIopsPerTb(Instance.IOPSPerTB.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Instance.IOPSPerTB.Builder
Returns
Type Description
Instance.PerformanceConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Instance.PerformanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Instance.PerformanceConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Instance.PerformanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Instance.PerformanceConfig.Builder
Overrides