public enum PublicKeyCertificateFormat extends Enum<PublicKeyCertificateFormat> implements ProtocolMessageEnum
The supported formats for the public key.Protobuf enum
google.cloud.iot.v1.PublicKeyCertificateFormat
Enum Constant and Description |
---|
UNRECOGNIZED |
UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT
The format has not been specified.
|
X509_CERTIFICATE_PEM
An X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)),
encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and
`-----END CERTIFICATE-----`.
|
Modifier and Type | Field and Description |
---|---|
static int |
UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT_VALUE
The format has not been specified.
|
static int |
X509_CERTIFICATE_PEM_VALUE
An X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)),
encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and
`-----END CERTIFICATE-----`.
|
Modifier and Type | Method and Description |
---|---|
static PublicKeyCertificateFormat |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<PublicKeyCertificateFormat> |
internalGetValueMap() |
static PublicKeyCertificateFormat |
valueOf(Descriptors.EnumValueDescriptor desc) |
static PublicKeyCertificateFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PublicKeyCertificateFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublicKeyCertificateFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublicKeyCertificateFormat UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT
The format has not been specified. This is an invalid default value and must not be used.
UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT = 0;
public static final PublicKeyCertificateFormat X509_CERTIFICATE_PEM
An X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`.
X509_CERTIFICATE_PEM = 1;
public static final PublicKeyCertificateFormat UNRECOGNIZED
public static final int UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT_VALUE
The format has not been specified. This is an invalid default value and must not be used.
UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT = 0;
public static final int X509_CERTIFICATE_PEM_VALUE
An X.509v3 certificate ([RFC5280](https://www.ietf.org/rfc/rfc5280.txt)), encoded in base64, and wrapped by `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----`.
X509_CERTIFICATE_PEM = 1;
public static PublicKeyCertificateFormat[] values()
for (PublicKeyCertificateFormat c : PublicKeyCertificateFormat.values()) System.out.println(c);
public static PublicKeyCertificateFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static PublicKeyCertificateFormat valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PublicKeyCertificateFormat forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<PublicKeyCertificateFormat> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static PublicKeyCertificateFormat valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.