public static final class ThriftProxyOuterClass.ThriftProtocolOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder> implements ThriftProxyOuterClass.ThriftProtocolOptionsOrBuilder
ThriftProtocolOptions specifies Thrift upstream protocol options. This object is used in in :ref:`extension_protocol_options<envoy_api_field_Cluster.extension_protocol_options>`, keyed by the name `envoy.filters.network.thrift_proxy`. [#comment:next free field: 3]Protobuf type
envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProtocolOptions| Modifier and Type | Method and Description |
|---|---|
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ThriftProxyOuterClass.ThriftProtocolOptions |
build() |
ThriftProxyOuterClass.ThriftProtocolOptions |
buildPartial() |
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
clear() |
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
clearProtocol()
Supplies the type of protocol that the Thrift proxy should use for upstream connections.
|
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
clearTransport()
Supplies the type of transport that the Thrift proxy should use for upstream connections.
|
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
clone() |
ThriftProxyOuterClass.ThriftProtocolOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ThriftProxyOuterClass.ProtocolType |
getProtocol()
Supplies the type of protocol that the Thrift proxy should use for upstream connections.
|
int |
getProtocolValue()
Supplies the type of protocol that the Thrift proxy should use for upstream connections.
|
ThriftProxyOuterClass.TransportType |
getTransport()
Supplies the type of transport that the Thrift proxy should use for upstream connections.
|
int |
getTransportValue()
Supplies the type of transport that the Thrift proxy should use for upstream connections.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
mergeFrom(ThriftProxyOuterClass.ThriftProtocolOptions other) |
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
setProtocol(ThriftProxyOuterClass.ProtocolType value)
Supplies the type of protocol that the Thrift proxy should use for upstream connections.
|
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
setProtocolValue(int value)
Supplies the type of protocol that the Thrift proxy should use for upstream connections.
|
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
setTransport(ThriftProxyOuterClass.TransportType value)
Supplies the type of transport that the Thrift proxy should use for upstream connections.
|
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
setTransportValue(int value)
Supplies the type of transport that the Thrift proxy should use for upstream connections.
|
ThriftProxyOuterClass.ThriftProtocolOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public ThriftProxyOuterClass.ThriftProtocolOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public ThriftProxyOuterClass.ThriftProtocolOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ThriftProxyOuterClass.ThriftProtocolOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ThriftProxyOuterClass.ThriftProtocolOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ThriftProxyOuterClass.ThriftProtocolOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public ThriftProxyOuterClass.ThriftProtocolOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public ThriftProxyOuterClass.ThriftProtocolOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public ThriftProxyOuterClass.ThriftProtocolOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public ThriftProxyOuterClass.ThriftProtocolOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public ThriftProxyOuterClass.ThriftProtocolOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public ThriftProxyOuterClass.ThriftProtocolOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public ThriftProxyOuterClass.ThriftProtocolOptions.Builder mergeFrom(ThriftProxyOuterClass.ThriftProtocolOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public ThriftProxyOuterClass.ThriftProtocolOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>IOExceptionpublic int getTransportValue()
Supplies the type of transport that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 1 [(.validate.rules) = { ... }getTransportValue in interface ThriftProxyOuterClass.ThriftProtocolOptionsOrBuilderpublic ThriftProxyOuterClass.ThriftProtocolOptions.Builder setTransportValue(int value)
Supplies the type of transport that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 1 [(.validate.rules) = { ... }public ThriftProxyOuterClass.TransportType getTransport()
Supplies the type of transport that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 1 [(.validate.rules) = { ... }getTransport in interface ThriftProxyOuterClass.ThriftProtocolOptionsOrBuilderpublic ThriftProxyOuterClass.ThriftProtocolOptions.Builder setTransport(ThriftProxyOuterClass.TransportType value)
Supplies the type of transport that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 1 [(.validate.rules) = { ... }public ThriftProxyOuterClass.ThriftProtocolOptions.Builder clearTransport()
Supplies the type of transport that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType transport = 1 [(.validate.rules) = { ... }public int getProtocolValue()
Supplies the type of protocol that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 2 [(.validate.rules) = { ... }getProtocolValue in interface ThriftProxyOuterClass.ThriftProtocolOptionsOrBuilderpublic ThriftProxyOuterClass.ThriftProtocolOptions.Builder setProtocolValue(int value)
Supplies the type of protocol that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 2 [(.validate.rules) = { ... }public ThriftProxyOuterClass.ProtocolType getProtocol()
Supplies the type of protocol that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 2 [(.validate.rules) = { ... }getProtocol in interface ThriftProxyOuterClass.ThriftProtocolOptionsOrBuilderpublic ThriftProxyOuterClass.ThriftProtocolOptions.Builder setProtocol(ThriftProxyOuterClass.ProtocolType value)
Supplies the type of protocol that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 2 [(.validate.rules) = { ... }public ThriftProxyOuterClass.ThriftProtocolOptions.Builder clearProtocol()
Supplies the type of protocol that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType protocol = 2 [(.validate.rules) = { ... }public final ThriftProxyOuterClass.ThriftProtocolOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>public final ThriftProxyOuterClass.ThriftProtocolOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProxyOuterClass.ThriftProtocolOptions.Builder>Copyright © 2018 The Envoy Project. All rights reserved.