Class RequestInfo (2.15.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
TypeDescription
int

SERVING_DATA_FIELD_NUMBER

public static final int SERVING_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RequestInfo getDefaultInstance()
Returns
TypeDescription
RequestInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RequestInfo.Builder newBuilder()
Returns
TypeDescription
RequestInfo.Builder

newBuilder(RequestInfo prototype)

public static RequestInfo.Builder newBuilder(RequestInfo prototype)
Parameter
NameDescription
prototypeRequestInfo
Returns
TypeDescription
RequestInfo.Builder

parseDelimitedFrom(InputStream input)

public static RequestInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RequestInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RequestInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RequestInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RequestInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RequestInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RequestInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RequestInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RequestInfo> parser()
Returns
TypeDescription
Parser<RequestInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RequestInfo getDefaultInstanceForType()
Returns
TypeDescription
RequestInfo

getParserForType()

public Parser<RequestInfo> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for requestId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for servingData.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RequestInfo.Builder newBuilderForType()
Returns
TypeDescription
RequestInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RequestInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RequestInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RequestInfo.Builder toBuilder()
Returns
TypeDescription
RequestInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException