public static enum SslCertificate.Type extends Enum<SslCertificate.Type> implements com.google.protobuf.ProtocolMessageEnum
(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.Protobuf enum
google.cloud.compute.v1.SslCertificate.Type| Enum Constant and Description |
|---|
MANAGED
Google-managed SSLCertificate.
|
SELF_MANAGED
Certificate uploaded by user.
|
TYPE_UNSPECIFIED
TYPE_UNSPECIFIED = 437714322; |
UNDEFINED_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MANAGED_VALUE
Google-managed SSLCertificate.
|
static int |
SELF_MANAGED_VALUE
Certificate uploaded by user.
|
static int |
TYPE_UNSPECIFIED_VALUE
TYPE_UNSPECIFIED = 437714322; |
static int |
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static SslCertificate.Type |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SslCertificate.Type> |
internalGetValueMap() |
static SslCertificate.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SslCertificate.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SslCertificate.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslCertificate.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslCertificate.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final SslCertificate.Type MANAGED
Google-managed SSLCertificate.
MANAGED = 479501183;public static final SslCertificate.Type SELF_MANAGED
Certificate uploaded by user.
SELF_MANAGED = 434437516;public static final SslCertificate.Type TYPE_UNSPECIFIED
TYPE_UNSPECIFIED = 437714322;public static final SslCertificate.Type UNRECOGNIZED
public static final int UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;public static final int MANAGED_VALUE
Google-managed SSLCertificate.
MANAGED = 479501183;public static final int SELF_MANAGED_VALUE
Certificate uploaded by user.
SELF_MANAGED = 434437516;public static final int TYPE_UNSPECIFIED_VALUE
TYPE_UNSPECIFIED = 437714322;public static SslCertificate.Type[] values()
for (SslCertificate.Type c : SslCertificate.Type.values()) System.out.println(c);
public static SslCertificate.Type 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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SslCertificate.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SslCertificate.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SslCertificate.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SslCertificate.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.