Class SubjectAltNames
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.security.privateca.v1beta1.SubjectAltNames
-
- All Implemented Interfaces:
SubjectAltNamesOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class SubjectAltNames extends com.google.protobuf.GeneratedMessageV3 implements SubjectAltNamesOrBuilder
[SubjectAltNames][google.cloud.security.privateca.v1beta1.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 typegoogle.cloud.security.privateca.v1beta1.SubjectAltNames- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubjectAltNames.Builder[SubjectAltNames][google.cloud.security.privateca.v1beta1.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).-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCUSTOM_SANS_FIELD_NUMBERstatic intDNS_NAMES_FIELD_NUMBERstatic intEMAIL_ADDRESSES_FIELD_NUMBERstatic intIP_ADDRESSES_FIELD_NUMBERstatic intURIS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)X509ExtensiongetCustomSans(int index)Contains additional subject alternative name values.intgetCustomSansCount()Contains additional subject alternative name values.List<X509Extension>getCustomSansList()Contains additional subject alternative name values.X509ExtensionOrBuildergetCustomSansOrBuilder(int index)Contains additional subject alternative name values.List<? extends X509ExtensionOrBuilder>getCustomSansOrBuilderList()Contains additional subject alternative name values.static SubjectAltNamesgetDefaultInstance()SubjectAltNamesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDnsNames(int index)Contains only valid, fully-qualified host names.com.google.protobuf.ByteStringgetDnsNamesBytes(int index)Contains only valid, fully-qualified host names.intgetDnsNamesCount()Contains only valid, fully-qualified host names.com.google.protobuf.ProtocolStringListgetDnsNamesList()Contains only valid, fully-qualified host names.StringgetEmailAddresses(int index)Contains only valid RFC 2822 E-mail addresses.com.google.protobuf.ByteStringgetEmailAddressesBytes(int index)Contains only valid RFC 2822 E-mail addresses.intgetEmailAddressesCount()Contains only valid RFC 2822 E-mail addresses.com.google.protobuf.ProtocolStringListgetEmailAddressesList()Contains only valid RFC 2822 E-mail addresses.StringgetIpAddresses(int index)Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.com.google.protobuf.ByteStringgetIpAddressesBytes(int index)Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.intgetIpAddressesCount()Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.com.google.protobuf.ProtocolStringListgetIpAddressesList()Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.com.google.protobuf.Parser<SubjectAltNames>getParserForType()intgetSerializedSize()StringgetUris(int index)Contains only valid RFC 3986 URIs.com.google.protobuf.ByteStringgetUrisBytes(int index)Contains only valid RFC 3986 URIs.intgetUrisCount()Contains only valid RFC 3986 URIs.com.google.protobuf.ProtocolStringListgetUrisList()Contains only valid RFC 3986 URIs.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SubjectAltNames.BuildernewBuilder()static SubjectAltNames.BuildernewBuilder(SubjectAltNames prototype)SubjectAltNames.BuildernewBuilderForType()protected SubjectAltNames.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SubjectAltNamesparseDelimitedFrom(InputStream input)static SubjectAltNamesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubjectAltNamesparseFrom(byte[] data)static SubjectAltNamesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubjectAltNamesparseFrom(com.google.protobuf.ByteString data)static SubjectAltNamesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubjectAltNamesparseFrom(com.google.protobuf.CodedInputStream input)static SubjectAltNamesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubjectAltNamesparseFrom(InputStream input)static SubjectAltNamesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SubjectAltNamesparseFrom(ByteBuffer data)static SubjectAltNamesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SubjectAltNames>parser()SubjectAltNames.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DNS_NAMES_FIELD_NUMBER
public static final int DNS_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
URIS_FIELD_NUMBER
public static final int URIS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EMAIL_ADDRESSES_FIELD_NUMBER
public static final int EMAIL_ADDRESSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IP_ADDRESSES_FIELD_NUMBER
public static final int IP_ADDRESSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_SANS_FIELD_NUMBER
public static final int CUSTOM_SANS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDnsNamesList
public com.google.protobuf.ProtocolStringList getDnsNamesList()
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;- Specified by:
getDnsNamesListin interfaceSubjectAltNamesOrBuilder- Returns:
- A list containing the dnsNames.
-
getDnsNamesCount
public int getDnsNamesCount()
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;- Specified by:
getDnsNamesCountin interfaceSubjectAltNamesOrBuilder- Returns:
- The count of dnsNames.
-
getDnsNames
public String getDnsNames(int index)
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;- Specified by:
getDnsNamesin interfaceSubjectAltNamesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dnsNames at the given index.
-
getDnsNamesBytes
public com.google.protobuf.ByteString getDnsNamesBytes(int index)
Contains only valid, fully-qualified host names.
repeated string dns_names = 1;- Specified by:
getDnsNamesBytesin interfaceSubjectAltNamesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dnsNames at the given index.
-
getUrisList
public com.google.protobuf.ProtocolStringList getUrisList()
Contains only valid RFC 3986 URIs.
repeated string uris = 2;- Specified by:
getUrisListin interfaceSubjectAltNamesOrBuilder- Returns:
- A list containing the uris.
-
getUrisCount
public int getUrisCount()
Contains only valid RFC 3986 URIs.
repeated string uris = 2;- Specified by:
getUrisCountin interfaceSubjectAltNamesOrBuilder- Returns:
- The count of uris.
-
getUris
public String getUris(int index)
Contains only valid RFC 3986 URIs.
repeated string uris = 2;- Specified by:
getUrisin interfaceSubjectAltNamesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The uris at the given index.
-
getUrisBytes
public com.google.protobuf.ByteString getUrisBytes(int index)
Contains only valid RFC 3986 URIs.
repeated string uris = 2;- Specified by:
getUrisBytesin interfaceSubjectAltNamesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the uris at the given index.
-
getEmailAddressesList
public com.google.protobuf.ProtocolStringList getEmailAddressesList()
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;- Specified by:
getEmailAddressesListin interfaceSubjectAltNamesOrBuilder- Returns:
- A list containing the emailAddresses.
-
getEmailAddressesCount
public int getEmailAddressesCount()
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;- Specified by:
getEmailAddressesCountin interfaceSubjectAltNamesOrBuilder- Returns:
- The count of emailAddresses.
-
getEmailAddresses
public String getEmailAddresses(int index)
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;- Specified by:
getEmailAddressesin interfaceSubjectAltNamesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The emailAddresses at the given index.
-
getEmailAddressesBytes
public com.google.protobuf.ByteString getEmailAddressesBytes(int index)
Contains only valid RFC 2822 E-mail addresses.
repeated string email_addresses = 3;- Specified by:
getEmailAddressesBytesin interfaceSubjectAltNamesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the emailAddresses at the given index.
-
getIpAddressesList
public com.google.protobuf.ProtocolStringList getIpAddressesList()
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;- Specified by:
getIpAddressesListin interfaceSubjectAltNamesOrBuilder- Returns:
- A list containing the ipAddresses.
-
getIpAddressesCount
public int getIpAddressesCount()
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;- Specified by:
getIpAddressesCountin interfaceSubjectAltNamesOrBuilder- Returns:
- The count of ipAddresses.
-
getIpAddresses
public String getIpAddresses(int index)
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;- Specified by:
getIpAddressesin interfaceSubjectAltNamesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ipAddresses at the given index.
-
getIpAddressesBytes
public com.google.protobuf.ByteString getIpAddressesBytes(int index)
Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
repeated string ip_addresses = 4;- Specified by:
getIpAddressesBytesin interfaceSubjectAltNamesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ipAddresses at the given index.
-
getCustomSansList
public List<X509Extension> getCustomSansList()
Contains additional subject alternative name values.
repeated .google.cloud.security.privateca.v1beta1.X509Extension custom_sans = 5;- Specified by:
getCustomSansListin interfaceSubjectAltNamesOrBuilder
-
getCustomSansOrBuilderList
public List<? extends X509ExtensionOrBuilder> getCustomSansOrBuilderList()
Contains additional subject alternative name values.
repeated .google.cloud.security.privateca.v1beta1.X509Extension custom_sans = 5;- Specified by:
getCustomSansOrBuilderListin interfaceSubjectAltNamesOrBuilder
-
getCustomSansCount
public int getCustomSansCount()
Contains additional subject alternative name values.
repeated .google.cloud.security.privateca.v1beta1.X509Extension custom_sans = 5;- Specified by:
getCustomSansCountin interfaceSubjectAltNamesOrBuilder
-
getCustomSans
public X509Extension getCustomSans(int index)
Contains additional subject alternative name values.
repeated .google.cloud.security.privateca.v1beta1.X509Extension custom_sans = 5;- Specified by:
getCustomSansin interfaceSubjectAltNamesOrBuilder
-
getCustomSansOrBuilder
public X509ExtensionOrBuilder getCustomSansOrBuilder(int index)
Contains additional subject alternative name values.
repeated .google.cloud.security.privateca.v1beta1.X509Extension custom_sans = 5;- Specified by:
getCustomSansOrBuilderin interfaceSubjectAltNamesOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SubjectAltNames parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNames parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNames parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNames parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNames parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNames parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SubjectAltNames parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SubjectAltNames parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SubjectAltNames parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SubjectAltNames parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SubjectAltNames parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SubjectAltNames parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SubjectAltNames.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SubjectAltNames.Builder newBuilder()
-
newBuilder
public static SubjectAltNames.Builder newBuilder(SubjectAltNames prototype)
-
toBuilder
public SubjectAltNames.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SubjectAltNames.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SubjectAltNames getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SubjectAltNames> parser()
-
getParserForType
public com.google.protobuf.Parser<SubjectAltNames> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SubjectAltNames getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-