Class BackendServiceTlsSettings

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

@Generated public final class BackendServiceTlsSettings extends com.google.protobuf.GeneratedMessage implements BackendServiceTlsSettingsOrBuilder
 
Protobuf type google.cloud.compute.v1.BackendServiceTlsSettings
See Also:
  • Field Details

    • AUTHENTICATION_CONFIG_FIELD_NUMBER

      public static final int AUTHENTICATION_CONFIG_FIELD_NUMBER
      See Also:
    • SNI_FIELD_NUMBER

      public static final int SNI_FIELD_NUMBER
      See Also:
    • SUBJECT_ALT_NAMES_FIELD_NUMBER

      public static final int SUBJECT_ALT_NAMES_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
    • hasAuthenticationConfig

      public boolean hasAuthenticationConfig()
       Reference to the BackendAuthenticationConfig resource from the
       networksecurity.googleapis.com namespace. Can be used in authenticating
       TLS connections to the backend, as specified by the authenticationMode
       field. Can only be specified if authenticationMode is not NONE.
       
      optional string authentication_config = 408053481;
      Specified by:
      hasAuthenticationConfig in interface BackendServiceTlsSettingsOrBuilder
      Returns:
      Whether the authenticationConfig field is set.
    • getAuthenticationConfig

      public String getAuthenticationConfig()
       Reference to the BackendAuthenticationConfig resource from the
       networksecurity.googleapis.com namespace. Can be used in authenticating
       TLS connections to the backend, as specified by the authenticationMode
       field. Can only be specified if authenticationMode is not NONE.
       
      optional string authentication_config = 408053481;
      Specified by:
      getAuthenticationConfig in interface BackendServiceTlsSettingsOrBuilder
      Returns:
      The authenticationConfig.
    • getAuthenticationConfigBytes

      public com.google.protobuf.ByteString getAuthenticationConfigBytes()
       Reference to the BackendAuthenticationConfig resource from the
       networksecurity.googleapis.com namespace. Can be used in authenticating
       TLS connections to the backend, as specified by the authenticationMode
       field. Can only be specified if authenticationMode is not NONE.
       
      optional string authentication_config = 408053481;
      Specified by:
      getAuthenticationConfigBytes in interface BackendServiceTlsSettingsOrBuilder
      Returns:
      The bytes for authenticationConfig.
    • hasSni

      public boolean hasSni()
       Server Name Indication - see RFC3546 section 3.1. If set, the load
       balancer sends this string as the SNI hostname in the TLS connection to
       the backend, and requires that this string match a Subject Alternative
       Name (SAN) in the backend's server certificate. With a Regional Internet
       NEG backend, if the SNI is specified here, the load balancer uses it
       regardless of whether the Regional Internet NEG is specified with FQDN or
       IP address and port. When both sni and subjectAltNames[] are specified,
       the load balancer matches the backend certificate's SAN only to
       subjectAltNames[].
       
      optional string sni = 114030;
      Specified by:
      hasSni in interface BackendServiceTlsSettingsOrBuilder
      Returns:
      Whether the sni field is set.
    • getSni

      public String getSni()
       Server Name Indication - see RFC3546 section 3.1. If set, the load
       balancer sends this string as the SNI hostname in the TLS connection to
       the backend, and requires that this string match a Subject Alternative
       Name (SAN) in the backend's server certificate. With a Regional Internet
       NEG backend, if the SNI is specified here, the load balancer uses it
       regardless of whether the Regional Internet NEG is specified with FQDN or
       IP address and port. When both sni and subjectAltNames[] are specified,
       the load balancer matches the backend certificate's SAN only to
       subjectAltNames[].
       
      optional string sni = 114030;
      Specified by:
      getSni in interface BackendServiceTlsSettingsOrBuilder
      Returns:
      The sni.
    • getSniBytes

      public com.google.protobuf.ByteString getSniBytes()
       Server Name Indication - see RFC3546 section 3.1. If set, the load
       balancer sends this string as the SNI hostname in the TLS connection to
       the backend, and requires that this string match a Subject Alternative
       Name (SAN) in the backend's server certificate. With a Regional Internet
       NEG backend, if the SNI is specified here, the load balancer uses it
       regardless of whether the Regional Internet NEG is specified with FQDN or
       IP address and port. When both sni and subjectAltNames[] are specified,
       the load balancer matches the backend certificate's SAN only to
       subjectAltNames[].
       
      optional string sni = 114030;
      Specified by:
      getSniBytes in interface BackendServiceTlsSettingsOrBuilder
      Returns:
      The bytes for sni.
    • getSubjectAltNamesList

      public List<BackendServiceTlsSettingsSubjectAltName> getSubjectAltNamesList()
       A list of Subject Alternative Names (SANs) that the Load Balancer
       verifies during a TLS handshake with the backend. When the server
       presents its X.509 certificate to the Load Balancer, the Load Balancer
       inspects the certificate's SAN field, and requires that at least one SAN
       match one of the subjectAltNames in the list. This field is limited to 5
       entries. When both sni and subjectAltNames[] are specified, the load
       balancer matches the backend certificate's SAN only to subjectAltNames[].
       
      repeated .google.cloud.compute.v1.BackendServiceTlsSettingsSubjectAltName subject_alt_names = 330029535;
      Specified by:
      getSubjectAltNamesList in interface BackendServiceTlsSettingsOrBuilder
    • getSubjectAltNamesOrBuilderList

      public List<? extends BackendServiceTlsSettingsSubjectAltNameOrBuilder> getSubjectAltNamesOrBuilderList()
       A list of Subject Alternative Names (SANs) that the Load Balancer
       verifies during a TLS handshake with the backend. When the server
       presents its X.509 certificate to the Load Balancer, the Load Balancer
       inspects the certificate's SAN field, and requires that at least one SAN
       match one of the subjectAltNames in the list. This field is limited to 5
       entries. When both sni and subjectAltNames[] are specified, the load
       balancer matches the backend certificate's SAN only to subjectAltNames[].
       
      repeated .google.cloud.compute.v1.BackendServiceTlsSettingsSubjectAltName subject_alt_names = 330029535;
      Specified by:
      getSubjectAltNamesOrBuilderList in interface BackendServiceTlsSettingsOrBuilder
    • getSubjectAltNamesCount

      public int getSubjectAltNamesCount()
       A list of Subject Alternative Names (SANs) that the Load Balancer
       verifies during a TLS handshake with the backend. When the server
       presents its X.509 certificate to the Load Balancer, the Load Balancer
       inspects the certificate's SAN field, and requires that at least one SAN
       match one of the subjectAltNames in the list. This field is limited to 5
       entries. When both sni and subjectAltNames[] are specified, the load
       balancer matches the backend certificate's SAN only to subjectAltNames[].
       
      repeated .google.cloud.compute.v1.BackendServiceTlsSettingsSubjectAltName subject_alt_names = 330029535;
      Specified by:
      getSubjectAltNamesCount in interface BackendServiceTlsSettingsOrBuilder
    • getSubjectAltNames

      public BackendServiceTlsSettingsSubjectAltName getSubjectAltNames(int index)
       A list of Subject Alternative Names (SANs) that the Load Balancer
       verifies during a TLS handshake with the backend. When the server
       presents its X.509 certificate to the Load Balancer, the Load Balancer
       inspects the certificate's SAN field, and requires that at least one SAN
       match one of the subjectAltNames in the list. This field is limited to 5
       entries. When both sni and subjectAltNames[] are specified, the load
       balancer matches the backend certificate's SAN only to subjectAltNames[].
       
      repeated .google.cloud.compute.v1.BackendServiceTlsSettingsSubjectAltName subject_alt_names = 330029535;
      Specified by:
      getSubjectAltNames in interface BackendServiceTlsSettingsOrBuilder
    • getSubjectAltNamesOrBuilder

      public BackendServiceTlsSettingsSubjectAltNameOrBuilder getSubjectAltNamesOrBuilder(int index)
       A list of Subject Alternative Names (SANs) that the Load Balancer
       verifies during a TLS handshake with the backend. When the server
       presents its X.509 certificate to the Load Balancer, the Load Balancer
       inspects the certificate's SAN field, and requires that at least one SAN
       match one of the subjectAltNames in the list. This field is limited to 5
       entries. When both sni and subjectAltNames[] are specified, the load
       balancer matches the backend certificate's SAN only to subjectAltNames[].
       
      repeated .google.cloud.compute.v1.BackendServiceTlsSettingsSubjectAltName subject_alt_names = 330029535;
      Specified by:
      getSubjectAltNamesOrBuilder in interface BackendServiceTlsSettingsOrBuilder
    • 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 BackendServiceTlsSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static BackendServiceTlsSettings.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static BackendServiceTlsSettings getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<BackendServiceTlsSettings> 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 BackendServiceTlsSettings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder