Class ThriftProxy
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProxy
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ThriftProxyOrBuilder,Serializable
public final class ThriftProxy
extends com.google.protobuf.GeneratedMessageV3
implements ThriftProxyOrBuilder
[#next-free-field: 6]Protobuf type
envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProxy- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ThriftProxystatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<ThriftProxy>Supplies the type of protocol that the Thrift proxy should use.intSupplies the type of protocol that the Thrift proxy should use.The route table for the connection manager is static and is specified in this property.The route table for the connection manager is static and is specified in this property.intThe human readable prefix to use when emitting statistics.com.google.protobuf.ByteStringThe human readable prefix to use when emitting statistics.getThriftFilters(int index) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.intA list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.getThriftFiltersOrBuilder(int index) A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.List<? extends ThriftFilterOrBuilder>A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.Supplies the type of transport that the Thrift proxy should use.intSupplies the type of transport that the Thrift proxy should use.inthashCode()booleanThe route table for the connection manager is static and is specified in this property.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ThriftProxy.Builderstatic ThriftProxy.BuildernewBuilder(ThriftProxy prototype) protected ThriftProxy.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ThriftProxyparseDelimitedFrom(InputStream input) static ThriftProxyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThriftProxyparseFrom(byte[] data) static ThriftProxyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThriftProxyparseFrom(com.google.protobuf.ByteString data) static ThriftProxyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThriftProxyparseFrom(com.google.protobuf.CodedInputStream input) static ThriftProxyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThriftProxyparseFrom(InputStream input) static ThriftProxyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ThriftProxyparseFrom(ByteBuffer data) static ThriftProxyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ThriftProxy>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TRANSPORT_FIELD_NUMBER
public static final int TRANSPORT_FIELD_NUMBER- See Also:
-
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER- See Also:
-
STAT_PREFIX_FIELD_NUMBER
public static final int STAT_PREFIX_FIELD_NUMBER- See Also:
-
ROUTE_CONFIG_FIELD_NUMBER
public static final int ROUTE_CONFIG_FIELD_NUMBER- See Also:
-
THRIFT_FILTERS_FIELD_NUMBER
public static final int THRIFT_FILTERS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTransportValue
public int getTransportValue()Supplies the type of transport that the Thrift proxy should use. Defaults to :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`.
.envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 2 [(.validate.rules) = { ... }- Specified by:
getTransportValuein interfaceThriftProxyOrBuilder- Returns:
- The enum numeric value on the wire for transport.
-
getTransport
Supplies the type of transport that the Thrift proxy should use. Defaults to :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`.
.envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 2 [(.validate.rules) = { ... }- Specified by:
getTransportin interfaceThriftProxyOrBuilder- Returns:
- The transport.
-
getProtocolValue
public int getProtocolValue()Supplies the type of protocol that the Thrift proxy should use. Defaults to :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`.
.envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 3 [(.validate.rules) = { ... }- Specified by:
getProtocolValuein interfaceThriftProxyOrBuilder- Returns:
- The enum numeric value on the wire for protocol.
-
getProtocol
Supplies the type of protocol that the Thrift proxy should use. Defaults to :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`.
.envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 3 [(.validate.rules) = { ... }- Specified by:
getProtocolin interfaceThriftProxyOrBuilder- Returns:
- The protocol.
-
getStatPrefix
The human readable prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }- Specified by:
getStatPrefixin interfaceThriftProxyOrBuilder- Returns:
- The statPrefix.
-
getStatPrefixBytes
public com.google.protobuf.ByteString getStatPrefixBytes()The human readable prefix to use when emitting statistics.
string stat_prefix = 1 [(.validate.rules) = { ... }- Specified by:
getStatPrefixBytesin interfaceThriftProxyOrBuilder- Returns:
- The bytes for statPrefix.
-
hasRouteConfig
public boolean hasRouteConfig()The route table for the connection manager is static and is specified in this property.
.envoy.config.filter.network.thrift_proxy.v2alpha1.RouteConfiguration route_config = 4;- Specified by:
hasRouteConfigin interfaceThriftProxyOrBuilder- Returns:
- Whether the routeConfig field is set.
-
getRouteConfig
The route table for the connection manager is static and is specified in this property.
.envoy.config.filter.network.thrift_proxy.v2alpha1.RouteConfiguration route_config = 4;- Specified by:
getRouteConfigin interfaceThriftProxyOrBuilder- Returns:
- The routeConfig.
-
getRouteConfigOrBuilder
The route table for the connection manager is static and is specified in this property.
.envoy.config.filter.network.thrift_proxy.v2alpha1.RouteConfiguration route_config = 4;- Specified by:
getRouteConfigOrBuilderin interfaceThriftProxyOrBuilder
-
getThriftFiltersList
A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy. Order matters as the filters are processed sequentially. For backwards compatibility, if no thrift_filters are specified, a default Thrift router filter (`envoy.filters.thrift.router`) is used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter thrift_filters = 5;- Specified by:
getThriftFiltersListin interfaceThriftProxyOrBuilder
-
getThriftFiltersOrBuilderList
A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy. Order matters as the filters are processed sequentially. For backwards compatibility, if no thrift_filters are specified, a default Thrift router filter (`envoy.filters.thrift.router`) is used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter thrift_filters = 5;- Specified by:
getThriftFiltersOrBuilderListin interfaceThriftProxyOrBuilder
-
getThriftFiltersCount
public int getThriftFiltersCount()A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy. Order matters as the filters are processed sequentially. For backwards compatibility, if no thrift_filters are specified, a default Thrift router filter (`envoy.filters.thrift.router`) is used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter thrift_filters = 5;- Specified by:
getThriftFiltersCountin interfaceThriftProxyOrBuilder
-
getThriftFilters
A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy. Order matters as the filters are processed sequentially. For backwards compatibility, if no thrift_filters are specified, a default Thrift router filter (`envoy.filters.thrift.router`) is used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter thrift_filters = 5;- Specified by:
getThriftFiltersin interfaceThriftProxyOrBuilder
-
getThriftFiltersOrBuilder
A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy. Order matters as the filters are processed sequentially. For backwards compatibility, if no thrift_filters are specified, a default Thrift router filter (`envoy.filters.thrift.router`) is used.
repeated .envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter thrift_filters = 5;- Specified by:
getThriftFiltersOrBuilderin interfaceThriftProxyOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ThriftProxy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThriftProxy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThriftProxy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThriftProxy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThriftProxy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ThriftProxy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ThriftProxy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ThriftProxy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ThriftProxy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ThriftProxy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-