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/channel/v1/products.proto 18 19 package com.google.cloud.channel.v1; 20 21 public interface SkuOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Sku) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Resource Name of the SKU. 31 * Format: products/{product_id}/skus/{sku_id} 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 * Resource Name of the SKU. 44 * Format: products/{product_id}/skus/{sku_id} 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 * Marketing information for the SKU. 58 * </pre> 59 * 60 * <code>.google.cloud.channel.v1.MarketingInfo marketing_info = 2;</code> 61 * 62 * @return Whether the marketingInfo field is set. 63 */ hasMarketingInfo()64 boolean hasMarketingInfo(); 65 /** 66 * 67 * 68 * <pre> 69 * Marketing information for the SKU. 70 * </pre> 71 * 72 * <code>.google.cloud.channel.v1.MarketingInfo marketing_info = 2;</code> 73 * 74 * @return The marketingInfo. 75 */ getMarketingInfo()76 com.google.cloud.channel.v1.MarketingInfo getMarketingInfo(); 77 /** 78 * 79 * 80 * <pre> 81 * Marketing information for the SKU. 82 * </pre> 83 * 84 * <code>.google.cloud.channel.v1.MarketingInfo marketing_info = 2;</code> 85 */ getMarketingInfoOrBuilder()86 com.google.cloud.channel.v1.MarketingInfoOrBuilder getMarketingInfoOrBuilder(); 87 88 /** 89 * 90 * 91 * <pre> 92 * Product the SKU is associated with. 93 * </pre> 94 * 95 * <code>.google.cloud.channel.v1.Product product = 3;</code> 96 * 97 * @return Whether the product field is set. 98 */ hasProduct()99 boolean hasProduct(); 100 /** 101 * 102 * 103 * <pre> 104 * Product the SKU is associated with. 105 * </pre> 106 * 107 * <code>.google.cloud.channel.v1.Product product = 3;</code> 108 * 109 * @return The product. 110 */ getProduct()111 com.google.cloud.channel.v1.Product getProduct(); 112 /** 113 * 114 * 115 * <pre> 116 * Product the SKU is associated with. 117 * </pre> 118 * 119 * <code>.google.cloud.channel.v1.Product product = 3;</code> 120 */ getProductOrBuilder()121 com.google.cloud.channel.v1.ProductOrBuilder getProductOrBuilder(); 122 } 123