• 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/compute/v1/compute.proto
18 
19 package com.google.cloud.compute.v1;
20 
21 public interface DataOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Data)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
31    * </pre>
32    *
33    * <code>optional string key = 106079;</code>
34    *
35    * @return Whether the key field is set.
36    */
hasKey()37   boolean hasKey();
38   /**
39    *
40    *
41    * <pre>
42    * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
43    * </pre>
44    *
45    * <code>optional string key = 106079;</code>
46    *
47    * @return The key.
48    */
getKey()49   java.lang.String getKey();
50   /**
51    *
52    *
53    * <pre>
54    * [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
55    * </pre>
56    *
57    * <code>optional string key = 106079;</code>
58    *
59    * @return The bytes for key.
60    */
getKeyBytes()61   com.google.protobuf.ByteString getKeyBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * [Output Only] A warning data value corresponding to the key.
68    * </pre>
69    *
70    * <code>optional string value = 111972721;</code>
71    *
72    * @return Whether the value field is set.
73    */
hasValue()74   boolean hasValue();
75   /**
76    *
77    *
78    * <pre>
79    * [Output Only] A warning data value corresponding to the key.
80    * </pre>
81    *
82    * <code>optional string value = 111972721;</code>
83    *
84    * @return The value.
85    */
getValue()86   java.lang.String getValue();
87   /**
88    *
89    *
90    * <pre>
91    * [Output Only] A warning data value corresponding to the key.
92    * </pre>
93    *
94    * <code>optional string value = 111972721;</code>
95    *
96    * @return The bytes for value.
97    */
getValueBytes()98   com.google.protobuf.ByteString getValueBytes();
99 }
100