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| 限定符和类型 | 方法和说明 |
|---|---|
RequestInfo |
build() |
RequestInfo |
buildPartial() |
RequestInfo.Builder |
clear() |
RequestInfo.Builder |
clearRequestId()
An opaque string that should only be interpreted by the service generating
it.
|
RequestInfo.Builder |
clearServingData()
Any data that was used to serve this request.
|
RequestInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getRequestId()
An opaque string that should only be interpreted by the service generating
it.
|
com.google.protobuf.ByteString |
getRequestIdBytes()
An opaque string that should only be interpreted by the service generating
it.
|
String |
getServingData()
Any data that was used to serve this request.
|
com.google.protobuf.ByteString |
getServingDataBytes()
Any data that was used to serve this request.
|
boolean |
isInitialized() |
RequestInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RequestInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
RequestInfo.Builder |
mergeFrom(RequestInfo other) |
RequestInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RequestInfo.Builder |
setRequestId(String value)
An opaque string that should only be interpreted by the service generating
it.
|
RequestInfo.Builder |
setRequestIdBytes(com.google.protobuf.ByteString value)
An opaque string that should only be interpreted by the service generating
it.
|
RequestInfo.Builder |
setServingData(String value)
Any data that was used to serve this request.
|
RequestInfo.Builder |
setServingDataBytes(com.google.protobuf.ByteString value)
Any data that was used to serve this request.
|
RequestInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField, setField, setRepeatedFieldfindInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringmergeDelimitedFrom, mergeDelimitedFrom, mergeFrompublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public RequestInfo.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>public RequestInfo getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic RequestInfo build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic RequestInfo buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic RequestInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<RequestInfo.Builder>public RequestInfo.Builder mergeFrom(RequestInfo other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>public RequestInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<RequestInfo.Builder>IOExceptionpublic 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;getRequestId 在接口中 RequestInfoOrBuilderpublic 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;getRequestIdBytes 在接口中 RequestInfoOrBuilderpublic 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;value - The requestId to set.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;public RequestInfo.Builder setRequestIdBytes(com.google.protobuf.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;value - The bytes for requestId to set.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;getServingData 在接口中 RequestInfoOrBuilderpublic 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;getServingDataBytes 在接口中 RequestInfoOrBuilderpublic 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;value - The servingData to set.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;public RequestInfo.Builder setServingDataBytes(com.google.protobuf.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;value - The bytes for servingData to set.public final RequestInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>public final RequestInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder>Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.