1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/billing/v1/cloud_catalog.proto 18 19 package com.google.cloud.billing.v1; 20 21 public interface AggregationInfoOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.billing.v1.AggregationInfo) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * <code>.google.cloud.billing.v1.AggregationInfo.AggregationLevel aggregation_level = 1;</code> 28 * 29 * @return The enum numeric value on the wire for aggregationLevel. 30 */ getAggregationLevelValue()31 int getAggregationLevelValue(); 32 /** 33 * <code>.google.cloud.billing.v1.AggregationInfo.AggregationLevel aggregation_level = 1;</code> 34 * 35 * @return The aggregationLevel. 36 */ getAggregationLevel()37 com.google.cloud.billing.v1.AggregationInfo.AggregationLevel getAggregationLevel(); 38 39 /** 40 * <code>.google.cloud.billing.v1.AggregationInfo.AggregationInterval aggregation_interval = 2; 41 * </code> 42 * 43 * @return The enum numeric value on the wire for aggregationInterval. 44 */ getAggregationIntervalValue()45 int getAggregationIntervalValue(); 46 /** 47 * <code>.google.cloud.billing.v1.AggregationInfo.AggregationInterval aggregation_interval = 2; 48 * </code> 49 * 50 * @return The aggregationInterval. 51 */ getAggregationInterval()52 com.google.cloud.billing.v1.AggregationInfo.AggregationInterval getAggregationInterval(); 53 54 /** 55 * 56 * 57 * <pre> 58 * The number of intervals to aggregate over. 59 * Example: If aggregation_level is "DAILY" and aggregation_count is 14, 60 * aggregation will be over 14 days. 61 * </pre> 62 * 63 * <code>int32 aggregation_count = 3;</code> 64 * 65 * @return The aggregationCount. 66 */ getAggregationCount()67 int getAggregationCount(); 68 } 69