Package com.iotics.api
Class SubscriptionHeaders.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
com.iotics.api.SubscriptionHeaders.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SubscriptionHeadersOrBuilder,Cloneable
- Enclosing class:
- SubscriptionHeaders
public static final class SubscriptionHeaders.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
implements SubscriptionHeadersOrBuilder
SubscriptionHeaders describes a Search subscribe header. (Will be DEPRECATED with the client-ref from Headers).Protobuf type
iotics.api.SubscriptionHeaders-
Method Summary
Modifier and TypeMethodDescriptionaddAllTransactionRef(Iterable<String> values) Used to loosely link requests/responses in a distributed environment each layer can add its own id to the list.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTransactionRef(String value) Used to loosely link requests/responses in a distributed environment each layer can add its own id to the list.addTransactionRefBytes(com.google.protobuf.ByteString value) Used to loosely link requests/responses in a distributed environment each layer can add its own id to the list.build()clear()User namespace used to group all the requests/responsesconsumer group (for group listener, optional) - Not implemented yetclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Used to loosely link requests/responses in a distributed environment each layer can add its own id to the list.clone()User namespace used to group all the requests/responsescom.google.protobuf.ByteStringUser namespace used to group all the requests/responsesconsumer group (for group listener, optional) - Not implemented yetconsumer group (for group listener, optional) - Not implemented yetconsumer group (for group listener, optional) - Not implemented yetstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetTransactionRef(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.booleanconsumer group (for group listener, optional) - Not implemented yetprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeConsumerGroup(StringValue value) consumer group (for group listener, optional) - Not implemented yetmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SubscriptionHeaders other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setClientAppId(String value) User namespace used to group all the requests/responsessetClientAppIdBytes(com.google.protobuf.ByteString value) User namespace used to group all the requests/responsessetConsumerGroup(StringValue value) consumer group (for group listener, optional) - Not implemented yetsetConsumerGroup(StringValue.Builder builderForValue) consumer group (for group listener, optional) - Not implemented yetsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTransactionRef(int index, String value) Used to loosely link requests/responses in a distributed environment each layer can add its own id to the list.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<SubscriptionHeaders.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
-
setField
public SubscriptionHeaders.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
-
clearField
public SubscriptionHeaders.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
-
clearOneof
public SubscriptionHeaders.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
-
setRepeatedField
public SubscriptionHeaders.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
-
addRepeatedField
public SubscriptionHeaders.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SubscriptionHeaders.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
-
mergeFrom
public SubscriptionHeaders.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SubscriptionHeaders.Builder>- Throws:
IOException
-
getClientAppId
User namespace used to group all the requests/responses
string clientAppId = 1;- Specified by:
getClientAppIdin interfaceSubscriptionHeadersOrBuilder- Returns:
- The clientAppId.
-
getClientAppIdBytes
public com.google.protobuf.ByteString getClientAppIdBytes()User namespace used to group all the requests/responses
string clientAppId = 1;- Specified by:
getClientAppIdBytesin interfaceSubscriptionHeadersOrBuilder- Returns:
- The bytes for clientAppId.
-
setClientAppId
User namespace used to group all the requests/responses
string clientAppId = 1;- Parameters:
value- The clientAppId to set.- Returns:
- This builder for chaining.
-
clearClientAppId
User namespace used to group all the requests/responses
string clientAppId = 1;- Returns:
- This builder for chaining.
-
setClientAppIdBytes
User namespace used to group all the requests/responses
string clientAppId = 1;- Parameters:
value- The bytes for clientAppId to set.- Returns:
- This builder for chaining.
-
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 = 2;- Specified by:
getTransactionRefListin interfaceSubscriptionHeadersOrBuilder- 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 = 2;- Specified by:
getTransactionRefCountin interfaceSubscriptionHeadersOrBuilder- 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 = 2;- Specified by:
getTransactionRefin interfaceSubscriptionHeadersOrBuilder- 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 = 2;- Specified by:
getTransactionRefBytesin interfaceSubscriptionHeadersOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the transactionRef at the given index.
-
setTransactionRef
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 = 2;- Parameters:
index- The index to set the value at.value- The transactionRef to set.- Returns:
- This builder for chaining.
-
addTransactionRef
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 = 2;- Parameters:
value- The transactionRef to add.- Returns:
- This builder for chaining.
-
addAllTransactionRef
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 = 2;- Parameters:
values- The transactionRef to add.- Returns:
- This builder for chaining.
-
clearTransactionRef
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 = 2;- Returns:
- This builder for chaining.
-
addTransactionRefBytes
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 = 2;- Parameters:
value- The bytes of the transactionRef to add.- Returns:
- This builder for chaining.
-
hasConsumerGroup
public boolean hasConsumerGroup()consumer group (for group listener, optional) - Not implemented yet
.google.protobuf.StringValue consumerGroup = 3;- Specified by:
hasConsumerGroupin interfaceSubscriptionHeadersOrBuilder- Returns:
- Whether the consumerGroup field is set.
-
getConsumerGroup
consumer group (for group listener, optional) - Not implemented yet
.google.protobuf.StringValue consumerGroup = 3;- Specified by:
getConsumerGroupin interfaceSubscriptionHeadersOrBuilder- Returns:
- The consumerGroup.
-
setConsumerGroup
consumer group (for group listener, optional) - Not implemented yet
.google.protobuf.StringValue consumerGroup = 3; -
setConsumerGroup
consumer group (for group listener, optional) - Not implemented yet
.google.protobuf.StringValue consumerGroup = 3; -
mergeConsumerGroup
consumer group (for group listener, optional) - Not implemented yet
.google.protobuf.StringValue consumerGroup = 3; -
clearConsumerGroup
consumer group (for group listener, optional) - Not implemented yet
.google.protobuf.StringValue consumerGroup = 3; -
getConsumerGroupBuilder
consumer group (for group listener, optional) - Not implemented yet
.google.protobuf.StringValue consumerGroup = 3; -
getConsumerGroupOrBuilder
consumer group (for group listener, optional) - Not implemented yet
.google.protobuf.StringValue consumerGroup = 3;- Specified by:
getConsumerGroupOrBuilderin interfaceSubscriptionHeadersOrBuilder
-
setUnknownFields
public final SubscriptionHeaders.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
-
mergeUnknownFields
public final SubscriptionHeaders.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscriptionHeaders.Builder>
-