public static final class ReportResultsMetadata.Builder extends GeneratedMessage.Builder<ReportResultsMetadata.Builder> implements ReportResultsMetadataOrBuilderThe features describing the data. Returned by CloudChannelReportsService.RunReportJob and CloudChannelReportsService.FetchReportResults.
Protobuf type google.cloud.channel.v1.ReportResultsMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReportResultsMetadata.BuilderImplements
ReportResultsMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearDateRange()
public ReportResultsMetadata.Builder clearDateRange()The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
| Returns | |
|---|---|
| Type | Description |
ReportResultsMetadata.Builder |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReportResultsMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReportResultsMetadata.Builder |
|
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 |
|
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 |
|
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 |
|
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 |
longThe rowCount to set. |
| Returns | |
|---|---|
| Type | Description |
ReportResultsMetadata.Builder |
This builder for chaining. |