Class RequestInfo
Contains metadata about the request that clients can attach when filing a bug
or providing other forms of feedback.
Inheritance
System.Object
RequestInfo
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class RequestInfo : IMessage<RequestInfo>, IMessage, IEquatable<RequestInfo>, IDeepCloneable<RequestInfo>
Constructors
RequestInfo()
Declaration
RequestInfo(RequestInfo)
Declaration
public RequestInfo(RequestInfo other)
Parameters
Fields
RequestIdFieldNumber
Field number for the "request_id" field.
Declaration
public const int RequestIdFieldNumber = 1
Field Value
Type |
Description |
System.Int32 |
|
ServingDataFieldNumber
Field number for the "serving_data" field.
Declaration
public const int ServingDataFieldNumber = 2
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Parser
Declaration
public static MessageParser<RequestInfo> Parser { get; }
Property Value
RequestId
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.
Declaration
public string RequestId { get; set; }
Property Value
Type |
Description |
System.String |
|
ServingData
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.
Declaration
public string ServingData { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
Clone()
Declaration
public RequestInfo Clone()
Returns
Implements
Equals(RequestInfo)
Declaration
public bool Equals(RequestInfo other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
MergeFrom(RequestInfo)
Declaration
public void MergeFrom(RequestInfo other)
Parameters
Implements
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Implements