public final class ReportResultsMetadata extends GeneratedMessageV3 implements ReportResultsMetadataOrBuilder
The features describing the data. Returned by
CloudChannelReportsService.RunReportJob and
CloudChannelReportsService.FetchReportResults.
Protobuf type google.cloud.channel.v1.ReportResultsMetadata
Static Fields
public static final int DATE_RANGE_FIELD_NUMBER
Field Value
public static final int PRECEDING_DATE_RANGE_FIELD_NUMBER
Field Value
public static final int REPORT_FIELD_NUMBER
Field Value
public static final int ROW_COUNT_FIELD_NUMBER
Field Value
Static Methods
public static ReportResultsMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ReportResultsMetadata.Builder newBuilder()
Returns
public static ReportResultsMetadata.Builder newBuilder(ReportResultsMetadata prototype)
Parameter
Returns
public static ReportResultsMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReportResultsMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReportResultsMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ReportResultsMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReportResultsMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ReportResultsMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReportResultsMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ReportResultsMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReportResultsMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReportResultsMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReportResultsMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ReportResultsMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ReportResultsMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public DateRange getDateRange()
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 Parser<ReportResultsMetadata> getParserForType()
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 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 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 int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ReportResultsMetadata.Builder newBuilderForType()
Returns
protected ReportResultsMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ReportResultsMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions