public interface PayloadOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getBody()
optional bytes body = 2; |
PayloadType |
getType()
optional .grpc.testing.PayloadType type = 1; |
int |
getTypeValue()
optional .grpc.testing.PayloadType type = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getTypeValue()
optional .grpc.testing.PayloadType type = 1;
The type of data in body.
PayloadType getType()
optional .grpc.testing.PayloadType type = 1;
The type of data in body.
com.google.protobuf.ByteString getBody()
optional bytes body = 2;
Primary contents of payload.