public static interface SofaRpcProto.SofaRpcMetaOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
SofaRpcProto.SofaCompressType |
getCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type. |
int |
getErrorCode()
optional int32 error_code = 201;
The error code if the call is failed. |
SofaRpcProto.SofaCompressType |
getExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected. |
boolean |
getFailed()
optional bool failed = 200;
Set as true if the call is failed. |
String |
getMethod()
optional string method = 100;
Method full name. |
com.google.protobuf.ByteString |
getMethodBytes()
optional string method = 100;
Method full name. |
String |
getReason()
optional string reason = 202;
The error reason if the call is failed. |
com.google.protobuf.ByteString |
getReasonBytes()
optional string reason = 202;
The error reason if the call is failed. |
long |
getSequenceId()
required uint64 sequence_id = 2;
Message sequence id. |
SofaRpcProto.SofaRpcMeta.Type |
getType()
required .brpc.policy.SofaRpcMeta.Type type = 1; |
boolean |
hasCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type. |
boolean |
hasErrorCode()
optional int32 error_code = 201;
The error code if the call is failed. |
boolean |
hasExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected. |
boolean |
hasFailed()
optional bool failed = 200;
Set as true if the call is failed. |
boolean |
hasMethod()
optional string method = 100;
Method full name. |
boolean |
hasReason()
optional string reason = 202;
The error reason if the call is failed. |
boolean |
hasSequenceId()
required uint64 sequence_id = 2;
Message sequence id. |
boolean |
hasType()
required .brpc.policy.SofaRpcMeta.Type type = 1; |
boolean hasType()
required .brpc.policy.SofaRpcMeta.Type type = 1;SofaRpcProto.SofaRpcMeta.Type getType()
required .brpc.policy.SofaRpcMeta.Type type = 1;boolean hasSequenceId()
required uint64 sequence_id = 2;
Message sequence id.
long getSequenceId()
required uint64 sequence_id = 2;
Message sequence id.
boolean hasMethod()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
String getMethod()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
com.google.protobuf.ByteString getMethodBytes()
optional string method = 100;
Method full name. For io.brpc.example.example: "test.HelloService.GreetMethod"
boolean hasFailed()
optional bool failed = 200;
Set as true if the call is failed.
boolean getFailed()
optional bool failed = 200;
Set as true if the call is failed.
boolean hasErrorCode()
optional int32 error_code = 201;
The error code if the call is failed.
int getErrorCode()
optional int32 error_code = 201;
The error code if the call is failed.
boolean hasReason()
optional string reason = 202;
The error reason if the call is failed.
String getReason()
optional string reason = 202;
The error reason if the call is failed.
com.google.protobuf.ByteString getReasonBytes()
optional string reason = 202;
The error reason if the call is failed.
boolean hasCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type.
SofaRpcProto.SofaCompressType getCompressType()
optional .brpc.policy.SofaCompressType compress_type = 300;
Set the request/response compress type.
boolean hasExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected.
SofaRpcProto.SofaCompressType getExpectedResponseCompressType()
optional .brpc.policy.SofaCompressType expected_response_compress_type = 301;
Set the response compress type of user expected.
Copyright © 2019 Baidu, Inc.. All rights reserved.