Class DailyResourceUsageAggregation.Memory (0.21.0)

public static final class DailyResourceUsageAggregation.Memory extends GeneratedMessageV3 implements DailyResourceUsageAggregation.MemoryOrBuilder

Statistical aggregation of memory usage.

Protobuf type google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Memory

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DailyResourceUsageAggregation.Memory

Static Fields

UTILIZATION_PERCENTAGE_FIELD_NUMBER

public static final int UTILIZATION_PERCENTAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DailyResourceUsageAggregation.Memory getDefaultInstance()
Returns
TypeDescription
DailyResourceUsageAggregation.Memory

getDescriptor()

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

newBuilder()

public static DailyResourceUsageAggregation.Memory.Builder newBuilder()
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder

newBuilder(DailyResourceUsageAggregation.Memory prototype)

public static DailyResourceUsageAggregation.Memory.Builder newBuilder(DailyResourceUsageAggregation.Memory prototype)
Parameter
NameDescription
prototypeDailyResourceUsageAggregation.Memory
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder

parseDelimitedFrom(InputStream input)

public static DailyResourceUsageAggregation.Memory parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DailyResourceUsageAggregation.Memory
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DailyResourceUsageAggregation.Memory parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DailyResourceUsageAggregation.Memory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DailyResourceUsageAggregation.Memory parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DailyResourceUsageAggregation.Memory
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DailyResourceUsageAggregation.Memory parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DailyResourceUsageAggregation.Memory
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DailyResourceUsageAggregation.Memory parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DailyResourceUsageAggregation.Memory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DailyResourceUsageAggregation.Memory> parser()
Returns
TypeDescription
Parser<Memory>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DailyResourceUsageAggregation.Memory getDefaultInstanceForType()
Returns
TypeDescription
DailyResourceUsageAggregation.Memory

getParserForType()

public Parser<DailyResourceUsageAggregation.Memory> getParserForType()
Returns
TypeDescription
Parser<Memory>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUtilizationPercentage()

public DailyResourceUsageAggregation.Stats getUtilizationPercentage()

Memory utilization percentage.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;

Returns
TypeDescription
DailyResourceUsageAggregation.Stats

The utilizationPercentage.

getUtilizationPercentageOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getUtilizationPercentageOrBuilder()

Memory utilization percentage.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;

Returns
TypeDescription
DailyResourceUsageAggregation.StatsOrBuilder

hasUtilizationPercentage()

public boolean hasUtilizationPercentage()

Memory utilization percentage.

.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;

Returns
TypeDescription
boolean

Whether the utilizationPercentage field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DailyResourceUsageAggregation.Memory.Builder toBuilder()
Returns
TypeDescription
DailyResourceUsageAggregation.Memory.Builder

writeTo(CodedOutputStream output)

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