Package com.google.rpc
Class RequestInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
com.google.rpc.RequestInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,RequestInfoOrBuilder
,Cloneable
- Enclosing class:
RequestInfo
public static final class RequestInfo.Builder
extends com.google.protobuf.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
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) An opaque string that should only be interpreted by the service generating it.Any data that was used to serve this request.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
An opaque string that should only be interpreted by the service generating it.com.google.protobuf.ByteString
An opaque string that should only be interpreted by the service generating it.Any data that was used to serve this request.com.google.protobuf.ByteString
Any data that was used to serve this request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(RequestInfo other) final RequestInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId
(String value) An opaque string that should only be interpreted by the service generating it.setRequestIdBytes
(com.google.protobuf.ByteString value) An opaque string that should only be interpreted by the service generating it.setServingData
(String value) Any data that was used to serve this request.setServingDataBytes
(com.google.protobuf.ByteString value) Any data that was used to serve this request.final RequestInfo.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-
setField
public RequestInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-
setRepeatedField
public RequestInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-
addRepeatedField
public RequestInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RequestInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-
mergeFrom
public RequestInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RequestInfo.Builder>
- Throws:
IOException
-
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;
- Specified by:
getRequestId
in interfaceRequestInfoOrBuilder
- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.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;
- Specified by:
getRequestIdBytes
in interfaceRequestInfoOrBuilder
- Returns:
- The bytes for requestId.
-
setRequestId
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;
- Parameters:
value
- The requestId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setRequestIdBytes
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;
- Parameters:
value
- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getServingData
in interfaceRequestInfoOrBuilder
- Returns:
- The servingData.
-
getServingDataBytes
public com.google.protobuf.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;
- Specified by:
getServingDataBytes
in interfaceRequestInfoOrBuilder
- Returns:
- The bytes for servingData.
-
setServingData
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;
- Parameters:
value
- The servingData to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setServingDataBytes
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;
- Parameters:
value
- The bytes for servingData to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RequestInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-
mergeUnknownFields
public final RequestInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>
-