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.ByteString getBody()
      Primary contents of payload.
      Messages.PayloadType getType()
      DEPRECATED, don't use.
      int getTypeValue()
      DEPRECATED, don't use.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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()
         DEPRECATED, don't use. To be removed shortly.
         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()
         DEPRECATED, don't use. To be removed shortly.
         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.