public final class Config extends com.google.protobuf.GeneratedMessageV3 implements ConfigOrBuilder
v2ray.core.app.dns.Config| 限定符和类型 | 类和说明 |
|---|---|
static class |
Config.Builder
Protobuf type
v2ray.core.app.dns.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 |
HOSTS_FIELD_NUMBER |
static int |
NAMESERVERS_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsHosts(String key)
Static hosts.
|
boolean |
equals(Object obj) |
static Config |
getDefaultInstance() |
Config |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,IPOrDomain> |
getHosts()
已过时。
|
int |
getHostsCount()
Static hosts.
|
Map<String,IPOrDomain> |
getHostsMap()
Static hosts.
|
IPOrDomain |
getHostsOrDefault(String key,
IPOrDomain defaultValue)
Static hosts.
|
IPOrDomain |
getHostsOrThrow(String key)
Static hosts.
|
Endpoint |
getNameServers(int index)
Nameservers used by this DNS.
|
int |
getNameServersCount()
Nameservers used by this DNS.
|
List<Endpoint> |
getNameServersList()
Nameservers used by this DNS.
|
EndpointOrBuilder |
getNameServersOrBuilder(int index)
Nameservers used by this DNS.
|
List<? extends EndpointOrBuilder> |
getNameServersOrBuilderList()
Nameservers used by this DNS.
|
com.google.protobuf.Parser<Config> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
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, 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 NAMESERVERS_FIELD_NUMBER
public static final int HOSTS_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.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public List<Endpoint> getNameServersList()
Nameservers used by this DNS. Only traditional UDP servers are support at the moment. A special value 'localhost' as a domain address can be set to use DNS on local system.
repeated .v2ray.core.common.net.Endpoint NameServers = 1;getNameServersList 在接口中 ConfigOrBuilderpublic List<? extends EndpointOrBuilder> getNameServersOrBuilderList()
Nameservers used by this DNS. Only traditional UDP servers are support at the moment. A special value 'localhost' as a domain address can be set to use DNS on local system.
repeated .v2ray.core.common.net.Endpoint NameServers = 1;getNameServersOrBuilderList 在接口中 ConfigOrBuilderpublic int getNameServersCount()
Nameservers used by this DNS. Only traditional UDP servers are support at the moment. A special value 'localhost' as a domain address can be set to use DNS on local system.
repeated .v2ray.core.common.net.Endpoint NameServers = 1;getNameServersCount 在接口中 ConfigOrBuilderpublic Endpoint getNameServers(int index)
Nameservers used by this DNS. Only traditional UDP servers are support at the moment. A special value 'localhost' as a domain address can be set to use DNS on local system.
repeated .v2ray.core.common.net.Endpoint NameServers = 1;getNameServers 在接口中 ConfigOrBuilderpublic EndpointOrBuilder getNameServersOrBuilder(int index)
Nameservers used by this DNS. Only traditional UDP servers are support at the moment. A special value 'localhost' as a domain address can be set to use DNS on local system.
repeated .v2ray.core.common.net.Endpoint NameServers = 1;getNameServersOrBuilder 在接口中 ConfigOrBuilderpublic int getHostsCount()
ConfigOrBuilderStatic hosts. Domain to IP.
map<string, .v2ray.core.common.net.IPOrDomain> Hosts = 2;getHostsCount 在接口中 ConfigOrBuilderpublic boolean containsHosts(String key)
Static hosts. Domain to IP.
map<string, .v2ray.core.common.net.IPOrDomain> Hosts = 2;containsHosts 在接口中 ConfigOrBuilder@Deprecated public Map<String,IPOrDomain> getHosts()
getHostsMap() instead.getHosts 在接口中 ConfigOrBuilderpublic Map<String,IPOrDomain> getHostsMap()
Static hosts. Domain to IP.
map<string, .v2ray.core.common.net.IPOrDomain> Hosts = 2;getHostsMap 在接口中 ConfigOrBuilderpublic IPOrDomain getHostsOrDefault(String key, IPOrDomain defaultValue)
Static hosts. Domain to IP.
map<string, .v2ray.core.common.net.IPOrDomain> Hosts = 2;getHostsOrDefault 在接口中 ConfigOrBuilderpublic IPOrDomain getHostsOrThrow(String key)
Static hosts. Domain to IP.
map<string, .v2ray.core.common.net.IPOrDomain> Hosts = 2;getHostsOrThrow 在接口中 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.