public interface ResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
A message associated with the response code.
|
com.google.protobuf.ByteString |
getMessageBytes()
A message associated with the response code.
|
com.google.protobuf.ByteString |
getPayload()
A payload that can be used to include metadata with this response.
|
int |
getStatus()
A status code that should follow the HTTP status codes.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getStatus()
A status code that should follow the HTTP status codes.
int32 status = 1 [json_name = "status"];
String getMessage()
A message associated with the response code.
string message = 2 [json_name = "message"];
com.google.protobuf.ByteString getMessageBytes()
A message associated with the response code.
string message = 2 [json_name = "message"];
com.google.protobuf.ByteString getPayload()
A payload that can be used to include metadata with this response.
bytes payload = 3 [json_name = "payload"];
Copyright © 2022. All rights reserved.