• 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 SSLHealthCheckOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SSLHealthCheck)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535.
31    * </pre>
32    *
33    * <code>optional int32 port = 3446913;</code>
34    *
35    * @return Whether the port field is set.
36    */
hasPort()37   boolean hasPort();
38   /**
39    *
40    *
41    * <pre>
42    * The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535.
43    * </pre>
44    *
45    * <code>optional int32 port = 3446913;</code>
46    *
47    * @return The port.
48    */
getPort()49   int getPort();
50 
51   /**
52    *
53    *
54    * <pre>
55    * Not supported.
56    * </pre>
57    *
58    * <code>optional string port_name = 41534345;</code>
59    *
60    * @return Whether the portName field is set.
61    */
hasPortName()62   boolean hasPortName();
63   /**
64    *
65    *
66    * <pre>
67    * Not supported.
68    * </pre>
69    *
70    * <code>optional string port_name = 41534345;</code>
71    *
72    * @return The portName.
73    */
getPortName()74   java.lang.String getPortName();
75   /**
76    *
77    *
78    * <pre>
79    * Not supported.
80    * </pre>
81    *
82    * <code>optional string port_name = 41534345;</code>
83    *
84    * @return The bytes for portName.
85    */
getPortNameBytes()86   com.google.protobuf.ByteString getPortNameBytes();
87 
88   /**
89    *
90    *
91    * <pre>
92    * Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
93    * Check the PortSpecification enum for the list of possible values.
94    * </pre>
95    *
96    * <code>optional string port_specification = 51590597;</code>
97    *
98    * @return Whether the portSpecification field is set.
99    */
hasPortSpecification()100   boolean hasPortSpecification();
101   /**
102    *
103    *
104    * <pre>
105    * Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
106    * Check the PortSpecification enum for the list of possible values.
107    * </pre>
108    *
109    * <code>optional string port_specification = 51590597;</code>
110    *
111    * @return The portSpecification.
112    */
getPortSpecification()113   java.lang.String getPortSpecification();
114   /**
115    *
116    *
117    * <pre>
118    * Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.
119    * Check the PortSpecification enum for the list of possible values.
120    * </pre>
121    *
122    * <code>optional string port_specification = 51590597;</code>
123    *
124    * @return The bytes for portSpecification.
125    */
getPortSpecificationBytes()126   com.google.protobuf.ByteString getPortSpecificationBytes();
127 
128   /**
129    *
130    *
131    * <pre>
132    * Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
133    * Check the ProxyHeader enum for the list of possible values.
134    * </pre>
135    *
136    * <code>optional string proxy_header = 160374142;</code>
137    *
138    * @return Whether the proxyHeader field is set.
139    */
hasProxyHeader()140   boolean hasProxyHeader();
141   /**
142    *
143    *
144    * <pre>
145    * Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
146    * Check the ProxyHeader enum for the list of possible values.
147    * </pre>
148    *
149    * <code>optional string proxy_header = 160374142;</code>
150    *
151    * @return The proxyHeader.
152    */
getProxyHeader()153   java.lang.String getProxyHeader();
154   /**
155    *
156    *
157    * <pre>
158    * Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
159    * Check the ProxyHeader enum for the list of possible values.
160    * </pre>
161    *
162    * <code>optional string proxy_header = 160374142;</code>
163    *
164    * @return The bytes for proxyHeader.
165    */
getProxyHeaderBytes()166   com.google.protobuf.ByteString getProxyHeaderBytes();
167 
168   /**
169    *
170    *
171    * <pre>
172    * Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection and SSL handshake.
173    * </pre>
174    *
175    * <code>optional string request = 21951119;</code>
176    *
177    * @return Whether the request field is set.
178    */
hasRequest()179   boolean hasRequest();
180   /**
181    *
182    *
183    * <pre>
184    * Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection and SSL handshake.
185    * </pre>
186    *
187    * <code>optional string request = 21951119;</code>
188    *
189    * @return The request.
190    */
getRequest()191   java.lang.String getRequest();
192   /**
193    *
194    *
195    * <pre>
196    * Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection and SSL handshake.
197    * </pre>
198    *
199    * <code>optional string request = 21951119;</code>
200    *
201    * @return The bytes for request.
202    */
getRequestBytes()203   com.google.protobuf.ByteString getRequestBytes();
204 
205   /**
206    *
207    *
208    * <pre>
209    * Creates a content-based SSL health check. In addition to establishing a TCP connection and the TLS handshake, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp
210    * </pre>
211    *
212    * <code>optional string response = 196547649;</code>
213    *
214    * @return Whether the response field is set.
215    */
hasResponse()216   boolean hasResponse();
217   /**
218    *
219    *
220    * <pre>
221    * Creates a content-based SSL health check. In addition to establishing a TCP connection and the TLS handshake, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp
222    * </pre>
223    *
224    * <code>optional string response = 196547649;</code>
225    *
226    * @return The response.
227    */
getResponse()228   java.lang.String getResponse();
229   /**
230    *
231    *
232    * <pre>
233    * Creates a content-based SSL health check. In addition to establishing a TCP connection and the TLS handshake, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp
234    * </pre>
235    *
236    * <code>optional string response = 196547649;</code>
237    *
238    * @return The bytes for response.
239    */
getResponseBytes()240   com.google.protobuf.ByteString getResponseBytes();
241 }
242