Class CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames (2.55.0)

public static final class CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames extends GeneratedMessageV3 implements CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder

AllowedSubjectAltNames specifies the allowed values for SubjectAltNames by the CertificateAuthority when issuing Certificates.

Protobuf type google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames

Static Fields

ALLOWED_DNS_NAMES_FIELD_NUMBER

public static final int ALLOWED_DNS_NAMES_FIELD_NUMBER
Field Value
Type Description
int

ALLOWED_EMAIL_ADDRESSES_FIELD_NUMBER

public static final int ALLOWED_EMAIL_ADDRESSES_FIELD_NUMBER
Field Value
Type Description
int

ALLOWED_IPS_FIELD_NUMBER

public static final int ALLOWED_IPS_FIELD_NUMBER
Field Value
Type Description
int

ALLOWED_URIS_FIELD_NUMBER

public static final int ALLOWED_URIS_FIELD_NUMBER
Field Value
Type Description
int

ALLOW_CUSTOM_SANS_FIELD_NUMBER

public static final int ALLOW_CUSTOM_SANS_FIELD_NUMBER
Field Value
Type Description
int

ALLOW_GLOBBING_DNS_WILDCARDS_FIELD_NUMBER

public static final int ALLOW_GLOBBING_DNS_WILDCARDS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames getDefaultInstance()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames

getDescriptor()

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

newBuilder()

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilder()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

newBuilder(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames prototype)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilder(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames prototype)
Parameter
Name Description
prototype CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

parseDelimitedFrom(InputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames> parser()
Returns
Type Description
Parser<AllowedSubjectAltNames>

Methods

equals(Object obj)

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

getAllowCustomSans()

public boolean getAllowCustomSans()

Optional. Specifies if to allow custom X509Extension values.

bool allow_custom_sans = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowCustomSans.

getAllowGlobbingDnsWildcards()

public boolean getAllowGlobbingDnsWildcards()

Optional. Specifies if glob patterns used for allowed_dns_names allows wildcard certificates.

bool allow_globbing_dns_wildcards = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowGlobbingDnsWildcards.

getAllowedDnsNames(int index)

public String getAllowedDnsNames(int index)

Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. \). E.g. for globbed entries: bar.com will allow foo.bar.com, but not .bar.com, unless the allow_globbing_dns_wildcards field is set. E.g. for wildcard entries: \.bar.com will allow *.bar.com, but not foo.bar.com.

repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedDnsNames at the given index.

getAllowedDnsNamesBytes(int index)

public ByteString getAllowedDnsNamesBytes(int index)

Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. \). E.g. for globbed entries: bar.com will allow foo.bar.com, but not .bar.com, unless the allow_globbing_dns_wildcards field is set. E.g. for wildcard entries: \.bar.com will allow *.bar.com, but not foo.bar.com.

repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedDnsNames at the given index.

getAllowedDnsNamesCount()

public int getAllowedDnsNamesCount()

Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. \). E.g. for globbed entries: bar.com will allow foo.bar.com, but not .bar.com, unless the allow_globbing_dns_wildcards field is set. E.g. for wildcard entries: \.bar.com will allow *.bar.com, but not foo.bar.com.

repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedDnsNames.

getAllowedDnsNamesList()

public ProtocolStringList getAllowedDnsNamesList()

Optional. Contains valid, fully-qualified host names. Glob patterns are also supported. To allow an explicit wildcard certificate, escape with backlash (i.e. \). E.g. for globbed entries: bar.com will allow foo.bar.com, but not .bar.com, unless the allow_globbing_dns_wildcards field is set. E.g. for wildcard entries: \.bar.com will allow *.bar.com, but not foo.bar.com.

repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the allowedDnsNames.

getAllowedEmailAddresses(int index)

public String getAllowedEmailAddresses(int index)

Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.

repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedEmailAddresses at the given index.

getAllowedEmailAddressesBytes(int index)

public ByteString getAllowedEmailAddressesBytes(int index)

Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.

repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedEmailAddresses at the given index.

getAllowedEmailAddressesCount()

public int getAllowedEmailAddressesCount()

Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.

repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedEmailAddresses.

getAllowedEmailAddressesList()

public ProtocolStringList getAllowedEmailAddressesList()

Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also supported.

repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the allowedEmailAddresses.

getAllowedIps(int index)

public String getAllowedIps(int index)

Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).

repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedIps at the given index.

getAllowedIpsBytes(int index)

public ByteString getAllowedIpsBytes(int index)

Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).

repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedIps at the given index.

getAllowedIpsCount()

public int getAllowedIpsCount()

Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).

repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedIps.

getAllowedIpsList()

public ProtocolStringList getAllowedIpsList()

Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6 addresses and subnet ranges. Subnet ranges are specified using the '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns are supported only for ip address entries (i.e. not for subnet ranges).

repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the allowedIps.

getAllowedUris(int index)

public String getAllowedUris(int index)

Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').

repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedUris at the given index.

getAllowedUrisBytes(int index)

public ByteString getAllowedUrisBytes(int index)

Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').

repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedUris at the given index.

getAllowedUrisCount()

public int getAllowedUrisCount()

Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').

repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowedUris.

getAllowedUrisList()

public ProtocolStringList getAllowedUrisList()

Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To match across path seperators (i.e. '/') use the double star glob pattern (i.e. '**').

repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the allowedUris.

getDefaultInstanceForType()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames getDefaultInstanceForType()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames

getParserForType()

public Parser<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames> getParserForType()
Returns
Type Description
Parser<AllowedSubjectAltNames>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilderForType()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder toBuilder()
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

writeTo(CodedOutputStream output)

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