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.CPUImplements
DailyResourceUsageAggregation.CPUOrBuilderStatic Fields
UTILIZATION_PERCENTAGE_FIELD_NUMBER
public static final int UTILIZATION_PERCENTAGE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static DailyResourceUsageAggregation.CPU getDefaultInstance()
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static DailyResourceUsageAggregation.CPU.Builder newBuilder()
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU.Builder |
newBuilder(DailyResourceUsageAggregation.CPU prototype)
public static DailyResourceUsageAggregation.CPU.Builder newBuilder(DailyResourceUsageAggregation.CPU prototype)
Parameter | |
---|---|
Name | Description |
prototype |
DailyResourceUsageAggregation.CPU |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU.Builder |
parseDelimitedFrom(InputStream input)
public static DailyResourceUsageAggregation.CPU parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DailyResourceUsageAggregation.CPU parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static DailyResourceUsageAggregation.CPU parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DailyResourceUsageAggregation.CPU parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static DailyResourceUsageAggregation.CPU parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DailyResourceUsageAggregation.CPU parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static DailyResourceUsageAggregation.CPU parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DailyResourceUsageAggregation.CPU parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static DailyResourceUsageAggregation.CPU parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DailyResourceUsageAggregation.CPU parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static DailyResourceUsageAggregation.CPU parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DailyResourceUsageAggregation.CPU parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<DailyResourceUsageAggregation.CPU> parser()
Returns | |
---|---|
Type | Description |
Parser<CPU> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public DailyResourceUsageAggregation.CPU getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU |
getParserForType()
public Parser<DailyResourceUsageAggregation.CPU> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CPU> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUtilizationPercentage()
public DailyResourceUsageAggregation.Stats getUtilizationPercentage()
CPU utilization percentage.
.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.Stats |
The utilizationPercentage. |
getUtilizationPercentageOrBuilder()
public DailyResourceUsageAggregation.StatsOrBuilder getUtilizationPercentageOrBuilder()
CPU utilization percentage.
.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.StatsOrBuilder |
hasUtilizationPercentage()
public boolean hasUtilizationPercentage()
CPU utilization percentage.
.google.cloud.migrationcenter.v1.DailyResourceUsageAggregation.Stats utilization_percentage = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the utilizationPercentage field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public DailyResourceUsageAggregation.CPU.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DailyResourceUsageAggregation.CPU.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public DailyResourceUsageAggregation.CPU.Builder toBuilder()
Returns | |
---|---|
Type | Description |
DailyResourceUsageAggregation.CPU.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |