Interface HeadersOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Headers, Headers.Builder

public interface HeadersOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    User namespace used to group all the requests/responses
    com.google.protobuf.ByteString
    User namespace used to group all the requests/responses
    Optional client reference.
    com.google.protobuf.ByteString
    Optional client reference.
    Used for group listener, optional - Not implemented yet
    Used for group listener, optional - Not implemented yet
    Client request timeout used to stop the request processing once the timeout is reached
    Client request timeout used to stop the request processing once the timeout is reached
    getTransactionRef(int index)
    Used to loosely link requests/responses in a distributed environment each layer can add its own id to the list.
    com.google.protobuf.ByteString
    Used to loosely link requests/responses in a distributed environment each layer can add its own id to the list.
    int
    Used to loosely link requests/responses in a distributed environment each layer can add its own id to the list.
    Used to loosely link requests/responses in a distributed environment each layer can add its own id to the list.
    boolean
    Used for group listener, optional - Not implemented yet
    boolean
    Client request timeout used to stop the request processing once the timeout is reached

    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 Details

    • getClientRef

      String getClientRef()
       Optional client reference. Any responses associated with the request will include this reference.
       
      string clientRef = 1;
      Returns:
      The clientRef.
    • getClientRefBytes

      com.google.protobuf.ByteString getClientRefBytes()
       Optional client reference. Any responses associated with the request will include this reference.
       
      string clientRef = 1;
      Returns:
      The bytes for clientRef.
    • getClientAppId

      String getClientAppId()
       User namespace used to group all the requests/responses
       
      string clientAppId = 2;
      Returns:
      The clientAppId.
    • getClientAppIdBytes

      com.google.protobuf.ByteString getClientAppIdBytes()
       User namespace used to group all the requests/responses
       
      string clientAppId = 2;
      Returns:
      The bytes for clientAppId.
    • getTransactionRefList

      List<String> getTransactionRefList()
       Used to loosely link requests/responses in a distributed environment
       each layer can add its own id to the list. Transaction ref is limited to
       a max of 16 elements per list and, for each list item, a max length of 36
       characters
       
      repeated string transactionRef = 3;
      Returns:
      A list containing the transactionRef.
    • getTransactionRefCount

      int getTransactionRefCount()
       Used to loosely link requests/responses in a distributed environment
       each layer can add its own id to the list. Transaction ref is limited to
       a max of 16 elements per list and, for each list item, a max length of 36
       characters
       
      repeated string transactionRef = 3;
      Returns:
      The count of transactionRef.
    • getTransactionRef

      String getTransactionRef(int index)
       Used to loosely link requests/responses in a distributed environment
       each layer can add its own id to the list. Transaction ref is limited to
       a max of 16 elements per list and, for each list item, a max length of 36
       characters
       
      repeated string transactionRef = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The transactionRef at the given index.
    • getTransactionRefBytes

      com.google.protobuf.ByteString getTransactionRefBytes(int index)
       Used to loosely link requests/responses in a distributed environment
       each layer can add its own id to the list. Transaction ref is limited to
       a max of 16 elements per list and, for each list item, a max length of 36
       characters
       
      repeated string transactionRef = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the transactionRef at the given index.
    • hasConsumerGroup

      boolean hasConsumerGroup()
       Used for group listener, optional - Not implemented yet
       
      .google.protobuf.StringValue consumerGroup = 4;
      Returns:
      Whether the consumerGroup field is set.
    • getConsumerGroup

      StringValue getConsumerGroup()
       Used for group listener, optional - Not implemented yet
       
      .google.protobuf.StringValue consumerGroup = 4;
      Returns:
      The consumerGroup.
    • getConsumerGroupOrBuilder

      StringValueOrBuilder getConsumerGroupOrBuilder()
       Used for group listener, optional - Not implemented yet
       
      .google.protobuf.StringValue consumerGroup = 4;
    • hasRequestTimeout

      boolean hasRequestTimeout()
       Client request timeout used to stop the request processing once the timeout is reached
       
      .google.protobuf.Timestamp requestTimeout = 5;
      Returns:
      Whether the requestTimeout field is set.
    • getRequestTimeout

      Timestamp getRequestTimeout()
       Client request timeout used to stop the request processing once the timeout is reached
       
      .google.protobuf.Timestamp requestTimeout = 5;
      Returns:
      The requestTimeout.
    • getRequestTimeoutOrBuilder

      TimestampOrBuilder getRequestTimeoutOrBuilder()
       Client request timeout used to stop the request processing once the timeout is reached
       
      .google.protobuf.Timestamp requestTimeout = 5;