Class Instance.IOPSPerTB.Builder (1.84.0)

public static final class Instance.IOPSPerTB.Builder extends GeneratedMessage.Builder<Instance.IOPSPerTB.Builder> implements Instance.IOPSPerTBOrBuilder

IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB).

Protobuf type google.cloud.filestore.v1.Instance.IOPSPerTB

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearMaxIopsPerTb()

public Instance.IOPSPerTB.Builder clearMaxIopsPerTb()

Required. Maximum IOPS per TiB.

int64 max_iops_per_tb = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Instance.IOPSPerTB.Builder

This builder for chaining.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getMaxIopsPerTb()

public long getMaxIopsPerTb()

Required. Maximum IOPS per TiB.

int64 max_iops_per_tb = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The maxIopsPerTb.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Instance.IOPSPerTB other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setMaxIopsPerTb(long value)

public Instance.IOPSPerTB.Builder setMaxIopsPerTb(long value)

Required. Maximum IOPS per TiB.

int64 max_iops_per_tb = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The maxIopsPerTb to set.

Returns
Type Description
Instance.IOPSPerTB.Builder

This builder for chaining.