Interface RequestInfoOrBuilder (2.42.0)

public interface RequestInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRequestId()

public abstract String getRequestId()

An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs.

string request_id = 1;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs.

string request_id = 1;

Returns
Type Description
ByteString

The bytes for requestId.

getServingData()

public abstract String getServingData()

Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging.

string serving_data = 2;

Returns
Type Description
String

The servingData.

getServingDataBytes()

public abstract ByteString getServingDataBytes()

Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging.

string serving_data = 2;

Returns
Type Description
ByteString

The bytes for servingData.