Class ProcessingRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
io.envoyproxy.envoy.service.network_ext_proc.v3.ProcessingRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ProcessingRequestOrBuilder,Cloneable
- Enclosing class:
- ProcessingRequest
public static final class ProcessingRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
implements ProcessingRequestOrBuilder
ProcessingRequest contains data sent from Envoy to the external processing server. Each request contains either read data (from client) or write data (to client) along with optional metadata.Protobuf type
envoy.service.network_ext_proc.v3.ProcessingRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional metadata associated with the request.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) ReadData contains the network data intercepted in the request path (client to server).WriteData contains the network data intercepted in the response path (server to client).clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional metadata associated with the request.Optional metadata associated with the request.Optional metadata associated with the request.ReadData contains the network data intercepted in the request path (client to server).ReadData contains the network data intercepted in the request path (client to server).ReadData contains the network data intercepted in the request path (client to server).WriteData contains the network data intercepted in the response path (server to client).WriteData contains the network data intercepted in the response path (server to client).WriteData contains the network data intercepted in the response path (server to client).booleanOptional metadata associated with the request.booleanReadData contains the network data intercepted in the request path (client to server).booleanWriteData contains the network data intercepted in the response path (server to client).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ProcessingRequest other) mergeMetadata(Metadata value) Optional metadata associated with the request.mergeReadData(Data value) ReadData contains the network data intercepted in the request path (client to server).mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeWriteData(Data value) WriteData contains the network data intercepted in the response path (server to client).setMetadata(Metadata value) Optional metadata associated with the request.setMetadata(Metadata.Builder builderForValue) Optional metadata associated with the request.setReadData(Data value) ReadData contains the network data intercepted in the request path (client to server).setReadData(Data.Builder builderForValue) ReadData contains the network data intercepted in the request path (client to server).setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWriteData(Data value) WriteData contains the network data intercepted in the response path (server to client).setWriteData(Data.Builder builderForValue) WriteData contains the network data intercepted in the response path (server to client).Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<ProcessingRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
setField
public ProcessingRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
setRepeatedField
public ProcessingRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
addRepeatedField
public ProcessingRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessingRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
mergeFrom
public ProcessingRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ProcessingRequest.Builder>- Throws:
IOException
-
hasReadData
public boolean hasReadData()ReadData contains the network data intercepted in the request path (client to server). This is sent to the external processor when data arrives from the downstream client. If this is set, write_data should not be set.
.envoy.service.network_ext_proc.v3.Data read_data = 1;- Specified by:
hasReadDatain interfaceProcessingRequestOrBuilder- Returns:
- Whether the readData field is set.
-
getReadData
ReadData contains the network data intercepted in the request path (client to server). This is sent to the external processor when data arrives from the downstream client. If this is set, write_data should not be set.
.envoy.service.network_ext_proc.v3.Data read_data = 1;- Specified by:
getReadDatain interfaceProcessingRequestOrBuilder- Returns:
- The readData.
-
setReadData
ReadData contains the network data intercepted in the request path (client to server). This is sent to the external processor when data arrives from the downstream client. If this is set, write_data should not be set.
.envoy.service.network_ext_proc.v3.Data read_data = 1; -
setReadData
ReadData contains the network data intercepted in the request path (client to server). This is sent to the external processor when data arrives from the downstream client. If this is set, write_data should not be set.
.envoy.service.network_ext_proc.v3.Data read_data = 1; -
mergeReadData
ReadData contains the network data intercepted in the request path (client to server). This is sent to the external processor when data arrives from the downstream client. If this is set, write_data should not be set.
.envoy.service.network_ext_proc.v3.Data read_data = 1; -
clearReadData
ReadData contains the network data intercepted in the request path (client to server). This is sent to the external processor when data arrives from the downstream client. If this is set, write_data should not be set.
.envoy.service.network_ext_proc.v3.Data read_data = 1; -
getReadDataBuilder
ReadData contains the network data intercepted in the request path (client to server). This is sent to the external processor when data arrives from the downstream client. If this is set, write_data should not be set.
.envoy.service.network_ext_proc.v3.Data read_data = 1; -
getReadDataOrBuilder
ReadData contains the network data intercepted in the request path (client to server). This is sent to the external processor when data arrives from the downstream client. If this is set, write_data should not be set.
.envoy.service.network_ext_proc.v3.Data read_data = 1;- Specified by:
getReadDataOrBuilderin interfaceProcessingRequestOrBuilder
-
hasWriteData
public boolean hasWriteData()WriteData contains the network data intercepted in the response path (server to client). This is sent to the external processor when data arrives from the upstream server. If this is set, read_data should not be set.
.envoy.service.network_ext_proc.v3.Data write_data = 2;- Specified by:
hasWriteDatain interfaceProcessingRequestOrBuilder- Returns:
- Whether the writeData field is set.
-
getWriteData
WriteData contains the network data intercepted in the response path (server to client). This is sent to the external processor when data arrives from the upstream server. If this is set, read_data should not be set.
.envoy.service.network_ext_proc.v3.Data write_data = 2;- Specified by:
getWriteDatain interfaceProcessingRequestOrBuilder- Returns:
- The writeData.
-
setWriteData
WriteData contains the network data intercepted in the response path (server to client). This is sent to the external processor when data arrives from the upstream server. If this is set, read_data should not be set.
.envoy.service.network_ext_proc.v3.Data write_data = 2; -
setWriteData
WriteData contains the network data intercepted in the response path (server to client). This is sent to the external processor when data arrives from the upstream server. If this is set, read_data should not be set.
.envoy.service.network_ext_proc.v3.Data write_data = 2; -
mergeWriteData
WriteData contains the network data intercepted in the response path (server to client). This is sent to the external processor when data arrives from the upstream server. If this is set, read_data should not be set.
.envoy.service.network_ext_proc.v3.Data write_data = 2; -
clearWriteData
WriteData contains the network data intercepted in the response path (server to client). This is sent to the external processor when data arrives from the upstream server. If this is set, read_data should not be set.
.envoy.service.network_ext_proc.v3.Data write_data = 2; -
getWriteDataBuilder
WriteData contains the network data intercepted in the response path (server to client). This is sent to the external processor when data arrives from the upstream server. If this is set, read_data should not be set.
.envoy.service.network_ext_proc.v3.Data write_data = 2; -
getWriteDataOrBuilder
WriteData contains the network data intercepted in the response path (server to client). This is sent to the external processor when data arrives from the upstream server. If this is set, read_data should not be set.
.envoy.service.network_ext_proc.v3.Data write_data = 2;- Specified by:
getWriteDataOrBuilderin interfaceProcessingRequestOrBuilder
-
hasMetadata
public boolean hasMetadata()Optional metadata associated with the request. This can include connection properties, filter configuration, and any other contextual information that might be useful for processing decisions. The metadata is not automatically propagated from request to response. The external processor must include any needed metadata in its response.
.envoy.config.core.v3.Metadata metadata = 3;- Specified by:
hasMetadatain interfaceProcessingRequestOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
Optional metadata associated with the request. This can include connection properties, filter configuration, and any other contextual information that might be useful for processing decisions. The metadata is not automatically propagated from request to response. The external processor must include any needed metadata in its response.
.envoy.config.core.v3.Metadata metadata = 3;- Specified by:
getMetadatain interfaceProcessingRequestOrBuilder- Returns:
- The metadata.
-
setMetadata
Optional metadata associated with the request. This can include connection properties, filter configuration, and any other contextual information that might be useful for processing decisions. The metadata is not automatically propagated from request to response. The external processor must include any needed metadata in its response.
.envoy.config.core.v3.Metadata metadata = 3; -
setMetadata
Optional metadata associated with the request. This can include connection properties, filter configuration, and any other contextual information that might be useful for processing decisions. The metadata is not automatically propagated from request to response. The external processor must include any needed metadata in its response.
.envoy.config.core.v3.Metadata metadata = 3; -
mergeMetadata
Optional metadata associated with the request. This can include connection properties, filter configuration, and any other contextual information that might be useful for processing decisions. The metadata is not automatically propagated from request to response. The external processor must include any needed metadata in its response.
.envoy.config.core.v3.Metadata metadata = 3; -
clearMetadata
Optional metadata associated with the request. This can include connection properties, filter configuration, and any other contextual information that might be useful for processing decisions. The metadata is not automatically propagated from request to response. The external processor must include any needed metadata in its response.
.envoy.config.core.v3.Metadata metadata = 3; -
getMetadataBuilder
Optional metadata associated with the request. This can include connection properties, filter configuration, and any other contextual information that might be useful for processing decisions. The metadata is not automatically propagated from request to response. The external processor must include any needed metadata in its response.
.envoy.config.core.v3.Metadata metadata = 3; -
getMetadataOrBuilder
Optional metadata associated with the request. This can include connection properties, filter configuration, and any other contextual information that might be useful for processing decisions. The metadata is not automatically propagated from request to response. The external processor must include any needed metadata in its response.
.envoy.config.core.v3.Metadata metadata = 3;- Specified by:
getMetadataOrBuilderin interfaceProcessingRequestOrBuilder
-
setUnknownFields
public final ProcessingRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-
mergeUnknownFields
public final ProcessingRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
-