Class ReportSummary.AssetAggregateStats (0.27.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
Type Description
int

MEMORY_BYTES_HISTOGRAM_FIELD_NUMBER

public static final int MEMORY_BYTES_HISTOGRAM_FIELD_NUMBER
Field Value
Type Description
int

MEMORY_UTILIZATION_CHART_FIELD_NUMBER

public static final int MEMORY_UTILIZATION_CHART_FIELD_NUMBER
Field Value
Type Description
int

OPERATING_SYSTEM_FIELD_NUMBER

public static final int OPERATING_SYSTEM_FIELD_NUMBER
Field Value
Type Description
int

STORAGE_BYTES_HISTOGRAM_FIELD_NUMBER

public static final int STORAGE_BYTES_HISTOGRAM_FIELD_NUMBER
Field Value
Type Description
int

STORAGE_UTILIZATION_CHART_FIELD_NUMBER

public static final int STORAGE_UTILIZATION_CHART_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_ASSETS_FIELD_NUMBER

public static final int TOTAL_ASSETS_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_CORES_FIELD_NUMBER

public static final int TOTAL_CORES_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_MEMORY_BYTES_FIELD_NUMBER

public static final int TOTAL_MEMORY_BYTES_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_STORAGE_BYTES_FIELD_NUMBER

public static final int TOTAL_STORAGE_BYTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReportSummary.AssetAggregateStats getDefaultInstance()
Returns
Type Description
ReportSummary.AssetAggregateStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ReportSummary.AssetAggregateStats.Builder newBuilder()
Returns
Type Description
ReportSummary.AssetAggregateStats.Builder

newBuilder(ReportSummary.AssetAggregateStats prototype)

public static ReportSummary.AssetAggregateStats.Builder newBuilder(ReportSummary.AssetAggregateStats prototype)
Parameter
Name Description
prototype ReportSummary.AssetAggregateStats
Returns
Type Description
ReportSummary.AssetAggregateStats.Builder

parseDelimitedFrom(InputStream input)

public static ReportSummary.AssetAggregateStats parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.AssetAggregateStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReportSummary.AssetAggregateStats parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.AssetAggregateStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReportSummary.AssetAggregateStats parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.AssetAggregateStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportSummary.AssetAggregateStats parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.AssetAggregateStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReportSummary.AssetAggregateStats parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.AssetAggregateStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReportSummary.AssetAggregateStats parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary.AssetAggregateStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.AssetAggregateStats
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
ReportSummary.HistogramChartDataOrBuilder

getDefaultInstanceForType()

public ReportSummary.AssetAggregateStats getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ReportSummary.ChartDataOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ReportSummary.UtilizationChartDataOrBuilder

getTotalAssets()

public long getTotalAssets()

Count of the number of unique assets in this collection.

int64 total_assets = 4;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the storageUtilizationChart field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReportSummary.AssetAggregateStats.Builder newBuilderForType()
Returns
Type Description
ReportSummary.AssetAggregateStats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportSummary.AssetAggregateStats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReportSummary.AssetAggregateStats.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReportSummary.AssetAggregateStats.Builder toBuilder()
Returns
Type Description
ReportSummary.AssetAggregateStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException