Class ReportResultsMetadata.Builder (3.50.0)

public static final class ReportResultsMetadata.Builder extends GeneratedMessageV3.Builder<ReportResultsMetadata.Builder> implements ReportResultsMetadataOrBuilder

The features describing the data. Returned by CloudChannelReportsService.RunReportJob and CloudChannelReportsService.FetchReportResults.

Protobuf type google.cloud.channel.v1.ReportResultsMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportResultsMetadata build()
Returns
Type Description
ReportResultsMetadata

buildPartial()

public ReportResultsMetadata buildPartial()
Returns
Type Description
ReportResultsMetadata

clear()

public ReportResultsMetadata.Builder clear()
Returns
Type Description
ReportResultsMetadata.Builder
Overrides

clearDateRange()

public ReportResultsMetadata.Builder clearDateRange()

The date range of reported usage.

.google.cloud.channel.v1.DateRange date_range = 3;

Returns
Type Description
ReportResultsMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrecedingDateRange()

public ReportResultsMetadata.Builder clearPrecedingDateRange()

The usage dates immediately preceding date_range with the same duration. Use this to calculate trending usage and costs. This is only populated if you request trending data.

For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

.google.cloud.channel.v1.DateRange preceding_date_range = 4;

Returns
Type Description
ReportResultsMetadata.Builder

clearReport()

public ReportResultsMetadata.Builder clearReport()

Details of the completed report.

.google.cloud.channel.v1.Report report = 1;

Returns
Type Description
ReportResultsMetadata.Builder

clearRowCount()

public ReportResultsMetadata.Builder clearRowCount()

The total number of rows of data in the final report.

int64 row_count = 2;

Returns
Type Description
ReportResultsMetadata.Builder

This builder for chaining.

clone()

public ReportResultsMetadata.Builder clone()
Returns
Type Description
ReportResultsMetadata.Builder
Overrides

getDateRange()

public DateRange getDateRange()

The date range of reported usage.

.google.cloud.channel.v1.DateRange date_range = 3;

Returns
Type Description
DateRange

The dateRange.

getDateRangeBuilder()

public DateRange.Builder getDateRangeBuilder()

The date range of reported usage.

.google.cloud.channel.v1.DateRange date_range = 3;

Returns
Type Description
DateRange.Builder

getDateRangeOrBuilder()

public DateRangeOrBuilder getDateRangeOrBuilder()

The date range of reported usage.

.google.cloud.channel.v1.DateRange date_range = 3;

Returns
Type Description
DateRangeOrBuilder

getDefaultInstanceForType()

public ReportResultsMetadata getDefaultInstanceForType()
Returns
Type Description
ReportResultsMetadata

getDescriptorForType()

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

getPrecedingDateRange()

public DateRange getPrecedingDateRange()

The usage dates immediately preceding date_range with the same duration. Use this to calculate trending usage and costs. This is only populated if you request trending data.

For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

.google.cloud.channel.v1.DateRange preceding_date_range = 4;

Returns
Type Description
DateRange

The precedingDateRange.

getPrecedingDateRangeBuilder()

public DateRange.Builder getPrecedingDateRangeBuilder()

The usage dates immediately preceding date_range with the same duration. Use this to calculate trending usage and costs. This is only populated if you request trending data.

For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

.google.cloud.channel.v1.DateRange preceding_date_range = 4;

Returns
Type Description
DateRange.Builder

getPrecedingDateRangeOrBuilder()

public DateRangeOrBuilder getPrecedingDateRangeOrBuilder()

The usage dates immediately preceding date_range with the same duration. Use this to calculate trending usage and costs. This is only populated if you request trending data.

For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

.google.cloud.channel.v1.DateRange preceding_date_range = 4;

Returns
Type Description
DateRangeOrBuilder

getReport()

public Report getReport()

Details of the completed report.

.google.cloud.channel.v1.Report report = 1;

Returns
Type Description
Report

The report.

getReportBuilder()

public Report.Builder getReportBuilder()

Details of the completed report.

.google.cloud.channel.v1.Report report = 1;

Returns
Type Description
Report.Builder

getReportOrBuilder()

public ReportOrBuilder getReportOrBuilder()

Details of the completed report.

.google.cloud.channel.v1.Report report = 1;

Returns
Type Description
ReportOrBuilder

getRowCount()

public long getRowCount()

The total number of rows of data in the final report.

int64 row_count = 2;

Returns
Type Description
long

The rowCount.

hasDateRange()

public boolean hasDateRange()

The date range of reported usage.

.google.cloud.channel.v1.DateRange date_range = 3;

Returns
Type Description
boolean

Whether the dateRange field is set.

hasPrecedingDateRange()

public boolean hasPrecedingDateRange()

The usage dates immediately preceding date_range with the same duration. Use this to calculate trending usage and costs. This is only populated if you request trending data.

For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

.google.cloud.channel.v1.DateRange preceding_date_range = 4;

Returns
Type Description
boolean

Whether the precedingDateRange field is set.

hasReport()

public boolean hasReport()

Details of the completed report.

.google.cloud.channel.v1.Report report = 1;

Returns
Type Description
boolean

Whether the report field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDateRange(DateRange value)

public ReportResultsMetadata.Builder mergeDateRange(DateRange value)

The date range of reported usage.

.google.cloud.channel.v1.DateRange date_range = 3;

Parameter
Name Description
value DateRange
Returns
Type Description
ReportResultsMetadata.Builder

mergeFrom(ReportResultsMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePrecedingDateRange(DateRange value)

public ReportResultsMetadata.Builder mergePrecedingDateRange(DateRange value)

The usage dates immediately preceding date_range with the same duration. Use this to calculate trending usage and costs. This is only populated if you request trending data.

For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

.google.cloud.channel.v1.DateRange preceding_date_range = 4;

Parameter
Name Description
value DateRange
Returns
Type Description
ReportResultsMetadata.Builder

mergeReport(Report value)

public ReportResultsMetadata.Builder mergeReport(Report value)

Details of the completed report.

.google.cloud.channel.v1.Report report = 1;

Parameter
Name Description
value Report
Returns
Type Description
ReportResultsMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDateRange(DateRange value)

public ReportResultsMetadata.Builder setDateRange(DateRange value)

The date range of reported usage.

.google.cloud.channel.v1.DateRange date_range = 3;

Parameter
Name Description
value DateRange
Returns
Type Description
ReportResultsMetadata.Builder

setDateRange(DateRange.Builder builderForValue)

public ReportResultsMetadata.Builder setDateRange(DateRange.Builder builderForValue)

The date range of reported usage.

.google.cloud.channel.v1.DateRange date_range = 3;

Parameter
Name Description
builderForValue DateRange.Builder
Returns
Type Description
ReportResultsMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPrecedingDateRange(DateRange value)

public ReportResultsMetadata.Builder setPrecedingDateRange(DateRange value)

The usage dates immediately preceding date_range with the same duration. Use this to calculate trending usage and costs. This is only populated if you request trending data.

For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

.google.cloud.channel.v1.DateRange preceding_date_range = 4;

Parameter
Name Description
value DateRange
Returns
Type Description
ReportResultsMetadata.Builder

setPrecedingDateRange(DateRange.Builder builderForValue)

public ReportResultsMetadata.Builder setPrecedingDateRange(DateRange.Builder builderForValue)

The usage dates immediately preceding date_range with the same duration. Use this to calculate trending usage and costs. This is only populated if you request trending data.

For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

.google.cloud.channel.v1.DateRange preceding_date_range = 4;

Parameter
Name Description
builderForValue DateRange.Builder
Returns
Type Description
ReportResultsMetadata.Builder

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

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

setReport(Report value)

public ReportResultsMetadata.Builder setReport(Report value)

Details of the completed report.

.google.cloud.channel.v1.Report report = 1;

Parameter
Name Description
value Report
Returns
Type Description
ReportResultsMetadata.Builder

setReport(Report.Builder builderForValue)

public ReportResultsMetadata.Builder setReport(Report.Builder builderForValue)

Details of the completed report.

.google.cloud.channel.v1.Report report = 1;

Parameter
Name Description
builderForValue Report.Builder
Returns
Type Description
ReportResultsMetadata.Builder

setRowCount(long value)

public ReportResultsMetadata.Builder setRowCount(long value)

The total number of rows of data in the final report.

int64 row_count = 2;

Parameter
Name Description
value long

The rowCount to set.

Returns
Type Description
ReportResultsMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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