Enum BodySendMode (0.50.0)

public enum BodySendMode extends Enum<BodySendMode> implements ProtocolMessageEnum

The send mode for body processing.

Protobuf enum google.cloud.networkservices.v1.BodySendMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
BODY_SEND_MODE_FULL_DUPLEX_STREAMED

Calls are executed in the full duplex mode. Subsequent chunks will be sent for processing without waiting for the response for the previous chunk or for the response for REQUEST_HEADERS event.

Extension can freely modify or chunk the body contents. If the extension doesn't send the body contents back, the next extension in the chain or the upstream will receive an empty body.

BODY_SEND_MODE_FULL_DUPLEX_STREAMED = 2;

BODY_SEND_MODE_FULL_DUPLEX_STREAMED_VALUE

Calls are executed in the full duplex mode. Subsequent chunks will be sent for processing without waiting for the response for the previous chunk or for the response for REQUEST_HEADERS event.

Extension can freely modify or chunk the body contents. If the extension doesn't send the body contents back, the next extension in the chain or the upstream will receive an empty body.

BODY_SEND_MODE_FULL_DUPLEX_STREAMED = 2;

BODY_SEND_MODE_STREAMED

Calls to the extension are executed in the streamed mode. Subsequent chunks will be sent only after the previous chunks have been processed.

The content of the body chunks is sent one way to the extension. Extension may send modified chunks back.

This is the default value if the processing mode is not specified.

BODY_SEND_MODE_STREAMED = 1;

BODY_SEND_MODE_STREAMED_VALUE

Calls to the extension are executed in the streamed mode. Subsequent chunks will be sent only after the previous chunks have been processed.

The content of the body chunks is sent one way to the extension. Extension may send modified chunks back.

This is the default value if the processing mode is not specified.

BODY_SEND_MODE_STREAMED = 1;

BODY_SEND_MODE_UNSPECIFIED

Default value. Do not use.

BODY_SEND_MODE_UNSPECIFIED = 0;

BODY_SEND_MODE_UNSPECIFIED_VALUE

Default value. Do not use.

BODY_SEND_MODE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()