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 CategoryOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.billing.v1.Category) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The display name of the service this SKU belongs to. 31 * </pre> 32 * 33 * <code>string service_display_name = 1;</code> 34 * 35 * @return The serviceDisplayName. 36 */ getServiceDisplayName()37 java.lang.String getServiceDisplayName(); 38 /** 39 * 40 * 41 * <pre> 42 * The display name of the service this SKU belongs to. 43 * </pre> 44 * 45 * <code>string service_display_name = 1;</code> 46 * 47 * @return The bytes for serviceDisplayName. 48 */ getServiceDisplayNameBytes()49 com.google.protobuf.ByteString getServiceDisplayNameBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * The type of product the SKU refers to. 56 * Example: "Compute", "Storage", "Network", "ApplicationServices" etc. 57 * </pre> 58 * 59 * <code>string resource_family = 2;</code> 60 * 61 * @return The resourceFamily. 62 */ getResourceFamily()63 java.lang.String getResourceFamily(); 64 /** 65 * 66 * 67 * <pre> 68 * The type of product the SKU refers to. 69 * Example: "Compute", "Storage", "Network", "ApplicationServices" etc. 70 * </pre> 71 * 72 * <code>string resource_family = 2;</code> 73 * 74 * @return The bytes for resourceFamily. 75 */ getResourceFamilyBytes()76 com.google.protobuf.ByteString getResourceFamilyBytes(); 77 78 /** 79 * 80 * 81 * <pre> 82 * A group classification for related SKUs. 83 * Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc. 84 * </pre> 85 * 86 * <code>string resource_group = 3;</code> 87 * 88 * @return The resourceGroup. 89 */ getResourceGroup()90 java.lang.String getResourceGroup(); 91 /** 92 * 93 * 94 * <pre> 95 * A group classification for related SKUs. 96 * Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc. 97 * </pre> 98 * 99 * <code>string resource_group = 3;</code> 100 * 101 * @return The bytes for resourceGroup. 102 */ getResourceGroupBytes()103 com.google.protobuf.ByteString getResourceGroupBytes(); 104 105 /** 106 * 107 * 108 * <pre> 109 * Represents how the SKU is consumed. 110 * Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc. 111 * </pre> 112 * 113 * <code>string usage_type = 4;</code> 114 * 115 * @return The usageType. 116 */ getUsageType()117 java.lang.String getUsageType(); 118 /** 119 * 120 * 121 * <pre> 122 * Represents how the SKU is consumed. 123 * Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc. 124 * </pre> 125 * 126 * <code>string usage_type = 4;</code> 127 * 128 * @return The bytes for usageType. 129 */ getUsageTypeBytes()130 com.google.protobuf.ByteString getUsageTypeBytes(); 131 } 132