Class RequestInfo (2.44.0)

public final class RequestInfo extends GeneratedMessageV3 implements RequestInfoOrBuilder

Contains metadata about the request that clients can attach when filing a bug or providing other forms of feedback.

Protobuf type google.rpc.RequestInfo

Static Fields

REQUEST_ID_FIELD_NUMBER

public static final int REQUEST_ID_FIELD_NUMBER
Field Value
Type Description
int

SERVING_DATA_FIELD_NUMBER

public static final int SERVING_DATA_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RequestInfo getDefaultInstance()
Returns
Type Description
RequestInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RequestInfo.Builder newBuilder()
Returns
Type Description
RequestInfo.Builder

newBuilder(RequestInfo prototype)

public static RequestInfo.Builder newBuilder(RequestInfo prototype)
Parameter
Name Description
prototype RequestInfo
Returns
Type Description
RequestInfo.Builder

parseDelimitedFrom(InputStream input)

public static RequestInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RequestInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RequestInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RequestInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RequestInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RequestInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RequestInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RequestInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RequestInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RequestInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RequestInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RequestInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RequestInfo> parser()
Returns
Type Description
Parser<RequestInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RequestInfo getDefaultInstanceForType()
Returns
Type Description
RequestInfo

getParserForType()

public Parser<RequestInfo> getParserForType()
Returns
Type Description
Parser<RequestInfo>
Overrides

getRequestId()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServingData()

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RequestInfo.Builder newBuilderForType()
Returns
Type Description
RequestInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RequestInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RequestInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RequestInfo.Builder toBuilder()
Returns
Type Description
RequestInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException