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 ConsistentHashLoadBalancerSettingsHttpCookieOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ConsistentHashLoadBalancerSettingsHttpCookie)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Name of the cookie.
31    * </pre>
32    *
33    * <code>optional string name = 3373707;</code>
34    *
35    * @return Whether the name field is set.
36    */
hasName()37   boolean hasName();
38   /**
39    *
40    *
41    * <pre>
42    * Name of the cookie.
43    * </pre>
44    *
45    * <code>optional string name = 3373707;</code>
46    *
47    * @return The name.
48    */
getName()49   java.lang.String getName();
50   /**
51    *
52    *
53    * <pre>
54    * Name of the cookie.
55    * </pre>
56    *
57    * <code>optional string name = 3373707;</code>
58    *
59    * @return The bytes for name.
60    */
getNameBytes()61   com.google.protobuf.ByteString getNameBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * Path to set for the cookie.
68    * </pre>
69    *
70    * <code>optional string path = 3433509;</code>
71    *
72    * @return Whether the path field is set.
73    */
hasPath()74   boolean hasPath();
75   /**
76    *
77    *
78    * <pre>
79    * Path to set for the cookie.
80    * </pre>
81    *
82    * <code>optional string path = 3433509;</code>
83    *
84    * @return The path.
85    */
getPath()86   java.lang.String getPath();
87   /**
88    *
89    *
90    * <pre>
91    * Path to set for the cookie.
92    * </pre>
93    *
94    * <code>optional string path = 3433509;</code>
95    *
96    * @return The bytes for path.
97    */
getPathBytes()98   com.google.protobuf.ByteString getPathBytes();
99 
100   /**
101    *
102    *
103    * <pre>
104    * Lifetime of the cookie.
105    * </pre>
106    *
107    * <code>optional .google.cloud.compute.v1.Duration ttl = 115180;</code>
108    *
109    * @return Whether the ttl field is set.
110    */
hasTtl()111   boolean hasTtl();
112   /**
113    *
114    *
115    * <pre>
116    * Lifetime of the cookie.
117    * </pre>
118    *
119    * <code>optional .google.cloud.compute.v1.Duration ttl = 115180;</code>
120    *
121    * @return The ttl.
122    */
getTtl()123   com.google.cloud.compute.v1.Duration getTtl();
124   /**
125    *
126    *
127    * <pre>
128    * Lifetime of the cookie.
129    * </pre>
130    *
131    * <code>optional .google.cloud.compute.v1.Duration ttl = 115180;</code>
132    */
getTtlOrBuilder()133   com.google.cloud.compute.v1.DurationOrBuilder getTtlOrBuilder();
134 }
135