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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 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