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 |
---|
Type | Description |
int | |
AGGREGATION_INTERVAL_FIELD_NUMBER
public static final int AGGREGATION_INTERVAL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
AGGREGATION_LEVEL_FIELD_NUMBER
public static final int AGGREGATION_LEVEL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AggregationInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AggregationInfo.Builder newBuilder()
newBuilder(AggregationInfo prototype)
public static AggregationInfo.Builder newBuilder(AggregationInfo prototype)
public static AggregationInfo parseDelimitedFrom(InputStream input)
public static AggregationInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AggregationInfo parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AggregationInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AggregationInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AggregationInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AggregationInfo parseFrom(CodedInputStream input)
public static AggregationInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AggregationInfo parseFrom(InputStream input)
public static AggregationInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AggregationInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AggregationInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AggregationInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
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;
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()
getParserForType()
public Parser<AggregationInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AggregationInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AggregationInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AggregationInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides