public static final class ThriftProtocolOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ThriftProtocolOptions.Builder> implements ThriftProtocolOptionsOrBuilder
ThriftProtocolOptions specifies Thrift upstream protocol options. This object is used in in :ref:`typed_extension_protocol_options<envoy_api_field_config.cluster.v3.Cluster.typed_extension_protocol_options>`, keyed by the name `envoy.filters.network.thrift_proxy`.Protobuf type
envoy.extensions.filters.network.thrift_proxy.v3.ThriftProtocolOptions| Modifier and Type | Method and Description |
|---|---|
ThriftProtocolOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ThriftProtocolOptions |
build() |
ThriftProtocolOptions |
buildPartial() |
ThriftProtocolOptions.Builder |
clear() |
ThriftProtocolOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ThriftProtocolOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ThriftProtocolOptions.Builder |
clearProtocol()
Supplies the type of protocol that the Thrift proxy should use for upstream connections.
|
ThriftProtocolOptions.Builder |
clearTransport()
Supplies the type of transport that the Thrift proxy should use for upstream connections.
|
ThriftProtocolOptions.Builder |
clone() |
ThriftProtocolOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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() |
ThriftProtocolOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ThriftProtocolOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
ThriftProtocolOptions.Builder |
mergeFrom(ThriftProtocolOptions other) |
ThriftProtocolOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ThriftProtocolOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ThriftProtocolOptions.Builder |
setProtocol(ProtocolType value)
Supplies the type of protocol that the Thrift proxy should use for upstream connections.
|
ThriftProtocolOptions.Builder |
setProtocolValue(int value)
Supplies the type of protocol that the Thrift proxy should use for upstream connections.
|
ThriftProtocolOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ThriftProtocolOptions.Builder |
setTransport(TransportType value)
Supplies the type of transport that the Thrift proxy should use for upstream connections.
|
ThriftProtocolOptions.Builder |
setTransportValue(int value)
Supplies the type of transport that the Thrift proxy should use for upstream connections.
|
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<ThriftProtocolOptions.Builder>public 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<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<ThriftProtocolOptions.Builder>public ThriftProtocolOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ThriftProtocolOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ThriftProtocolOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic 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<ThriftProtocolOptions.Builder>public 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<ThriftProtocolOptions.Builder>public ThriftProtocolOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProtocolOptions.Builder>public ThriftProtocolOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProtocolOptions.Builder>public 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<ThriftProtocolOptions.Builder>public 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<ThriftProtocolOptions.Builder>public ThriftProtocolOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ThriftProtocolOptions.Builder>public ThriftProtocolOptions.Builder mergeFrom(ThriftProtocolOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProtocolOptions.Builder>public 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<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_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.extensions.filters.network.thrift_proxy.v3.TransportType transport = 1 [(.validate.rules) = { ... }getTransportValue in interface ThriftProtocolOptionsOrBuilderpublic 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_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.extensions.filters.network.thrift_proxy.v3.TransportType transport = 1 [(.validate.rules) = { ... }public TransportType getTransport()
Supplies the type of transport that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_TRANSPORT<envoy_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.extensions.filters.network.thrift_proxy.v3.TransportType transport = 1 [(.validate.rules) = { ... }getTransport in interface ThriftProtocolOptionsOrBuilderpublic ThriftProtocolOptions.Builder setTransport(TransportType value)
Supplies the type of transport that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_TRANSPORT<envoy_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.extensions.filters.network.thrift_proxy.v3.TransportType transport = 1 [(.validate.rules) = { ... }public 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_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`, which is the default, causes the proxy to use the same transport as the downstream connection.
.envoy.extensions.filters.network.thrift_proxy.v3.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_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType protocol = 2 [(.validate.rules) = { ... }getProtocolValue in interface ThriftProtocolOptionsOrBuilderpublic 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_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType protocol = 2 [(.validate.rules) = { ... }public ProtocolType getProtocol()
Supplies the type of protocol that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_PROTOCOL<envoy_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType protocol = 2 [(.validate.rules) = { ... }getProtocol in interface ThriftProtocolOptionsOrBuilderpublic ThriftProtocolOptions.Builder setProtocol(ProtocolType value)
Supplies the type of protocol that the Thrift proxy should use for upstream connections. Selecting :ref:`AUTO_PROTOCOL<envoy_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType protocol = 2 [(.validate.rules) = { ... }public 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_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>`, which is the default, causes the proxy to use the same protocol as the downstream connection.
.envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType protocol = 2 [(.validate.rules) = { ... }public final ThriftProtocolOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProtocolOptions.Builder>public final ThriftProtocolOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ThriftProtocolOptions.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.