Class Instance.PerformanceLimits.Builder (1.61.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMaxIops()

public Instance.PerformanceLimits.Builder clearMaxIops()

Output only. The max IOPS.

int64 max_iops = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Instance.PerformanceLimits.Builder

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
Type Description
Instance.PerformanceLimits.Builder

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
Type Description
Instance.PerformanceLimits.Builder

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
Type Description
Instance.PerformanceLimits.Builder

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
Type Description
Instance.PerformanceLimits.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getMaxIops()

public long getMaxIops()

Output only. The max IOPS.

int64 max_iops = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The maxIops.

getMaxReadIops()

public long getMaxReadIops()

Output only. The max read IOPS.

int64 max_read_iops = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The maxReadIops.

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

Returns
Type Description
long

The maxReadThroughputBps.

getMaxWriteIops()

public long getMaxWriteIops()

Output only. The max write IOPS.

int64 max_write_iops = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The maxWriteIops.

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

Returns
Type Description
long

The maxWriteThroughputBps.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Instance.PerformanceLimits other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxIops(long value)

public Instance.PerformanceLimits.Builder setMaxIops(long value)

Output only. The max IOPS.

int64 max_iops = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The maxIops to set.

Returns
Type Description
Instance.PerformanceLimits.Builder

This builder for chaining.

setMaxReadIops(long value)

public Instance.PerformanceLimits.Builder setMaxReadIops(long value)

Output only. The max read IOPS.

int64 max_read_iops = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The maxReadIops to set.

Returns
Type Description
Instance.PerformanceLimits.Builder

This builder for chaining.

setMaxReadThroughputBps(long value)

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

Parameter
Name Description
value long

The maxReadThroughputBps to set.

Returns
Type Description
Instance.PerformanceLimits.Builder

This builder for chaining.

setMaxWriteIops(long value)

public Instance.PerformanceLimits.Builder setMaxWriteIops(long value)

Output only. The max write IOPS.

int64 max_write_iops = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The maxWriteIops to set.

Returns
Type Description
Instance.PerformanceLimits.Builder

This builder for chaining.

setMaxWriteThroughputBps(long value)

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

Parameter
Name Description
value long

The maxWriteThroughputBps to set.

Returns
Type Description
Instance.PerformanceLimits.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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