类 DestinationRuleOuterClass.ClientTLSSettings
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- istio.networking.v1alpha3.DestinationRuleOuterClass.ClientTLSSettings
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DestinationRuleOuterClass.ClientTLSSettingsOrBuilder,java.io.Serializable
public static final class DestinationRuleOuterClass.ClientTLSSettings extends com.google.protobuf.GeneratedMessageV3 implements DestinationRuleOuterClass.ClientTLSSettingsOrBuilder
SSL/TLS related settings for upstream connections. See Envoy's [TLS context](https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/auth/cert.proto.html) for more details. These settings are common to both HTTP and TCP upstreams. For example, the following rule configures a client to use mutual TLS for connections to upstream database cluster. {{<tabset category-name="example">}} {{<tab name="v1alpha3" category-value="v1alpha3">}} ```yaml apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: name: db-mtls spec: host: mydbserver.prod.svc.cluster.local trafficPolicy: tls: mode: MUTUAL clientCertificate: /etc/certs/myclientcert.pem privateKey: /etc/certs/client_private_key.pem caCertificates: /etc/certs/rootcacerts.pem ``` {{</tab>}} {{<tab name="v1beta1" category-value="v1beta1">}} ```yaml apiVersion: networking.istio.io/v1beta1 kind: DestinationRule metadata: name: db-mtls spec: host: mydbserver.prod.svc.cluster.local trafficPolicy: tls: mode: MUTUAL clientCertificate: /etc/certs/myclientcert.pem privateKey: /etc/certs/client_private_key.pem caCertificates: /etc/certs/rootcacerts.pem ``` {{</tab>}} {{</tabset>}} The following rule configures a client to use TLS when talking to a foreign service whose domain matches *.foo.com. {{<tabset category-name="example">}} {{<tab name="v1alpha3" category-value="v1alpha3">}} ```yaml apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: name: tls-foo spec: host: "*.foo.com" trafficPolicy: tls: mode: SIMPLE ``` {{</tab>}} {{<tab name="v1beta1" category-value="v1beta1">}} ```yaml apiVersion: networking.istio.io/v1beta1 kind: DestinationRule metadata: name: tls-foo spec: host: "*.foo.com" trafficPolicy: tls: mode: SIMPLE ``` {{</tab>}} {{</tabset>}} The following rule configures a client to use Istio mutual TLS when talking to rating services. {{<tabset category-name="example">}} {{<tab name="v1alpha3" category-value="v1alpha3">}} ```yaml apiVersion: networking.istio.io/v1alpha3 kind: DestinationRule metadata: name: ratings-istio-mtls spec: host: ratings.prod.svc.cluster.local trafficPolicy: tls: mode: ISTIO_MUTUAL ``` {{</tab>}} {{<tab name="v1beta1" category-value="v1beta1">}} ```yaml apiVersion: networking.istio.io/v1beta1 kind: DestinationRule metadata: name: ratings-istio-mtls spec: host: ratings.prod.svc.cluster.local trafficPolicy: tls: mode: ISTIO_MUTUAL ``` {{</tab>}} {{</tabset>}}Protobuf typeistio.networking.v1alpha3.ClientTLSSettings- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classDestinationRuleOuterClass.ClientTLSSettings.BuilderSSL/TLS related settings for upstream connections.static classDestinationRuleOuterClass.ClientTLSSettings.TLSmodeTLS connection mode-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 static intCA_CERTIFICATES_FIELD_NUMBERprivate java.lang.ObjectcaCertificates_static intCLIENT_CERTIFICATE_FIELD_NUMBERprivate java.lang.ObjectclientCertificate_static intCREDENTIAL_NAME_FIELD_NUMBERprivate java.lang.ObjectcredentialName_private static DestinationRuleOuterClass.ClientTLSSettingsDEFAULT_INSTANCEprivate bytememoizedIsInitializedprivate intmode_static intMODE_FIELD_NUMBERprivate static com.google.protobuf.Parser<DestinationRuleOuterClass.ClientTLSSettings>PARSERstatic intPRIVATE_KEY_FIELD_NUMBERprivate java.lang.ObjectprivateKey_private static longserialVersionUIDprivate java.lang.Objectsni_static intSNI_FIELD_NUMBERstatic intSUBJECT_ALT_NAMES_FIELD_NUMBERprivate com.google.protobuf.LazyStringListsubjectAltNames_
-
构造器概要
构造器 限定符 构造器 说明 privateClientTLSSettings()privateClientTLSSettings(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(java.lang.Object obj)java.lang.StringgetCaCertificates()OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.com.google.protobuf.ByteStringgetCaCertificatesBytes()OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate.java.lang.StringgetClientCertificate()REQUIRED if mode is `MUTUAL`.com.google.protobuf.ByteStringgetClientCertificateBytes()REQUIRED if mode is `MUTUAL`.java.lang.StringgetCredentialName()The name of the secret that holds the TLS certs for the client including the CA certificates.com.google.protobuf.ByteStringgetCredentialNameBytes()The name of the secret that holds the TLS certs for the client including the CA certificates.static DestinationRuleOuterClass.ClientTLSSettingsgetDefaultInstance()DestinationRuleOuterClass.ClientTLSSettingsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DestinationRuleOuterClass.ClientTLSSettings.TLSmodegetMode()Indicates whether connections to this port should be secured using TLS.intgetModeValue()Indicates whether connections to this port should be secured using TLS.com.google.protobuf.Parser<DestinationRuleOuterClass.ClientTLSSettings>getParserForType()java.lang.StringgetPrivateKey()REQUIRED if mode is `MUTUAL`.com.google.protobuf.ByteStringgetPrivateKeyBytes()REQUIRED if mode is `MUTUAL`.intgetSerializedSize()java.lang.StringgetSni()SNI string to present to the server during TLS handshake.com.google.protobuf.ByteStringgetSniBytes()SNI string to present to the server during TLS handshake.java.lang.StringgetSubjectAltNames(int index)A list of alternate names to verify the subject identity in the certificate.com.google.protobuf.ByteStringgetSubjectAltNamesBytes(int index)A list of alternate names to verify the subject identity in the certificate.intgetSubjectAltNamesCount()A list of alternate names to verify the subject identity in the certificate.com.google.protobuf.ProtocolStringListgetSubjectAltNamesList()A list of alternate names to verify the subject identity in the certificate.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DestinationRuleOuterClass.ClientTLSSettings.BuildernewBuilder()static DestinationRuleOuterClass.ClientTLSSettings.BuildernewBuilder(DestinationRuleOuterClass.ClientTLSSettings prototype)DestinationRuleOuterClass.ClientTLSSettings.BuildernewBuilderForType()protected DestinationRuleOuterClass.ClientTLSSettings.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DestinationRuleOuterClass.ClientTLSSettingsparseDelimitedFrom(java.io.InputStream input)static DestinationRuleOuterClass.ClientTLSSettingsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.ClientTLSSettingsparseFrom(byte[] data)static DestinationRuleOuterClass.ClientTLSSettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.ClientTLSSettingsparseFrom(com.google.protobuf.ByteString data)static DestinationRuleOuterClass.ClientTLSSettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.ClientTLSSettingsparseFrom(com.google.protobuf.CodedInputStream input)static DestinationRuleOuterClass.ClientTLSSettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.ClientTLSSettingsparseFrom(java.io.InputStream input)static DestinationRuleOuterClass.ClientTLSSettingsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DestinationRuleOuterClass.ClientTLSSettingsparseFrom(java.nio.ByteBuffer data)static DestinationRuleOuterClass.ClientTLSSettingsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DestinationRuleOuterClass.ClientTLSSettings>parser()DestinationRuleOuterClass.ClientTLSSettings.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID
- 另请参阅:
- 常量字段值
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
mode_
private int mode_
-
CLIENT_CERTIFICATE_FIELD_NUMBER
public static final int CLIENT_CERTIFICATE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
clientCertificate_
private volatile java.lang.Object clientCertificate_
-
PRIVATE_KEY_FIELD_NUMBER
public static final int PRIVATE_KEY_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
privateKey_
private volatile java.lang.Object privateKey_
-
CA_CERTIFICATES_FIELD_NUMBER
public static final int CA_CERTIFICATES_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
caCertificates_
private volatile java.lang.Object caCertificates_
-
CREDENTIAL_NAME_FIELD_NUMBER
public static final int CREDENTIAL_NAME_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
credentialName_
private volatile java.lang.Object credentialName_
-
SUBJECT_ALT_NAMES_FIELD_NUMBER
public static final int SUBJECT_ALT_NAMES_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
subjectAltNames_
private com.google.protobuf.LazyStringList subjectAltNames_
-
SNI_FIELD_NUMBER
public static final int SNI_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
sni_
private volatile java.lang.Object sni_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final DestinationRuleOuterClass.ClientTLSSettings DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<DestinationRuleOuterClass.ClientTLSSettings> PARSER
-
-
方法详细资料
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getModeValue
public int getModeValue()
Indicates whether connections to this port should be secured using TLS. The value of this field determines how TLS is enforced.
.istio.networking.v1alpha3.ClientTLSSettings.TLSmode mode = 1 [(.google.api.field_behavior) = REQUIRED];- 指定者:
getModeValue在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The enum numeric value on the wire for mode.
-
getMode
public DestinationRuleOuterClass.ClientTLSSettings.TLSmode getMode()
Indicates whether connections to this port should be secured using TLS. The value of this field determines how TLS is enforced.
.istio.networking.v1alpha3.ClientTLSSettings.TLSmode mode = 1 [(.google.api.field_behavior) = REQUIRED];- 指定者:
getMode在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The mode.
-
getClientCertificate
public java.lang.String getClientCertificate()
REQUIRED if mode is `MUTUAL`. The path to the file holding the client-side TLS certificate to use. Should be empty if mode is `ISTIO_MUTUAL`.
string client_certificate = 2;- 指定者:
getClientCertificate在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The clientCertificate.
-
getClientCertificateBytes
public com.google.protobuf.ByteString getClientCertificateBytes()
REQUIRED if mode is `MUTUAL`. The path to the file holding the client-side TLS certificate to use. Should be empty if mode is `ISTIO_MUTUAL`.
string client_certificate = 2;- 指定者:
getClientCertificateBytes在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The bytes for clientCertificate.
-
getPrivateKey
public java.lang.String getPrivateKey()
REQUIRED if mode is `MUTUAL`. The path to the file holding the client's private key. Should be empty if mode is `ISTIO_MUTUAL`.
string private_key = 3;- 指定者:
getPrivateKey在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The privateKey.
-
getPrivateKeyBytes
public com.google.protobuf.ByteString getPrivateKeyBytes()
REQUIRED if mode is `MUTUAL`. The path to the file holding the client's private key. Should be empty if mode is `ISTIO_MUTUAL`.
string private_key = 3;- 指定者:
getPrivateKeyBytes在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The bytes for privateKey.
-
getCaCertificates
public java.lang.String getCaCertificates()
OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate. If omitted, the proxy will not verify the server's certificate. Should be empty if mode is `ISTIO_MUTUAL`.
string ca_certificates = 4;- 指定者:
getCaCertificates在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The caCertificates.
-
getCaCertificatesBytes
public com.google.protobuf.ByteString getCaCertificatesBytes()
OPTIONAL: The path to the file containing certificate authority certificates to use in verifying a presented server certificate. If omitted, the proxy will not verify the server's certificate. Should be empty if mode is `ISTIO_MUTUAL`.
string ca_certificates = 4;- 指定者:
getCaCertificatesBytes在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The bytes for caCertificates.
-
getCredentialName
public java.lang.String getCredentialName()
The name of the secret that holds the TLS certs for the client including the CA certificates. Secret must exist in the same namespace with the proxy using the certificates. The secret (of type `generic`)should contain the following keys and values: `key: <privateKey>`, `cert: <serverCert>`, `cacert: <CACertificate>`. Secret of type tls for client certificates along with ca.crt key for CA certificates is also supported. Only one of client certificates and CA certificate or credentialName can be specified. **NOTE:** This field is currently applicable only at gateways. Sidecars will continue to use the certificate paths.
string credential_name = 7;- 指定者:
getCredentialName在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The credentialName.
-
getCredentialNameBytes
public com.google.protobuf.ByteString getCredentialNameBytes()
The name of the secret that holds the TLS certs for the client including the CA certificates. Secret must exist in the same namespace with the proxy using the certificates. The secret (of type `generic`)should contain the following keys and values: `key: <privateKey>`, `cert: <serverCert>`, `cacert: <CACertificate>`. Secret of type tls for client certificates along with ca.crt key for CA certificates is also supported. Only one of client certificates and CA certificate or credentialName can be specified. **NOTE:** This field is currently applicable only at gateways. Sidecars will continue to use the certificate paths.
string credential_name = 7;- 指定者:
getCredentialNameBytes在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The bytes for credentialName.
-
getSubjectAltNamesList
public com.google.protobuf.ProtocolStringList getSubjectAltNamesList()
A list of alternate names to verify the subject identity in the certificate. If specified, the proxy will verify that the server certificate's subject alt name matches one of the specified values. If specified, this list overrides the value of subject_alt_names from the ServiceEntry.
repeated string subject_alt_names = 5;- 指定者:
getSubjectAltNamesList在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- A list containing the subjectAltNames.
-
getSubjectAltNamesCount
public int getSubjectAltNamesCount()
A list of alternate names to verify the subject identity in the certificate. If specified, the proxy will verify that the server certificate's subject alt name matches one of the specified values. If specified, this list overrides the value of subject_alt_names from the ServiceEntry.
repeated string subject_alt_names = 5;- 指定者:
getSubjectAltNamesCount在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The count of subjectAltNames.
-
getSubjectAltNames
public java.lang.String getSubjectAltNames(int index)
A list of alternate names to verify the subject identity in the certificate. If specified, the proxy will verify that the server certificate's subject alt name matches one of the specified values. If specified, this list overrides the value of subject_alt_names from the ServiceEntry.
repeated string subject_alt_names = 5;- 指定者:
getSubjectAltNames在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The subjectAltNames at the given index.
-
getSubjectAltNamesBytes
public com.google.protobuf.ByteString getSubjectAltNamesBytes(int index)
A list of alternate names to verify the subject identity in the certificate. If specified, the proxy will verify that the server certificate's subject alt name matches one of the specified values. If specified, this list overrides the value of subject_alt_names from the ServiceEntry.
repeated string subject_alt_names = 5;- 指定者:
getSubjectAltNamesBytes在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the subjectAltNames at the given index.
-
getSni
public java.lang.String getSni()
SNI string to present to the server during TLS handshake.
string sni = 6;- 指定者:
getSni在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The sni.
-
getSniBytes
public com.google.protobuf.ByteString getSniBytes()
SNI string to present to the server during TLS handshake.
string sni = 6;- 指定者:
getSniBytes在接口中DestinationRuleOuterClass.ClientTLSSettingsOrBuilder- 返回:
- The bytes for sni.
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static DestinationRuleOuterClass.ClientTLSSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public DestinationRuleOuterClass.ClientTLSSettings.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static DestinationRuleOuterClass.ClientTLSSettings.Builder newBuilder()
-
newBuilder
public static DestinationRuleOuterClass.ClientTLSSettings.Builder newBuilder(DestinationRuleOuterClass.ClientTLSSettings prototype)
-
toBuilder
public DestinationRuleOuterClass.ClientTLSSettings.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected DestinationRuleOuterClass.ClientTLSSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DestinationRuleOuterClass.ClientTLSSettings getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DestinationRuleOuterClass.ClientTLSSettings> parser()
-
getParserForType
public com.google.protobuf.Parser<DestinationRuleOuterClass.ClientTLSSettings> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DestinationRuleOuterClass.ClientTLSSettings getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-