• 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 SslPolicyOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SslPolicy)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] Creation timestamp in RFC3339 text format.
31    * </pre>
32    *
33    * <code>optional string creation_timestamp = 30525366;</code>
34    *
35    * @return Whether the creationTimestamp field is set.
36    */
hasCreationTimestamp()37   boolean hasCreationTimestamp();
38   /**
39    *
40    *
41    * <pre>
42    * [Output Only] Creation timestamp in RFC3339 text format.
43    * </pre>
44    *
45    * <code>optional string creation_timestamp = 30525366;</code>
46    *
47    * @return The creationTimestamp.
48    */
getCreationTimestamp()49   java.lang.String getCreationTimestamp();
50   /**
51    *
52    *
53    * <pre>
54    * [Output Only] Creation timestamp in RFC3339 text format.
55    * </pre>
56    *
57    * <code>optional string creation_timestamp = 30525366;</code>
58    *
59    * @return The bytes for creationTimestamp.
60    */
getCreationTimestampBytes()61   com.google.protobuf.ByteString getCreationTimestampBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
68    * </pre>
69    *
70    * <code>repeated string custom_features = 34789707;</code>
71    *
72    * @return A list containing the customFeatures.
73    */
getCustomFeaturesList()74   java.util.List<java.lang.String> getCustomFeaturesList();
75   /**
76    *
77    *
78    * <pre>
79    * A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
80    * </pre>
81    *
82    * <code>repeated string custom_features = 34789707;</code>
83    *
84    * @return The count of customFeatures.
85    */
getCustomFeaturesCount()86   int getCustomFeaturesCount();
87   /**
88    *
89    *
90    * <pre>
91    * A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
92    * </pre>
93    *
94    * <code>repeated string custom_features = 34789707;</code>
95    *
96    * @param index The index of the element to return.
97    * @return The customFeatures at the given index.
98    */
getCustomFeatures(int index)99   java.lang.String getCustomFeatures(int index);
100   /**
101    *
102    *
103    * <pre>
104    * A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
105    * </pre>
106    *
107    * <code>repeated string custom_features = 34789707;</code>
108    *
109    * @param index The index of the value to return.
110    * @return The bytes of the customFeatures at the given index.
111    */
getCustomFeaturesBytes(int index)112   com.google.protobuf.ByteString getCustomFeaturesBytes(int index);
113 
114   /**
115    *
116    *
117    * <pre>
118    * An optional description of this resource. Provide this property when you create the resource.
119    * </pre>
120    *
121    * <code>optional string description = 422937596;</code>
122    *
123    * @return Whether the description field is set.
124    */
hasDescription()125   boolean hasDescription();
126   /**
127    *
128    *
129    * <pre>
130    * An optional description of this resource. Provide this property when you create the resource.
131    * </pre>
132    *
133    * <code>optional string description = 422937596;</code>
134    *
135    * @return The description.
136    */
getDescription()137   java.lang.String getDescription();
138   /**
139    *
140    *
141    * <pre>
142    * An optional description of this resource. Provide this property when you create the resource.
143    * </pre>
144    *
145    * <code>optional string description = 422937596;</code>
146    *
147    * @return The bytes for description.
148    */
getDescriptionBytes()149   com.google.protobuf.ByteString getDescriptionBytes();
150 
151   /**
152    *
153    *
154    * <pre>
155    * [Output Only] The list of features enabled in the SSL policy.
156    * </pre>
157    *
158    * <code>repeated string enabled_features = 469017467;</code>
159    *
160    * @return A list containing the enabledFeatures.
161    */
getEnabledFeaturesList()162   java.util.List<java.lang.String> getEnabledFeaturesList();
163   /**
164    *
165    *
166    * <pre>
167    * [Output Only] The list of features enabled in the SSL policy.
168    * </pre>
169    *
170    * <code>repeated string enabled_features = 469017467;</code>
171    *
172    * @return The count of enabledFeatures.
173    */
getEnabledFeaturesCount()174   int getEnabledFeaturesCount();
175   /**
176    *
177    *
178    * <pre>
179    * [Output Only] The list of features enabled in the SSL policy.
180    * </pre>
181    *
182    * <code>repeated string enabled_features = 469017467;</code>
183    *
184    * @param index The index of the element to return.
185    * @return The enabledFeatures at the given index.
186    */
getEnabledFeatures(int index)187   java.lang.String getEnabledFeatures(int index);
188   /**
189    *
190    *
191    * <pre>
192    * [Output Only] The list of features enabled in the SSL policy.
193    * </pre>
194    *
195    * <code>repeated string enabled_features = 469017467;</code>
196    *
197    * @param index The index of the value to return.
198    * @return The bytes of the enabledFeatures at the given index.
199    */
getEnabledFeaturesBytes(int index)200   com.google.protobuf.ByteString getEnabledFeaturesBytes(int index);
201 
202   /**
203    *
204    *
205    * <pre>
206    * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
207    * </pre>
208    *
209    * <code>optional string fingerprint = 234678500;</code>
210    *
211    * @return Whether the fingerprint field is set.
212    */
hasFingerprint()213   boolean hasFingerprint();
214   /**
215    *
216    *
217    * <pre>
218    * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
219    * </pre>
220    *
221    * <code>optional string fingerprint = 234678500;</code>
222    *
223    * @return The fingerprint.
224    */
getFingerprint()225   java.lang.String getFingerprint();
226   /**
227    *
228    *
229    * <pre>
230    * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
231    * </pre>
232    *
233    * <code>optional string fingerprint = 234678500;</code>
234    *
235    * @return The bytes for fingerprint.
236    */
getFingerprintBytes()237   com.google.protobuf.ByteString getFingerprintBytes();
238 
239   /**
240    *
241    *
242    * <pre>
243    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
244    * </pre>
245    *
246    * <code>optional uint64 id = 3355;</code>
247    *
248    * @return Whether the id field is set.
249    */
hasId()250   boolean hasId();
251   /**
252    *
253    *
254    * <pre>
255    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
256    * </pre>
257    *
258    * <code>optional uint64 id = 3355;</code>
259    *
260    * @return The id.
261    */
getId()262   long getId();
263 
264   /**
265    *
266    *
267    * <pre>
268    * [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
269    * </pre>
270    *
271    * <code>optional string kind = 3292052;</code>
272    *
273    * @return Whether the kind field is set.
274    */
hasKind()275   boolean hasKind();
276   /**
277    *
278    *
279    * <pre>
280    * [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
281    * </pre>
282    *
283    * <code>optional string kind = 3292052;</code>
284    *
285    * @return The kind.
286    */
getKind()287   java.lang.String getKind();
288   /**
289    *
290    *
291    * <pre>
292    * [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
293    * </pre>
294    *
295    * <code>optional string kind = 3292052;</code>
296    *
297    * @return The bytes for kind.
298    */
getKindBytes()299   com.google.protobuf.ByteString getKindBytes();
300 
301   /**
302    *
303    *
304    * <pre>
305    * The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
306    * Check the MinTlsVersion enum for the list of possible values.
307    * </pre>
308    *
309    * <code>optional string min_tls_version = 8155943;</code>
310    *
311    * @return Whether the minTlsVersion field is set.
312    */
hasMinTlsVersion()313   boolean hasMinTlsVersion();
314   /**
315    *
316    *
317    * <pre>
318    * The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
319    * Check the MinTlsVersion enum for the list of possible values.
320    * </pre>
321    *
322    * <code>optional string min_tls_version = 8155943;</code>
323    *
324    * @return The minTlsVersion.
325    */
getMinTlsVersion()326   java.lang.String getMinTlsVersion();
327   /**
328    *
329    *
330    * <pre>
331    * The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
332    * Check the MinTlsVersion enum for the list of possible values.
333    * </pre>
334    *
335    * <code>optional string min_tls_version = 8155943;</code>
336    *
337    * @return The bytes for minTlsVersion.
338    */
getMinTlsVersionBytes()339   com.google.protobuf.ByteString getMinTlsVersionBytes();
340 
341   /**
342    *
343    *
344    * <pre>
345    * Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
346    * </pre>
347    *
348    * <code>optional string name = 3373707;</code>
349    *
350    * @return Whether the name field is set.
351    */
hasName()352   boolean hasName();
353   /**
354    *
355    *
356    * <pre>
357    * Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
358    * </pre>
359    *
360    * <code>optional string name = 3373707;</code>
361    *
362    * @return The name.
363    */
getName()364   java.lang.String getName();
365   /**
366    *
367    *
368    * <pre>
369    * Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
370    * </pre>
371    *
372    * <code>optional string name = 3373707;</code>
373    *
374    * @return The bytes for name.
375    */
getNameBytes()376   com.google.protobuf.ByteString getNameBytes();
377 
378   /**
379    *
380    *
381    * <pre>
382    * Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
383    * Check the Profile enum for the list of possible values.
384    * </pre>
385    *
386    * <code>optional string profile = 227445161;</code>
387    *
388    * @return Whether the profile field is set.
389    */
hasProfile()390   boolean hasProfile();
391   /**
392    *
393    *
394    * <pre>
395    * Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
396    * Check the Profile enum for the list of possible values.
397    * </pre>
398    *
399    * <code>optional string profile = 227445161;</code>
400    *
401    * @return The profile.
402    */
getProfile()403   java.lang.String getProfile();
404   /**
405    *
406    *
407    * <pre>
408    * Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
409    * Check the Profile enum for the list of possible values.
410    * </pre>
411    *
412    * <code>optional string profile = 227445161;</code>
413    *
414    * @return The bytes for profile.
415    */
getProfileBytes()416   com.google.protobuf.ByteString getProfileBytes();
417 
418   /**
419    *
420    *
421    * <pre>
422    * [Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
423    * </pre>
424    *
425    * <code>optional string region = 138946292;</code>
426    *
427    * @return Whether the region field is set.
428    */
hasRegion()429   boolean hasRegion();
430   /**
431    *
432    *
433    * <pre>
434    * [Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
435    * </pre>
436    *
437    * <code>optional string region = 138946292;</code>
438    *
439    * @return The region.
440    */
getRegion()441   java.lang.String getRegion();
442   /**
443    *
444    *
445    * <pre>
446    * [Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
447    * </pre>
448    *
449    * <code>optional string region = 138946292;</code>
450    *
451    * @return The bytes for region.
452    */
getRegionBytes()453   com.google.protobuf.ByteString getRegionBytes();
454 
455   /**
456    *
457    *
458    * <pre>
459    * [Output Only] Server-defined URL for the resource.
460    * </pre>
461    *
462    * <code>optional string self_link = 456214797;</code>
463    *
464    * @return Whether the selfLink field is set.
465    */
hasSelfLink()466   boolean hasSelfLink();
467   /**
468    *
469    *
470    * <pre>
471    * [Output Only] Server-defined URL for the resource.
472    * </pre>
473    *
474    * <code>optional string self_link = 456214797;</code>
475    *
476    * @return The selfLink.
477    */
getSelfLink()478   java.lang.String getSelfLink();
479   /**
480    *
481    *
482    * <pre>
483    * [Output Only] Server-defined URL for the resource.
484    * </pre>
485    *
486    * <code>optional string self_link = 456214797;</code>
487    *
488    * @return The bytes for selfLink.
489    */
getSelfLinkBytes()490   com.google.protobuf.ByteString getSelfLinkBytes();
491 
492   /**
493    *
494    *
495    * <pre>
496    * [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
497    * </pre>
498    *
499    * <code>repeated .google.cloud.compute.v1.Warnings warnings = 498091095;</code>
500    */
getWarningsList()501   java.util.List<com.google.cloud.compute.v1.Warnings> getWarningsList();
502   /**
503    *
504    *
505    * <pre>
506    * [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
507    * </pre>
508    *
509    * <code>repeated .google.cloud.compute.v1.Warnings warnings = 498091095;</code>
510    */
getWarnings(int index)511   com.google.cloud.compute.v1.Warnings getWarnings(int index);
512   /**
513    *
514    *
515    * <pre>
516    * [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
517    * </pre>
518    *
519    * <code>repeated .google.cloud.compute.v1.Warnings warnings = 498091095;</code>
520    */
getWarningsCount()521   int getWarningsCount();
522   /**
523    *
524    *
525    * <pre>
526    * [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
527    * </pre>
528    *
529    * <code>repeated .google.cloud.compute.v1.Warnings warnings = 498091095;</code>
530    */
531   java.util.List<? extends com.google.cloud.compute.v1.WarningsOrBuilder>
getWarningsOrBuilderList()532       getWarningsOrBuilderList();
533   /**
534    *
535    *
536    * <pre>
537    * [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
538    * </pre>
539    *
540    * <code>repeated .google.cloud.compute.v1.Warnings warnings = 498091095;</code>
541    */
getWarningsOrBuilder(int index)542   com.google.cloud.compute.v1.WarningsOrBuilder getWarningsOrBuilder(int index);
543 }
544