Class X509Parameters.NameConstraints.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<X509Parameters.NameConstraints.Builder>
com.google.cloud.security.privateca.v1.X509Parameters.NameConstraints.Builder
All Implemented Interfaces:
X509Parameters.NameConstraintsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
X509Parameters.NameConstraints

public static final class X509Parameters.NameConstraints.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<X509Parameters.NameConstraints.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<X509Parameters.NameConstraints.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<X509Parameters.NameConstraints.Builder>
    • getDefaultInstanceForType

      public X509Parameters.NameConstraints getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public X509Parameters.NameConstraints buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public X509Parameters.NameConstraints.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<X509Parameters.NameConstraints.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<X509Parameters.NameConstraints.Builder>
    • mergeFrom

      public X509Parameters.NameConstraints.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<X509Parameters.NameConstraints.Builder>
      Throws:
      IOException
    • getCritical

      public boolean getCritical()
       Indicates whether or not the name constraints are marked critical.
       
      bool critical = 1;
      Specified by:
      getCritical in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      The critical.
    • setCritical

      public X509Parameters.NameConstraints.Builder setCritical(boolean value)
       Indicates whether or not the name constraints are marked critical.
       
      bool critical = 1;
      Parameters:
      value - The critical to set.
      Returns:
      This builder for chaining.
    • clearCritical

       Indicates whether or not the name constraints are marked critical.
       
      bool critical = 1;
      Returns:
      This builder for chaining.
    • getPermittedDnsNamesList

      public com.google.protobuf.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;
      Specified by:
      getPermittedDnsNamesList in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      A list containing the permittedDnsNames.
    • 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;
      Specified by:
      getPermittedDnsNamesCount in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      The count of permittedDnsNames.
    • getPermittedDnsNames

      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;
      Specified by:
      getPermittedDnsNames in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The permittedDnsNames at the given index.
    • getPermittedDnsNamesBytes

      public com.google.protobuf.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;
      Specified by:
      getPermittedDnsNamesBytes in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the permittedDnsNames at the given index.
    • setPermittedDnsNames

      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:
      index - The index to set the value at.
      value - The permittedDnsNames to set.
      Returns:
      This builder for chaining.
    • addPermittedDnsNames

      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;
      Parameters:
      value - The permittedDnsNames to add.
      Returns:
      This builder for chaining.
    • addAllPermittedDnsNames

      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;
      Parameters:
      values - The permittedDnsNames to add.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • addPermittedDnsNamesBytes

      public X509Parameters.NameConstraints.Builder addPermittedDnsNamesBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes of the permittedDnsNames to add.
      Returns:
      This builder for chaining.
    • getExcludedDnsNamesList

      public com.google.protobuf.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;
      Specified by:
      getExcludedDnsNamesList in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      A list containing the excludedDnsNames.
    • 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;
      Specified by:
      getExcludedDnsNamesCount in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      The count of excludedDnsNames.
    • getExcludedDnsNames

      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;
      Specified by:
      getExcludedDnsNames in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludedDnsNames at the given index.
    • getExcludedDnsNamesBytes

      public com.google.protobuf.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;
      Specified by:
      getExcludedDnsNamesBytes in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludedDnsNames at the given index.
    • setExcludedDnsNames

      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:
      index - The index to set the value at.
      value - The excludedDnsNames to set.
      Returns:
      This builder for chaining.
    • addExcludedDnsNames

      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;
      Parameters:
      value - The excludedDnsNames to add.
      Returns:
      This builder for chaining.
    • addAllExcludedDnsNames

      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;
      Parameters:
      values - The excludedDnsNames to add.
      Returns:
      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:
      This builder for chaining.
    • addExcludedDnsNamesBytes

      public X509Parameters.NameConstraints.Builder addExcludedDnsNamesBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes of the excludedDnsNames to add.
      Returns:
      This builder for chaining.
    • getPermittedIpRangesList

      public com.google.protobuf.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;
      Specified by:
      getPermittedIpRangesList in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      A list containing the permittedIpRanges.
    • 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;
      Specified by:
      getPermittedIpRangesCount in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      The count of permittedIpRanges.
    • getPermittedIpRanges

      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;
      Specified by:
      getPermittedIpRanges in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The permittedIpRanges at the given index.
    • getPermittedIpRangesBytes

      public com.google.protobuf.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;
      Specified by:
      getPermittedIpRangesBytes in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the permittedIpRanges at the given index.
    • setPermittedIpRanges

      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:
      index - The index to set the value at.
      value - The permittedIpRanges to set.
      Returns:
      This builder for chaining.
    • addPermittedIpRanges

      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;
      Parameters:
      value - The permittedIpRanges to add.
      Returns:
      This builder for chaining.
    • addAllPermittedIpRanges

      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;
      Parameters:
      values - The permittedIpRanges to add.
      Returns:
      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:
      This builder for chaining.
    • addPermittedIpRangesBytes

      public X509Parameters.NameConstraints.Builder addPermittedIpRangesBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes of the permittedIpRanges to add.
      Returns:
      This builder for chaining.
    • getExcludedIpRangesList

      public com.google.protobuf.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;
      Specified by:
      getExcludedIpRangesList in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      A list containing the excludedIpRanges.
    • 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;
      Specified by:
      getExcludedIpRangesCount in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      The count of excludedIpRanges.
    • getExcludedIpRanges

      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;
      Specified by:
      getExcludedIpRanges in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludedIpRanges at the given index.
    • getExcludedIpRangesBytes

      public com.google.protobuf.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;
      Specified by:
      getExcludedIpRangesBytes in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludedIpRanges at the given index.
    • setExcludedIpRanges

      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:
      index - The index to set the value at.
      value - The excludedIpRanges to set.
      Returns:
      This builder for chaining.
    • addExcludedIpRanges

      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;
      Parameters:
      value - The excludedIpRanges to add.
      Returns:
      This builder for chaining.
    • addAllExcludedIpRanges

      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;
      Parameters:
      values - The excludedIpRanges to add.
      Returns:
      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:
      This builder for chaining.
    • addExcludedIpRangesBytes

      public X509Parameters.NameConstraints.Builder addExcludedIpRangesBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes of the excludedIpRanges to add.
      Returns:
      This builder for chaining.
    • getPermittedEmailAddressesList

      public com.google.protobuf.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;
      Specified by:
      getPermittedEmailAddressesList in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      A list containing the permittedEmailAddresses.
    • 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;
      Specified by:
      getPermittedEmailAddressesCount in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      The count of permittedEmailAddresses.
    • getPermittedEmailAddresses

      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;
      Specified by:
      getPermittedEmailAddresses in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The permittedEmailAddresses at the given index.
    • getPermittedEmailAddressesBytes

      public com.google.protobuf.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;
      Specified by:
      getPermittedEmailAddressesBytes in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the permittedEmailAddresses at the given index.
    • setPermittedEmailAddresses

      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:
      index - The index to set the value at.
      value - The permittedEmailAddresses to set.
      Returns:
      This builder for chaining.
    • addPermittedEmailAddresses

      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;
      Parameters:
      value - The permittedEmailAddresses to add.
      Returns:
      This builder for chaining.
    • addAllPermittedEmailAddresses

      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;
      Parameters:
      values - The permittedEmailAddresses to add.
      Returns:
      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:
      This builder for chaining.
    • addPermittedEmailAddressesBytes

      public X509Parameters.NameConstraints.Builder addPermittedEmailAddressesBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes of the permittedEmailAddresses to add.
      Returns:
      This builder for chaining.
    • getExcludedEmailAddressesList

      public com.google.protobuf.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;
      Specified by:
      getExcludedEmailAddressesList in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      A list containing the excludedEmailAddresses.
    • 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;
      Specified by:
      getExcludedEmailAddressesCount in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      The count of excludedEmailAddresses.
    • getExcludedEmailAddresses

      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;
      Specified by:
      getExcludedEmailAddresses in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludedEmailAddresses at the given index.
    • getExcludedEmailAddressesBytes

      public com.google.protobuf.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;
      Specified by:
      getExcludedEmailAddressesBytes in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludedEmailAddresses at the given index.
    • setExcludedEmailAddresses

      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:
      index - The index to set the value at.
      value - The excludedEmailAddresses to set.
      Returns:
      This builder for chaining.
    • addExcludedEmailAddresses

      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;
      Parameters:
      value - The excludedEmailAddresses to add.
      Returns:
      This builder for chaining.
    • addAllExcludedEmailAddresses

      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;
      Parameters:
      values - The excludedEmailAddresses to add.
      Returns:
      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:
      This builder for chaining.
    • addExcludedEmailAddressesBytes

      public X509Parameters.NameConstraints.Builder addExcludedEmailAddressesBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes of the excludedEmailAddresses to add.
      Returns:
      This builder for chaining.
    • getPermittedUrisList

      public com.google.protobuf.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;
      Specified by:
      getPermittedUrisList in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      A list containing the permittedUris.
    • 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;
      Specified by:
      getPermittedUrisCount in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      The count of permittedUris.
    • getPermittedUris

      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;
      Specified by:
      getPermittedUris in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The permittedUris at the given index.
    • getPermittedUrisBytes

      public com.google.protobuf.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;
      Specified by:
      getPermittedUrisBytes in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the permittedUris at the given index.
    • setPermittedUris

      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:
      index - The index to set the value at.
      value - The permittedUris to set.
      Returns:
      This builder for chaining.
    • addPermittedUris

      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;
      Parameters:
      value - The permittedUris to add.
      Returns:
      This builder for chaining.
    • addAllPermittedUris

      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;
      Parameters:
      values - The permittedUris to add.
      Returns:
      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:
      This builder for chaining.
    • addPermittedUrisBytes

      public X509Parameters.NameConstraints.Builder addPermittedUrisBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes of the permittedUris to add.
      Returns:
      This builder for chaining.
    • getExcludedUrisList

      public com.google.protobuf.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;
      Specified by:
      getExcludedUrisList in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      A list containing the excludedUris.
    • 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;
      Specified by:
      getExcludedUrisCount in interface X509Parameters.NameConstraintsOrBuilder
      Returns:
      The count of excludedUris.
    • getExcludedUris

      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;
      Specified by:
      getExcludedUris in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludedUris at the given index.
    • getExcludedUrisBytes

      public com.google.protobuf.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;
      Specified by:
      getExcludedUrisBytes in interface X509Parameters.NameConstraintsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludedUris at the given index.
    • setExcludedUris

      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:
      index - The index to set the value at.
      value - The excludedUris to set.
      Returns:
      This builder for chaining.
    • addExcludedUris

      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;
      Parameters:
      value - The excludedUris to add.
      Returns:
      This builder for chaining.
    • addAllExcludedUris

      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;
      Parameters:
      values - The excludedUris to add.
      Returns:
      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:
      This builder for chaining.
    • addExcludedUrisBytes

      public X509Parameters.NameConstraints.Builder addExcludedUrisBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes of the excludedUris to add.
      Returns:
      This builder for chaining.