Class ReportSummary.AssetAggregateStats (0.22.0)

public static final class ReportSummary.AssetAggregateStats extends GeneratedMessageV3 implements ReportSummary.AssetAggregateStatsOrBuilder

Aggregate statistics for a collection of assets.

Protobuf type google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReportSummary.AssetAggregateStats

Static Fields

CORE_COUNT_HISTOGRAM_FIELD_NUMBER

public static final int CORE_COUNT_HISTOGRAM_FIELD_NUMBER
Field Value
TypeDescription
int

MEMORY_BYTES_HISTOGRAM_FIELD_NUMBER

public static final int MEMORY_BYTES_HISTOGRAM_FIELD_NUMBER
Field Value
TypeDescription
int

MEMORY_UTILIZATION_CHART_FIELD_NUMBER

public static final int MEMORY_UTILIZATION_CHART_FIELD_NUMBER
Field Value
TypeDescription
int

OPERATING_SYSTEM_FIELD_NUMBER

public static final int OPERATING_SYSTEM_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_BYTES_HISTOGRAM_FIELD_NUMBER

public static final int STORAGE_BYTES_HISTOGRAM_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_UTILIZATION_CHART_FIELD_NUMBER

public static final int STORAGE_UTILIZATION_CHART_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_ASSETS_FIELD_NUMBER

public static final int TOTAL_ASSETS_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_CORES_FIELD_NUMBER

public static final int TOTAL_CORES_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_MEMORY_BYTES_FIELD_NUMBER

public static final int TOTAL_MEMORY_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_STORAGE_BYTES_FIELD_NUMBER

public static final int TOTAL_STORAGE_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReportSummary.AssetAggregateStats getDefaultInstance()
Returns
TypeDescription
ReportSummary.AssetAggregateStats

getDescriptor()

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

newBuilder()

public static ReportSummary.AssetAggregateStats.Builder newBuilder()
Returns
TypeDescription
ReportSummary.AssetAggregateStats.Builder

newBuilder(ReportSummary.AssetAggregateStats prototype)

public static ReportSummary.AssetAggregateStats.Builder newBuilder(ReportSummary.AssetAggregateStats prototype)
Parameter
NameDescription
prototypeReportSummary.AssetAggregateStats
Returns
TypeDescription
ReportSummary.AssetAggregateStats.Builder

parseDelimitedFrom(InputStream input)

public static ReportSummary.AssetAggregateStats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportSummary.AssetAggregateStats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ReportSummary.AssetAggregateStats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReportSummary.AssetAggregateStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ReportSummary.AssetAggregateStats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReportSummary.AssetAggregateStats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ReportSummary.AssetAggregateStats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportSummary.AssetAggregateStats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ReportSummary.AssetAggregateStats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReportSummary.AssetAggregateStats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ReportSummary.AssetAggregateStats> parser()
Returns
TypeDescription
Parser<AssetAggregateStats>

Methods

equals(Object obj)

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

getCoreCountHistogram()

public ReportSummary.HistogramChartData getCoreCountHistogram()

Histogram showing a distribution of CPU core counts.

.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData core_count_histogram = 8;

Returns
TypeDescription
ReportSummary.HistogramChartData

The coreCountHistogram.

getCoreCountHistogramOrBuilder()

public ReportSummary.HistogramChartDataOrBuilder getCoreCountHistogramOrBuilder()

Histogram showing a distribution of CPU core counts.

.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData core_count_histogram = 8;

Returns
TypeDescription
ReportSummary.HistogramChartDataOrBuilder

getDefaultInstanceForType()

public ReportSummary.AssetAggregateStats getDefaultInstanceForType()
Returns
TypeDescription
ReportSummary.AssetAggregateStats

getMemoryBytesHistogram()

public ReportSummary.HistogramChartData getMemoryBytesHistogram()

Histogram showing a distribution of memory sizes.

.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData memory_bytes_histogram = 9;

Returns
TypeDescription
ReportSummary.HistogramChartData

The memoryBytesHistogram.

getMemoryBytesHistogramOrBuilder()

public ReportSummary.HistogramChartDataOrBuilder getMemoryBytesHistogramOrBuilder()

Histogram showing a distribution of memory sizes.

.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData memory_bytes_histogram = 9;

Returns
TypeDescription
ReportSummary.HistogramChartDataOrBuilder

getMemoryUtilizationChart()

public ReportSummary.UtilizationChartData getMemoryUtilizationChart()

Total memory split into Used/Free buckets.

.google.cloud.migrationcenter.v1.ReportSummary.UtilizationChartData memory_utilization_chart = 5;

Returns
TypeDescription
ReportSummary.UtilizationChartData

The memoryUtilizationChart.

getMemoryUtilizationChartOrBuilder()

public ReportSummary.UtilizationChartDataOrBuilder getMemoryUtilizationChartOrBuilder()

Total memory split into Used/Free buckets.

.google.cloud.migrationcenter.v1.ReportSummary.UtilizationChartData memory_utilization_chart = 5;

Returns
TypeDescription
ReportSummary.UtilizationChartDataOrBuilder

getOperatingSystem()

public ReportSummary.ChartData getOperatingSystem()

Count of assets grouped by Operating System families.

.google.cloud.migrationcenter.v1.ReportSummary.ChartData operating_system = 7;

Returns
TypeDescription
ReportSummary.ChartData

The operatingSystem.

getOperatingSystemOrBuilder()

public ReportSummary.ChartDataOrBuilder getOperatingSystemOrBuilder()

Count of assets grouped by Operating System families.

.google.cloud.migrationcenter.v1.ReportSummary.ChartData operating_system = 7;

Returns
TypeDescription
ReportSummary.ChartDataOrBuilder

getParserForType()

public Parser<ReportSummary.AssetAggregateStats> getParserForType()
Returns
TypeDescription
Parser<AssetAggregateStats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStorageBytesHistogram()

public ReportSummary.HistogramChartData getStorageBytesHistogram()

Histogram showing a distribution of memory sizes.

.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData storage_bytes_histogram = 10;

Returns
TypeDescription
ReportSummary.HistogramChartData

The storageBytesHistogram.

getStorageBytesHistogramOrBuilder()

public ReportSummary.HistogramChartDataOrBuilder getStorageBytesHistogramOrBuilder()

Histogram showing a distribution of memory sizes.

.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData storage_bytes_histogram = 10;

Returns
TypeDescription
ReportSummary.HistogramChartDataOrBuilder

getStorageUtilizationChart()

public ReportSummary.UtilizationChartData getStorageUtilizationChart()

Total memory split into Used/Free buckets.

.google.cloud.migrationcenter.v1.ReportSummary.UtilizationChartData storage_utilization_chart = 6;

Returns
TypeDescription
ReportSummary.UtilizationChartData

The storageUtilizationChart.

getStorageUtilizationChartOrBuilder()

public ReportSummary.UtilizationChartDataOrBuilder getStorageUtilizationChartOrBuilder()

Total memory split into Used/Free buckets.

.google.cloud.migrationcenter.v1.ReportSummary.UtilizationChartData storage_utilization_chart = 6;

Returns
TypeDescription
ReportSummary.UtilizationChartDataOrBuilder

getTotalAssets()

public long getTotalAssets()

Count of the number of unique assets in this collection.

int64 total_assets = 4;

Returns
TypeDescription
long

The totalAssets.

getTotalCores()

public long getTotalCores()

Sum of the CPU core count of all the assets in this collection.

int64 total_cores = 3;

Returns
TypeDescription
long

The totalCores.

getTotalMemoryBytes()

public long getTotalMemoryBytes()

Sum of the memory in bytes of all the assets in this collection.

int64 total_memory_bytes = 1;

Returns
TypeDescription
long

The totalMemoryBytes.

getTotalStorageBytes()

public long getTotalStorageBytes()

Sum of persistent storage in bytes of all the assets in this collection.

int64 total_storage_bytes = 2;

Returns
TypeDescription
long

The totalStorageBytes.

hasCoreCountHistogram()

public boolean hasCoreCountHistogram()

Histogram showing a distribution of CPU core counts.

.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData core_count_histogram = 8;

Returns
TypeDescription
boolean

Whether the coreCountHistogram field is set.

hasMemoryBytesHistogram()

public boolean hasMemoryBytesHistogram()

Histogram showing a distribution of memory sizes.

.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData memory_bytes_histogram = 9;

Returns
TypeDescription
boolean

Whether the memoryBytesHistogram field is set.

hasMemoryUtilizationChart()

public boolean hasMemoryUtilizationChart()

Total memory split into Used/Free buckets.

.google.cloud.migrationcenter.v1.ReportSummary.UtilizationChartData memory_utilization_chart = 5;

Returns
TypeDescription
boolean

Whether the memoryUtilizationChart field is set.

hasOperatingSystem()

public boolean hasOperatingSystem()

Count of assets grouped by Operating System families.

.google.cloud.migrationcenter.v1.ReportSummary.ChartData operating_system = 7;

Returns
TypeDescription
boolean

Whether the operatingSystem field is set.

hasStorageBytesHistogram()

public boolean hasStorageBytesHistogram()

Histogram showing a distribution of memory sizes.

.google.cloud.migrationcenter.v1.ReportSummary.HistogramChartData storage_bytes_histogram = 10;

Returns
TypeDescription
boolean

Whether the storageBytesHistogram field is set.

hasStorageUtilizationChart()

public boolean hasStorageUtilizationChart()

Total memory split into Used/Free buckets.

.google.cloud.migrationcenter.v1.ReportSummary.UtilizationChartData storage_utilization_chart = 6;

Returns
TypeDescription
boolean

Whether the storageUtilizationChart 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 ReportSummary.AssetAggregateStats.Builder newBuilderForType()
Returns
TypeDescription
ReportSummary.AssetAggregateStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ReportSummary.AssetAggregateStats.Builder toBuilder()
Returns
TypeDescription
ReportSummary.AssetAggregateStats.Builder

writeTo(CodedOutputStream output)

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