Package io.dapr.v1

Interface CommonProtos.InvokeResponseOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getContentType()
      Required.
      com.google.protobuf.ByteString getContentTypeBytes()
      Required.
      com.google.protobuf.Any getData()
      Required in unary RPCs.
      com.google.protobuf.AnyOrBuilder getDataOrBuilder()
      Required in unary RPCs.
      boolean hasData()
      Required in unary RPCs.
      • 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

      • hasData

        boolean hasData()
         Required in unary RPCs. The content body of InvokeService response.
         
        .google.protobuf.Any data = 1;
        Returns:
        Whether the data field is set.
      • getData

        com.google.protobuf.Any getData()
         Required in unary RPCs. The content body of InvokeService response.
         
        .google.protobuf.Any data = 1;
        Returns:
        The data.
      • getDataOrBuilder

        com.google.protobuf.AnyOrBuilder getDataOrBuilder()
         Required in unary RPCs. The content body of InvokeService response.
         
        .google.protobuf.Any data = 1;
      • getContentType

        String getContentType()
         Required. The type of data content.
         
        string content_type = 2;
        Returns:
        The contentType.
      • getContentTypeBytes

        com.google.protobuf.ByteString getContentTypeBytes()
         Required. The type of data content.
         
        string content_type = 2;
        Returns:
        The bytes for contentType.