Package com.google.cloud.channel.v1
Class ReportResultsMetadata
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.channel.v1.ReportResultsMetadata
-
- All Implemented Interfaces:
ReportResultsMetadataOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ReportResultsMetadata extends com.google.protobuf.GeneratedMessageV3 implements ReportResultsMetadataOrBuilder
The features describing the data. Returned by [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob] and [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults].
Protobuf typegoogle.cloud.channel.v1.ReportResultsMetadata- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReportResultsMetadata.BuilderThe features describing the data.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDATE_RANGE_FIELD_NUMBERstatic intPRECEDING_DATE_RANGE_FIELD_NUMBERstatic intREPORT_FIELD_NUMBERstatic intROW_COUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)DateRangegetDateRange()The date range of reported usage.DateRangeOrBuildergetDateRangeOrBuilder()The date range of reported usage.static ReportResultsMetadatagetDefaultInstance()ReportResultsMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<ReportResultsMetadata>getParserForType()DateRangegetPrecedingDateRange()The usage dates immediately preceding `date_range` with the same duration.DateRangeOrBuildergetPrecedingDateRangeOrBuilder()The usage dates immediately preceding `date_range` with the same duration.ReportgetReport()Details of the completed report.ReportOrBuildergetReportOrBuilder()Details of the completed report.longgetRowCount()The total number of rows of data in the final report.intgetSerializedSize()booleanhasDateRange()The date range of reported usage.inthashCode()booleanhasPrecedingDateRange()The usage dates immediately preceding `date_range` with the same duration.booleanhasReport()Details of the completed report.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ReportResultsMetadata.BuildernewBuilder()static ReportResultsMetadata.BuildernewBuilder(ReportResultsMetadata prototype)ReportResultsMetadata.BuildernewBuilderForType()protected ReportResultsMetadata.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ReportResultsMetadataparseDelimitedFrom(InputStream input)static ReportResultsMetadataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportResultsMetadataparseFrom(byte[] data)static ReportResultsMetadataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportResultsMetadataparseFrom(com.google.protobuf.ByteString data)static ReportResultsMetadataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportResultsMetadataparseFrom(com.google.protobuf.CodedInputStream input)static ReportResultsMetadataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportResultsMetadataparseFrom(InputStream input)static ReportResultsMetadataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReportResultsMetadataparseFrom(ByteBuffer data)static ReportResultsMetadataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ReportResultsMetadata>parser()ReportResultsMetadata.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
REPORT_FIELD_NUMBER
public static final int REPORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROW_COUNT_FIELD_NUMBER
public static final int ROW_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATE_RANGE_FIELD_NUMBER
public static final int DATE_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRECEDING_DATE_RANGE_FIELD_NUMBER
public static final int PRECEDING_DATE_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasReport
public boolean hasReport()
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;- Specified by:
hasReportin interfaceReportResultsMetadataOrBuilder- Returns:
- Whether the report field is set.
-
getReport
public Report getReport()
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;- Specified by:
getReportin interfaceReportResultsMetadataOrBuilder- Returns:
- The report.
-
getReportOrBuilder
public ReportOrBuilder getReportOrBuilder()
Details of the completed report.
.google.cloud.channel.v1.Report report = 1;- Specified by:
getReportOrBuilderin interfaceReportResultsMetadataOrBuilder
-
getRowCount
public long getRowCount()
The total number of rows of data in the final report.
int64 row_count = 2;- Specified by:
getRowCountin interfaceReportResultsMetadataOrBuilder- Returns:
- The rowCount.
-
hasDateRange
public boolean hasDateRange()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;- Specified by:
hasDateRangein interfaceReportResultsMetadataOrBuilder- Returns:
- Whether the dateRange field is set.
-
getDateRange
public DateRange getDateRange()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;- Specified by:
getDateRangein interfaceReportResultsMetadataOrBuilder- Returns:
- The dateRange.
-
getDateRangeOrBuilder
public DateRangeOrBuilder getDateRangeOrBuilder()
The date range of reported usage.
.google.cloud.channel.v1.DateRange date_range = 3;- Specified by:
getDateRangeOrBuilderin interfaceReportResultsMetadataOrBuilder
-
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;- Specified by:
hasPrecedingDateRangein interfaceReportResultsMetadataOrBuilder- Returns:
- Whether the precedingDateRange field is set.
-
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;- Specified by:
getPrecedingDateRangein interfaceReportResultsMetadataOrBuilder- Returns:
- 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;- Specified by:
getPrecedingDateRangeOrBuilderin interfaceReportResultsMetadataOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReportResultsMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportResultsMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportResultsMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportResultsMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportResultsMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportResultsMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReportResultsMetadata parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReportResultsMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReportResultsMetadata parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReportResultsMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ReportResultsMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReportResultsMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ReportResultsMetadata.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ReportResultsMetadata.Builder newBuilder()
-
newBuilder
public static ReportResultsMetadata.Builder newBuilder(ReportResultsMetadata prototype)
-
toBuilder
public ReportResultsMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReportResultsMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ReportResultsMetadata getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ReportResultsMetadata> parser()
-
getParserForType
public com.google.protobuf.Parser<ReportResultsMetadata> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ReportResultsMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-