Class CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder (2.51.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
Type Description
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
Name Description
values Iterable<String>

The allowedDnsNames to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The allowedEmailAddresses to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The allowedIps to add.

Returns
Type Description
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
Name Description
values Iterable<String>

The allowedUris to add.

Returns
Type Description
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
Name Description
value String

The allowedDnsNames to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the allowedDnsNames to add.

Returns
Type Description
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
Name Description
value String

The allowedEmailAddresses to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the allowedEmailAddresses to add.

Returns
Type Description
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
Name Description
value String

The allowedIps to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the allowedIps to add.

Returns
Type Description
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
Name Description
value String

The allowedUris to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the allowedUris to add.

Returns
Type Description
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
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames other)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder mergeFrom(CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames other)
Parameter
Name Description
other CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value boolean

The allowCustomSans to set.

Returns
Type Description
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
Name Description
value boolean

The allowGlobbingDnsWildcards to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The allowedDnsNames to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The allowedEmailAddresses to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The allowedIps to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The allowedUris to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.Builder
Overrides