public final class Config extends com.google.protobuf.GeneratedMessageV3 implements ConfigOrBuilder
Config is the master config of V2Ray. V2Ray takes this config as input and functions accordingly.Protobuf type
v2ray.core.Config| 限定符和类型 | 类和说明 |
|---|---|
static class |
Config.Builder
Config is the master config of V2Ray.
|
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 |
APP_FIELD_NUMBER |
static int |
EXTENSION_FIELD_NUMBER |
static int |
INBOUND_FIELD_NUMBER |
static int |
OUTBOUND_FIELD_NUMBER |
static int |
TRANSPORT_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
TypedMessage |
getApp(int index)
App is for configurations of all features in V2Ray.
|
int |
getAppCount()
App is for configurations of all features in V2Ray.
|
List<TypedMessage> |
getAppList()
App is for configurations of all features in V2Ray.
|
TypedMessageOrBuilder |
getAppOrBuilder(int index)
App is for configurations of all features in V2Ray.
|
List<? extends TypedMessageOrBuilder> |
getAppOrBuilderList()
App is for configurations of all features in V2Ray.
|
static Config |
getDefaultInstance() |
Config |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TypedMessage |
getExtension(int index)
Configuration for extensions.
|
int |
getExtensionCount()
Configuration for extensions.
|
List<TypedMessage> |
getExtensionList()
Configuration for extensions.
|
TypedMessageOrBuilder |
getExtensionOrBuilder(int index)
Configuration for extensions.
|
List<? extends TypedMessageOrBuilder> |
getExtensionOrBuilderList()
Configuration for extensions.
|
InboundHandlerConfig |
getInbound(int index)
Inbound handler configurations.
|
int |
getInboundCount()
Inbound handler configurations.
|
List<InboundHandlerConfig> |
getInboundList()
Inbound handler configurations.
|
InboundHandlerConfigOrBuilder |
getInboundOrBuilder(int index)
Inbound handler configurations.
|
List<? extends InboundHandlerConfigOrBuilder> |
getInboundOrBuilderList()
Inbound handler configurations.
|
OutboundHandlerConfig |
getOutbound(int index)
Outbound handler configurations.
|
int |
getOutboundCount()
Outbound handler configurations.
|
List<OutboundHandlerConfig> |
getOutboundList()
Outbound handler configurations.
|
OutboundHandlerConfigOrBuilder |
getOutboundOrBuilder(int index)
Outbound handler configurations.
|
List<? extends OutboundHandlerConfigOrBuilder> |
getOutboundOrBuilderList()
Outbound handler configurations.
|
com.google.protobuf.Parser<Config> |
getParserForType() |
int |
getSerializedSize() |
Config |
getTransport()
Transport settings.
|
ConfigOrBuilder |
getTransportOrBuilder()
Transport settings.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTransport()
Transport settings.
|
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 INBOUND_FIELD_NUMBER
public static final int OUTBOUND_FIELD_NUMBER
public static final int APP_FIELD_NUMBER
public static final int TRANSPORT_FIELD_NUMBER
public static final int EXTENSION_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 List<InboundHandlerConfig> getInboundList()
Inbound handler configurations. Must have at least one item.
repeated .v2ray.core.InboundHandlerConfig inbound = 1;getInboundList 在接口中 ConfigOrBuilderpublic List<? extends InboundHandlerConfigOrBuilder> getInboundOrBuilderList()
Inbound handler configurations. Must have at least one item.
repeated .v2ray.core.InboundHandlerConfig inbound = 1;getInboundOrBuilderList 在接口中 ConfigOrBuilderpublic int getInboundCount()
Inbound handler configurations. Must have at least one item.
repeated .v2ray.core.InboundHandlerConfig inbound = 1;getInboundCount 在接口中 ConfigOrBuilderpublic InboundHandlerConfig getInbound(int index)
Inbound handler configurations. Must have at least one item.
repeated .v2ray.core.InboundHandlerConfig inbound = 1;getInbound 在接口中 ConfigOrBuilderpublic InboundHandlerConfigOrBuilder getInboundOrBuilder(int index)
Inbound handler configurations. Must have at least one item.
repeated .v2ray.core.InboundHandlerConfig inbound = 1;getInboundOrBuilder 在接口中 ConfigOrBuilderpublic List<OutboundHandlerConfig> getOutboundList()
Outbound handler configurations. Must have at least one item. The first item is used as default for routing.
repeated .v2ray.core.OutboundHandlerConfig outbound = 2;getOutboundList 在接口中 ConfigOrBuilderpublic List<? extends OutboundHandlerConfigOrBuilder> getOutboundOrBuilderList()
Outbound handler configurations. Must have at least one item. The first item is used as default for routing.
repeated .v2ray.core.OutboundHandlerConfig outbound = 2;getOutboundOrBuilderList 在接口中 ConfigOrBuilderpublic int getOutboundCount()
Outbound handler configurations. Must have at least one item. The first item is used as default for routing.
repeated .v2ray.core.OutboundHandlerConfig outbound = 2;getOutboundCount 在接口中 ConfigOrBuilderpublic OutboundHandlerConfig getOutbound(int index)
Outbound handler configurations. Must have at least one item. The first item is used as default for routing.
repeated .v2ray.core.OutboundHandlerConfig outbound = 2;getOutbound 在接口中 ConfigOrBuilderpublic OutboundHandlerConfigOrBuilder getOutboundOrBuilder(int index)
Outbound handler configurations. Must have at least one item. The first item is used as default for routing.
repeated .v2ray.core.OutboundHandlerConfig outbound = 2;getOutboundOrBuilder 在接口中 ConfigOrBuilderpublic List<TypedMessage> getAppList()
App is for configurations of all features in V2Ray. A feature must implement the Feature interface, and its config type must be registered through common.RegisterConfig.
repeated .v2ray.core.common.serial.TypedMessage app = 4;getAppList 在接口中 ConfigOrBuilderpublic List<? extends TypedMessageOrBuilder> getAppOrBuilderList()
App is for configurations of all features in V2Ray. A feature must implement the Feature interface, and its config type must be registered through common.RegisterConfig.
repeated .v2ray.core.common.serial.TypedMessage app = 4;getAppOrBuilderList 在接口中 ConfigOrBuilderpublic int getAppCount()
App is for configurations of all features in V2Ray. A feature must implement the Feature interface, and its config type must be registered through common.RegisterConfig.
repeated .v2ray.core.common.serial.TypedMessage app = 4;getAppCount 在接口中 ConfigOrBuilderpublic TypedMessage getApp(int index)
App is for configurations of all features in V2Ray. A feature must implement the Feature interface, and its config type must be registered through common.RegisterConfig.
repeated .v2ray.core.common.serial.TypedMessage app = 4;getApp 在接口中 ConfigOrBuilderpublic TypedMessageOrBuilder getAppOrBuilder(int index)
App is for configurations of all features in V2Ray. A feature must implement the Feature interface, and its config type must be registered through common.RegisterConfig.
repeated .v2ray.core.common.serial.TypedMessage app = 4;getAppOrBuilder 在接口中 ConfigOrBuilderpublic boolean hasTransport()
Transport settings.
.v2ray.core.transport.Config transport = 5;hasTransport 在接口中 ConfigOrBuilderpublic Config getTransport()
Transport settings.
.v2ray.core.transport.Config transport = 5;getTransport 在接口中 ConfigOrBuilderpublic ConfigOrBuilder getTransportOrBuilder()
Transport settings.
.v2ray.core.transport.Config transport = 5;getTransportOrBuilder 在接口中 ConfigOrBuilderpublic List<TypedMessage> getExtensionList()
Configuration for extensions. The config may not work if corresponding extension is not loaded into V2Ray. V2Ray will ignore such config during initialization.
repeated .v2ray.core.common.serial.TypedMessage extension = 6;getExtensionList 在接口中 ConfigOrBuilderpublic List<? extends TypedMessageOrBuilder> getExtensionOrBuilderList()
Configuration for extensions. The config may not work if corresponding extension is not loaded into V2Ray. V2Ray will ignore such config during initialization.
repeated .v2ray.core.common.serial.TypedMessage extension = 6;getExtensionOrBuilderList 在接口中 ConfigOrBuilderpublic int getExtensionCount()
Configuration for extensions. The config may not work if corresponding extension is not loaded into V2Ray. V2Ray will ignore such config during initialization.
repeated .v2ray.core.common.serial.TypedMessage extension = 6;getExtensionCount 在接口中 ConfigOrBuilderpublic TypedMessage getExtension(int index)
Configuration for extensions. The config may not work if corresponding extension is not loaded into V2Ray. V2Ray will ignore such config during initialization.
repeated .v2ray.core.common.serial.TypedMessage extension = 6;getExtension 在接口中 ConfigOrBuilderpublic TypedMessageOrBuilder getExtensionOrBuilder(int index)
Configuration for extensions. The config may not work if corresponding extension is not loaded into V2Ray. V2Ray will ignore such config during initialization.
repeated .v2ray.core.common.serial.TypedMessage extension = 6;getExtensionOrBuilder 在接口中 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.