Package io.grpc.testing.integration
Interface Messages.PayloadOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Messages.Payload,Messages.Payload.Builder
- Enclosing class:
- Messages
public static interface Messages.PayloadOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetBody()Primary contents of payload.Messages.PayloadTypegetType()The type of data in body.intgetTypeValue()The type of data in body.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
The type of data in body.
.grpc.testing.PayloadType type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
Messages.PayloadType getType()
The type of data in body.
.grpc.testing.PayloadType type = 1;- Returns:
- The type.
-
getBody
com.google.protobuf.ByteString getBody()
Primary contents of payload.
bytes body = 2;- Returns:
- The body.
-
-