public final class BackendServiceTlsSettings extends GeneratedMessageV3 implements BackendServiceTlsSettingsOrBuilder
Protobuf type google.cloud.compute.v1.BackendServiceTlsSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AUTHENTICATION_CONFIG_FIELD_NUMBER
public static final int AUTHENTICATION_CONFIG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SNI_FIELD_NUMBER
public static final int SNI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUBJECT_ALT_NAMES_FIELD_NUMBER
public static final int SUBJECT_ALT_NAMES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static BackendServiceTlsSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static BackendServiceTlsSettings.Builder newBuilder()
newBuilder(BackendServiceTlsSettings prototype)
public static BackendServiceTlsSettings.Builder newBuilder(BackendServiceTlsSettings prototype)
public static BackendServiceTlsSettings parseDelimitedFrom(InputStream input)
public static BackendServiceTlsSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static BackendServiceTlsSettings parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BackendServiceTlsSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static BackendServiceTlsSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackendServiceTlsSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BackendServiceTlsSettings parseFrom(CodedInputStream input)
public static BackendServiceTlsSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BackendServiceTlsSettings parseFrom(InputStream input)
public static BackendServiceTlsSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static BackendServiceTlsSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BackendServiceTlsSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<BackendServiceTlsSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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;
Returns |
Type |
Description |
String |
The authenticationConfig.
|
getAuthenticationConfigBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for authenticationConfig.
|
getDefaultInstanceForType()
public BackendServiceTlsSettings getDefaultInstanceForType()
getParserForType()
public Parser<BackendServiceTlsSettings> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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;
Returns |
Type |
Description |
String |
The sni.
|
getSniBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for sni.
|
getSubjectAltNames(int index)
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;
Parameter |
Name |
Description |
index |
int
|
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;
Returns |
Type |
Description |
int |
|
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;
getSubjectAltNamesOrBuilder(int index)
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;
Parameter |
Name |
Description |
index |
int
|
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;
Returns |
Type |
Description |
List<? extends com.google.cloud.compute.v1.BackendServiceTlsSettingsSubjectAltNameOrBuilder> |
|
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;
Returns |
Type |
Description |
boolean |
Whether the authenticationConfig field is set.
|
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;
Returns |
Type |
Description |
boolean |
Whether the sni field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public BackendServiceTlsSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BackendServiceTlsSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public BackendServiceTlsSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides