- 1.78.0 (latest)
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class BackendServiceTlsSettings.Builder extends GeneratedMessageV3.Builder<BackendServiceTlsSettings.Builder> implements BackendServiceTlsSettingsOrBuilder
Protobuf type google.cloud.compute.v1.BackendServiceTlsSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BackendServiceTlsSettings.BuilderImplements
BackendServiceTlsSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSubjectAltNames(Iterable<? extends BackendServiceTlsSettingsSubjectAltName> values)
public BackendServiceTlsSettings.Builder addAllSubjectAltNames(Iterable<? extends BackendServiceTlsSettingsSubjectAltName> values)
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 |
values |
Iterable<? extends com.google.cloud.compute.v1.BackendServiceTlsSettingsSubjectAltName> |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceTlsSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
addSubjectAltNames(BackendServiceTlsSettingsSubjectAltName value)
public BackendServiceTlsSettings.Builder addSubjectAltNames(BackendServiceTlsSettingsSubjectAltName value)
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 |
value |
BackendServiceTlsSettingsSubjectAltName |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
addSubjectAltNames(BackendServiceTlsSettingsSubjectAltName.Builder builderForValue)
public BackendServiceTlsSettings.Builder addSubjectAltNames(BackendServiceTlsSettingsSubjectAltName.Builder builderForValue)
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 |
builderForValue |
BackendServiceTlsSettingsSubjectAltName.Builder |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
addSubjectAltNames(int index, BackendServiceTlsSettingsSubjectAltName value)
public BackendServiceTlsSettings.Builder addSubjectAltNames(int index, BackendServiceTlsSettingsSubjectAltName value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
BackendServiceTlsSettingsSubjectAltName |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
addSubjectAltNames(int index, BackendServiceTlsSettingsSubjectAltName.Builder builderForValue)
public BackendServiceTlsSettings.Builder addSubjectAltNames(int index, BackendServiceTlsSettingsSubjectAltName.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BackendServiceTlsSettingsSubjectAltName.Builder |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
addSubjectAltNamesBuilder()
public BackendServiceTlsSettingsSubjectAltName.Builder addSubjectAltNamesBuilder()
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 |
BackendServiceTlsSettingsSubjectAltName.Builder |
addSubjectAltNamesBuilder(int index)
public BackendServiceTlsSettingsSubjectAltName.Builder addSubjectAltNamesBuilder(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 |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettingsSubjectAltName.Builder |
build()
public BackendServiceTlsSettings build()
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings |
buildPartial()
public BackendServiceTlsSettings buildPartial()
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings |
clear()
public BackendServiceTlsSettings.Builder clear()
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
clearAuthenticationConfig()
public BackendServiceTlsSettings.Builder clearAuthenticationConfig()
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 |
BackendServiceTlsSettings.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BackendServiceTlsSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BackendServiceTlsSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
clearSni()
public BackendServiceTlsSettings.Builder clearSni()
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 |
BackendServiceTlsSettings.Builder |
This builder for chaining. |
clearSubjectAltNames()
public BackendServiceTlsSettings.Builder clearSubjectAltNames()
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 |
BackendServiceTlsSettings.Builder |
clone()
public BackendServiceTlsSettings.Builder clone()
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
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()
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
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 |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettingsSubjectAltName |
getSubjectAltNamesBuilder(int index)
public BackendServiceTlsSettingsSubjectAltName.Builder getSubjectAltNamesBuilder(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 |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettingsSubjectAltName.Builder |
getSubjectAltNamesBuilderList()
public List<BackendServiceTlsSettingsSubjectAltName.Builder> getSubjectAltNamesBuilderList()
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<Builder> |
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;
Returns | |
---|---|
Type | Description |
List<BackendServiceTlsSettingsSubjectAltName> |
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 |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettingsSubjectAltNameOrBuilder |
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()
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the sni field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BackendServiceTlsSettings other)
public BackendServiceTlsSettings.Builder mergeFrom(BackendServiceTlsSettings other)
Parameter | |
---|---|
Name | Description |
other |
BackendServiceTlsSettings |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BackendServiceTlsSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BackendServiceTlsSettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceTlsSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
removeSubjectAltNames(int index)
public BackendServiceTlsSettings.Builder removeSubjectAltNames(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 |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
setAuthenticationConfig(String value)
public BackendServiceTlsSettings.Builder setAuthenticationConfig(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The authenticationConfig to set. |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
This builder for chaining. |
setAuthenticationConfigBytes(ByteString value)
public BackendServiceTlsSettings.Builder setAuthenticationConfigBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for authenticationConfig to set. |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceTlsSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackendServiceTlsSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
setSni(String value)
public BackendServiceTlsSettings.Builder setSni(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The sni to set. |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
This builder for chaining. |
setSniBytes(ByteString value)
public BackendServiceTlsSettings.Builder setSniBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for sni to set. |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
This builder for chaining. |
setSubjectAltNames(int index, BackendServiceTlsSettingsSubjectAltName value)
public BackendServiceTlsSettings.Builder setSubjectAltNames(int index, BackendServiceTlsSettingsSubjectAltName value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
BackendServiceTlsSettingsSubjectAltName |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
setSubjectAltNames(int index, BackendServiceTlsSettingsSubjectAltName.Builder builderForValue)
public BackendServiceTlsSettings.Builder setSubjectAltNames(int index, BackendServiceTlsSettingsSubjectAltName.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BackendServiceTlsSettingsSubjectAltName.Builder |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceTlsSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BackendServiceTlsSettings.Builder |