Class RPCRequest.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class RPCRequest.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for RPCRequest instances.

    • Constructor Detail

    • Method Detail

      • getSender

         String getSender()

        Gets the value of the 'sender' field. The sender identifier

      • getSendTime

         Instant getSendTime()

        Gets the value of the 'sendTime' field. Time ([Instant]) in milliseconds of the request

      • setSendTime

         RPCRequest.Builder setSendTime(Instant value)

        Sets the value of the 'sendTime' field. Time ([Instant]) in milliseconds of the request

        Parameters:
        value - The value of 'sendTime'.
      • getReplyTopic

         String getReplyTopic()

        Gets the value of the 'replyTopic' field. The topic the response needs to be posted on

      • setReplyTopic

         RPCRequest.Builder setReplyTopic(String value)

        Sets the value of the 'replyTopic' field. The topic the response needs to be posted on

        Parameters:
        value - The value of 'replyTopic'.
      • getReplyPartition

         int getReplyPartition()

        Gets the value of the 'replyPartition' field. The partition we expect the response to be on

      • setReplyPartition

         RPCRequest.Builder setReplyPartition(int value)

        Sets the value of the 'replyPartition' field. The partition we expect the response to be on

        Parameters:
        value - The value of 'replyPartition'.
      • hasSender

         boolean hasSender()

        Checks whether the 'sender' field has been set. The sender identifier

      • hasCorrelationKey

         boolean hasCorrelationKey()

        Checks whether the 'correlationKey' field has been set. Unique identifier

      • hasSendTime

         boolean hasSendTime()

        Checks whether the 'sendTime' field has been set. Time ([Instant]) in milliseconds of the request

      • hasReplyTopic

         boolean hasReplyTopic()

        Checks whether the 'replyTopic' field has been set. The topic the response needs to be posted on

      • hasReplyPartition

         boolean hasReplyPartition()

        Checks whether the 'replyPartition' field has been set. The partition we expect the response to be on

      • hasPayload

         boolean hasPayload()

        Checks whether the 'payload' field has been set.