Class MemoryUsageSample (0.15.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static MemoryUsageSample getDefaultInstance()
Returns
TypeDescription
MemoryUsageSample

getDescriptor()

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

newBuilder()

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

newBuilder(MemoryUsageSample prototype)

public static MemoryUsageSample.Builder newBuilder(MemoryUsageSample prototype)
Parameter
NameDescription
prototypeMemoryUsageSample
Returns
TypeDescription
MemoryUsageSample.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MemoryUsageSample getDefaultInstanceForType()
Returns
TypeDescription
MemoryUsageSample

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUtilizedPercentage()

public float getUtilizedPercentage()

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

float utilized_percentage = 1;

Returns
TypeDescription
float

The utilizedPercentage.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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