Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class BackendServiceTlsSettingsSubjectAltName.Builder (1.78.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static final class BackendServiceTlsSettingsSubjectAltName . Builder extends GeneratedMessageV3 . Builder<BackendServiceTlsSettingsSubjectAltName . Builder > implements BackendServiceTlsSettingsSubjectAltNameOrBuilder
A Subject Alternative Name that the load balancer matches against the SAN field in the TLS certificate provided by the backend, specified as either a DNS name or a URI, in accordance with RFC 5280 4.2.1.6
Protobuf type google.cloud.compute.v1.BackendServiceTlsSettingsSubjectAltName
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceTlsSettingsSubjectAltName . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public BackendServiceTlsSettingsSubjectAltName build ()
buildPartial()
public BackendServiceTlsSettingsSubjectAltName buildPartial ()
clear()
public BackendServiceTlsSettingsSubjectAltName . Builder clear ()
Overrides
clearDnsName()
public BackendServiceTlsSettingsSubjectAltName . Builder clearDnsName ()
The SAN specified as a DNS Name.
optional string dns_name = 411992033;
clearField(Descriptors.FieldDescriptor field)
public BackendServiceTlsSettingsSubjectAltName . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BackendServiceTlsSettingsSubjectAltName . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public BackendServiceTlsSettingsSubjectAltName . Builder clearUniformResourceIdentifier ()
The SAN specified as a URI.
optional string uniform_resource_identifier = 491409007;
clone()
public BackendServiceTlsSettingsSubjectAltName . Builder clone ()
Overrides
getDefaultInstanceForType()
public BackendServiceTlsSettingsSubjectAltName getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDnsName()
public String getDnsName ()
The SAN specified as a DNS Name.
optional string dns_name = 411992033;
Returns
Type
Description
String
The dnsName.
getDnsNameBytes()
public ByteString getDnsNameBytes ()
The SAN specified as a DNS Name.
optional string dns_name = 411992033;
Returns
Type
Description
ByteString
The bytes for dnsName.
public String getUniformResourceIdentifier ()
The SAN specified as a URI.
optional string uniform_resource_identifier = 491409007;
Returns
Type
Description
String
The uniformResourceIdentifier.
public ByteString getUniformResourceIdentifierBytes ()
The SAN specified as a URI.
optional string uniform_resource_identifier = 491409007;
Returns
Type
Description
ByteString
The bytes for uniformResourceIdentifier.
hasDnsName()
public boolean hasDnsName ()
The SAN specified as a DNS Name.
optional string dns_name = 411992033;
Returns
Type
Description
boolean
Whether the dnsName field is set.
public boolean hasUniformResourceIdentifier ()
The SAN specified as a URI.
optional string uniform_resource_identifier = 491409007;
Returns
Type
Description
boolean
Whether the uniformResourceIdentifier field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(BackendServiceTlsSettingsSubjectAltName other)
public BackendServiceTlsSettingsSubjectAltName . Builder mergeFrom ( BackendServiceTlsSettingsSubjectAltName other )
public BackendServiceTlsSettingsSubjectAltName . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public BackendServiceTlsSettingsSubjectAltName . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceTlsSettingsSubjectAltName . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDnsName(String value)
public BackendServiceTlsSettingsSubjectAltName . Builder setDnsName ( String value )
The SAN specified as a DNS Name.
optional string dns_name = 411992033;
Parameter
Name
Description
value
String
The dnsName to set.
setDnsNameBytes(ByteString value)
public BackendServiceTlsSettingsSubjectAltName . Builder setDnsNameBytes ( ByteString value )
The SAN specified as a DNS Name.
optional string dns_name = 411992033;
Parameter
Name
Description
value
ByteString
The bytes for dnsName to set.
setField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceTlsSettingsSubjectAltName . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackendServiceTlsSettingsSubjectAltName . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public BackendServiceTlsSettingsSubjectAltName . Builder setUniformResourceIdentifier ( String value )
The SAN specified as a URI.
optional string uniform_resource_identifier = 491409007;
Parameter
Name
Description
value
String
The uniformResourceIdentifier to set.
public BackendServiceTlsSettingsSubjectAltName . Builder setUniformResourceIdentifierBytes ( ByteString value )
The SAN specified as a URI.
optional string uniform_resource_identifier = 491409007;
Parameter
Name
Description
value
ByteString
The bytes for uniformResourceIdentifier to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceTlsSettingsSubjectAltName . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-18 UTC."],[],[]]