Class BackendServiceTlsSettingsSubjectAltName (1.78.0)

public final class BackendServiceTlsSettingsSubjectAltName extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BackendServiceTlsSettingsSubjectAltName

Static Fields

DNS_NAME_FIELD_NUMBER

public static final int DNS_NAME_FIELD_NUMBER
Field Value
Type Description
int

UNIFORM_RESOURCE_IDENTIFIER_FIELD_NUMBER

public static final int UNIFORM_RESOURCE_IDENTIFIER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BackendServiceTlsSettingsSubjectAltName getDefaultInstance()
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BackendServiceTlsSettingsSubjectAltName.Builder newBuilder()
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName.Builder

newBuilder(BackendServiceTlsSettingsSubjectAltName prototype)

public static BackendServiceTlsSettingsSubjectAltName.Builder newBuilder(BackendServiceTlsSettingsSubjectAltName prototype)
Parameter
Name Description
prototype BackendServiceTlsSettingsSubjectAltName
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName.Builder

parseDelimitedFrom(InputStream input)

public static BackendServiceTlsSettingsSubjectAltName parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendServiceTlsSettingsSubjectAltName parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BackendServiceTlsSettingsSubjectAltName parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackendServiceTlsSettingsSubjectAltName parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackendServiceTlsSettingsSubjectAltName parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackendServiceTlsSettingsSubjectAltName parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackendServiceTlsSettingsSubjectAltName parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendServiceTlsSettingsSubjectAltName parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BackendServiceTlsSettingsSubjectAltName parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackendServiceTlsSettingsSubjectAltName parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BackendServiceTlsSettingsSubjectAltName parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackendServiceTlsSettingsSubjectAltName parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BackendServiceTlsSettingsSubjectAltName> parser()
Returns
Type Description
Parser<BackendServiceTlsSettingsSubjectAltName>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BackendServiceTlsSettingsSubjectAltName getDefaultInstanceForType()
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName

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.

getParserForType()

public Parser<BackendServiceTlsSettingsSubjectAltName> getParserForType()
Returns
Type Description
Parser<BackendServiceTlsSettingsSubjectAltName>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUniformResourceIdentifier()

public String getUniformResourceIdentifier()

The SAN specified as a URI.

optional string uniform_resource_identifier = 491409007;

Returns
Type Description
String

The uniformResourceIdentifier.

getUniformResourceIdentifierBytes()

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.

hasUniformResourceIdentifier()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BackendServiceTlsSettingsSubjectAltName.Builder newBuilderForType()
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackendServiceTlsSettingsSubjectAltName.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BackendServiceTlsSettingsSubjectAltName.Builder toBuilder()
Returns
Type Description
BackendServiceTlsSettingsSubjectAltName.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException