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 InstanceParamsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceParams)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT &amp; PATCH) when empty.
31    * </pre>
32    *
33    * <code>map&lt;string, string&gt; resource_manager_tags = 377671164;</code>
34    */
getResourceManagerTagsCount()35   int getResourceManagerTagsCount();
36   /**
37    *
38    *
39    * <pre>
40    * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT &amp; PATCH) when empty.
41    * </pre>
42    *
43    * <code>map&lt;string, string&gt; resource_manager_tags = 377671164;</code>
44    */
containsResourceManagerTags(java.lang.String key)45   boolean containsResourceManagerTags(java.lang.String key);
46   /** Use {@link #getResourceManagerTagsMap()} instead. */
47   @java.lang.Deprecated
getResourceManagerTags()48   java.util.Map<java.lang.String, java.lang.String> getResourceManagerTags();
49   /**
50    *
51    *
52    * <pre>
53    * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT &amp; PATCH) when empty.
54    * </pre>
55    *
56    * <code>map&lt;string, string&gt; resource_manager_tags = 377671164;</code>
57    */
getResourceManagerTagsMap()58   java.util.Map<java.lang.String, java.lang.String> getResourceManagerTagsMap();
59   /**
60    *
61    *
62    * <pre>
63    * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT &amp; PATCH) when empty.
64    * </pre>
65    *
66    * <code>map&lt;string, string&gt; resource_manager_tags = 377671164;</code>
67    */
68   /* nullable */
getResourceManagerTagsOrDefault( java.lang.String key, java.lang.String defaultValue)69   java.lang.String getResourceManagerTagsOrDefault(
70       java.lang.String key,
71       /* nullable */
72       java.lang.String defaultValue);
73   /**
74    *
75    *
76    * <pre>
77    * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT &amp; PATCH) when empty.
78    * </pre>
79    *
80    * <code>map&lt;string, string&gt; resource_manager_tags = 377671164;</code>
81    */
getResourceManagerTagsOrThrow(java.lang.String key)82   java.lang.String getResourceManagerTagsOrThrow(java.lang.String key);
83 }
84