Class ReportDetail.Metrics.Builder (0.6.0)

public static final class ReportDetail.Metrics.Builder extends GeneratedMessageV3.Builder<ReportDetail.Metrics.Builder> implements ReportDetail.MetricsOrBuilder

Different metrics associated with the generated report.

Protobuf type google.cloud.storageinsights.v1.ReportDetail.Metrics

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportDetail.Metrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportDetail.Metrics.Builder
Overrides

build()

public ReportDetail.Metrics build()
Returns
Type Description
ReportDetail.Metrics

buildPartial()

public ReportDetail.Metrics buildPartial()
Returns
Type Description
ReportDetail.Metrics

clear()

public ReportDetail.Metrics.Builder clear()
Returns
Type Description
ReportDetail.Metrics.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReportDetail.Metrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReportDetail.Metrics.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportDetail.Metrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReportDetail.Metrics.Builder
Overrides

clearProcessedRecordsCount()

public ReportDetail.Metrics.Builder clearProcessedRecordsCount()

Count of Cloud Storage objects which are part of the report.

int64 processed_records_count = 1;

Returns
Type Description
ReportDetail.Metrics.Builder

This builder for chaining.

clone()

public ReportDetail.Metrics.Builder clone()
Returns
Type Description
ReportDetail.Metrics.Builder
Overrides

getDefaultInstanceForType()

public ReportDetail.Metrics getDefaultInstanceForType()
Returns
Type Description
ReportDetail.Metrics

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProcessedRecordsCount()

public long getProcessedRecordsCount()

Count of Cloud Storage objects which are part of the report.

int64 processed_records_count = 1;

Returns
Type Description
long

The processedRecordsCount.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportDetail.Metrics other)

public ReportDetail.Metrics.Builder mergeFrom(ReportDetail.Metrics other)
Parameter
Name Description
other ReportDetail.Metrics
Returns
Type Description
ReportDetail.Metrics.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportDetail.Metrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportDetail.Metrics.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReportDetail.Metrics.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReportDetail.Metrics.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportDetail.Metrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportDetail.Metrics.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ReportDetail.Metrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportDetail.Metrics.Builder
Overrides

setProcessedRecordsCount(long value)

public ReportDetail.Metrics.Builder setProcessedRecordsCount(long value)

Count of Cloud Storage objects which are part of the report.

int64 processed_records_count = 1;

Parameter
Name Description
value long

The processedRecordsCount to set.

Returns
Type Description
ReportDetail.Metrics.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReportDetail.Metrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReportDetail.Metrics.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportDetail.Metrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportDetail.Metrics.Builder
Overrides