Send feedback
Class ReportResultsMetadata (3.20.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.20.0 keyboard_arrow_down
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 Type Description int
public static final int PRECEDING_DATE_RANGE_FIELD_NUMBER
Field Value Type Description int
public static final int REPORT_FIELD_NUMBER
Field Value Type Description int
public static final int ROW_COUNT_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static ReportResultsMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ReportResultsMetadata . Builder newBuilder ()
public static ReportResultsMetadata . Builder newBuilder ( ReportResultsMetadata prototype )
public static ReportResultsMetadata parseDelimitedFrom ( InputStream input )
public static ReportResultsMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ReportResultsMetadata parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static ReportResultsMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ReportResultsMetadata parseFrom ( ByteString data )
public static ReportResultsMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ReportResultsMetadata parseFrom ( CodedInputStream input )
public static ReportResultsMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ReportResultsMetadata parseFrom ( InputStream input )
public static ReportResultsMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ReportResultsMetadata parseFrom ( ByteBuffer data )
public static ReportResultsMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ReportResultsMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
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 DateRangeOrBuilder getDateRangeOrBuilder ()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;
public ReportResultsMetadata getDefaultInstanceForType ()
public Parser<ReportResultsMetadata> getParserForType ()
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;
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;
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 Type Description int
Overrides
public final UnknownFieldSet getUnknownFields ()
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 Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ReportResultsMetadata . Builder newBuilderForType ()
protected ReportResultsMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public ReportResultsMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]