Class X509Parameters.NameConstraints.Builder (2.20.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
TypeDescription
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
NameDescription
valuesIterable<String>

The excludedDnsNames to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The excludedEmailAddresses to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The excludedIpRanges to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The excludedUris to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The permittedDnsNames to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The permittedEmailAddresses to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The permittedIpRanges to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The permittedUris to add.

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

The excludedDnsNames to add.

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

The bytes of the excludedDnsNames to add.

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

The excludedEmailAddresses to add.

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

The bytes of the excludedEmailAddresses to add.

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

The excludedIpRanges to add.

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

The bytes of the excludedIpRanges to add.

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

The excludedUris to add.

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

The bytes of the excludedUris to add.

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

The permittedDnsNames to add.

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

The bytes of the permittedDnsNames to add.

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

The permittedEmailAddresses to add.

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

The bytes of the permittedEmailAddresses to add.

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

The permittedIpRanges to add.

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

The bytes of the permittedIpRanges to add.

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

The permittedUris to add.

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

The bytes of the permittedUris to add.

Returns
TypeDescription
X509Parameters.NameConstraints.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public X509Parameters.NameConstraints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
X509Parameters.NameConstraints.Builder
Overrides

build()

public X509Parameters.NameConstraints build()
Returns
TypeDescription
X509Parameters.NameConstraints

buildPartial()

public X509Parameters.NameConstraints buildPartial()
Returns
TypeDescription
X509Parameters.NameConstraints

clear()

public X509Parameters.NameConstraints.Builder clear()
Returns
TypeDescription
X509Parameters.NameConstraints.Builder
Overrides

clearCritical()

public X509Parameters.NameConstraints.Builder clearCritical()

Indicates whether or not the name constraints are marked critical.

bool critical = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
X509Parameters.NameConstraints.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public X509Parameters.NameConstraints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
X509Parameters.NameConstraints.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public X509Parameters.NameConstraints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
X509Parameters.NameConstraints.Builder

This builder for chaining.

clone()

public X509Parameters.NameConstraints.Builder clone()
Returns
TypeDescription
X509Parameters.NameConstraints.Builder
Overrides

getCritical()

public boolean getCritical()

Indicates whether or not the name constraints are marked critical.

bool critical = 1;

Returns
TypeDescription
boolean

The critical.

getDefaultInstanceForType()

public X509Parameters.NameConstraints getDefaultInstanceForType()
Returns
TypeDescription
X509Parameters.NameConstraints

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

The index of the element to return.

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

The index of the value to return.

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

The index of the element to return.

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

The index of the value to return.

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

The index of the element to return.

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

The index of the value to return.

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

The index of the element to return.

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

The index of the value to return.

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

The index of the element to return.

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

The index of the value to return.

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

The index of the element to return.

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

The index of the value to return.

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the permittedUris.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(X509Parameters.NameConstraints other)

public X509Parameters.NameConstraints.Builder mergeFrom(X509Parameters.NameConstraints other)
Parameter
NameDescription
otherX509Parameters.NameConstraints
Returns
TypeDescription
X509Parameters.NameConstraints.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public X509Parameters.NameConstraints.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
X509Parameters.NameConstraints.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final X509Parameters.NameConstraints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The critical to set.

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

The index to set the value at.

valueString

The excludedDnsNames to set.

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

The index to set the value at.

valueString

The excludedEmailAddresses to set.

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

The index to set the value at.

valueString

The excludedIpRanges to set.

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

The index to set the value at.

valueString

The excludedUris to set.

Returns
TypeDescription
X509Parameters.NameConstraints.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public X509Parameters.NameConstraints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The permittedDnsNames to set.

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

The index to set the value at.

valueString

The permittedEmailAddresses to set.

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

The index to set the value at.

valueString

The permittedIpRanges to set.

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

The index to set the value at.

valueString

The permittedUris to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
X509Parameters.NameConstraints.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final X509Parameters.NameConstraints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
X509Parameters.NameConstraints.Builder
Overrides