public final class AggregationInfo extends GeneratedMessageV3 implements AggregationInfoOrBuilder
Represents the aggregation level and interval for pricing of a single SKU.
Protobuf type google.cloud.billing.v1.AggregationInfo
Static Fields
AGGREGATION_COUNT_FIELD_NUMBER
public static final int AGGREGATION_COUNT_FIELD_NUMBER
Field Value
AGGREGATION_INTERVAL_FIELD_NUMBER
public static final int AGGREGATION_INTERVAL_FIELD_NUMBER
Field Value
AGGREGATION_LEVEL_FIELD_NUMBER
public static final int AGGREGATION_LEVEL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AggregationInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AggregationInfo.Builder newBuilder()
Returns
newBuilder(AggregationInfo prototype)
public static AggregationInfo.Builder newBuilder(AggregationInfo prototype)
Parameter
Returns
public static AggregationInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AggregationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AggregationInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AggregationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AggregationInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AggregationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AggregationInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AggregationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AggregationInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AggregationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AggregationInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AggregationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AggregationInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAggregationCount()
public int getAggregationCount()
The number of intervals to aggregate over.
Example: If aggregation_level is "DAILY" and aggregation_count is 14,
aggregation will be over 14 days.
int32 aggregation_count = 3;
Returns
Type | Description |
int | The aggregationCount.
|
getAggregationInterval()
public AggregationInfo.AggregationInterval getAggregationInterval()
.google.cloud.billing.v1.AggregationInfo.AggregationInterval aggregation_interval = 2;
Returns
getAggregationIntervalValue()
public int getAggregationIntervalValue()
.google.cloud.billing.v1.AggregationInfo.AggregationInterval aggregation_interval = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for aggregationInterval.
|
getAggregationLevel()
public AggregationInfo.AggregationLevel getAggregationLevel()
.google.cloud.billing.v1.AggregationInfo.AggregationLevel aggregation_level = 1;
Returns
getAggregationLevelValue()
public int getAggregationLevelValue()
.google.cloud.billing.v1.AggregationInfo.AggregationLevel aggregation_level = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for aggregationLevel.
|
getDefaultInstanceForType()
public AggregationInfo getDefaultInstanceForType()
Returns
getParserForType()
public Parser<AggregationInfo> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AggregationInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AggregationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AggregationInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions