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 SkuOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.billing.v1.Sku) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The resource name for the SKU. 31 * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE" 32 * </pre> 33 * 34 * <code>string name = 1;</code> 35 * 36 * @return The name. 37 */ getName()38 java.lang.String getName(); 39 /** 40 * 41 * 42 * <pre> 43 * The resource name for the SKU. 44 * Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE" 45 * </pre> 46 * 47 * <code>string name = 1;</code> 48 * 49 * @return The bytes for name. 50 */ getNameBytes()51 com.google.protobuf.ByteString getNameBytes(); 52 53 /** 54 * 55 * 56 * <pre> 57 * The identifier for the SKU. 58 * Example: "AA95-CD31-42FE" 59 * </pre> 60 * 61 * <code>string sku_id = 2;</code> 62 * 63 * @return The skuId. 64 */ getSkuId()65 java.lang.String getSkuId(); 66 /** 67 * 68 * 69 * <pre> 70 * The identifier for the SKU. 71 * Example: "AA95-CD31-42FE" 72 * </pre> 73 * 74 * <code>string sku_id = 2;</code> 75 * 76 * @return The bytes for skuId. 77 */ getSkuIdBytes()78 com.google.protobuf.ByteString getSkuIdBytes(); 79 80 /** 81 * 82 * 83 * <pre> 84 * A human readable description of the SKU, has a maximum length of 256 85 * characters. 86 * </pre> 87 * 88 * <code>string description = 3;</code> 89 * 90 * @return The description. 91 */ getDescription()92 java.lang.String getDescription(); 93 /** 94 * 95 * 96 * <pre> 97 * A human readable description of the SKU, has a maximum length of 256 98 * characters. 99 * </pre> 100 * 101 * <code>string description = 3;</code> 102 * 103 * @return The bytes for description. 104 */ getDescriptionBytes()105 com.google.protobuf.ByteString getDescriptionBytes(); 106 107 /** 108 * 109 * 110 * <pre> 111 * The category hierarchy of this SKU, purely for organizational purpose. 112 * </pre> 113 * 114 * <code>.google.cloud.billing.v1.Category category = 4;</code> 115 * 116 * @return Whether the category field is set. 117 */ hasCategory()118 boolean hasCategory(); 119 /** 120 * 121 * 122 * <pre> 123 * The category hierarchy of this SKU, purely for organizational purpose. 124 * </pre> 125 * 126 * <code>.google.cloud.billing.v1.Category category = 4;</code> 127 * 128 * @return The category. 129 */ getCategory()130 com.google.cloud.billing.v1.Category getCategory(); 131 /** 132 * 133 * 134 * <pre> 135 * The category hierarchy of this SKU, purely for organizational purpose. 136 * </pre> 137 * 138 * <code>.google.cloud.billing.v1.Category category = 4;</code> 139 */ getCategoryOrBuilder()140 com.google.cloud.billing.v1.CategoryOrBuilder getCategoryOrBuilder(); 141 142 /** 143 * 144 * 145 * <pre> 146 * List of service regions this SKU is offered at. 147 * Example: "asia-east1" 148 * Service regions can be found at https://cloud.google.com/about/locations/ 149 * </pre> 150 * 151 * <code>repeated string service_regions = 5;</code> 152 * 153 * @return A list containing the serviceRegions. 154 */ getServiceRegionsList()155 java.util.List<java.lang.String> getServiceRegionsList(); 156 /** 157 * 158 * 159 * <pre> 160 * List of service regions this SKU is offered at. 161 * Example: "asia-east1" 162 * Service regions can be found at https://cloud.google.com/about/locations/ 163 * </pre> 164 * 165 * <code>repeated string service_regions = 5;</code> 166 * 167 * @return The count of serviceRegions. 168 */ getServiceRegionsCount()169 int getServiceRegionsCount(); 170 /** 171 * 172 * 173 * <pre> 174 * List of service regions this SKU is offered at. 175 * Example: "asia-east1" 176 * Service regions can be found at https://cloud.google.com/about/locations/ 177 * </pre> 178 * 179 * <code>repeated string service_regions = 5;</code> 180 * 181 * @param index The index of the element to return. 182 * @return The serviceRegions at the given index. 183 */ getServiceRegions(int index)184 java.lang.String getServiceRegions(int index); 185 /** 186 * 187 * 188 * <pre> 189 * List of service regions this SKU is offered at. 190 * Example: "asia-east1" 191 * Service regions can be found at https://cloud.google.com/about/locations/ 192 * </pre> 193 * 194 * <code>repeated string service_regions = 5;</code> 195 * 196 * @param index The index of the value to return. 197 * @return The bytes of the serviceRegions at the given index. 198 */ getServiceRegionsBytes(int index)199 com.google.protobuf.ByteString getServiceRegionsBytes(int index); 200 201 /** 202 * 203 * 204 * <pre> 205 * A timeline of pricing info for this SKU in chronological order. 206 * </pre> 207 * 208 * <code>repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;</code> 209 */ getPricingInfoList()210 java.util.List<com.google.cloud.billing.v1.PricingInfo> getPricingInfoList(); 211 /** 212 * 213 * 214 * <pre> 215 * A timeline of pricing info for this SKU in chronological order. 216 * </pre> 217 * 218 * <code>repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;</code> 219 */ getPricingInfo(int index)220 com.google.cloud.billing.v1.PricingInfo getPricingInfo(int index); 221 /** 222 * 223 * 224 * <pre> 225 * A timeline of pricing info for this SKU in chronological order. 226 * </pre> 227 * 228 * <code>repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;</code> 229 */ getPricingInfoCount()230 int getPricingInfoCount(); 231 /** 232 * 233 * 234 * <pre> 235 * A timeline of pricing info for this SKU in chronological order. 236 * </pre> 237 * 238 * <code>repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;</code> 239 */ 240 java.util.List<? extends com.google.cloud.billing.v1.PricingInfoOrBuilder> getPricingInfoOrBuilderList()241 getPricingInfoOrBuilderList(); 242 /** 243 * 244 * 245 * <pre> 246 * A timeline of pricing info for this SKU in chronological order. 247 * </pre> 248 * 249 * <code>repeated .google.cloud.billing.v1.PricingInfo pricing_info = 6;</code> 250 */ getPricingInfoOrBuilder(int index)251 com.google.cloud.billing.v1.PricingInfoOrBuilder getPricingInfoOrBuilder(int index); 252 253 /** 254 * 255 * 256 * <pre> 257 * Identifies the service provider. 258 * This is 'Google' for first party services in Google Cloud Platform. 259 * </pre> 260 * 261 * <code>string service_provider_name = 7;</code> 262 * 263 * @return The serviceProviderName. 264 */ getServiceProviderName()265 java.lang.String getServiceProviderName(); 266 /** 267 * 268 * 269 * <pre> 270 * Identifies the service provider. 271 * This is 'Google' for first party services in Google Cloud Platform. 272 * </pre> 273 * 274 * <code>string service_provider_name = 7;</code> 275 * 276 * @return The bytes for serviceProviderName. 277 */ getServiceProviderNameBytes()278 com.google.protobuf.ByteString getServiceProviderNameBytes(); 279 280 /** 281 * 282 * 283 * <pre> 284 * The geographic taxonomy for this sku. 285 * </pre> 286 * 287 * <code>.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;</code> 288 * 289 * @return Whether the geoTaxonomy field is set. 290 */ hasGeoTaxonomy()291 boolean hasGeoTaxonomy(); 292 /** 293 * 294 * 295 * <pre> 296 * The geographic taxonomy for this sku. 297 * </pre> 298 * 299 * <code>.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;</code> 300 * 301 * @return The geoTaxonomy. 302 */ getGeoTaxonomy()303 com.google.cloud.billing.v1.GeoTaxonomy getGeoTaxonomy(); 304 /** 305 * 306 * 307 * <pre> 308 * The geographic taxonomy for this sku. 309 * </pre> 310 * 311 * <code>.google.cloud.billing.v1.GeoTaxonomy geo_taxonomy = 8;</code> 312 */ getGeoTaxonomyOrBuilder()313 com.google.cloud.billing.v1.GeoTaxonomyOrBuilder getGeoTaxonomyOrBuilder(); 314 } 315