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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ReportResultsMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ReportResultsMetadata build()
Returns
public ReportResultsMetadata buildPartial()
Returns
public ReportResultsMetadata.Builder clear()
Returns
Overrides
public ReportResultsMetadata.Builder clearDateRange()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
Returns
public ReportResultsMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ReportResultsMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public ReportResultsMetadata.Builder clearReport()
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
Returns
public ReportResultsMetadata.Builder clearRowCount()
The total number of rows of data in the final report.
int64 row_count = 2;
Returns
public ReportResultsMetadata.Builder clone()
Returns
Overrides
public DateRange getDateRange()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
Returns
public DateRange.Builder getDateRangeBuilder()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
Returns
public DateRangeOrBuilder getDateRangeOrBuilder()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
Returns
public ReportResultsMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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
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
public Report getReport()
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
Returns
Type | Description |
Report | The report.
|
public Report.Builder getReportBuilder()
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
Returns
public ReportOrBuilder getReportOrBuilder()
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
Returns
public long getRowCount()
The total number of rows of data in the final report.
int64 row_count = 2;
Returns
Type | Description |
long | The rowCount.
|
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ReportResultsMetadata.Builder mergeDateRange(DateRange value)
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
Parameter
Returns
public ReportResultsMetadata.Builder mergeFrom(ReportResultsMetadata other)
Parameter
Returns
public ReportResultsMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ReportResultsMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
public ReportResultsMetadata.Builder mergeReport(Report value)
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
Parameter
Returns
public final ReportResultsMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ReportResultsMetadata.Builder setDateRange(DateRange value)
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
Parameter
Returns
public ReportResultsMetadata.Builder setDateRange(DateRange.Builder builderForValue)
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
Parameter
Returns
public ReportResultsMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
public ReportResultsMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public ReportResultsMetadata.Builder setReport(Report value)
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
Parameter
Returns
public ReportResultsMetadata.Builder setReport(Report.Builder builderForValue)
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
Parameter
Returns
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
public final ReportResultsMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides