public interface StatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCode()
Status code.
|
com.google.protobuf.ByteString |
getCodeBytes()
Status code.
|
String |
getReason()
Statue reason.
|
com.google.protobuf.ByteString |
getReasonBytes()
Statue reason.
|
String getCode()
Status code. Default "200".
string code = 1;com.google.protobuf.ByteString getCodeBytes()
Status code. Default "200".
string code = 1;String getReason()
Statue reason. Default "OK".
string reason = 2;com.google.protobuf.ByteString getReasonBytes()
Statue reason. Default "OK".
string reason = 2;Copyright © 2019. All rights reserved.