- 2.56.0 (latest)
- 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 SubjectAltNames.Builder extends GeneratedMessageV3.Builder<SubjectAltNames.Builder> implements SubjectAltNamesOrBuilder
SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the "common name" in the distinguished name).
Protobuf type google.cloud.security.privateca.v1.SubjectAltNames
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SubjectAltNames.BuilderImplements
SubjectAltNamesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllCustomSans(Iterable<? extends X509Extension> values)
public SubjectAltNames.Builder addAllCustomSans(Iterable<? extends X509Extension> values)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
values | Iterable<? extends com.google.cloud.security.privateca.v1.X509Extension> |
Type | Description |
SubjectAltNames.Builder |
addAllDnsNames(Iterable<String> values)
public SubjectAltNames.Builder addAllDnsNames(Iterable<String> values)
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Name | Description |
values | Iterable<String> The dnsNames to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
addAllEmailAddresses(Iterable<String> values)
public SubjectAltNames.Builder addAllEmailAddresses(Iterable<String> values)
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Name | Description |
values | Iterable<String> The emailAddresses to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
addAllIpAddresses(Iterable<String> values)
public SubjectAltNames.Builder addAllIpAddresses(Iterable<String> values)
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Name | Description |
values | Iterable<String> The ipAddresses to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
addAllUris(Iterable<String> values)
public SubjectAltNames.Builder addAllUris(Iterable<String> values)
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Name | Description |
values | Iterable<String> The uris to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
addCustomSans(X509Extension value)
public SubjectAltNames.Builder addCustomSans(X509Extension value)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
value | X509Extension |
Type | Description |
SubjectAltNames.Builder |
addCustomSans(X509Extension.Builder builderForValue)
public SubjectAltNames.Builder addCustomSans(X509Extension.Builder builderForValue)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
builderForValue | X509Extension.Builder |
Type | Description |
SubjectAltNames.Builder |
addCustomSans(int index, X509Extension value)
public SubjectAltNames.Builder addCustomSans(int index, X509Extension value)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
index | int |
value | X509Extension |
Type | Description |
SubjectAltNames.Builder |
addCustomSans(int index, X509Extension.Builder builderForValue)
public SubjectAltNames.Builder addCustomSans(int index, X509Extension.Builder builderForValue)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
index | int |
builderForValue | X509Extension.Builder |
Type | Description |
SubjectAltNames.Builder |
addCustomSansBuilder()
public X509Extension.Builder addCustomSansBuilder()
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Type | Description |
X509Extension.Builder |
addCustomSansBuilder(int index)
public X509Extension.Builder addCustomSansBuilder(int index)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
index | int |
Type | Description |
X509Extension.Builder |
addDnsNames(String value)
public SubjectAltNames.Builder addDnsNames(String value)
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Name | Description |
value | String The dnsNames to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
addDnsNamesBytes(ByteString value)
public SubjectAltNames.Builder addDnsNamesBytes(ByteString value)
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Name | Description |
value | ByteString The bytes of the dnsNames to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
addEmailAddresses(String value)
public SubjectAltNames.Builder addEmailAddresses(String value)
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Name | Description |
value | String The emailAddresses to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
addEmailAddressesBytes(ByteString value)
public SubjectAltNames.Builder addEmailAddressesBytes(ByteString value)
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Name | Description |
value | ByteString The bytes of the emailAddresses to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
addIpAddresses(String value)
public SubjectAltNames.Builder addIpAddresses(String value)
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Name | Description |
value | String The ipAddresses to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
addIpAddressesBytes(ByteString value)
public SubjectAltNames.Builder addIpAddressesBytes(ByteString value)
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Name | Description |
value | ByteString The bytes of the ipAddresses to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubjectAltNames.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SubjectAltNames.Builder |
addUris(String value)
public SubjectAltNames.Builder addUris(String value)
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Name | Description |
value | String The uris to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
addUrisBytes(ByteString value)
public SubjectAltNames.Builder addUrisBytes(ByteString value)
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Name | Description |
value | ByteString The bytes of the uris to add. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
build()
public SubjectAltNames build()
Type | Description |
SubjectAltNames |
buildPartial()
public SubjectAltNames buildPartial()
Type | Description |
SubjectAltNames |
clear()
public SubjectAltNames.Builder clear()
Type | Description |
SubjectAltNames.Builder |
clearCustomSans()
public SubjectAltNames.Builder clearCustomSans()
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Type | Description |
SubjectAltNames.Builder |
clearDnsNames()
public SubjectAltNames.Builder clearDnsNames()
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
clearEmailAddresses()
public SubjectAltNames.Builder clearEmailAddresses()
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SubjectAltNames.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SubjectAltNames.Builder |
clearIpAddresses()
public SubjectAltNames.Builder clearIpAddresses()
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SubjectAltNames.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SubjectAltNames.Builder |
clearUris()
public SubjectAltNames.Builder clearUris()
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
clone()
public SubjectAltNames.Builder clone()
Type | Description |
SubjectAltNames.Builder |
getCustomSans(int index)
public X509Extension getCustomSans(int index)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
index | int |
Type | Description |
X509Extension |
getCustomSansBuilder(int index)
public X509Extension.Builder getCustomSansBuilder(int index)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
index | int |
Type | Description |
X509Extension.Builder |
getCustomSansBuilderList()
public List<X509Extension.Builder> getCustomSansBuilderList()
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Type | Description |
List<Builder> |
getCustomSansCount()
public int getCustomSansCount()
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Type | Description |
int |
getCustomSansList()
public List<X509Extension> getCustomSansList()
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Type | Description |
List<X509Extension> |
getCustomSansOrBuilder(int index)
public X509ExtensionOrBuilder getCustomSansOrBuilder(int index)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
index | int |
Type | Description |
X509ExtensionOrBuilder |
getCustomSansOrBuilderList()
public List<? extends X509ExtensionOrBuilder> getCustomSansOrBuilderList()
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Type | Description |
List<? extends com.google.cloud.security.privateca.v1.X509ExtensionOrBuilder> |
getDefaultInstanceForType()
public SubjectAltNames getDefaultInstanceForType()
Type | Description |
SubjectAltNames |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDnsNames(int index)
public String getDnsNames(int index)
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The dnsNames at the given index. |
getDnsNamesBytes(int index)
public ByteString getDnsNamesBytes(int index)
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the dnsNames at the given index. |
getDnsNamesCount()
public int getDnsNamesCount()
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Type | Description |
int | The count of dnsNames. |
getDnsNamesList()
public ProtocolStringList getDnsNamesList()
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Type | Description |
ProtocolStringList | A list containing the dnsNames. |
getEmailAddresses(int index)
public String getEmailAddresses(int index)
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The emailAddresses at the given index. |
getEmailAddressesBytes(int index)
public ByteString getEmailAddressesBytes(int index)
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the emailAddresses at the given index. |
getEmailAddressesCount()
public int getEmailAddressesCount()
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Type | Description |
int | The count of emailAddresses. |
getEmailAddressesList()
public ProtocolStringList getEmailAddressesList()
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Type | Description |
ProtocolStringList | A list containing the emailAddresses. |
getIpAddresses(int index)
public String getIpAddresses(int index)
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The ipAddresses at the given index. |
getIpAddressesBytes(int index)
public ByteString getIpAddressesBytes(int index)
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the ipAddresses at the given index. |
getIpAddressesCount()
public int getIpAddressesCount()
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Type | Description |
int | The count of ipAddresses. |
getIpAddressesList()
public ProtocolStringList getIpAddressesList()
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Type | Description |
ProtocolStringList | A list containing the ipAddresses. |
getUris(int index)
public String getUris(int index)
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The uris at the given index. |
getUrisBytes(int index)
public ByteString getUrisBytes(int index)
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the uris at the given index. |
getUrisCount()
public int getUrisCount()
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Type | Description |
int | The count of uris. |
getUrisList()
public ProtocolStringList getUrisList()
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Type | Description |
ProtocolStringList | A list containing the uris. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(SubjectAltNames other)
public SubjectAltNames.Builder mergeFrom(SubjectAltNames other)
Name | Description |
other | SubjectAltNames |
Type | Description |
SubjectAltNames.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SubjectAltNames.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
SubjectAltNames.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public SubjectAltNames.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
SubjectAltNames.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubjectAltNames.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SubjectAltNames.Builder |
removeCustomSans(int index)
public SubjectAltNames.Builder removeCustomSans(int index)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
index | int |
Type | Description |
SubjectAltNames.Builder |
setCustomSans(int index, X509Extension value)
public SubjectAltNames.Builder setCustomSans(int index, X509Extension value)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
index | int |
value | X509Extension |
Type | Description |
SubjectAltNames.Builder |
setCustomSans(int index, X509Extension.Builder builderForValue)
public SubjectAltNames.Builder setCustomSans(int index, X509Extension.Builder builderForValue)
Contains additional subject alternative name values.
For each custom_san, the value
field must contain an ASN.1 encoded
UTF8String.
repeated .google.cloud.security.privateca.v1.X509Extension custom_sans = 5;
Name | Description |
index | int |
builderForValue | X509Extension.Builder |
Type | Description |
SubjectAltNames.Builder |
setDnsNames(int index, String value)
public SubjectAltNames.Builder setDnsNames(int index, String value)
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;
Name | Description |
index | int The index to set the value at. |
value | String The dnsNames to set. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
setEmailAddresses(int index, String value)
public SubjectAltNames.Builder setEmailAddresses(int index, String value)
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;
Name | Description |
index | int The index to set the value at. |
value | String The emailAddresses to set. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SubjectAltNames.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SubjectAltNames.Builder |
setIpAddresses(int index, String value)
public SubjectAltNames.Builder setIpAddresses(int index, String value)
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;
Name | Description |
index | int The index to set the value at. |
value | String The ipAddresses to set. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubjectAltNames.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
SubjectAltNames.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final SubjectAltNames.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
SubjectAltNames.Builder |
setUris(int index, String value)
public SubjectAltNames.Builder setUris(int index, String value)
Contains only valid RFC 3986 URIs.
repeated string uris = 2;
Name | Description |
index | int The index to set the value at. |
value | String The uris to set. |
Type | Description |
SubjectAltNames.Builder | This builder for chaining. |