public final class Config extends com.google.protobuf.GeneratedMessageV3 implements ConfigOrBuilder
v2ray.core.transport.internet.tls.Config| 限定符和类型 | 类和说明 |
|---|---|
static class |
Config.Builder
Protobuf type
v2ray.core.transport.internet.tls.Config |
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ALLOW_INSECURE_CIPHERS_FIELD_NUMBER |
static int |
ALLOW_INSECURE_FIELD_NUMBER |
static int |
CERTIFICATE_FIELD_NUMBER |
static int |
NEXT_PROTOCOL_FIELD_NUMBER |
static int |
SERVER_NAME_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAllowInsecure()
Whether or not to allow self-signed certificates.
|
boolean |
getAllowInsecureCiphers()
Whether or not to allow insecure cipher suites.
|
Certificate |
getCertificate(int index)
List of certificates to be served on server.
|
int |
getCertificateCount()
List of certificates to be served on server.
|
List<Certificate> |
getCertificateList()
List of certificates to be served on server.
|
CertificateOrBuilder |
getCertificateOrBuilder(int index)
List of certificates to be served on server.
|
List<? extends CertificateOrBuilder> |
getCertificateOrBuilderList()
List of certificates to be served on server.
|
static Config |
getDefaultInstance() |
Config |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNextProtocol(int index)
Lists of string as ALPN values.
|
com.google.protobuf.ByteString |
getNextProtocolBytes(int index)
Lists of string as ALPN values.
|
int |
getNextProtocolCount()
Lists of string as ALPN values.
|
com.google.protobuf.ProtocolStringList |
getNextProtocolList()
Lists of string as ALPN values.
|
com.google.protobuf.Parser<Config> |
getParserForType() |
int |
getSerializedSize() |
String |
getServerName()
Override server name.
|
com.google.protobuf.ByteString |
getServerNameBytes()
Override server name.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Config.Builder |
newBuilder() |
static Config.Builder |
newBuilder(Config prototype) |
Config.Builder |
newBuilderForType() |
protected Config.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Config |
parseDelimitedFrom(InputStream input) |
static Config |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Config |
parseFrom(byte[] data) |
static Config |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Config |
parseFrom(ByteBuffer data) |
static Config |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Config |
parseFrom(com.google.protobuf.ByteString data) |
static Config |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Config |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Config |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Config |
parseFrom(InputStream input) |
static Config |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Config> |
parser() |
Config.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ALLOW_INSECURE_FIELD_NUMBER
public static final int ALLOW_INSECURE_CIPHERS_FIELD_NUMBER
public static final int CERTIFICATE_FIELD_NUMBER
public static final int SERVER_NAME_FIELD_NUMBER
public static final int NEXT_PROTOCOL_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public boolean getAllowInsecure()
Whether or not to allow self-signed certificates.
bool allow_insecure = 1;getAllowInsecure 在接口中 ConfigOrBuilderpublic boolean getAllowInsecureCiphers()
Whether or not to allow insecure cipher suites.
bool allow_insecure_ciphers = 5;getAllowInsecureCiphers 在接口中 ConfigOrBuilderpublic List<Certificate> getCertificateList()
List of certificates to be served on server.
repeated .v2ray.core.transport.internet.tls.Certificate certificate = 2;getCertificateList 在接口中 ConfigOrBuilderpublic List<? extends CertificateOrBuilder> getCertificateOrBuilderList()
List of certificates to be served on server.
repeated .v2ray.core.transport.internet.tls.Certificate certificate = 2;getCertificateOrBuilderList 在接口中 ConfigOrBuilderpublic int getCertificateCount()
List of certificates to be served on server.
repeated .v2ray.core.transport.internet.tls.Certificate certificate = 2;getCertificateCount 在接口中 ConfigOrBuilderpublic Certificate getCertificate(int index)
List of certificates to be served on server.
repeated .v2ray.core.transport.internet.tls.Certificate certificate = 2;getCertificate 在接口中 ConfigOrBuilderpublic CertificateOrBuilder getCertificateOrBuilder(int index)
List of certificates to be served on server.
repeated .v2ray.core.transport.internet.tls.Certificate certificate = 2;getCertificateOrBuilder 在接口中 ConfigOrBuilderpublic String getServerName()
Override server name.
string server_name = 3;getServerName 在接口中 ConfigOrBuilderpublic com.google.protobuf.ByteString getServerNameBytes()
Override server name.
string server_name = 3;getServerNameBytes 在接口中 ConfigOrBuilderpublic com.google.protobuf.ProtocolStringList getNextProtocolList()
Lists of string as ALPN values.
repeated string next_protocol = 4;getNextProtocolList 在接口中 ConfigOrBuilderpublic int getNextProtocolCount()
Lists of string as ALPN values.
repeated string next_protocol = 4;getNextProtocolCount 在接口中 ConfigOrBuilderpublic String getNextProtocol(int index)
Lists of string as ALPN values.
repeated string next_protocol = 4;getNextProtocol 在接口中 ConfigOrBuilderpublic com.google.protobuf.ByteString getNextProtocolBytes(int index)
Lists of string as ALPN values.
repeated string next_protocol = 4;getNextProtocolBytes 在接口中 ConfigOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Config parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Config parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Config parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Config parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Config parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Config parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Config parseFrom(InputStream input) throws IOException
IOExceptionpublic static Config parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Config parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Config parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Config parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Config parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Config.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Config.Builder newBuilder()
public static Config.Builder newBuilder(Config prototype)
public Config.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Config.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Config getDefaultInstance()
public static com.google.protobuf.Parser<Config> parser()
public com.google.protobuf.Parser<Config> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Config getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.