Send feedback
Class RequestInfo.Builder (2.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.33.0 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RequestInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public RequestInfo build ()
buildPartial()
public RequestInfo buildPartial ()
clear()
public RequestInfo . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RequestInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RequestInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
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;
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;
clone()
public RequestInfo . Builder clone ()
Overrides
getDefaultInstanceForType()
public RequestInfo getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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.
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public RequestInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public RequestInfo . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeFrom(RequestInfo other)
public RequestInfo . Builder mergeFrom ( RequestInfo other )
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RequestInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RequestInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RequestInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
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.
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.
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.
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.
setUnknownFields(UnknownFieldSet unknownFields)
public final RequestInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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."],[],[]]