public static final class Base.TransportSocket.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Base.TransportSocket.Builder> implements Base.TransportSocketOrBuilder
Configuration for transport socket in :ref:`listeners <config_listeners>` and :ref:`clusters <envoy_api_msg_Cluster>`. If the configuration is empty, a default transport socket implementation and configuration will be chosen based on the platform and existence of tls_context.
Protobuf type envoy.api.v2.core.TransportSocket
| Modifier and Type | Method and Description |
|---|---|
Base.TransportSocket.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Base.TransportSocket |
build() |
Base.TransportSocket |
buildPartial() |
Base.TransportSocket.Builder |
clear() |
Base.TransportSocket.Builder |
clearConfig()
Implementation specific configuration which depends on the implementation being instantiated.
|
Base.TransportSocket.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Base.TransportSocket.Builder |
clearName()
The name of the transport socket to instantiate.
|
Base.TransportSocket.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Base.TransportSocket.Builder |
clone() |
com.google.protobuf.Struct |
getConfig()
Implementation specific configuration which depends on the implementation being instantiated.
|
com.google.protobuf.Struct.Builder |
getConfigBuilder()
Implementation specific configuration which depends on the implementation being instantiated.
|
com.google.protobuf.StructOrBuilder |
getConfigOrBuilder()
Implementation specific configuration which depends on the implementation being instantiated.
|
Base.TransportSocket |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
The name of the transport socket to instantiate.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the transport socket to instantiate.
|
boolean |
hasConfig()
Implementation specific configuration which depends on the implementation being instantiated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Base.TransportSocket.Builder |
mergeConfig(com.google.protobuf.Struct value)
Implementation specific configuration which depends on the implementation being instantiated.
|
Base.TransportSocket.Builder |
mergeFrom(Base.TransportSocket other) |
Base.TransportSocket.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Base.TransportSocket.Builder |
mergeFrom(com.google.protobuf.Message other) |
Base.TransportSocket.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Base.TransportSocket.Builder |
setConfig(com.google.protobuf.Struct.Builder builderForValue)
Implementation specific configuration which depends on the implementation being instantiated.
|
Base.TransportSocket.Builder |
setConfig(com.google.protobuf.Struct value)
Implementation specific configuration which depends on the implementation being instantiated.
|
Base.TransportSocket.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Base.TransportSocket.Builder |
setName(String value)
The name of the transport socket to instantiate.
|
Base.TransportSocket.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the transport socket to instantiate.
|
Base.TransportSocket.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Base.TransportSocket.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<Base.TransportSocket.Builder>public Base.TransportSocket.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Base.TransportSocket.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<Base.TransportSocket.Builder>public Base.TransportSocket getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Base.TransportSocket build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Base.TransportSocket buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Base.TransportSocket.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Base.TransportSocket.Builder>public Base.TransportSocket.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<Base.TransportSocket.Builder>public Base.TransportSocket.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Base.TransportSocket.Builder>public Base.TransportSocket.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Base.TransportSocket.Builder>public Base.TransportSocket.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<Base.TransportSocket.Builder>public Base.TransportSocket.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<Base.TransportSocket.Builder>public Base.TransportSocket.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Base.TransportSocket.Builder>public Base.TransportSocket.Builder mergeFrom(Base.TransportSocket other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Base.TransportSocket.Builder>public Base.TransportSocket.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<Base.TransportSocket.Builder>IOExceptionpublic String getName()
The name of the transport socket to instantiate. The name must match a supported transport socket implementation.
string name = 1 [(.validate.rules) = { ... }getName in interface Base.TransportSocketOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the transport socket to instantiate. The name must match a supported transport socket implementation.
string name = 1 [(.validate.rules) = { ... }getNameBytes in interface Base.TransportSocketOrBuilderpublic Base.TransportSocket.Builder setName(String value)
The name of the transport socket to instantiate. The name must match a supported transport socket implementation.
string name = 1 [(.validate.rules) = { ... }public Base.TransportSocket.Builder clearName()
The name of the transport socket to instantiate. The name must match a supported transport socket implementation.
string name = 1 [(.validate.rules) = { ... }public Base.TransportSocket.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the transport socket to instantiate. The name must match a supported transport socket implementation.
string name = 1 [(.validate.rules) = { ... }public boolean hasConfig()
Implementation specific configuration which depends on the implementation being instantiated. See the supported transport socket implementations for further documentation.
.google.protobuf.Struct config = 2;hasConfig in interface Base.TransportSocketOrBuilderpublic com.google.protobuf.Struct getConfig()
Implementation specific configuration which depends on the implementation being instantiated. See the supported transport socket implementations for further documentation.
.google.protobuf.Struct config = 2;getConfig in interface Base.TransportSocketOrBuilderpublic Base.TransportSocket.Builder setConfig(com.google.protobuf.Struct value)
Implementation specific configuration which depends on the implementation being instantiated. See the supported transport socket implementations for further documentation.
.google.protobuf.Struct config = 2;public Base.TransportSocket.Builder setConfig(com.google.protobuf.Struct.Builder builderForValue)
Implementation specific configuration which depends on the implementation being instantiated. See the supported transport socket implementations for further documentation.
.google.protobuf.Struct config = 2;public Base.TransportSocket.Builder mergeConfig(com.google.protobuf.Struct value)
Implementation specific configuration which depends on the implementation being instantiated. See the supported transport socket implementations for further documentation.
.google.protobuf.Struct config = 2;public Base.TransportSocket.Builder clearConfig()
Implementation specific configuration which depends on the implementation being instantiated. See the supported transport socket implementations for further documentation.
.google.protobuf.Struct config = 2;public com.google.protobuf.Struct.Builder getConfigBuilder()
Implementation specific configuration which depends on the implementation being instantiated. See the supported transport socket implementations for further documentation.
.google.protobuf.Struct config = 2;public com.google.protobuf.StructOrBuilder getConfigOrBuilder()
Implementation specific configuration which depends on the implementation being instantiated. See the supported transport socket implementations for further documentation.
.google.protobuf.Struct config = 2;getConfigOrBuilder in interface Base.TransportSocketOrBuilderpublic final Base.TransportSocket.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Base.TransportSocket.Builder>public final Base.TransportSocket.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Base.TransportSocket.Builder>Copyright © 2019 WSO2. All rights reserved.