Class DailyResourceUsageAggregation.CPU (0.22.0)

public static final class DailyResourceUsageAggregation.CPU extends GeneratedMessageV3 implements DailyResourceUsageAggregation.CPUOrBuilder

Statistical aggregation of CPU usage.

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

Inheritance

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

Static Fields

UTILIZATION_PERCENTAGE_FIELD_NUMBER

public static final int UTILIZATION_PERCENTAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(DailyResourceUsageAggregation.CPU prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUtilizationPercentage()

public DailyResourceUsageAggregation.Stats getUtilizationPercentage()

CPU utilization percentage.

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

Returns
TypeDescription
DailyResourceUsageAggregation.Stats

The utilizationPercentage.

getUtilizationPercentageOrBuilder()

public DailyResourceUsageAggregation.StatsOrBuilder getUtilizationPercentageOrBuilder()

CPU utilization percentage.

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

Returns
TypeDescription
DailyResourceUsageAggregation.StatsOrBuilder

hasUtilizationPercentage()

public boolean hasUtilizationPercentage()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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