Class Instance.PerformanceLimits (1.61.0)

public static final class Instance.PerformanceLimits extends GeneratedMessageV3 implements Instance.PerformanceLimitsOrBuilder

The enforced performance limits, calculated from the instance's performance configuration.

Protobuf type google.cloud.filestore.v1beta1.Instance.PerformanceLimits

Static Fields

MAX_IOPS_FIELD_NUMBER

public static final int MAX_IOPS_FIELD_NUMBER
Field Value
Type Description
int

MAX_READ_IOPS_FIELD_NUMBER

public static final int MAX_READ_IOPS_FIELD_NUMBER
Field Value
Type Description
int

MAX_READ_THROUGHPUT_BPS_FIELD_NUMBER

public static final int MAX_READ_THROUGHPUT_BPS_FIELD_NUMBER
Field Value
Type Description
int

MAX_WRITE_IOPS_FIELD_NUMBER

public static final int MAX_WRITE_IOPS_FIELD_NUMBER
Field Value
Type Description
int

MAX_WRITE_THROUGHPUT_BPS_FIELD_NUMBER

public static final int MAX_WRITE_THROUGHPUT_BPS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Instance.PerformanceLimits getDefaultInstance()
Returns
Type Description
Instance.PerformanceLimits

getDescriptor()

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

newBuilder()

public static Instance.PerformanceLimits.Builder newBuilder()
Returns
Type Description
Instance.PerformanceLimits.Builder

newBuilder(Instance.PerformanceLimits prototype)

public static Instance.PerformanceLimits.Builder newBuilder(Instance.PerformanceLimits prototype)
Parameter
Name Description
prototype Instance.PerformanceLimits
Returns
Type Description
Instance.PerformanceLimits.Builder

parseDelimitedFrom(InputStream input)

public static Instance.PerformanceLimits parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.PerformanceLimits parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Instance.PerformanceLimits parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Instance.PerformanceLimits parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Instance.PerformanceLimits parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Instance.PerformanceLimits parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Instance.PerformanceLimits parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.PerformanceLimits parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Instance.PerformanceLimits parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.PerformanceLimits parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Instance.PerformanceLimits parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Instance.PerformanceLimits parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Instance.PerformanceLimits
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Instance.PerformanceLimits> parser()
Returns
Type Description
Parser<PerformanceLimits>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<Instance.PerformanceLimits> getParserForType()
Returns
Type Description
Parser<PerformanceLimits>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Instance.PerformanceLimits.Builder newBuilderForType()
Returns
Type Description
Instance.PerformanceLimits.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Instance.PerformanceLimits.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Instance.PerformanceLimits.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Instance.PerformanceLimits.Builder toBuilder()
Returns
Type Description
Instance.PerformanceLimits.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException