public static enum DestinationRuleOuterClass.ClientTLSSettings.TLSmode extends Enum<DestinationRuleOuterClass.ClientTLSSettings.TLSmode> implements com.google.protobuf.ProtocolMessageEnum
TLS connection modeProtobuf enum
istio.networking.v1alpha3.ClientTLSSettings.TLSmode| 枚举常量和说明 |
|---|
DISABLE
Do not setup a TLS connection to the upstream endpoint.
|
ISTIO_MUTUAL
Secure connections to the upstream using mutual TLS by presenting
client certificates for authentication.
|
MUTUAL
Secure connections to the upstream using mutual TLS by presenting
client certificates for authentication.
|
SIMPLE
Originate a TLS connection to the upstream endpoint.
|
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DISABLE_VALUE
Do not setup a TLS connection to the upstream endpoint.
|
static int |
ISTIO_MUTUAL_VALUE
Secure connections to the upstream using mutual TLS by presenting
client certificates for authentication.
|
static int |
MUTUAL_VALUE
Secure connections to the upstream using mutual TLS by presenting
client certificates for authentication.
|
static int |
SIMPLE_VALUE
Originate a TLS connection to the upstream endpoint.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static DestinationRuleOuterClass.ClientTLSSettings.TLSmode |
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<DestinationRuleOuterClass.ClientTLSSettings.TLSmode> |
internalGetValueMap() |
static DestinationRuleOuterClass.ClientTLSSettings.TLSmode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DestinationRuleOuterClass.ClientTLSSettings.TLSmode |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static DestinationRuleOuterClass.ClientTLSSettings.TLSmode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static DestinationRuleOuterClass.ClientTLSSettings.TLSmode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DestinationRuleOuterClass.ClientTLSSettings.TLSmode DISABLE
Do not setup a TLS connection to the upstream endpoint.
DISABLE = 0;public static final DestinationRuleOuterClass.ClientTLSSettings.TLSmode SIMPLE
Originate a TLS connection to the upstream endpoint.
SIMPLE = 1;public static final DestinationRuleOuterClass.ClientTLSSettings.TLSmode MUTUAL
Secure connections to the upstream using mutual TLS by presenting client certificates for authentication.
MUTUAL = 2;public static final DestinationRuleOuterClass.ClientTLSSettings.TLSmode ISTIO_MUTUAL
Secure connections to the upstream using mutual TLS by presenting client certificates for authentication. Compared to Mutual mode, this mode uses certificates generated automatically by Istio for mTLS authentication. When this mode is used, all other fields in `ClientTLSSettings` should be empty.
ISTIO_MUTUAL = 3;public static final DestinationRuleOuterClass.ClientTLSSettings.TLSmode UNRECOGNIZED
public static final int DISABLE_VALUE
Do not setup a TLS connection to the upstream endpoint.
DISABLE = 0;public static final int SIMPLE_VALUE
Originate a TLS connection to the upstream endpoint.
SIMPLE = 1;public static final int MUTUAL_VALUE
Secure connections to the upstream using mutual TLS by presenting client certificates for authentication.
MUTUAL = 2;public static final int ISTIO_MUTUAL_VALUE
Secure connections to the upstream using mutual TLS by presenting client certificates for authentication. Compared to Mutual mode, this mode uses certificates generated automatically by Istio for mTLS authentication. When this mode is used, all other fields in `ClientTLSSettings` should be empty.
ISTIO_MUTUAL = 3;public static DestinationRuleOuterClass.ClientTLSSettings.TLSmode[] values()
for (DestinationRuleOuterClass.ClientTLSSettings.TLSmode c : DestinationRuleOuterClass.ClientTLSSettings.TLSmode.values()) System.out.println(c);
public static DestinationRuleOuterClass.ClientTLSSettings.TLSmode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static DestinationRuleOuterClass.ClientTLSSettings.TLSmode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DestinationRuleOuterClass.ClientTLSSettings.TLSmode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DestinationRuleOuterClass.ClientTLSSettings.TLSmode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DestinationRuleOuterClass.ClientTLSSettings.TLSmode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2023 Alibaba Group. All rights reserved.