Class ReportResultsMetadata (3.19.0)

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

DATE_RANGE_FIELD_NUMBER

public static final int DATE_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

PRECEDING_DATE_RANGE_FIELD_NUMBER

public static final int PRECEDING_DATE_RANGE_FIELD_NUMBER
Field Value
TypeDescription
int

REPORT_FIELD_NUMBER

public static final int REPORT_FIELD_NUMBER
Field Value
TypeDescription
int

ROW_COUNT_FIELD_NUMBER

public static final int ROW_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReportResultsMetadata getDefaultInstance()
Returns
TypeDescription
ReportResultsMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReportResultsMetadata.Builder newBuilder()
Returns
TypeDescription
ReportResultsMetadata.Builder

newBuilder(ReportResultsMetadata prototype)

public static ReportResultsMetadata.Builder newBuilder(ReportResultsMetadata prototype)
Parameter
NameDescription
prototypeReportResultsMetadata
Returns
TypeDescription
ReportResultsMetadata.Builder

parseDelimitedFrom(InputStream input)

public static ReportResultsMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportResultsMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReportResultsMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReportResultsMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReportResultsMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportResultsMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportResultsMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportResultsMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReportResultsMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportResultsMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReportResultsMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportResultsMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportResultsMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReportResultsMetadata> parser()
Returns
TypeDescription
Parser<ReportResultsMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDateRange()

public DateRange getDateRange()

The date range of reported usage.

.google.cloud.channel.v1.DateRange date_range = 3;

Returns
TypeDescription
DateRange

The dateRange.

getDateRangeOrBuilder()

public DateRangeOrBuilder getDateRangeOrBuilder()

The date range of reported usage.

.google.cloud.channel.v1.DateRange date_range = 3;

Returns
TypeDescription
DateRangeOrBuilder

getDefaultInstanceForType()

public ReportResultsMetadata getDefaultInstanceForType()
Returns
TypeDescription
ReportResultsMetadata

getParserForType()

public Parser<ReportResultsMetadata> getParserForType()
Returns
TypeDescription
Parser<ReportResultsMetadata>
Overrides

getPrecedingDateRange()

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
TypeDescription
DateRange

The precedingDateRange.

getPrecedingDateRangeOrBuilder()

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
TypeDescription
DateRangeOrBuilder

getReport()

public Report getReport()

Details of the completed report.

.google.cloud.channel.v1.Report report = 1;

Returns
TypeDescription
Report

The report.

getReportOrBuilder()

public ReportOrBuilder getReportOrBuilder()

Details of the completed report.

.google.cloud.channel.v1.Report report = 1;

Returns
TypeDescription
ReportOrBuilder

getRowCount()

public long getRowCount()

The total number of rows of data in the final report.

int64 row_count = 2;

Returns
TypeDescription
long

The rowCount.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDateRange()

public boolean hasDateRange()

The date range of reported usage.

.google.cloud.channel.v1.DateRange date_range = 3;

Returns
TypeDescription
boolean

Whether the dateRange field is set.

hasPrecedingDateRange()

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
TypeDescription
boolean

Whether the precedingDateRange field is set.

hasReport()

public boolean hasReport()

Details of the completed report.

.google.cloud.channel.v1.Report report = 1;

Returns
TypeDescription
boolean

Whether the report field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReportResultsMetadata.Builder newBuilderForType()
Returns
TypeDescription
ReportResultsMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportResultsMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReportResultsMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReportResultsMetadata.Builder toBuilder()
Returns
TypeDescription
ReportResultsMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException