Send feedback
Class RequestInfo.Builder (2.7.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.7.4 keyboard_arrow_down
public static final class RequestInfo . Builder extends GeneratedMessageV3 . Builder<RequestInfo . Builder > 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 Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RequestInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public RequestInfo build ()
Returns
buildPartial()
public RequestInfo buildPartial ()
Returns
clear()
public RequestInfo . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RequestInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RequestInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearRequestId()
public RequestInfo . Builder clearRequestId ()
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
clearServingData()
public RequestInfo . Builder clearServingData ()
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
clone()
public RequestInfo . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public RequestInfo getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
public RequestInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RequestInfo . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeFrom(RequestInfo other)
public RequestInfo . Builder mergeFrom ( RequestInfo other )
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RequestInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RequestInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RequestInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setRequestId(String value)
public RequestInfo . Builder setRequestId ( String value )
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;
Parameter
Name Description value String
The requestId to set.
Returns
setRequestIdBytes(ByteString value)
public RequestInfo . Builder setRequestIdBytes ( ByteString value )
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;
Parameter
Name Description value ByteString
The bytes for requestId to set.
Returns
setServingData(String value)
public RequestInfo . Builder setServingData ( String value )
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;
Parameter
Name Description value String
The servingData to set.
Returns
setServingDataBytes(ByteString value)
public RequestInfo . Builder setServingDataBytes ( ByteString value )
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;
Parameter
Name Description value ByteString
The bytes for servingData to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RequestInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]