Class X509Parameters.NameConstraints.Builder (2.56.0)

public static final class X509Parameters.NameConstraints.Builder extends GeneratedMessageV3.Builder<X509Parameters.NameConstraints.Builder> implements X509Parameters.NameConstraintsOrBuilder

Describes the X.509 name constraints extension, per https://tools.ietf.org/html/rfc5280#section-4.2.1.10

Protobuf type google.cloud.security.privateca.v1.X509Parameters.NameConstraints

Static Methods

getDescriptor()

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

Methods

addAllExcludedDnsNames(Iterable<String> values)

public X509Parameters.NameConstraints.Builder addAllExcludedDnsNames(Iterable<String> values)

Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string excluded_dns_names = 3;

Parameter
Name Description
values Iterable<String>

The excludedDnsNames to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addAllExcludedEmailAddresses(Iterable<String> values)

public X509Parameters.NameConstraints.Builder addAllExcludedEmailAddresses(Iterable<String> values)

Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string excluded_email_addresses = 7;

Parameter
Name Description
values Iterable<String>

The excludedEmailAddresses to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addAllExcludedIpRanges(Iterable<String> values)

public X509Parameters.NameConstraints.Builder addAllExcludedIpRanges(Iterable<String> values)

Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string excluded_ip_ranges = 5;

Parameter
Name Description
values Iterable<String>

The excludedIpRanges to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addAllExcludedUris(Iterable<String> values)

public X509Parameters.NameConstraints.Builder addAllExcludedUris(Iterable<String> values)

Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string excluded_uris = 9;

Parameter
Name Description
values Iterable<String>

The excludedUris to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addAllPermittedDnsNames(Iterable<String> values)

public X509Parameters.NameConstraints.Builder addAllPermittedDnsNames(Iterable<String> values)

Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string permitted_dns_names = 2;

Parameter
Name Description
values Iterable<String>

The permittedDnsNames to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addAllPermittedEmailAddresses(Iterable<String> values)

public X509Parameters.NameConstraints.Builder addAllPermittedEmailAddresses(Iterable<String> values)

Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string permitted_email_addresses = 6;

Parameter
Name Description
values Iterable<String>

The permittedEmailAddresses to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addAllPermittedIpRanges(Iterable<String> values)

public X509Parameters.NameConstraints.Builder addAllPermittedIpRanges(Iterable<String> values)

Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string permitted_ip_ranges = 4;

Parameter
Name Description
values Iterable<String>

The permittedIpRanges to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addAllPermittedUris(Iterable<String> values)

public X509Parameters.NameConstraints.Builder addAllPermittedUris(Iterable<String> values)

Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string permitted_uris = 8;

Parameter
Name Description
values Iterable<String>

The permittedUris to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addExcludedDnsNames(String value)

public X509Parameters.NameConstraints.Builder addExcludedDnsNames(String value)

Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string excluded_dns_names = 3;

Parameter
Name Description
value String

The excludedDnsNames to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addExcludedDnsNamesBytes(ByteString value)

public X509Parameters.NameConstraints.Builder addExcludedDnsNamesBytes(ByteString value)

Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string excluded_dns_names = 3;

Parameter
Name Description
value ByteString

The bytes of the excludedDnsNames to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addExcludedEmailAddresses(String value)

public X509Parameters.NameConstraints.Builder addExcludedEmailAddresses(String value)

Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string excluded_email_addresses = 7;

Parameter
Name Description
value String

The excludedEmailAddresses to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addExcludedEmailAddressesBytes(ByteString value)

public X509Parameters.NameConstraints.Builder addExcludedEmailAddressesBytes(ByteString value)

Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string excluded_email_addresses = 7;

Parameter
Name Description
value ByteString

The bytes of the excludedEmailAddresses to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addExcludedIpRanges(String value)

public X509Parameters.NameConstraints.Builder addExcludedIpRanges(String value)

Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string excluded_ip_ranges = 5;

Parameter
Name Description
value String

The excludedIpRanges to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addExcludedIpRangesBytes(ByteString value)

public X509Parameters.NameConstraints.Builder addExcludedIpRangesBytes(ByteString value)

Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string excluded_ip_ranges = 5;

Parameter
Name Description
value ByteString

The bytes of the excludedIpRanges to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addExcludedUris(String value)

public X509Parameters.NameConstraints.Builder addExcludedUris(String value)

Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string excluded_uris = 9;

Parameter
Name Description
value String

The excludedUris to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addExcludedUrisBytes(ByteString value)

public X509Parameters.NameConstraints.Builder addExcludedUrisBytes(ByteString value)

Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string excluded_uris = 9;

Parameter
Name Description
value ByteString

The bytes of the excludedUris to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addPermittedDnsNames(String value)

public X509Parameters.NameConstraints.Builder addPermittedDnsNames(String value)

Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string permitted_dns_names = 2;

Parameter
Name Description
value String

The permittedDnsNames to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addPermittedDnsNamesBytes(ByteString value)

public X509Parameters.NameConstraints.Builder addPermittedDnsNamesBytes(ByteString value)

Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string permitted_dns_names = 2;

Parameter
Name Description
value ByteString

The bytes of the permittedDnsNames to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addPermittedEmailAddresses(String value)

public X509Parameters.NameConstraints.Builder addPermittedEmailAddresses(String value)

Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string permitted_email_addresses = 6;

Parameter
Name Description
value String

The permittedEmailAddresses to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addPermittedEmailAddressesBytes(ByteString value)

public X509Parameters.NameConstraints.Builder addPermittedEmailAddressesBytes(ByteString value)

Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string permitted_email_addresses = 6;

Parameter
Name Description
value ByteString

The bytes of the permittedEmailAddresses to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addPermittedIpRanges(String value)

public X509Parameters.NameConstraints.Builder addPermittedIpRanges(String value)

Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string permitted_ip_ranges = 4;

Parameter
Name Description
value String

The permittedIpRanges to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addPermittedIpRangesBytes(ByteString value)

public X509Parameters.NameConstraints.Builder addPermittedIpRangesBytes(ByteString value)

Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string permitted_ip_ranges = 4;

Parameter
Name Description
value ByteString

The bytes of the permittedIpRanges to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addPermittedUris(String value)

public X509Parameters.NameConstraints.Builder addPermittedUris(String value)

Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string permitted_uris = 8;

Parameter
Name Description
value String

The permittedUris to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addPermittedUrisBytes(ByteString value)

public X509Parameters.NameConstraints.Builder addPermittedUrisBytes(ByteString value)

Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string permitted_uris = 8;

Parameter
Name Description
value ByteString

The bytes of the permittedUris to add.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public X509Parameters.NameConstraints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
X509Parameters.NameConstraints.Builder
Overrides

build()

public X509Parameters.NameConstraints build()
Returns
Type Description
X509Parameters.NameConstraints

buildPartial()

public X509Parameters.NameConstraints buildPartial()
Returns
Type Description
X509Parameters.NameConstraints

clear()

public X509Parameters.NameConstraints.Builder clear()
Returns
Type Description
X509Parameters.NameConstraints.Builder
Overrides

clearCritical()

public X509Parameters.NameConstraints.Builder clearCritical()

Indicates whether or not the name constraints are marked critical.

bool critical = 1;

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

clearExcludedDnsNames()

public X509Parameters.NameConstraints.Builder clearExcludedDnsNames()

Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string excluded_dns_names = 3;

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

clearExcludedEmailAddresses()

public X509Parameters.NameConstraints.Builder clearExcludedEmailAddresses()

Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string excluded_email_addresses = 7;

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

clearExcludedIpRanges()

public X509Parameters.NameConstraints.Builder clearExcludedIpRanges()

Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string excluded_ip_ranges = 5;

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

clearExcludedUris()

public X509Parameters.NameConstraints.Builder clearExcludedUris()

Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string excluded_uris = 9;

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public X509Parameters.NameConstraints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
X509Parameters.NameConstraints.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public X509Parameters.NameConstraints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
X509Parameters.NameConstraints.Builder
Overrides

clearPermittedDnsNames()

public X509Parameters.NameConstraints.Builder clearPermittedDnsNames()

Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string permitted_dns_names = 2;

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

clearPermittedEmailAddresses()

public X509Parameters.NameConstraints.Builder clearPermittedEmailAddresses()

Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string permitted_email_addresses = 6;

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

clearPermittedIpRanges()

public X509Parameters.NameConstraints.Builder clearPermittedIpRanges()

Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string permitted_ip_ranges = 4;

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

clearPermittedUris()

public X509Parameters.NameConstraints.Builder clearPermittedUris()

Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string permitted_uris = 8;

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

clone()

public X509Parameters.NameConstraints.Builder clone()
Returns
Type Description
X509Parameters.NameConstraints.Builder
Overrides

getCritical()

public boolean getCritical()

Indicates whether or not the name constraints are marked critical.

bool critical = 1;

Returns
Type Description
boolean

The critical.

getDefaultInstanceForType()

public X509Parameters.NameConstraints getDefaultInstanceForType()
Returns
Type Description
X509Parameters.NameConstraints

getDescriptorForType()

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

getExcludedDnsNames(int index)

public String getExcludedDnsNames(int index)

Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string excluded_dns_names = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludedDnsNames at the given index.

getExcludedDnsNamesBytes(int index)

public ByteString getExcludedDnsNamesBytes(int index)

Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string excluded_dns_names = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludedDnsNames at the given index.

getExcludedDnsNamesCount()

public int getExcludedDnsNamesCount()

Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string excluded_dns_names = 3;

Returns
Type Description
int

The count of excludedDnsNames.

getExcludedDnsNamesList()

public ProtocolStringList getExcludedDnsNamesList()

Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string excluded_dns_names = 3;

Returns
Type Description
ProtocolStringList

A list containing the excludedDnsNames.

getExcludedEmailAddresses(int index)

public String getExcludedEmailAddresses(int index)

Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string excluded_email_addresses = 7;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludedEmailAddresses at the given index.

getExcludedEmailAddressesBytes(int index)

public ByteString getExcludedEmailAddressesBytes(int index)

Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string excluded_email_addresses = 7;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludedEmailAddresses at the given index.

getExcludedEmailAddressesCount()

public int getExcludedEmailAddressesCount()

Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string excluded_email_addresses = 7;

Returns
Type Description
int

The count of excludedEmailAddresses.

getExcludedEmailAddressesList()

public ProtocolStringList getExcludedEmailAddressesList()

Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string excluded_email_addresses = 7;

Returns
Type Description
ProtocolStringList

A list containing the excludedEmailAddresses.

getExcludedIpRanges(int index)

public String getExcludedIpRanges(int index)

Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string excluded_ip_ranges = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludedIpRanges at the given index.

getExcludedIpRangesBytes(int index)

public ByteString getExcludedIpRangesBytes(int index)

Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string excluded_ip_ranges = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludedIpRanges at the given index.

getExcludedIpRangesCount()

public int getExcludedIpRangesCount()

Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string excluded_ip_ranges = 5;

Returns
Type Description
int

The count of excludedIpRanges.

getExcludedIpRangesList()

public ProtocolStringList getExcludedIpRangesList()

Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string excluded_ip_ranges = 5;

Returns
Type Description
ProtocolStringList

A list containing the excludedIpRanges.

getExcludedUris(int index)

public String getExcludedUris(int index)

Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string excluded_uris = 9;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludedUris at the given index.

getExcludedUrisBytes(int index)

public ByteString getExcludedUrisBytes(int index)

Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string excluded_uris = 9;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludedUris at the given index.

getExcludedUrisCount()

public int getExcludedUrisCount()

Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string excluded_uris = 9;

Returns
Type Description
int

The count of excludedUris.

getExcludedUrisList()

public ProtocolStringList getExcludedUrisList()

Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string excluded_uris = 9;

Returns
Type Description
ProtocolStringList

A list containing the excludedUris.

getPermittedDnsNames(int index)

public String getPermittedDnsNames(int index)

Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string permitted_dns_names = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The permittedDnsNames at the given index.

getPermittedDnsNamesBytes(int index)

public ByteString getPermittedDnsNamesBytes(int index)

Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string permitted_dns_names = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the permittedDnsNames at the given index.

getPermittedDnsNamesCount()

public int getPermittedDnsNamesCount()

Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string permitted_dns_names = 2;

Returns
Type Description
int

The count of permittedDnsNames.

getPermittedDnsNamesList()

public ProtocolStringList getPermittedDnsNamesList()

Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string permitted_dns_names = 2;

Returns
Type Description
ProtocolStringList

A list containing the permittedDnsNames.

getPermittedEmailAddresses(int index)

public String getPermittedEmailAddresses(int index)

Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string permitted_email_addresses = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The permittedEmailAddresses at the given index.

getPermittedEmailAddressesBytes(int index)

public ByteString getPermittedEmailAddressesBytes(int index)

Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string permitted_email_addresses = 6;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the permittedEmailAddresses at the given index.

getPermittedEmailAddressesCount()

public int getPermittedEmailAddressesCount()

Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string permitted_email_addresses = 6;

Returns
Type Description
int

The count of permittedEmailAddresses.

getPermittedEmailAddressesList()

public ProtocolStringList getPermittedEmailAddressesList()

Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string permitted_email_addresses = 6;

Returns
Type Description
ProtocolStringList

A list containing the permittedEmailAddresses.

getPermittedIpRanges(int index)

public String getPermittedIpRanges(int index)

Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string permitted_ip_ranges = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The permittedIpRanges at the given index.

getPermittedIpRangesBytes(int index)

public ByteString getPermittedIpRangesBytes(int index)

Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string permitted_ip_ranges = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the permittedIpRanges at the given index.

getPermittedIpRangesCount()

public int getPermittedIpRangesCount()

Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string permitted_ip_ranges = 4;

Returns
Type Description
int

The count of permittedIpRanges.

getPermittedIpRangesList()

public ProtocolStringList getPermittedIpRangesList()

Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string permitted_ip_ranges = 4;

Returns
Type Description
ProtocolStringList

A list containing the permittedIpRanges.

getPermittedUris(int index)

public String getPermittedUris(int index)

Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string permitted_uris = 8;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The permittedUris at the given index.

getPermittedUrisBytes(int index)

public ByteString getPermittedUrisBytes(int index)

Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string permitted_uris = 8;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the permittedUris at the given index.

getPermittedUrisCount()

public int getPermittedUrisCount()

Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string permitted_uris = 8;

Returns
Type Description
int

The count of permittedUris.

getPermittedUrisList()

public ProtocolStringList getPermittedUrisList()

Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string permitted_uris = 8;

Returns
Type Description
ProtocolStringList

A list containing the permittedUris.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(X509Parameters.NameConstraints other)

public X509Parameters.NameConstraints.Builder mergeFrom(X509Parameters.NameConstraints other)
Parameter
Name Description
other X509Parameters.NameConstraints
Returns
Type Description
X509Parameters.NameConstraints.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public X509Parameters.NameConstraints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
X509Parameters.NameConstraints.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public X509Parameters.NameConstraints.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
X509Parameters.NameConstraints.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final X509Parameters.NameConstraints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
X509Parameters.NameConstraints.Builder
Overrides

setCritical(boolean value)

public X509Parameters.NameConstraints.Builder setCritical(boolean value)

Indicates whether or not the name constraints are marked critical.

bool critical = 1;

Parameter
Name Description
value boolean

The critical to set.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

setExcludedDnsNames(int index, String value)

public X509Parameters.NameConstraints.Builder setExcludedDnsNames(int index, String value)

Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string excluded_dns_names = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The excludedDnsNames to set.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

setExcludedEmailAddresses(int index, String value)

public X509Parameters.NameConstraints.Builder setExcludedEmailAddresses(int index, String value)

Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string excluded_email_addresses = 7;

Parameters
Name Description
index int

The index to set the value at.

value String

The excludedEmailAddresses to set.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

setExcludedIpRanges(int index, String value)

public X509Parameters.NameConstraints.Builder setExcludedIpRanges(int index, String value)

Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string excluded_ip_ranges = 5;

Parameters
Name Description
index int

The index to set the value at.

value String

The excludedIpRanges to set.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

setExcludedUris(int index, String value)

public X509Parameters.NameConstraints.Builder setExcludedUris(int index, String value)

Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string excluded_uris = 9;

Parameters
Name Description
index int

The index to set the value at.

value String

The excludedUris to set.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public X509Parameters.NameConstraints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
X509Parameters.NameConstraints.Builder
Overrides

setPermittedDnsNames(int index, String value)

public X509Parameters.NameConstraints.Builder setPermittedDnsNames(int index, String value)

Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example, example.com, www.example.com, www.sub.example.com would satisfy example.com while example1.com does not.

repeated string permitted_dns_names = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The permittedDnsNames to set.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

setPermittedEmailAddresses(int index, String value)

public X509Parameters.NameConstraints.Builder setPermittedEmailAddresses(int index, String value)

Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g. .example.com) to indicate all email addresses in that domain.

repeated string permitted_email_addresses = 6;

Parameters
Name Description
index int

The index to set the value at.

value String

The permittedEmailAddresses to set.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

setPermittedIpRanges(int index, String value)

public X509Parameters.NameConstraints.Builder setPermittedIpRanges(int index, String value)

Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar encoding as IPv4 addresses.

repeated string permitted_ip_ranges = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The permittedIpRanges to set.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

setPermittedUris(int index, String value)

public X509Parameters.NameConstraints.Builder setPermittedUris(int index, String value)

Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like .example.com)

repeated string permitted_uris = 8;

Parameters
Name Description
index int

The index to set the value at.

value String

The permittedUris to set.

Returns
Type Description
X509Parameters.NameConstraints.Builder

This builder for chaining.

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

public X509Parameters.NameConstraints.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
X509Parameters.NameConstraints.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final X509Parameters.NameConstraints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
X509Parameters.NameConstraints.Builder
Overrides