public static final class FilterConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder> implements FilterConfigOrBuilder
gRPC reverse bridge filter configurationProtobuf type
envoy.extensions.filters.http.grpc_http1_reverse_bridge.v3.FilterConfig| Modifier and Type | Method and Description |
|---|---|
FilterConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FilterConfig |
build() |
FilterConfig |
buildPartial() |
FilterConfig.Builder |
clear() |
FilterConfig.Builder |
clearContentType()
The content-type to pass to the upstream when the gRPC bridge filter is applied.
|
FilterConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FilterConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FilterConfig.Builder |
clearWithholdGrpcFrames()
If true, Envoy will assume that the upstream doesn't understand gRPC frames and
strip the gRPC frame from the request, and add it back in to the response.
|
FilterConfig.Builder |
clone() |
String |
getContentType()
The content-type to pass to the upstream when the gRPC bridge filter is applied.
|
com.google.protobuf.ByteString |
getContentTypeBytes()
The content-type to pass to the upstream when the gRPC bridge filter is applied.
|
FilterConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getWithholdGrpcFrames()
If true, Envoy will assume that the upstream doesn't understand gRPC frames and
strip the gRPC frame from the request, and add it back in to the response.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FilterConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FilterConfig.Builder |
mergeFrom(FilterConfig other) |
FilterConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
FilterConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FilterConfig.Builder |
setContentType(String value)
The content-type to pass to the upstream when the gRPC bridge filter is applied.
|
FilterConfig.Builder |
setContentTypeBytes(com.google.protobuf.ByteString value)
The content-type to pass to the upstream when the gRPC bridge filter is applied.
|
FilterConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FilterConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FilterConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FilterConfig.Builder |
setWithholdGrpcFrames(boolean value)
If true, Envoy will assume that the upstream doesn't understand gRPC frames and
strip the gRPC frame from the request, and add it back in to the response.
|
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<FilterConfig.Builder>public FilterConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.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<FilterConfig.Builder>public FilterConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FilterConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FilterConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FilterConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>public FilterConfig.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<FilterConfig.Builder>public FilterConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>public FilterConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>public FilterConfig.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<FilterConfig.Builder>public FilterConfig.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<FilterConfig.Builder>public FilterConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FilterConfig.Builder>public FilterConfig.Builder mergeFrom(FilterConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>public FilterConfig.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<FilterConfig.Builder>IOExceptionpublic String getContentType()
The content-type to pass to the upstream when the gRPC bridge filter is applied. The filter will also validate that the upstream responds with the same content type.
string content_type = 1 [(.validate.rules) = { ... }getContentType in interface FilterConfigOrBuilderpublic com.google.protobuf.ByteString getContentTypeBytes()
The content-type to pass to the upstream when the gRPC bridge filter is applied. The filter will also validate that the upstream responds with the same content type.
string content_type = 1 [(.validate.rules) = { ... }getContentTypeBytes in interface FilterConfigOrBuilderpublic FilterConfig.Builder setContentType(String value)
The content-type to pass to the upstream when the gRPC bridge filter is applied. The filter will also validate that the upstream responds with the same content type.
string content_type = 1 [(.validate.rules) = { ... }public FilterConfig.Builder clearContentType()
The content-type to pass to the upstream when the gRPC bridge filter is applied. The filter will also validate that the upstream responds with the same content type.
string content_type = 1 [(.validate.rules) = { ... }public FilterConfig.Builder setContentTypeBytes(com.google.protobuf.ByteString value)
The content-type to pass to the upstream when the gRPC bridge filter is applied. The filter will also validate that the upstream responds with the same content type.
string content_type = 1 [(.validate.rules) = { ... }public boolean getWithholdGrpcFrames()
If true, Envoy will assume that the upstream doesn't understand gRPC frames and strip the gRPC frame from the request, and add it back in to the response. This will hide the gRPC semantics from the upstream, allowing it to receive and respond with a simple binary encoded protobuf.
bool withhold_grpc_frames = 2;getWithholdGrpcFrames in interface FilterConfigOrBuilderpublic FilterConfig.Builder setWithholdGrpcFrames(boolean value)
If true, Envoy will assume that the upstream doesn't understand gRPC frames and strip the gRPC frame from the request, and add it back in to the response. This will hide the gRPC semantics from the upstream, allowing it to receive and respond with a simple binary encoded protobuf.
bool withhold_grpc_frames = 2;public FilterConfig.Builder clearWithholdGrpcFrames()
If true, Envoy will assume that the upstream doesn't understand gRPC frames and strip the gRPC frame from the request, and add it back in to the response. This will hide the gRPC semantics from the upstream, allowing it to receive and respond with a simple binary encoded protobuf.
bool withhold_grpc_frames = 2;public final FilterConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>public final FilterConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FilterConfig.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.