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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
    • clear

      public ProcessingRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
    • getDefaultInstanceForType

      public ProcessingRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ProcessingRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ProcessingRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public ProcessingRequest.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
    • setField

      public ProcessingRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
    • clearField

      public ProcessingRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
    • clearOneof

      public ProcessingRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
    • setRepeatedField

      public ProcessingRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
    • addRepeatedField

      public ProcessingRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
    • mergeFrom

      public ProcessingRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProcessingRequest.Builder>
    • mergeFrom

      public ProcessingRequest.Builder mergeFrom(ProcessingRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasReadData in interface ProcessingRequestOrBuilder
      Returns:
      Whether the readData field is set.
    • getReadData

      public Data 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:
      getReadData in interface ProcessingRequestOrBuilder
      Returns:
      The readData.
    • setReadData

      public ProcessingRequest.Builder setReadData(Data value)
       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

      public ProcessingRequest.Builder setReadData(Data.Builder builderForValue)
       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

      public ProcessingRequest.Builder mergeReadData(Data value)
       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

      public ProcessingRequest.Builder 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

      public Data.Builder 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

      public DataOrBuilder 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:
      getReadDataOrBuilder in interface ProcessingRequestOrBuilder
    • 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:
      hasWriteData in interface ProcessingRequestOrBuilder
      Returns:
      Whether the writeData field is set.
    • getWriteData

      public Data 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:
      getWriteData in interface ProcessingRequestOrBuilder
      Returns:
      The writeData.
    • setWriteData

      public ProcessingRequest.Builder setWriteData(Data value)
       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

      public ProcessingRequest.Builder setWriteData(Data.Builder builderForValue)
       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

      public ProcessingRequest.Builder mergeWriteData(Data value)
       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

      public ProcessingRequest.Builder 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

      public Data.Builder 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

      public DataOrBuilder 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:
      getWriteDataOrBuilder in interface ProcessingRequestOrBuilder
    • 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:
      hasMetadata in interface ProcessingRequestOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public Metadata 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:
      getMetadata in interface ProcessingRequestOrBuilder
      Returns:
      The metadata.
    • setMetadata

      public ProcessingRequest.Builder setMetadata(Metadata value)
       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

      public ProcessingRequest.Builder setMetadata(Metadata.Builder builderForValue)
       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

      public ProcessingRequest.Builder mergeMetadata(Metadata value)
       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

      public ProcessingRequest.Builder 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

      public Metadata.Builder 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

      public MetadataOrBuilder 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:
      getMetadataOrBuilder in interface ProcessingRequestOrBuilder
    • setUnknownFields

      public final ProcessingRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>
    • mergeUnknownFields

      public final ProcessingRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ProcessingRequest.Builder>