• 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 PerInstanceConfigOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PerInstanceConfig)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
31    * </pre>
32    *
33    * <code>optional string fingerprint = 234678500;</code>
34    *
35    * @return Whether the fingerprint field is set.
36    */
hasFingerprint()37   boolean hasFingerprint();
38   /**
39    *
40    *
41    * <pre>
42    * Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
43    * </pre>
44    *
45    * <code>optional string fingerprint = 234678500;</code>
46    *
47    * @return The fingerprint.
48    */
getFingerprint()49   java.lang.String getFingerprint();
50   /**
51    *
52    *
53    * <pre>
54    * Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.
55    * </pre>
56    *
57    * <code>optional string fingerprint = 234678500;</code>
58    *
59    * @return The bytes for fingerprint.
60    */
getFingerprintBytes()61   com.google.protobuf.ByteString getFingerprintBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
68    * </pre>
69    *
70    * <code>optional string name = 3373707;</code>
71    *
72    * @return Whether the name field is set.
73    */
hasName()74   boolean hasName();
75   /**
76    *
77    *
78    * <pre>
79    * The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
80    * </pre>
81    *
82    * <code>optional string name = 3373707;</code>
83    *
84    * @return The name.
85    */
getName()86   java.lang.String getName();
87   /**
88    *
89    *
90    * <pre>
91    * The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.
92    * </pre>
93    *
94    * <code>optional string name = 3373707;</code>
95    *
96    * @return The bytes for name.
97    */
getNameBytes()98   com.google.protobuf.ByteString getNameBytes();
99 
100   /**
101    *
102    *
103    * <pre>
104    * The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
105    * </pre>
106    *
107    * <code>optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;</code>
108    *
109    * @return Whether the preservedState field is set.
110    */
hasPreservedState()111   boolean hasPreservedState();
112   /**
113    *
114    *
115    * <pre>
116    * The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
117    * </pre>
118    *
119    * <code>optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;</code>
120    *
121    * @return The preservedState.
122    */
getPreservedState()123   com.google.cloud.compute.v1.PreservedState getPreservedState();
124   /**
125    *
126    *
127    * <pre>
128    * The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
129    * </pre>
130    *
131    * <code>optional .google.cloud.compute.v1.PreservedState preserved_state = 2634026;</code>
132    */
getPreservedStateOrBuilder()133   com.google.cloud.compute.v1.PreservedStateOrBuilder getPreservedStateOrBuilder();
134 
135   /**
136    *
137    *
138    * <pre>
139    * The status of applying this per-instance configuration on the corresponding managed instance.
140    * Check the Status enum for the list of possible values.
141    * </pre>
142    *
143    * <code>optional string status = 181260274;</code>
144    *
145    * @return Whether the status field is set.
146    */
hasStatus()147   boolean hasStatus();
148   /**
149    *
150    *
151    * <pre>
152    * The status of applying this per-instance configuration on the corresponding managed instance.
153    * Check the Status enum for the list of possible values.
154    * </pre>
155    *
156    * <code>optional string status = 181260274;</code>
157    *
158    * @return The status.
159    */
getStatus()160   java.lang.String getStatus();
161   /**
162    *
163    *
164    * <pre>
165    * The status of applying this per-instance configuration on the corresponding managed instance.
166    * Check the Status enum for the list of possible values.
167    * </pre>
168    *
169    * <code>optional string status = 181260274;</code>
170    *
171    * @return The bytes for status.
172    */
getStatusBytes()173   com.google.protobuf.ByteString getStatusBytes();
174 }
175