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 typeenvoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProxy- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThriftProxy.Builder[#next-free-field: 6]-
Nested classes/interfaces inherited from class 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
-
-
Field Summary
Fields Modifier and Type Field Description static intPROTOCOL_FIELD_NUMBERstatic intROUTE_CONFIG_FIELD_NUMBERstatic intSTAT_PREFIX_FIELD_NUMBERstatic intTHRIFT_FILTERS_FIELD_NUMBERstatic intTRANSPORT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static ThriftProxygetDefaultInstance()ThriftProxygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<ThriftProxy>getParserForType()ProtocolTypegetProtocol()Supplies the type of protocol that the Thrift proxy should use.intgetProtocolValue()Supplies the type of protocol that the Thrift proxy should use.RouteConfigurationgetRouteConfig()The route table for the connection manager is static and is specified in this property.RouteConfigurationOrBuildergetRouteConfigOrBuilder()The route table for the connection manager is static and is specified in this property.intgetSerializedSize()StringgetStatPrefix()The human readable prefix to use when emitting statistics.com.google.protobuf.ByteStringgetStatPrefixBytes()The human readable prefix to use when emitting statistics.ThriftFiltergetThriftFilters(int index)A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.intgetThriftFiltersCount()A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.List<ThriftFilter>getThriftFiltersList()A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.ThriftFilterOrBuildergetThriftFiltersOrBuilder(int index)A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.List<? extends ThriftFilterOrBuilder>getThriftFiltersOrBuilderList()A list of individual Thrift filters that make up the filter chain for requests made to the Thrift proxy.TransportTypegetTransport()Supplies the type of transport that the Thrift proxy should use.intgetTransportValue()Supplies the type of transport that the Thrift proxy should use.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasRouteConfig()The route table for the connection manager is static and is specified in this property.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ThriftProxy.BuildernewBuilder()static ThriftProxy.BuildernewBuilder(ThriftProxy prototype)ThriftProxy.BuildernewBuilderForType()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()ThriftProxy.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TRANSPORT_FIELD_NUMBER
public static final int TRANSPORT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STAT_PREFIX_FIELD_NUMBER
public static final int STAT_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROUTE_CONFIG_FIELD_NUMBER
public static final int ROUTE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THRIFT_FILTERS_FIELD_NUMBER
public static final int THRIFT_FILTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public TransportType 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
public ProtocolType 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
public String 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
public RouteConfiguration 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
public RouteConfigurationOrBuilder 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
public List<ThriftFilter> 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
public List<? extends ThriftFilterOrBuilder> 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
public ThriftFilter getThriftFilters(int index)
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
public ThriftFilterOrBuilder getThriftFiltersOrBuilder(int index)
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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
public static ThriftProxy parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ThriftProxy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ThriftProxy parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ThriftProxy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ThriftProxy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ThriftProxy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ThriftProxy.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ThriftProxy.Builder newBuilder()
-
newBuilder
public static ThriftProxy.Builder newBuilder(ThriftProxy prototype)
-
toBuilder
public ThriftProxy.Builder 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
public static ThriftProxy getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ThriftProxy> parser()
-
getParserForType
public com.google.protobuf.Parser<ThriftProxy> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ThriftProxy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-