• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/common.proto
18 
19 package com.google.cloud.channel.v1;
20 
21 public interface ValueOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Value)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Represents an int64 value.
31    * </pre>
32    *
33    * <code>int64 int64_value = 1;</code>
34    *
35    * @return Whether the int64Value field is set.
36    */
hasInt64Value()37   boolean hasInt64Value();
38   /**
39    *
40    *
41    * <pre>
42    * Represents an int64 value.
43    * </pre>
44    *
45    * <code>int64 int64_value = 1;</code>
46    *
47    * @return The int64Value.
48    */
getInt64Value()49   long getInt64Value();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Represents a string value.
56    * </pre>
57    *
58    * <code>string string_value = 2;</code>
59    *
60    * @return Whether the stringValue field is set.
61    */
hasStringValue()62   boolean hasStringValue();
63   /**
64    *
65    *
66    * <pre>
67    * Represents a string value.
68    * </pre>
69    *
70    * <code>string string_value = 2;</code>
71    *
72    * @return The stringValue.
73    */
getStringValue()74   java.lang.String getStringValue();
75   /**
76    *
77    *
78    * <pre>
79    * Represents a string value.
80    * </pre>
81    *
82    * <code>string string_value = 2;</code>
83    *
84    * @return The bytes for stringValue.
85    */
getStringValueBytes()86   com.google.protobuf.ByteString getStringValueBytes();
87 
88   /**
89    *
90    *
91    * <pre>
92    * Represents a double value.
93    * </pre>
94    *
95    * <code>double double_value = 3;</code>
96    *
97    * @return Whether the doubleValue field is set.
98    */
hasDoubleValue()99   boolean hasDoubleValue();
100   /**
101    *
102    *
103    * <pre>
104    * Represents a double value.
105    * </pre>
106    *
107    * <code>double double_value = 3;</code>
108    *
109    * @return The doubleValue.
110    */
getDoubleValue()111   double getDoubleValue();
112 
113   /**
114    *
115    *
116    * <pre>
117    * Represents an 'Any' proto value.
118    * </pre>
119    *
120    * <code>.google.protobuf.Any proto_value = 4;</code>
121    *
122    * @return Whether the protoValue field is set.
123    */
hasProtoValue()124   boolean hasProtoValue();
125   /**
126    *
127    *
128    * <pre>
129    * Represents an 'Any' proto value.
130    * </pre>
131    *
132    * <code>.google.protobuf.Any proto_value = 4;</code>
133    *
134    * @return The protoValue.
135    */
getProtoValue()136   com.google.protobuf.Any getProtoValue();
137   /**
138    *
139    *
140    * <pre>
141    * Represents an 'Any' proto value.
142    * </pre>
143    *
144    * <code>.google.protobuf.Any proto_value = 4;</code>
145    */
getProtoValueOrBuilder()146   com.google.protobuf.AnyOrBuilder getProtoValueOrBuilder();
147 
148   /**
149    *
150    *
151    * <pre>
152    * Represents a boolean value.
153    * </pre>
154    *
155    * <code>bool bool_value = 5;</code>
156    *
157    * @return Whether the boolValue field is set.
158    */
hasBoolValue()159   boolean hasBoolValue();
160   /**
161    *
162    *
163    * <pre>
164    * Represents a boolean value.
165    * </pre>
166    *
167    * <code>bool bool_value = 5;</code>
168    *
169    * @return The boolValue.
170    */
getBoolValue()171   boolean getBoolValue();
172 
getKindCase()173   public com.google.cloud.channel.v1.Value.KindCase getKindCase();
174 }
175