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/entitlements.proto 18 19 package com.google.cloud.channel.v1; 20 21 public interface ParameterOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Parameter) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Name of the parameter. 31 * </pre> 32 * 33 * <code>string name = 1;</code> 34 * 35 * @return The name. 36 */ getName()37 java.lang.String getName(); 38 /** 39 * 40 * 41 * <pre> 42 * Name of the parameter. 43 * </pre> 44 * 45 * <code>string name = 1;</code> 46 * 47 * @return The bytes for name. 48 */ getNameBytes()49 com.google.protobuf.ByteString getNameBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Value of the parameter. 56 * </pre> 57 * 58 * <code>.google.cloud.channel.v1.Value value = 2;</code> 59 * 60 * @return Whether the value field is set. 61 */ hasValue()62 boolean hasValue(); 63 /** 64 * 65 * 66 * <pre> 67 * Value of the parameter. 68 * </pre> 69 * 70 * <code>.google.cloud.channel.v1.Value value = 2;</code> 71 * 72 * @return The value. 73 */ getValue()74 com.google.cloud.channel.v1.Value getValue(); 75 /** 76 * 77 * 78 * <pre> 79 * Value of the parameter. 80 * </pre> 81 * 82 * <code>.google.cloud.channel.v1.Value value = 2;</code> 83 */ getValueOrBuilder()84 com.google.cloud.channel.v1.ValueOrBuilder getValueOrBuilder(); 85 86 /** 87 * 88 * 89 * <pre> 90 * Output only. Specifies whether this parameter is allowed to be changed. For 91 * example, for a Google Workspace Business Starter entitlement in commitment 92 * plan, num_units is editable when entitlement is active. 93 * </pre> 94 * 95 * <code>bool editable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> 96 * 97 * @return The editable. 98 */ getEditable()99 boolean getEditable(); 100 } 101