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()
Methods
public ReportResultsMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ReportResultsMetadata build()
public ReportResultsMetadata buildPartial()
public ReportResultsMetadata.Builder clear()
Overrides
public ReportResultsMetadata.Builder clearDateRange()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
public ReportResultsMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ReportResultsMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
public ReportResultsMetadata.Builder clearReport()
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
public ReportResultsMetadata.Builder clearRowCount()
The total number of rows of data in the final report.
int64 row_count = 2;
public ReportResultsMetadata.Builder clone()
Overrides
public DateRange getDateRange()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
Returns |
---|
Type | Description |
DateRange | The dateRange.
|
public DateRange.Builder getDateRangeBuilder()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
public DateRangeOrBuilder getDateRangeOrBuilder()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
public ReportResultsMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
public ReportOrBuilder getReportOrBuilder()
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
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()
Overrides
public final boolean isInitialized()
Overrides
public ReportResultsMetadata.Builder mergeDateRange(DateRange value)
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
public ReportResultsMetadata.Builder mergeFrom(ReportResultsMetadata other)
public ReportResultsMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ReportResultsMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
public ReportResultsMetadata.Builder mergeReport(Report value)
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
Parameter |
---|
Name | Description |
value | Report
|
public final ReportResultsMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ReportResultsMetadata.Builder setDateRange(DateRange value)
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
public ReportResultsMetadata.Builder setDateRange(DateRange.Builder builderForValue)
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
public ReportResultsMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
public ReportResultsMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public ReportResultsMetadata.Builder setReport(Report value)
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
Parameter |
---|
Name | Description |
value | Report
|
public ReportResultsMetadata.Builder setReport(Report.Builder builderForValue)
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;
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.
|
public final ReportResultsMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides