Class SSLHealthCheck

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.SSLHealthCheck
All Implemented Interfaces:
SSLHealthCheckOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SSLHealthCheck extends com.google.protobuf.GeneratedMessage implements SSLHealthCheckOrBuilder
 
Protobuf type google.cloud.compute.v1.SSLHealthCheck
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    static enum 
    Specifies how a port is selected for health checking.
    static enum 
    Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Parser<SSLHealthCheck>
     
    int
    The TCP port number to which the health check prober sends packets.
    Not supported.
    com.google.protobuf.ByteString
    Not supported.
    Specifies how a port is selected for health checking.
    com.google.protobuf.ByteString
    Specifies how a port is selected for health checking.
    Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.
    com.google.protobuf.ByteString
    Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.
    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.
    com.google.protobuf.ByteString
    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.
    Creates a content-based SSL health check.
    com.google.protobuf.ByteString
    Creates a content-based SSL health check.
    int
     
    int
     
    boolean
    The TCP port number to which the health check prober sends packets.
    boolean
    Not supported.
    boolean
    Specifies how a port is selected for health checking.
    boolean
    Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1.
    boolean
    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.
    boolean
    Creates a content-based SSL health check.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<SSLHealthCheck>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • PORT_FIELD_NUMBER

      public static final int PORT_FIELD_NUMBER
      See Also:
    • PORT_NAME_FIELD_NUMBER

      public static final int PORT_NAME_FIELD_NUMBER
      See Also:
    • PORT_SPECIFICATION_FIELD_NUMBER

      public static final int PORT_SPECIFICATION_FIELD_NUMBER
      See Also:
    • PROXY_HEADER_FIELD_NUMBER

      public static final int PROXY_HEADER_FIELD_NUMBER
      See Also:
    • REQUEST_FIELD_NUMBER

      public static final int REQUEST_FIELD_NUMBER
      See Also:
    • RESPONSE_FIELD_NUMBER

      public static final int RESPONSE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasPort

      public boolean hasPort()
       The TCP port number to which the health check prober sends packets. The
       default value is 443. Valid values are 1 through65535.
       
      optional int32 port = 3446913;
      Specified by:
      hasPort in interface SSLHealthCheckOrBuilder
      Returns:
      Whether the port field is set.
    • getPort

      public int getPort()
       The TCP port number to which the health check prober sends packets. The
       default value is 443. Valid values are 1 through65535.
       
      optional int32 port = 3446913;
      Specified by:
      getPort in interface SSLHealthCheckOrBuilder
      Returns:
      The port.
    • hasPortName

      public boolean hasPortName()
       Not supported.
       
      optional string port_name = 41534345;
      Specified by:
      hasPortName in interface SSLHealthCheckOrBuilder
      Returns:
      Whether the portName field is set.
    • getPortName

      public String getPortName()
       Not supported.
       
      optional string port_name = 41534345;
      Specified by:
      getPortName in interface SSLHealthCheckOrBuilder
      Returns:
      The portName.
    • getPortNameBytes

      public com.google.protobuf.ByteString getPortNameBytes()
       Not supported.
       
      optional string port_name = 41534345;
      Specified by:
      getPortNameBytes in interface SSLHealthCheckOrBuilder
      Returns:
      The bytes for portName.
    • hasPortSpecification

      public boolean hasPortSpecification()
       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 theport field  in the health check. Supported by backend services
       for passthrough 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 passthrough 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.
       Check the PortSpecification enum for the list of possible values.
       
      optional string port_specification = 51590597;
      Specified by:
      hasPortSpecification in interface SSLHealthCheckOrBuilder
      Returns:
      Whether the portSpecification field is set.
    • getPortSpecification

      public String getPortSpecification()
       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 theport field  in the health check. Supported by backend services
       for passthrough 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 passthrough 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.
       Check the PortSpecification enum for the list of possible values.
       
      optional string port_specification = 51590597;
      Specified by:
      getPortSpecification in interface SSLHealthCheckOrBuilder
      Returns:
      The portSpecification.
    • getPortSpecificationBytes

      public com.google.protobuf.ByteString getPortSpecificationBytes()
       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 theport field  in the health check. Supported by backend services
       for passthrough 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 passthrough 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.
       Check the PortSpecification enum for the list of possible values.
       
      optional string port_specification = 51590597;
      Specified by:
      getPortSpecificationBytes in interface SSLHealthCheckOrBuilder
      Returns:
      The bytes for portSpecification.
    • hasProxyHeader

      public boolean hasProxyHeader()
       Specifies the type of proxy header to append before sending data to the
       backend, either NONE or PROXY_V1. The default
       is NONE.
       Check the ProxyHeader enum for the list of possible values.
       
      optional string proxy_header = 160374142;
      Specified by:
      hasProxyHeader in interface SSLHealthCheckOrBuilder
      Returns:
      Whether the proxyHeader field is set.
    • getProxyHeader

      public String getProxyHeader()
       Specifies the type of proxy header to append before sending data to the
       backend, either NONE or PROXY_V1. The default
       is NONE.
       Check the ProxyHeader enum for the list of possible values.
       
      optional string proxy_header = 160374142;
      Specified by:
      getProxyHeader in interface SSLHealthCheckOrBuilder
      Returns:
      The proxyHeader.
    • getProxyHeaderBytes

      public com.google.protobuf.ByteString getProxyHeaderBytes()
       Specifies the type of proxy header to append before sending data to the
       backend, either NONE or PROXY_V1. The default
       is NONE.
       Check the ProxyHeader enum for the list of possible values.
       
      optional string proxy_header = 160374142;
      Specified by:
      getProxyHeaderBytes in interface SSLHealthCheckOrBuilder
      Returns:
      The bytes for proxyHeader.
    • hasRequest

      public boolean hasRequest()
       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.
       
      optional string request = 21951119;
      Specified by:
      hasRequest in interface SSLHealthCheckOrBuilder
      Returns:
      Whether the request field is set.
    • getRequest

      public String getRequest()
       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.
       
      optional string request = 21951119;
      Specified by:
      getRequest in interface SSLHealthCheckOrBuilder
      Returns:
      The request.
    • getRequestBytes

      public com.google.protobuf.ByteString getRequestBytes()
       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.
       
      optional string request = 21951119;
      Specified by:
      getRequestBytes in interface SSLHealthCheckOrBuilder
      Returns:
      The bytes for request.
    • hasResponse

      public boolean hasResponse()
       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
       
      optional string response = 196547649;
      Specified by:
      hasResponse in interface SSLHealthCheckOrBuilder
      Returns:
      Whether the response field is set.
    • getResponse

      public String getResponse()
       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
       
      optional string response = 196547649;
      Specified by:
      getResponse in interface SSLHealthCheckOrBuilder
      Returns:
      The response.
    • getResponseBytes

      public com.google.protobuf.ByteString getResponseBytes()
       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
       
      optional string response = 196547649;
      Specified by:
      getResponseBytes in interface SSLHealthCheckOrBuilder
      Returns:
      The bytes for response.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SSLHealthCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SSLHealthCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SSLHealthCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SSLHealthCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SSLHealthCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SSLHealthCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SSLHealthCheck parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SSLHealthCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SSLHealthCheck parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SSLHealthCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SSLHealthCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SSLHealthCheck parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SSLHealthCheck.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SSLHealthCheck.Builder newBuilder()
    • newBuilder

      public static SSLHealthCheck.Builder newBuilder(SSLHealthCheck prototype)
    • toBuilder

      public SSLHealthCheck.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SSLHealthCheck.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SSLHealthCheck getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SSLHealthCheck> parser()
    • getParserForType

      public com.google.protobuf.Parser<SSLHealthCheck> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SSLHealthCheck getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder