Package com.iotics.api
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 TypeMethodDescriptionUser namespace used to group all the requests/responsescom.google.protobuf.ByteStringUser namespace used to group all the requests/responsesOptional client reference.com.google.protobuf.ByteStringOptional client reference.Used for group listener, optional - Not implemented yetUsed for group listener, optional - Not implemented yetClient request timeout used to stop the request processing once the timeout is reachedClient request timeout used to stop the request processing once the timeout is reachedgetTransactionRef(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.ByteStringgetTransactionRefBytes(int index) Used to loosely link requests/responses in a distributed environment each layer can add its own id to the list.intUsed 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.booleanUsed for group listener, optional - Not implemented yetbooleanClient request timeout used to stop the request processing once the timeout is reachedMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
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;
-