Class CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder (2.4.0)

public static final class CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder extends GeneratedMessageV3.Builder<CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

Static Methods

getDescriptor()

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

Methods

addAllAllowedDnsNames(Iterable<String> values)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllAllowedDnsNames(Iterable<String> values)

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
valuesIterable<String>

The allowedDnsNames to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addAllAllowedEmailAddresses(Iterable<String> values)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllAllowedEmailAddresses(Iterable<String> values)

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
valuesIterable<String>

The allowedEmailAddresses to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addAllAllowedIps(Iterable<String> values)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllAllowedIps(Iterable<String> values)

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
valuesIterable<String>

The allowedIps to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addAllAllowedUris(Iterable<String> values)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllAllowedUris(Iterable<String> values)

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
valuesIterable<String>

The allowedUris to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addAllowedDnsNames(String value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedDnsNames(String value)

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
valueString

The allowedDnsNames to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addAllowedDnsNamesBytes(ByteString value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedDnsNamesBytes(ByteString value)

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
valueByteString

The bytes of the allowedDnsNames to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addAllowedEmailAddresses(String value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedEmailAddresses(String value)

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
valueString

The allowedEmailAddresses to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addAllowedEmailAddressesBytes(ByteString value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedEmailAddressesBytes(ByteString value)

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
valueByteString

The bytes of the allowedEmailAddresses to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addAllowedIps(String value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedIps(String value)

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
valueString

The allowedIps to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addAllowedIpsBytes(ByteString value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedIpsBytes(ByteString value)

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
valueByteString

The bytes of the allowedIps to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addAllowedUris(String value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedUris(String value)

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
valueString

The allowedUris to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addAllowedUrisBytes(ByteString value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addAllowedUrisBytes(ByteString value)

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
valueByteString

The bytes of the allowedUris to add.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

build()

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

buildPartial()

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

clear()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clear()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

clearAllowCustomSans()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowCustomSans()

Optional. Specifies if to allow custom X509Extension values.

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

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

clearAllowGlobbingDnsWildcards()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowGlobbingDnsWildcards()

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
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

clearAllowedDnsNames()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowedDnsNames()

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
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

clearAllowedEmailAddresses()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowedEmailAddresses()

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
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

clearAllowedIps()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowedIps()

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
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

clearAllowedUris()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearAllowedUris()

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
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

clone()

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clone()
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames other)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder mergeFrom(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames other)
Parameter
NameDescription
otherCertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

setAllowCustomSans(boolean value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowCustomSans(boolean value)

Optional. Specifies if to allow custom X509Extension values.

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

Parameter
NameDescription
valueboolean

The allowCustomSans to set.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

setAllowGlobbingDnsWildcards(boolean value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowGlobbingDnsWildcards(boolean value)

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

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

Parameter
NameDescription
valueboolean

The allowGlobbingDnsWildcards to set.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

setAllowedDnsNames(int index, String value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowedDnsNames(int index, String value)

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];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The allowedDnsNames to set.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

setAllowedEmailAddresses(int index, String value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowedEmailAddresses(int index, String value)

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

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

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The allowedEmailAddresses to set.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

setAllowedIps(int index, String value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowedIps(int index, String value)

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];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The allowedIps to set.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

setAllowedUris(int index, String value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setAllowedUris(int index, String value)

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];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The allowedUris to set.

Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides