Package com.iotics.api
Class Headers
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.iotics.api.Headers
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HeadersOrBuilder,Serializable
public final class Headers
extends com.google.protobuf.GeneratedMessageV3
implements HeadersOrBuilder
Headers describes the common headers applicable to all the API requests (except for Search subscribe: see SubscriptionHeaders).Protobuf type
iotics.api.Headers- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHeaders describes the common headers applicable to all the API requests (except for Search subscribe: see SubscriptionHeaders).Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanUser 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 yetstatic Headersstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Headers>Client 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 reachedintgetTransactionRef(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.com.google.protobuf.ProtocolStringListUsed to loosely link requests/responses in a distributed environment each layer can add its own id to the list.final com.google.protobuf.UnknownFieldSetbooleanUsed for group listener, optional - Not implemented yetinthashCode()booleanClient request timeout used to stop the request processing once the timeout is reachedprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Headers.Builderstatic Headers.BuildernewBuilder(Headers prototype) protected Headers.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static HeadersparseDelimitedFrom(InputStream input) static HeadersparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HeadersparseFrom(byte[] data) static HeadersparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HeadersparseFrom(com.google.protobuf.ByteString data) static HeadersparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HeadersparseFrom(com.google.protobuf.CodedInputStream input) static HeadersparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HeadersparseFrom(InputStream input) static HeadersparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HeadersparseFrom(ByteBuffer data) static HeadersparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Headers>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
CLIENTREF_FIELD_NUMBER
public static final int CLIENTREF_FIELD_NUMBER- See Also:
-
CLIENTAPPID_FIELD_NUMBER
public static final int CLIENTAPPID_FIELD_NUMBER- See Also:
-
TRANSACTIONREF_FIELD_NUMBER
public static final int TRANSACTIONREF_FIELD_NUMBER- See Also:
-
CONSUMERGROUP_FIELD_NUMBER
public static final int CONSUMERGROUP_FIELD_NUMBER- See Also:
-
REQUESTTIMEOUT_FIELD_NUMBER
public static final int REQUESTTIMEOUT_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getClientRef
Optional client reference. Any responses associated with the request will include this reference.
string clientRef = 1;- Specified by:
getClientRefin interfaceHeadersOrBuilder- Returns:
- The clientRef.
-
getClientRefBytes
public com.google.protobuf.ByteString getClientRefBytes()Optional client reference. Any responses associated with the request will include this reference.
string clientRef = 1;- Specified by:
getClientRefBytesin interfaceHeadersOrBuilder- Returns:
- The bytes for clientRef.
-
getClientAppId
User namespace used to group all the requests/responses
string clientAppId = 2;- Specified by:
getClientAppIdin interfaceHeadersOrBuilder- Returns:
- The clientAppId.
-
getClientAppIdBytes
public com.google.protobuf.ByteString getClientAppIdBytes()User namespace used to group all the requests/responses
string clientAppId = 2;- Specified by:
getClientAppIdBytesin interfaceHeadersOrBuilder- Returns:
- The bytes for clientAppId.
-
getTransactionRefList
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getTransactionRefListin interfaceHeadersOrBuilder- Returns:
- A list containing the transactionRef.
-
getTransactionRefCount
public 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;- Specified by:
getTransactionRefCountin interfaceHeadersOrBuilder- 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;- Specified by:
getTransactionRefin interfaceHeadersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The transactionRef at the given index.
-
getTransactionRefBytes
public 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;- Specified by:
getTransactionRefBytesin interfaceHeadersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the transactionRef at the given index.
-
hasConsumerGroup
public boolean hasConsumerGroup()Used for group listener, optional - Not implemented yet
.google.protobuf.StringValue consumerGroup = 4;- Specified by:
hasConsumerGroupin interfaceHeadersOrBuilder- Returns:
- Whether the consumerGroup field is set.
-
getConsumerGroup
Used for group listener, optional - Not implemented yet
.google.protobuf.StringValue consumerGroup = 4;- Specified by:
getConsumerGroupin interfaceHeadersOrBuilder- Returns:
- The consumerGroup.
-
getConsumerGroupOrBuilder
Used for group listener, optional - Not implemented yet
.google.protobuf.StringValue consumerGroup = 4;- Specified by:
getConsumerGroupOrBuilderin interfaceHeadersOrBuilder
-
hasRequestTimeout
public boolean hasRequestTimeout()Client request timeout used to stop the request processing once the timeout is reached
.google.protobuf.Timestamp requestTimeout = 5;- Specified by:
hasRequestTimeoutin interfaceHeadersOrBuilder- Returns:
- Whether the requestTimeout field is set.
-
getRequestTimeout
Client request timeout used to stop the request processing once the timeout is reached
.google.protobuf.Timestamp requestTimeout = 5;- Specified by:
getRequestTimeoutin interfaceHeadersOrBuilder- Returns:
- The requestTimeout.
-
getRequestTimeoutOrBuilder
Client request timeout used to stop the request processing once the timeout is reached
.google.protobuf.Timestamp requestTimeout = 5;- Specified by:
getRequestTimeoutOrBuilderin interfaceHeadersOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Headers parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Headers parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Headers parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Headers parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Headers parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Headers parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Headers parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Headers parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Headers parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Headers.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-