Class MemoryUsageSample (0.36.0)

public final class MemoryUsageSample extends GeneratedMessageV3 implements MemoryUsageSampleOrBuilder

Memory usage sample.

Protobuf type google.cloud.migrationcenter.v1.MemoryUsageSample

Static Fields

UTILIZED_PERCENTAGE_FIELD_NUMBER

public static final int UTILIZED_PERCENTAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MemoryUsageSample getDefaultInstance()
Returns
Type Description
MemoryUsageSample

getDescriptor()

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

newBuilder()

public static MemoryUsageSample.Builder newBuilder()
Returns
Type Description
MemoryUsageSample.Builder

newBuilder(MemoryUsageSample prototype)

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

parseDelimitedFrom(InputStream input)

public static MemoryUsageSample parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MemoryUsageSample
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static MemoryUsageSample parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MemoryUsageSample
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static MemoryUsageSample parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MemoryUsageSample
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static MemoryUsageSample parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MemoryUsageSample
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static MemoryUsageSample parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MemoryUsageSample
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<MemoryUsageSample> parser()
Returns
Type Description
Parser<MemoryUsageSample>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MemoryUsageSample getDefaultInstanceForType()
Returns
Type Description
MemoryUsageSample

getParserForType()

public Parser<MemoryUsageSample> getParserForType()
Returns
Type Description
Parser<MemoryUsageSample>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUtilizedPercentage()

public float getUtilizedPercentage()

Percentage of system memory utilized. Must be in the interval [0, 100].

float utilized_percentage = 1;

Returns
Type Description
float

The utilizedPercentage.

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 MemoryUsageSample.Builder newBuilderForType()
Returns
Type Description
MemoryUsageSample.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public MemoryUsageSample.Builder toBuilder()
Returns
Type Description
MemoryUsageSample.Builder

writeTo(CodedOutputStream output)

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