Class DiskUtilization (2.20.0)

public final class DiskUtilization extends GeneratedMessageV3 implements DiskUtilizationOrBuilder

Target scaling by disk usage. Only applicable in the App Engine flexible environment.

Protobuf type google.appengine.v1.DiskUtilization

Static Fields

TARGET_READ_BYTES_PER_SECOND_FIELD_NUMBER

public static final int TARGET_READ_BYTES_PER_SECOND_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_READ_OPS_PER_SECOND_FIELD_NUMBER

public static final int TARGET_READ_OPS_PER_SECOND_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_WRITE_BYTES_PER_SECOND_FIELD_NUMBER

public static final int TARGET_WRITE_BYTES_PER_SECOND_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_WRITE_OPS_PER_SECOND_FIELD_NUMBER

public static final int TARGET_WRITE_OPS_PER_SECOND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DiskUtilization getDefaultInstance()
Returns
TypeDescription
DiskUtilization

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DiskUtilization.Builder newBuilder()
Returns
TypeDescription
DiskUtilization.Builder

newBuilder(DiskUtilization prototype)

public static DiskUtilization.Builder newBuilder(DiskUtilization prototype)
Parameter
NameDescription
prototypeDiskUtilization
Returns
TypeDescription
DiskUtilization.Builder

parseDelimitedFrom(InputStream input)

public static DiskUtilization parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiskUtilization parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DiskUtilization parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DiskUtilization parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DiskUtilization parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DiskUtilization parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DiskUtilization parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DiskUtilization parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DiskUtilization parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiskUtilization parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DiskUtilization parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DiskUtilization parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiskUtilization
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DiskUtilization> parser()
Returns
TypeDescription
Parser<DiskUtilization>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DiskUtilization getDefaultInstanceForType()
Returns
TypeDescription
DiskUtilization

getParserForType()

public Parser<DiskUtilization> getParserForType()
Returns
TypeDescription
Parser<DiskUtilization>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetReadBytesPerSecond()

public int getTargetReadBytesPerSecond()

Target bytes read per second.

int32 target_read_bytes_per_second = 16;

Returns
TypeDescription
int

The targetReadBytesPerSecond.

getTargetReadOpsPerSecond()

public int getTargetReadOpsPerSecond()

Target ops read per seconds.

int32 target_read_ops_per_second = 17;

Returns
TypeDescription
int

The targetReadOpsPerSecond.

getTargetWriteBytesPerSecond()

public int getTargetWriteBytesPerSecond()

Target bytes written per second.

int32 target_write_bytes_per_second = 14;

Returns
TypeDescription
int

The targetWriteBytesPerSecond.

getTargetWriteOpsPerSecond()

public int getTargetWriteOpsPerSecond()

Target ops written per second.

int32 target_write_ops_per_second = 15;

Returns
TypeDescription
int

The targetWriteOpsPerSecond.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DiskUtilization.Builder newBuilderForType()
Returns
TypeDescription
DiskUtilization.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DiskUtilization.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DiskUtilization.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DiskUtilization.Builder toBuilder()
Returns
TypeDescription
DiskUtilization.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException