- 1.61.0 (latest)
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.2.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.v1.Instance.PerformanceConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.PerformanceConfig.BuilderImplements
Instance.PerformanceConfigOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public Instance.PerformanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Instance.PerformanceConfig.Builder |
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.v1.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.v1.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 |
clone()
public Instance.PerformanceConfig.Builder clone()
Returns | |
---|---|
Type | Description |
Instance.PerformanceConfig.Builder |
getDefaultInstanceForType()
public Instance.PerformanceConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Instance.PerformanceConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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.v1.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 |
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 |
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.v1.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 |
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 |
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.v1.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.v1.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.v1.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.v1.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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.PerformanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Instance.PerformanceConfig.Builder |