public final class RequestInfo extends com.google.protobuf.GeneratedMessageV3 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 class |
RequestInfo.Builder
Contains metadata about the request that clients can attach when filing a bug
or providing other forms of feedback.
|
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 限定符和类型 | 字段和说明 |
|---|---|
static int |
REQUEST_ID_FIELD_NUMBER |
static int |
SERVING_DATA_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static RequestInfo |
getDefaultInstance() |
RequestInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<RequestInfo> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
boolean |
isInitialized() |
static RequestInfo.Builder |
newBuilder() |
static RequestInfo.Builder |
newBuilder(RequestInfo prototype) |
RequestInfo.Builder |
newBuilderForType() |
static RequestInfo |
parseDelimitedFrom(InputStream input) |
static RequestInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestInfo |
parseFrom(byte[] data) |
static RequestInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestInfo |
parseFrom(ByteBuffer data) |
static RequestInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestInfo |
parseFrom(com.google.protobuf.ByteString data) |
static RequestInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RequestInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestInfo |
parseFrom(InputStream input) |
static RequestInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RequestInfo> |
parser() |
RequestInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int REQUEST_ID_FIELD_NUMBER
public static final int SERVING_DATA_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
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;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 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 final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static RequestInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RequestInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RequestInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RequestInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RequestInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RequestInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RequestInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static RequestInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RequestInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RequestInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RequestInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RequestInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RequestInfo.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static RequestInfo.Builder newBuilder()
public static RequestInfo.Builder newBuilder(RequestInfo prototype)
public RequestInfo.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLitepublic static RequestInfo getDefaultInstance()
public static com.google.protobuf.Parser<RequestInfo> parser()
public com.google.protobuf.Parser<RequestInfo> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public RequestInfo getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.