Class CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames (2.29.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
TypeDescription
int

ALLOWED_EMAIL_ADDRESSES_FIELD_NUMBER

public static final int ALLOWED_EMAIL_ADDRESSES_FIELD_NUMBER
Field Value
TypeDescription
int

ALLOWED_IPS_FIELD_NUMBER

public static final int ALLOWED_IPS_FIELD_NUMBER
Field Value
TypeDescription
int

ALLOWED_URIS_FIELD_NUMBER

public static final int ALLOWED_URIS_FIELD_NUMBER
Field Value
TypeDescription
int

ALLOW_CUSTOM_SANS_FIELD_NUMBER

public static final int ALLOW_CUSTOM_SANS_FIELD_NUMBER
Field Value
TypeDescription
int

ALLOW_GLOBBING_DNS_WILDCARDS_FIELD_NUMBER

public static final int ALLOW_GLOBBING_DNS_WILDCARDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames getDefaultInstance()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilder()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

newBuilder(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames prototype)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilder(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames prototype)
Parameter
NameDescription
prototypeCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

parseDelimitedFrom(InputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the allowedUris.

getDefaultInstanceForType()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames getDefaultInstanceForType()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilderForType()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder toBuilder()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException