- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.0
- 2.3.0
- 2.2.5
public static final class X509Parameters.NameConstraints extends GeneratedMessageV3 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > X509Parameters.NameConstraintsImplements
X509Parameters.NameConstraintsOrBuilderStatic Fields
CRITICAL_FIELD_NUMBER
public static final int CRITICAL_FIELD_NUMBER
Type | Description |
int |
EXCLUDED_DNS_NAMES_FIELD_NUMBER
public static final int EXCLUDED_DNS_NAMES_FIELD_NUMBER
Type | Description |
int |
EXCLUDED_EMAIL_ADDRESSES_FIELD_NUMBER
public static final int EXCLUDED_EMAIL_ADDRESSES_FIELD_NUMBER
Type | Description |
int |
EXCLUDED_IP_RANGES_FIELD_NUMBER
public static final int EXCLUDED_IP_RANGES_FIELD_NUMBER
Type | Description |
int |
EXCLUDED_URIS_FIELD_NUMBER
public static final int EXCLUDED_URIS_FIELD_NUMBER
Type | Description |
int |
PERMITTED_DNS_NAMES_FIELD_NUMBER
public static final int PERMITTED_DNS_NAMES_FIELD_NUMBER
Type | Description |
int |
PERMITTED_EMAIL_ADDRESSES_FIELD_NUMBER
public static final int PERMITTED_EMAIL_ADDRESSES_FIELD_NUMBER
Type | Description |
int |
PERMITTED_IP_RANGES_FIELD_NUMBER
public static final int PERMITTED_IP_RANGES_FIELD_NUMBER
Type | Description |
int |
PERMITTED_URIS_FIELD_NUMBER
public static final int PERMITTED_URIS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static X509Parameters.NameConstraints getDefaultInstance()
Type | Description |
X509Parameters.NameConstraints |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static X509Parameters.NameConstraints.Builder newBuilder()
Type | Description |
X509Parameters.NameConstraints.Builder |
newBuilder(X509Parameters.NameConstraints prototype)
public static X509Parameters.NameConstraints.Builder newBuilder(X509Parameters.NameConstraints prototype)
Name | Description |
prototype | X509Parameters.NameConstraints |
Type | Description |
X509Parameters.NameConstraints.Builder |
parseDelimitedFrom(InputStream input)
public static X509Parameters.NameConstraints parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static X509Parameters.NameConstraints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
IOException |
parseFrom(byte[] data)
public static X509Parameters.NameConstraints parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static X509Parameters.NameConstraints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static X509Parameters.NameConstraints parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static X509Parameters.NameConstraints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static X509Parameters.NameConstraints parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static X509Parameters.NameConstraints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
IOException |
parseFrom(InputStream input)
public static X509Parameters.NameConstraints parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static X509Parameters.NameConstraints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static X509Parameters.NameConstraints parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static X509Parameters.NameConstraints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
X509Parameters.NameConstraints |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<X509Parameters.NameConstraints> parser()
Type | Description |
Parser<NameConstraints> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getCritical()
public boolean getCritical()
Indicates whether or not the name constraints are marked critical.
bool critical = 1;
Type | Description |
boolean | The critical. |
getDefaultInstanceForType()
public X509Parameters.NameConstraints getDefaultInstanceForType()
Type | Description |
X509Parameters.NameConstraints |
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the excludedUris. |
getParserForType()
public Parser<X509Parameters.NameConstraints> getParserForType()
Type | Description |
Parser<NameConstraints> |
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the permittedUris. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public X509Parameters.NameConstraints.Builder newBuilderForType()
Type | Description |
X509Parameters.NameConstraints.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected X509Parameters.NameConstraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
X509Parameters.NameConstraints.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public X509Parameters.NameConstraints.Builder toBuilder()
Type | Description |
X509Parameters.NameConstraints.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |