Class SubjectAltNames
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.security.privateca.v1.SubjectAltNames
- All Implemented Interfaces:
SubjectAltNamesOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SubjectAltNames
extends com.google.protobuf.GeneratedMessage
implements SubjectAltNamesOrBuilder
[SubjectAltNames][google.cloud.security.privateca.v1.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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[SubjectAltNames][google.cloud.security.privateca.v1.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.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCustomSans(int index) Contains additional subject alternative name values.intContains additional subject alternative name values.Contains additional subject alternative name values.getCustomSansOrBuilder(int index) Contains additional subject alternative name values.List<? extends X509ExtensionOrBuilder>Contains additional subject alternative name values.static SubjectAltNamesstatic final com.google.protobuf.Descriptors.DescriptorgetDnsNames(int index) Contains only valid, fully-qualified host names.com.google.protobuf.ByteStringgetDnsNamesBytes(int index) Contains only valid, fully-qualified host names.intContains only valid, fully-qualified host names.com.google.protobuf.ProtocolStringListContains only valid, fully-qualified host names.getEmailAddresses(int index) Contains only valid RFC 2822 E-mail addresses.com.google.protobuf.ByteStringgetEmailAddressesBytes(int index) Contains only valid RFC 2822 E-mail addresses.intContains only valid RFC 2822 E-mail addresses.com.google.protobuf.ProtocolStringListContains only valid RFC 2822 E-mail addresses.getIpAddresses(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.intContains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.com.google.protobuf.ProtocolStringListContains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.com.google.protobuf.Parser<SubjectAltNames>intgetUris(int index) Contains only valid RFC 3986 URIs.com.google.protobuf.ByteStringgetUrisBytes(int index) Contains only valid RFC 3986 URIs.intContains only valid RFC 3986 URIs.com.google.protobuf.ProtocolStringListContains only valid RFC 3986 URIs.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic SubjectAltNames.Builderstatic SubjectAltNames.BuildernewBuilder(SubjectAltNames prototype) protected SubjectAltNames.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DNS_NAMES_FIELD_NUMBER
public static final int DNS_NAMES_FIELD_NUMBER- See Also:
-
URIS_FIELD_NUMBER
public static final int URIS_FIELD_NUMBER- See Also:
-
EMAIL_ADDRESSES_FIELD_NUMBER
public static final int EMAIL_ADDRESSES_FIELD_NUMBER- See Also:
-
IP_ADDRESSES_FIELD_NUMBER
public static final int IP_ADDRESSES_FIELD_NUMBER- See Also:
-
CUSTOM_SANS_FIELD_NUMBER
public static final int CUSTOM_SANS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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
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
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
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
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;- Specified by:
getCustomSansListin interfaceSubjectAltNamesOrBuilder
-
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;- Specified by:
getCustomSansOrBuilderListin interfaceSubjectAltNamesOrBuilder
-
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;- Specified by:
getCustomSansCountin interfaceSubjectAltNamesOrBuilder
-
getCustomSans
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;- Specified by:
getCustomSansin interfaceSubjectAltNamesOrBuilder
-
getCustomSansOrBuilder
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;- Specified by:
getCustomSansOrBuilderin interfaceSubjectAltNamesOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static SubjectAltNames parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SubjectAltNames.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-