All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.compute.v1.HealthCheckOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.69.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;

public interface HealthCheckOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.HealthCheck)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * How often (in seconds) to send a health check. The default value is 5 seconds.
   * 
* * optional int32 check_interval_sec = 345561006; * * @return Whether the checkIntervalSec field is set. */ boolean hasCheckIntervalSec(); /** * * *
   * How often (in seconds) to send a health check. The default value is 5 seconds.
   * 
* * optional int32 check_interval_sec = 345561006; * * @return The checkIntervalSec. */ int getCheckIntervalSec(); /** * * *
   * [Output Only] Creation timestamp in 3339 text format.
   * 
* * optional string creation_timestamp = 30525366; * * @return Whether the creationTimestamp field is set. */ boolean hasCreationTimestamp(); /** * * *
   * [Output Only] Creation timestamp in 3339 text format.
   * 
* * optional string creation_timestamp = 30525366; * * @return The creationTimestamp. */ java.lang.String getCreationTimestamp(); /** * * *
   * [Output Only] Creation timestamp in 3339 text format.
   * 
* * optional string creation_timestamp = 30525366; * * @return The bytes for creationTimestamp. */ com.google.protobuf.ByteString getCreationTimestampBytes(); /** * * *
   * An optional description of this resource. Provide this property when you create the resource.
   * 
* * optional string description = 422937596; * * @return Whether the description field is set. */ boolean hasDescription(); /** * * *
   * An optional description of this resource. Provide this property when you create the resource.
   * 
* * optional string description = 422937596; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * An optional description of this resource. Provide this property when you create the resource.
   * 
* * optional string description = 422937596; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574; * * @return Whether the grpcHealthCheck field is set. */ boolean hasGrpcHealthCheck(); /** * optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574; * * @return The grpcHealthCheck. */ com.google.cloud.compute.v1.GRPCHealthCheck getGrpcHealthCheck(); /** * optional .google.cloud.compute.v1.GRPCHealthCheck grpc_health_check = 85529574; */ com.google.cloud.compute.v1.GRPCHealthCheckOrBuilder getGrpcHealthCheckOrBuilder(); /** * * *
   * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
   * 
* * optional int32 healthy_threshold = 403212361; * * @return Whether the healthyThreshold field is set. */ boolean hasHealthyThreshold(); /** * * *
   * A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
   * 
* * optional int32 healthy_threshold = 403212361; * * @return The healthyThreshold. */ int getHealthyThreshold(); /** * optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986; * * @return Whether the http2HealthCheck field is set. */ boolean hasHttp2HealthCheck(); /** * optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986; * * @return The http2HealthCheck. */ com.google.cloud.compute.v1.HTTP2HealthCheck getHttp2HealthCheck(); /** * optional .google.cloud.compute.v1.HTTP2HealthCheck http2_health_check = 11360986; */ com.google.cloud.compute.v1.HTTP2HealthCheckOrBuilder getHttp2HealthCheckOrBuilder(); /** * optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940; * * @return Whether the httpHealthCheck field is set. */ boolean hasHttpHealthCheck(); /** * optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940; * * @return The httpHealthCheck. */ com.google.cloud.compute.v1.HTTPHealthCheck getHttpHealthCheck(); /** * optional .google.cloud.compute.v1.HTTPHealthCheck http_health_check = 412586940; */ com.google.cloud.compute.v1.HTTPHealthCheckOrBuilder getHttpHealthCheckOrBuilder(); /** * optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905; * * @return Whether the httpsHealthCheck field is set. */ boolean hasHttpsHealthCheck(); /** * optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905; * * @return The httpsHealthCheck. */ com.google.cloud.compute.v1.HTTPSHealthCheck getHttpsHealthCheck(); /** * optional .google.cloud.compute.v1.HTTPSHealthCheck https_health_check = 436046905; */ com.google.cloud.compute.v1.HTTPSHealthCheckOrBuilder getHttpsHealthCheckOrBuilder(); /** * * *
   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
   * 
* * optional uint64 id = 3355; * * @return Whether the id field is set. */ boolean hasId(); /** * * *
   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
   * 
* * optional uint64 id = 3355; * * @return The id. */ long getId(); /** * * *
   * Type of the resource.
   * 
* * optional string kind = 3292052; * * @return Whether the kind field is set. */ boolean hasKind(); /** * * *
   * Type of the resource.
   * 
* * optional string kind = 3292052; * * @return The kind. */ java.lang.String getKind(); /** * * *
   * Type of the resource.
   * 
* * optional string kind = 3292052; * * @return The bytes for kind. */ com.google.protobuf.ByteString getKindBytes(); /** * * *
   * Configure logging on this health check.
   * 
* * optional .google.cloud.compute.v1.HealthCheckLogConfig log_config = 351299741; * * @return Whether the logConfig field is set. */ boolean hasLogConfig(); /** * * *
   * Configure logging on this health check.
   * 
* * optional .google.cloud.compute.v1.HealthCheckLogConfig log_config = 351299741; * * @return The logConfig. */ com.google.cloud.compute.v1.HealthCheckLogConfig getLogConfig(); /** * * *
   * Configure logging on this health check.
   * 
* * optional .google.cloud.compute.v1.HealthCheckLogConfig log_config = 351299741; */ com.google.cloud.compute.v1.HealthCheckLogConfigOrBuilder getLogConfigOrBuilder(); /** * * *
   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash.
   * 
* * optional string name = 3373707; * * @return Whether the name field is set. */ boolean hasName(); /** * * *
   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash.
   * 
* * optional string name = 3373707; * * @return The name. */ java.lang.String getName(); /** * * *
   * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash.
   * 
* * optional string name = 3373707; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * [Output Only] Region where the health check resides. Not applicable to global health checks.
   * 
* * optional string region = 138946292; * * @return Whether the region field is set. */ boolean hasRegion(); /** * * *
   * [Output Only] Region where the health check resides. Not applicable to global health checks.
   * 
* * optional string region = 138946292; * * @return The region. */ java.lang.String getRegion(); /** * * *
   * [Output Only] Region where the health check resides. Not applicable to global health checks.
   * 
* * optional string region = 138946292; * * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); /** * * *
   * [Output Only] Server-defined URL for the resource.
   * 
* * optional string self_link = 456214797; * * @return Whether the selfLink field is set. */ boolean hasSelfLink(); /** * * *
   * [Output Only] Server-defined URL for the resource.
   * 
* * optional string self_link = 456214797; * * @return The selfLink. */ java.lang.String getSelfLink(); /** * * *
   * [Output Only] Server-defined URL for the resource.
   * 
* * optional string self_link = 456214797; * * @return The bytes for selfLink. */ com.google.protobuf.ByteString getSelfLinkBytes(); /** * * *
   * The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing.
   * 
* * repeated string source_regions = 405568475; * * @return A list containing the sourceRegions. */ java.util.List getSourceRegionsList(); /** * * *
   * The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing.
   * 
* * repeated string source_regions = 405568475; * * @return The count of sourceRegions. */ int getSourceRegionsCount(); /** * * *
   * The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing.
   * 
* * repeated string source_regions = 405568475; * * @param index The index of the element to return. * @return The sourceRegions at the given index. */ java.lang.String getSourceRegions(int index); /** * * *
   * The list of cloud regions from which health checks are performed. If any regions are specified, then exactly 3 regions should be specified. The region names must be valid names of Google Cloud regions. This can only be set for global health check. If this list is non-empty, then there are restrictions on what other health check fields are supported and what other resources can use this health check: - SSL, HTTP2, and GRPC protocols are not supported. - The TCP request field is not supported. - The proxyHeader field for HTTP, HTTPS, and TCP is not supported. - The checkIntervalSec field must be at least 30. - The health check cannot be used with BackendService nor with managed instance group auto-healing.
   * 
* * repeated string source_regions = 405568475; * * @param index The index of the value to return. * @return The bytes of the sourceRegions at the given index. */ com.google.protobuf.ByteString getSourceRegionsBytes(int index); /** * optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; * * @return Whether the sslHealthCheck field is set. */ boolean hasSslHealthCheck(); /** * optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; * * @return The sslHealthCheck. */ com.google.cloud.compute.v1.SSLHealthCheck getSslHealthCheck(); /** optional .google.cloud.compute.v1.SSLHealthCheck ssl_health_check = 280032440; */ com.google.cloud.compute.v1.SSLHealthCheckOrBuilder getSslHealthCheckOrBuilder(); /** * optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419; * * @return Whether the tcpHealthCheck field is set. */ boolean hasTcpHealthCheck(); /** * optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419; * * @return The tcpHealthCheck. */ com.google.cloud.compute.v1.TCPHealthCheck getTcpHealthCheck(); /** optional .google.cloud.compute.v1.TCPHealthCheck tcp_health_check = 469980419; */ com.google.cloud.compute.v1.TCPHealthCheckOrBuilder getTcpHealthCheckOrBuilder(); /** * * *
   * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
   * 
* * optional int32 timeout_sec = 79994995; * * @return Whether the timeoutSec field is set. */ boolean hasTimeoutSec(); /** * * *
   * How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
   * 
* * optional int32 timeout_sec = 79994995; * * @return The timeoutSec. */ int getTimeoutSec(); /** * * *
   * Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field.
   * Check the Type enum for the list of possible values.
   * 
* * optional string type = 3575610; * * @return Whether the type field is set. */ boolean hasType(); /** * * *
   * Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field.
   * Check the Type enum for the list of possible values.
   * 
* * optional string type = 3575610; * * @return The type. */ java.lang.String getType(); /** * * *
   * Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field.
   * Check the Type enum for the list of possible values.
   * 
* * optional string type = 3575610; * * @return The bytes for type. */ com.google.protobuf.ByteString getTypeBytes(); /** * * *
   * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
   * 
* * optional int32 unhealthy_threshold = 227958480; * * @return Whether the unhealthyThreshold field is set. */ boolean hasUnhealthyThreshold(); /** * * *
   * A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
   * 
* * optional int32 unhealthy_threshold = 227958480; * * @return The unhealthyThreshold. */ int getUnhealthyThreshold(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy