Package ai.blip.deckard
Class Message.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
- ai.blip.deckard.Message.Builder
-
- All Implemented Interfaces:
MessageOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Message
public static final class Message.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Message.Builder> implements MessageOrBuilder
Protobuf typeblipai.deckard.Message
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Message.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Messagebuild()MessagebuildPartial()Message.Builderclear()Message.BuilderclearBreakpoint()Breakpoint is a field to be used as an auxiliar field for some specific use cases.Message.BuilderclearDescription()Description of the message, this should be used as a human readable string to be used in diagnostics.Message.BuilderclearDiagnostics()Diagnostics is a field holding information about the message's usage.Message.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Message.BuilderclearId()ID is an unique identifier inside a queue.Message.BuilderclearMetadata()Message.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Message.BuilderclearPayload()Message.BuilderclearQueue()Full name of the queue this message belongs (including any prefixes)Message.BuilderclearScore()Score represents the priority score the message currently have in the queue.Message.BuilderclearStringPayload()Message string payload.Message.Builderclone()booleancontainsMetadata(String key)Metadata is a map of string to be used as a key-value store.booleancontainsPayload(String key)A payload map with formatted data to be stored and used by clients.StringgetBreakpoint()Breakpoint is a field to be used as an auxiliar field for some specific use cases.com.google.protobuf.ByteStringgetBreakpointBytes()Breakpoint is a field to be used as an auxiliar field for some specific use cases.MessagegetDefaultInstanceForType()StringgetDescription()Description of the message, this should be used as a human readable string to be used in diagnostics.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the message, this should be used as a human readable string to be used in diagnostics.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()MessageDiagnosticsgetDiagnostics()Diagnostics is a field holding information about the message's usage.MessageDiagnostics.BuildergetDiagnosticsBuilder()Diagnostics is a field holding information about the message's usage.MessageDiagnosticsOrBuildergetDiagnosticsOrBuilder()Diagnostics is a field holding information about the message's usage.StringgetId()ID is an unique identifier inside a queue.com.google.protobuf.ByteStringgetIdBytes()ID is an unique identifier inside a queue.Map<String,String>getMetadata()Deprecated.intgetMetadataCount()Metadata is a map of string to be used as a key-value store.Map<String,String>getMetadataMap()Metadata is a map of string to be used as a key-value store.StringgetMetadataOrDefault(String key, String defaultValue)Metadata is a map of string to be used as a key-value store.StringgetMetadataOrThrow(String key)Metadata is a map of string to be used as a key-value store.Map<String,String>getMutableMetadata()Deprecated.Map<String,com.google.protobuf.Any>getMutablePayload()Deprecated.Map<String,com.google.protobuf.Any>getPayload()Deprecated.intgetPayloadCount()A payload map with formatted data to be stored and used by clients.Map<String,com.google.protobuf.Any>getPayloadMap()A payload map with formatted data to be stored and used by clients.com.google.protobuf.AnygetPayloadOrDefault(String key, com.google.protobuf.Any defaultValue)A payload map with formatted data to be stored and used by clients.com.google.protobuf.AnygetPayloadOrThrow(String key)A payload map with formatted data to be stored and used by clients.StringgetQueue()Full name of the queue this message belongs (including any prefixes)com.google.protobuf.ByteStringgetQueueBytes()Full name of the queue this message belongs (including any prefixes)doublegetScore()Score represents the priority score the message currently have in the queue.StringgetStringPayload()Message string payload.com.google.protobuf.ByteStringgetStringPayloadBytes()Message string payload.booleanhasDiagnostics()Diagnostics is a field holding information about the message's usage.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Message.BuildermergeDiagnostics(MessageDiagnostics value)Diagnostics is a field holding information about the message's usage.Message.BuildermergeFrom(Message other)Message.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Message.BuildermergeFrom(com.google.protobuf.Message other)Message.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Message.BuilderputAllMetadata(Map<String,String> values)Metadata is a map of string to be used as a key-value store.Message.BuilderputAllPayload(Map<String,com.google.protobuf.Any> values)A payload map with formatted data to be stored and used by clients.Message.BuilderputMetadata(String key, String value)Metadata is a map of string to be used as a key-value store.Message.BuilderputPayload(String key, com.google.protobuf.Any value)A payload map with formatted data to be stored and used by clients.Message.BuilderremoveMetadata(String key)Metadata is a map of string to be used as a key-value store.Message.BuilderremovePayload(String key)A payload map with formatted data to be stored and used by clients.Message.BuildersetBreakpoint(String value)Breakpoint is a field to be used as an auxiliar field for some specific use cases.Message.BuildersetBreakpointBytes(com.google.protobuf.ByteString value)Breakpoint is a field to be used as an auxiliar field for some specific use cases.Message.BuildersetDescription(String value)Description of the message, this should be used as a human readable string to be used in diagnostics.Message.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Description of the message, this should be used as a human readable string to be used in diagnostics.Message.BuildersetDiagnostics(MessageDiagnostics value)Diagnostics is a field holding information about the message's usage.Message.BuildersetDiagnostics(MessageDiagnostics.Builder builderForValue)Diagnostics is a field holding information about the message's usage.Message.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Message.BuildersetId(String value)ID is an unique identifier inside a queue.Message.BuildersetIdBytes(com.google.protobuf.ByteString value)ID is an unique identifier inside a queue.Message.BuildersetQueue(String value)Full name of the queue this message belongs (including any prefixes)Message.BuildersetQueueBytes(com.google.protobuf.ByteString value)Full name of the queue this message belongs (including any prefixes)Message.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Message.BuildersetScore(double value)Score represents the priority score the message currently have in the queue.Message.BuildersetStringPayload(String value)Message string payload.Message.BuildersetStringPayloadBytes(com.google.protobuf.ByteString value)Message string payload.Message.BuildersetUnknownFields(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, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
clear
public Message.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<Message.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<Message.Builder>
-
getDefaultInstanceForType
public Message getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Message build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Message buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Message.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<Message.Builder>
-
setField
public Message.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<Message.Builder>
-
clearField
public Message.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
clearOneof
public Message.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
setRepeatedField
public Message.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<Message.Builder>
-
addRepeatedField
public Message.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<Message.Builder>
-
mergeFrom
public Message.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Message.Builder>
-
mergeFrom
public Message.Builder mergeFrom(Message other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
mergeFrom
public Message.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<Message.Builder>- Throws:
IOException
-
getId
public String getId()
ID is an unique identifier inside a queue. Any message with the same id and queue will be considered the same message.
string id = 1;- Specified by:
getIdin interfaceMessageOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
ID is an unique identifier inside a queue. Any message with the same id and queue will be considered the same message.
string id = 1;- Specified by:
getIdBytesin interfaceMessageOrBuilder- Returns:
- The bytes for id.
-
setId
public Message.Builder setId(String value)
ID is an unique identifier inside a queue. Any message with the same id and queue will be considered the same message.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Message.Builder clearId()
ID is an unique identifier inside a queue. Any message with the same id and queue will be considered the same message.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public Message.Builder setIdBytes(com.google.protobuf.ByteString value)
ID is an unique identifier inside a queue. Any message with the same id and queue will be considered the same message.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Description of the message, this should be used as a human readable string to be used in diagnostics.
string description = 2;- Specified by:
getDescriptionin interfaceMessageOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the message, this should be used as a human readable string to be used in diagnostics.
string description = 2;- Specified by:
getDescriptionBytesin interfaceMessageOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Message.Builder setDescription(String value)
Description of the message, this should be used as a human readable string to be used in diagnostics.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Message.Builder clearDescription()
Description of the message, this should be used as a human readable string to be used in diagnostics.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Message.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the message, this should be used as a human readable string to be used in diagnostics.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getQueue
public String getQueue()
Full name of the queue this message belongs (including any prefixes)
string queue = 3;- Specified by:
getQueuein interfaceMessageOrBuilder- Returns:
- The queue.
-
getQueueBytes
public com.google.protobuf.ByteString getQueueBytes()
Full name of the queue this message belongs (including any prefixes)
string queue = 3;- Specified by:
getQueueBytesin interfaceMessageOrBuilder- Returns:
- The bytes for queue.
-
setQueue
public Message.Builder setQueue(String value)
Full name of the queue this message belongs (including any prefixes)
string queue = 3;- Parameters:
value- The queue to set.- Returns:
- This builder for chaining.
-
clearQueue
public Message.Builder clearQueue()
Full name of the queue this message belongs (including any prefixes)
string queue = 3;- Returns:
- This builder for chaining.
-
setQueueBytes
public Message.Builder setQueueBytes(com.google.protobuf.ByteString value)
Full name of the queue this message belongs (including any prefixes)
string queue = 3;- Parameters:
value- The bytes for queue to set.- Returns:
- This builder for chaining.
-
getPayloadCount
public int getPayloadCount()
Description copied from interface:MessageOrBuilderA payload map with formatted data to be stored and used by clients.
map<string, .google.protobuf.Any> payload = 8;- Specified by:
getPayloadCountin interfaceMessageOrBuilder
-
containsPayload
public boolean containsPayload(String key)
A payload map with formatted data to be stored and used by clients.
map<string, .google.protobuf.Any> payload = 8;- Specified by:
containsPayloadin interfaceMessageOrBuilder
-
getPayload
@Deprecated public Map<String,com.google.protobuf.Any> getPayload()
Deprecated.UsegetPayloadMap()instead.- Specified by:
getPayloadin interfaceMessageOrBuilder
-
getPayloadMap
public Map<String,com.google.protobuf.Any> getPayloadMap()
A payload map with formatted data to be stored and used by clients.
map<string, .google.protobuf.Any> payload = 8;- Specified by:
getPayloadMapin interfaceMessageOrBuilder
-
getPayloadOrDefault
public com.google.protobuf.Any getPayloadOrDefault(String key, com.google.protobuf.Any defaultValue)
A payload map with formatted data to be stored and used by clients.
map<string, .google.protobuf.Any> payload = 8;- Specified by:
getPayloadOrDefaultin interfaceMessageOrBuilder
-
getPayloadOrThrow
public com.google.protobuf.Any getPayloadOrThrow(String key)
A payload map with formatted data to be stored and used by clients.
map<string, .google.protobuf.Any> payload = 8;- Specified by:
getPayloadOrThrowin interfaceMessageOrBuilder
-
clearPayload
public Message.Builder clearPayload()
-
removePayload
public Message.Builder removePayload(String key)
A payload map with formatted data to be stored and used by clients.
map<string, .google.protobuf.Any> payload = 8;
-
getMutablePayload
@Deprecated public Map<String,com.google.protobuf.Any> getMutablePayload()
Deprecated.Use alternate mutation accessors instead.
-
putPayload
public Message.Builder putPayload(String key, com.google.protobuf.Any value)
A payload map with formatted data to be stored and used by clients.
map<string, .google.protobuf.Any> payload = 8;
-
putAllPayload
public Message.Builder putAllPayload(Map<String,com.google.protobuf.Any> values)
A payload map with formatted data to be stored and used by clients.
map<string, .google.protobuf.Any> payload = 8;
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:MessageOrBuilderMetadata is a map of string to be used as a key-value store. It is a simple way to store data that is not part of the message payload.
map<string, string> metadata = 4;- Specified by:
getMetadataCountin interfaceMessageOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
Metadata is a map of string to be used as a key-value store. It is a simple way to store data that is not part of the message payload.
map<string, string> metadata = 4;- Specified by:
containsMetadatain interfaceMessageOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceMessageOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
Metadata is a map of string to be used as a key-value store. It is a simple way to store data that is not part of the message payload.
map<string, string> metadata = 4;- Specified by:
getMetadataMapin interfaceMessageOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
Metadata is a map of string to be used as a key-value store. It is a simple way to store data that is not part of the message payload.
map<string, string> metadata = 4;- Specified by:
getMetadataOrDefaultin interfaceMessageOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
Metadata is a map of string to be used as a key-value store. It is a simple way to store data that is not part of the message payload.
map<string, string> metadata = 4;- Specified by:
getMetadataOrThrowin interfaceMessageOrBuilder
-
clearMetadata
public Message.Builder clearMetadata()
-
removeMetadata
public Message.Builder removeMetadata(String key)
Metadata is a map of string to be used as a key-value store. It is a simple way to store data that is not part of the message payload.
map<string, string> metadata = 4;
-
getMutableMetadata
@Deprecated public Map<String,String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
public Message.Builder putMetadata(String key, String value)
Metadata is a map of string to be used as a key-value store. It is a simple way to store data that is not part of the message payload.
map<string, string> metadata = 4;
-
putAllMetadata
public Message.Builder putAllMetadata(Map<String,String> values)
Metadata is a map of string to be used as a key-value store. It is a simple way to store data that is not part of the message payload.
map<string, string> metadata = 4;
-
getStringPayload
public String getStringPayload()
Message string payload. Is responsibility of the caller to know how to encode/decode to a useful format for its purpose. This field can be used to store simple string data instead of using the payload field.
string string_payload = 5;- Specified by:
getStringPayloadin interfaceMessageOrBuilder- Returns:
- The stringPayload.
-
getStringPayloadBytes
public com.google.protobuf.ByteString getStringPayloadBytes()
Message string payload. Is responsibility of the caller to know how to encode/decode to a useful format for its purpose. This field can be used to store simple string data instead of using the payload field.
string string_payload = 5;- Specified by:
getStringPayloadBytesin interfaceMessageOrBuilder- Returns:
- The bytes for stringPayload.
-
setStringPayload
public Message.Builder setStringPayload(String value)
Message string payload. Is responsibility of the caller to know how to encode/decode to a useful format for its purpose. This field can be used to store simple string data instead of using the payload field.
string string_payload = 5;- Parameters:
value- The stringPayload to set.- Returns:
- This builder for chaining.
-
clearStringPayload
public Message.Builder clearStringPayload()
Message string payload. Is responsibility of the caller to know how to encode/decode to a useful format for its purpose. This field can be used to store simple string data instead of using the payload field.
string string_payload = 5;- Returns:
- This builder for chaining.
-
setStringPayloadBytes
public Message.Builder setStringPayloadBytes(com.google.protobuf.ByteString value)
Message string payload. Is responsibility of the caller to know how to encode/decode to a useful format for its purpose. This field can be used to store simple string data instead of using the payload field.
string string_payload = 5;- Parameters:
value- The bytes for stringPayload to set.- Returns:
- This builder for chaining.
-
getScore
public double getScore()
Score represents the priority score the message currently have in the queue. The lower the score, the higher the priority. The maximum score accepted by Deckard is 9007199254740992 and the minimum is 0
double score = 6;- Specified by:
getScorein interfaceMessageOrBuilder- Returns:
- The score.
-
setScore
public Message.Builder setScore(double value)
Score represents the priority score the message currently have in the queue. The lower the score, the higher the priority. The maximum score accepted by Deckard is 9007199254740992 and the minimum is 0
double score = 6;- Parameters:
value- The score to set.- Returns:
- This builder for chaining.
-
clearScore
public Message.Builder clearScore()
Score represents the priority score the message currently have in the queue. The lower the score, the higher the priority. The maximum score accepted by Deckard is 9007199254740992 and the minimum is 0
double score = 6;- Returns:
- This builder for chaining.
-
getBreakpoint
public String getBreakpoint()
Breakpoint is a field to be used as an auxiliar field for some specific use cases. For example if you need to keep a record of the last result processing a message, or want to iteract with a pagination system. Examples: imagine a message representing a web news portal and you want to navigate through the articles. This field could be used to store the last visited article id. Or imagine a message representing a user and you want to iterate through the user's publications pages. This field could be used to store the last page number you visited.
string breakpoint = 7;- Specified by:
getBreakpointin interfaceMessageOrBuilder- Returns:
- The breakpoint.
-
getBreakpointBytes
public com.google.protobuf.ByteString getBreakpointBytes()
Breakpoint is a field to be used as an auxiliar field for some specific use cases. For example if you need to keep a record of the last result processing a message, or want to iteract with a pagination system. Examples: imagine a message representing a web news portal and you want to navigate through the articles. This field could be used to store the last visited article id. Or imagine a message representing a user and you want to iterate through the user's publications pages. This field could be used to store the last page number you visited.
string breakpoint = 7;- Specified by:
getBreakpointBytesin interfaceMessageOrBuilder- Returns:
- The bytes for breakpoint.
-
setBreakpoint
public Message.Builder setBreakpoint(String value)
Breakpoint is a field to be used as an auxiliar field for some specific use cases. For example if you need to keep a record of the last result processing a message, or want to iteract with a pagination system. Examples: imagine a message representing a web news portal and you want to navigate through the articles. This field could be used to store the last visited article id. Or imagine a message representing a user and you want to iterate through the user's publications pages. This field could be used to store the last page number you visited.
string breakpoint = 7;- Parameters:
value- The breakpoint to set.- Returns:
- This builder for chaining.
-
clearBreakpoint
public Message.Builder clearBreakpoint()
Breakpoint is a field to be used as an auxiliar field for some specific use cases. For example if you need to keep a record of the last result processing a message, or want to iteract with a pagination system. Examples: imagine a message representing a web news portal and you want to navigate through the articles. This field could be used to store the last visited article id. Or imagine a message representing a user and you want to iterate through the user's publications pages. This field could be used to store the last page number you visited.
string breakpoint = 7;- Returns:
- This builder for chaining.
-
setBreakpointBytes
public Message.Builder setBreakpointBytes(com.google.protobuf.ByteString value)
Breakpoint is a field to be used as an auxiliar field for some specific use cases. For example if you need to keep a record of the last result processing a message, or want to iteract with a pagination system. Examples: imagine a message representing a web news portal and you want to navigate through the articles. This field could be used to store the last visited article id. Or imagine a message representing a user and you want to iterate through the user's publications pages. This field could be used to store the last page number you visited.
string breakpoint = 7;- Parameters:
value- The bytes for breakpoint to set.- Returns:
- This builder for chaining.
-
hasDiagnostics
public boolean hasDiagnostics()
Diagnostics is a field holding information about the message's usage. It is useful to track how many times a message was ACKed or NACKed.
.blipai.deckard.MessageDiagnostics diagnostics = 9;- Specified by:
hasDiagnosticsin interfaceMessageOrBuilder- Returns:
- Whether the diagnostics field is set.
-
getDiagnostics
public MessageDiagnostics getDiagnostics()
Diagnostics is a field holding information about the message's usage. It is useful to track how many times a message was ACKed or NACKed.
.blipai.deckard.MessageDiagnostics diagnostics = 9;- Specified by:
getDiagnosticsin interfaceMessageOrBuilder- Returns:
- The diagnostics.
-
setDiagnostics
public Message.Builder setDiagnostics(MessageDiagnostics value)
Diagnostics is a field holding information about the message's usage. It is useful to track how many times a message was ACKed or NACKed.
.blipai.deckard.MessageDiagnostics diagnostics = 9;
-
setDiagnostics
public Message.Builder setDiagnostics(MessageDiagnostics.Builder builderForValue)
Diagnostics is a field holding information about the message's usage. It is useful to track how many times a message was ACKed or NACKed.
.blipai.deckard.MessageDiagnostics diagnostics = 9;
-
mergeDiagnostics
public Message.Builder mergeDiagnostics(MessageDiagnostics value)
Diagnostics is a field holding information about the message's usage. It is useful to track how many times a message was ACKed or NACKed.
.blipai.deckard.MessageDiagnostics diagnostics = 9;
-
clearDiagnostics
public Message.Builder clearDiagnostics()
Diagnostics is a field holding information about the message's usage. It is useful to track how many times a message was ACKed or NACKed.
.blipai.deckard.MessageDiagnostics diagnostics = 9;
-
getDiagnosticsBuilder
public MessageDiagnostics.Builder getDiagnosticsBuilder()
Diagnostics is a field holding information about the message's usage. It is useful to track how many times a message was ACKed or NACKed.
.blipai.deckard.MessageDiagnostics diagnostics = 9;
-
getDiagnosticsOrBuilder
public MessageDiagnosticsOrBuilder getDiagnosticsOrBuilder()
Diagnostics is a field holding information about the message's usage. It is useful to track how many times a message was ACKed or NACKed.
.blipai.deckard.MessageDiagnostics diagnostics = 9;- Specified by:
getDiagnosticsOrBuilderin interfaceMessageOrBuilder
-
setUnknownFields
public final Message.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
mergeUnknownFields
public final Message.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Message.Builder>
-
-