Package ai.blip.deckard
Class AddMessage.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AddMessage.Builder>
-
- ai.blip.deckard.AddMessage.Builder
-
- All Implemented Interfaces:
AddMessageOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AddMessage
public static final class AddMessage.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddMessage.Builder> implements AddMessageOrBuilder
Protobuf typeblipai.deckard.AddMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddMessage.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AddMessagebuild()AddMessagebuildPartial()AddMessage.Builderclear()AddMessage.BuilderclearDescription()Description of the message, this should be used as a human readable string to be used in diagnostics.AddMessage.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AddMessage.BuilderclearId()Unique id of this messageAddMessage.BuilderclearMetadata()AddMessage.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AddMessage.BuilderclearPayload()AddMessage.BuilderclearQueue()Name of the queue to add this message Suggestion: to better observability, provide the name of the application using colon as the separator.AddMessage.BuilderclearScore()Score represents the priority score the message currently have in the queue.AddMessage.BuilderclearStringPayload()Non-formatted string payload.AddMessage.BuilderclearTimeless()Indicate this message will never expire and will only be deleted from the queue if explicitly removed.AddMessage.BuilderclearTtlMinutes()TTL is the amount of time in minutes this message will live in the queue.AddMessage.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.AddMessagegetDefaultInstanceForType()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()StringgetId()Unique id of this messagecom.google.protobuf.ByteStringgetIdBytes()Unique id of this messageMap<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()Name of the queue to add this message Suggestion: to better observability, provide the name of the application using colon as the separator.com.google.protobuf.ByteStringgetQueueBytes()Name of the queue to add this message Suggestion: to better observability, provide the name of the application using colon as the separator.doublegetScore()Score represents the priority score the message currently have in the queue.StringgetStringPayload()Non-formatted string payload.com.google.protobuf.ByteStringgetStringPayloadBytes()Non-formatted string payload.booleangetTimeless()Indicate this message will never expire and will only be deleted from the queue if explicitly removed.longgetTtlMinutes()TTL is the amount of time in minutes this message will live in the queue.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()AddMessage.BuildermergeFrom(AddMessage other)AddMessage.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AddMessage.BuildermergeFrom(com.google.protobuf.Message other)AddMessage.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AddMessage.BuilderputAllMetadata(Map<String,String> values)Metadata is a map of string to be used as a key-value store.AddMessage.BuilderputAllPayload(Map<String,com.google.protobuf.Any> values)A payload map with formatted data to be stored and used by clients.AddMessage.BuilderputMetadata(String key, String value)Metadata is a map of string to be used as a key-value store.AddMessage.BuilderputPayload(String key, com.google.protobuf.Any value)A payload map with formatted data to be stored and used by clients.com.google.protobuf.Any.BuilderputPayloadBuilderIfAbsent(String key)A payload map with formatted data to be stored and used by clients.AddMessage.BuilderremoveMetadata(String key)Metadata is a map of string to be used as a key-value store.AddMessage.BuilderremovePayload(String key)A payload map with formatted data to be stored and used by clients.AddMessage.BuildersetDescription(String value)Description of the message, this should be used as a human readable string to be used in diagnostics.AddMessage.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Description of the message, this should be used as a human readable string to be used in diagnostics.AddMessage.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AddMessage.BuildersetId(String value)Unique id of this messageAddMessage.BuildersetIdBytes(com.google.protobuf.ByteString value)Unique id of this messageAddMessage.BuildersetQueue(String value)Name of the queue to add this message Suggestion: to better observability, provide the name of the application using colon as the separator.AddMessage.BuildersetQueueBytes(com.google.protobuf.ByteString value)Name of the queue to add this message Suggestion: to better observability, provide the name of the application using colon as the separator.AddMessage.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AddMessage.BuildersetScore(double value)Score represents the priority score the message currently have in the queue.AddMessage.BuildersetStringPayload(String value)Non-formatted string payload.AddMessage.BuildersetStringPayloadBytes(com.google.protobuf.ByteString value)Non-formatted string payload.AddMessage.BuildersetTimeless(boolean value)Indicate this message will never expire and will only be deleted from the queue if explicitly removed.AddMessage.BuildersetTtlMinutes(long value)TTL is the amount of time in minutes this message will live in the queue.AddMessage.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, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<AddMessage.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<AddMessage.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AddMessage.Builder>
-
clear
public AddMessage.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<AddMessage.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<AddMessage.Builder>
-
getDefaultInstanceForType
public AddMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AddMessage build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AddMessage buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AddMessage.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<AddMessage.Builder>
-
setField
public AddMessage.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<AddMessage.Builder>
-
clearField
public AddMessage.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AddMessage.Builder>
-
clearOneof
public AddMessage.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AddMessage.Builder>
-
setRepeatedField
public AddMessage.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<AddMessage.Builder>
-
addRepeatedField
public AddMessage.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<AddMessage.Builder>
-
mergeFrom
public AddMessage.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AddMessage.Builder>
-
mergeFrom
public AddMessage.Builder mergeFrom(AddMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AddMessage.Builder>
-
mergeFrom
public AddMessage.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<AddMessage.Builder>- Throws:
IOException
-
getId
public String getId()
Unique id of this message
string id = 1;- Specified by:
getIdin interfaceAddMessageOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Unique id of this message
string id = 1;- Specified by:
getIdBytesin interfaceAddMessageOrBuilder- Returns:
- The bytes for id.
-
setId
public AddMessage.Builder setId(String value)
Unique id of this message
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public AddMessage.Builder clearId()
Unique id of this message
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public AddMessage.Builder setIdBytes(com.google.protobuf.ByteString value)
Unique id of this message
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getPayloadCount
public int getPayloadCount()
Description copied from interface:AddMessageOrBuilderA payload map with formatted data to be stored and used by clients.
map<string, .google.protobuf.Any> payload = 10;- Specified by:
getPayloadCountin interfaceAddMessageOrBuilder
-
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 = 10;- Specified by:
containsPayloadin interfaceAddMessageOrBuilder
-
getPayload
@Deprecated public Map<String,com.google.protobuf.Any> getPayload()
Deprecated.UsegetPayloadMap()instead.- Specified by:
getPayloadin interfaceAddMessageOrBuilder
-
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 = 10;- Specified by:
getPayloadMapin interfaceAddMessageOrBuilder
-
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 = 10;- Specified by:
getPayloadOrDefaultin interfaceAddMessageOrBuilder
-
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 = 10;- Specified by:
getPayloadOrThrowin interfaceAddMessageOrBuilder
-
clearPayload
public AddMessage.Builder clearPayload()
-
removePayload
public AddMessage.Builder removePayload(String key)
A payload map with formatted data to be stored and used by clients.
map<string, .google.protobuf.Any> payload = 10;
-
getMutablePayload
@Deprecated public Map<String,com.google.protobuf.Any> getMutablePayload()
Deprecated.Use alternate mutation accessors instead.
-
putPayload
public AddMessage.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 = 10;
-
putAllPayload
public AddMessage.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 = 10;
-
putPayloadBuilderIfAbsent
public com.google.protobuf.Any.Builder putPayloadBuilderIfAbsent(String key)
A payload map with formatted data to be stored and used by clients.
map<string, .google.protobuf.Any> payload = 10;
-
getStringPayload
public String getStringPayload()
Non-formatted string payload. This field can be used to store simple string data instead of using the payload field.
string string_payload = 3;- Specified by:
getStringPayloadin interfaceAddMessageOrBuilder- Returns:
- The stringPayload.
-
getStringPayloadBytes
public com.google.protobuf.ByteString getStringPayloadBytes()
Non-formatted string payload. This field can be used to store simple string data instead of using the payload field.
string string_payload = 3;- Specified by:
getStringPayloadBytesin interfaceAddMessageOrBuilder- Returns:
- The bytes for stringPayload.
-
setStringPayload
public AddMessage.Builder setStringPayload(String value)
Non-formatted string payload. This field can be used to store simple string data instead of using the payload field.
string string_payload = 3;- Parameters:
value- The stringPayload to set.- Returns:
- This builder for chaining.
-
clearStringPayload
public AddMessage.Builder clearStringPayload()
Non-formatted string payload. This field can be used to store simple string data instead of using the payload field.
string string_payload = 3;- Returns:
- This builder for chaining.
-
setStringPayloadBytes
public AddMessage.Builder setStringPayloadBytes(com.google.protobuf.ByteString value)
Non-formatted string payload. This field can be used to store simple string data instead of using the payload field.
string string_payload = 3;- Parameters:
value- The bytes for stringPayload to set.- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:AddMessageOrBuilderMetadata 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 = 11;- Specified by:
getMetadataCountin interfaceAddMessageOrBuilder
-
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 = 11;- Specified by:
containsMetadatain interfaceAddMessageOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceAddMessageOrBuilder
-
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 = 11;- Specified by:
getMetadataMapin interfaceAddMessageOrBuilder
-
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 = 11;- Specified by:
getMetadataOrDefaultin interfaceAddMessageOrBuilder
-
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 = 11;- Specified by:
getMetadataOrThrowin interfaceAddMessageOrBuilder
-
clearMetadata
public AddMessage.Builder clearMetadata()
-
removeMetadata
public AddMessage.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 = 11;
-
getMutableMetadata
@Deprecated public Map<String,String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
public AddMessage.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 = 11;
-
putAllMetadata
public AddMessage.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 = 11;
-
getQueue
public String getQueue()
Name of the queue to add this message Suggestion: to better observability, provide the name of the application using colon as the separator. Example: <application_name>:<queue_name> You may also add a queue prefix to the queue name using two colons as the separator. Example: <application_name>:<queue_prefix>::<queue_name>
string queue = 4;- Specified by:
getQueuein interfaceAddMessageOrBuilder- Returns:
- The queue.
-
getQueueBytes
public com.google.protobuf.ByteString getQueueBytes()
Name of the queue to add this message Suggestion: to better observability, provide the name of the application using colon as the separator. Example: <application_name>:<queue_name> You may also add a queue prefix to the queue name using two colons as the separator. Example: <application_name>:<queue_prefix>::<queue_name>
string queue = 4;- Specified by:
getQueueBytesin interfaceAddMessageOrBuilder- Returns:
- The bytes for queue.
-
setQueue
public AddMessage.Builder setQueue(String value)
Name of the queue to add this message Suggestion: to better observability, provide the name of the application using colon as the separator. Example: <application_name>:<queue_name> You may also add a queue prefix to the queue name using two colons as the separator. Example: <application_name>:<queue_prefix>::<queue_name>
string queue = 4;- Parameters:
value- The queue to set.- Returns:
- This builder for chaining.
-
clearQueue
public AddMessage.Builder clearQueue()
Name of the queue to add this message Suggestion: to better observability, provide the name of the application using colon as the separator. Example: <application_name>:<queue_name> You may also add a queue prefix to the queue name using two colons as the separator. Example: <application_name>:<queue_prefix>::<queue_name>
string queue = 4;- Returns:
- This builder for chaining.
-
setQueueBytes
public AddMessage.Builder setQueueBytes(com.google.protobuf.ByteString value)
Name of the queue to add this message Suggestion: to better observability, provide the name of the application using colon as the separator. Example: <application_name>:<queue_name> You may also add a queue prefix to the queue name using two colons as the separator. Example: <application_name>:<queue_prefix>::<queue_name>
string queue = 4;- Parameters:
value- The bytes for queue to set.- Returns:
- This builder for chaining.
-
getTimeless
public boolean getTimeless()
Indicate this message will never expire and will only be deleted from the queue if explicitly removed.
bool timeless = 6;- Specified by:
getTimelessin interfaceAddMessageOrBuilder- Returns:
- The timeless.
-
setTimeless
public AddMessage.Builder setTimeless(boolean value)
Indicate this message will never expire and will only be deleted from the queue if explicitly removed.
bool timeless = 6;- Parameters:
value- The timeless to set.- Returns:
- This builder for chaining.
-
clearTimeless
public AddMessage.Builder clearTimeless()
Indicate this message will never expire and will only be deleted from the queue if explicitly removed.
bool timeless = 6;- Returns:
- This builder for chaining.
-
getTtlMinutes
public long getTtlMinutes()
TTL is the amount of time in minutes this message will live in the queue. TTL is not a exact time, the message may live a little longer than the specified TTL.
int64 ttl_minutes = 7;- Specified by:
getTtlMinutesin interfaceAddMessageOrBuilder- Returns:
- The ttlMinutes.
-
setTtlMinutes
public AddMessage.Builder setTtlMinutes(long value)
TTL is the amount of time in minutes this message will live in the queue. TTL is not a exact time, the message may live a little longer than the specified TTL.
int64 ttl_minutes = 7;- Parameters:
value- The ttlMinutes to set.- Returns:
- This builder for chaining.
-
clearTtlMinutes
public AddMessage.Builder clearTtlMinutes()
TTL is the amount of time in minutes this message will live in the queue. TTL is not a exact time, the message may live a little longer than the specified TTL.
int64 ttl_minutes = 7;- 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 = 8;- Specified by:
getDescriptionin interfaceAddMessageOrBuilder- 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 = 8;- Specified by:
getDescriptionBytesin interfaceAddMessageOrBuilder- Returns:
- The bytes for description.
-
setDescription
public AddMessage.Builder setDescription(String value)
Description of the message, this should be used as a human readable string to be used in diagnostics.
string description = 8;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public AddMessage.Builder clearDescription()
Description of the message, this should be used as a human readable string to be used in diagnostics.
string description = 8;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public AddMessage.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 = 8;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getScore
public double getScore()
Score represents the priority score the message currently have in the queue. The score is used to determine the order of the messages returned in a pull request. The lower the score, the higher the priority. If the score is not set (or set to 0), the score will be set with the current timestamp in milliseconds at the moment of the message creation. The maximum score accepted by Deckard is 9007199254740992 and the minimum is 0 Negative scores will be converted to 0, adding the message with the lowest score (and highest priority)
double score = 12;- Specified by:
getScorein interfaceAddMessageOrBuilder- Returns:
- The score.
-
setScore
public AddMessage.Builder setScore(double value)
Score represents the priority score the message currently have in the queue. The score is used to determine the order of the messages returned in a pull request. The lower the score, the higher the priority. If the score is not set (or set to 0), the score will be set with the current timestamp in milliseconds at the moment of the message creation. The maximum score accepted by Deckard is 9007199254740992 and the minimum is 0 Negative scores will be converted to 0, adding the message with the lowest score (and highest priority)
double score = 12;- Parameters:
value- The score to set.- Returns:
- This builder for chaining.
-
clearScore
public AddMessage.Builder clearScore()
Score represents the priority score the message currently have in the queue. The score is used to determine the order of the messages returned in a pull request. The lower the score, the higher the priority. If the score is not set (or set to 0), the score will be set with the current timestamp in milliseconds at the moment of the message creation. The maximum score accepted by Deckard is 9007199254740992 and the minimum is 0 Negative scores will be converted to 0, adding the message with the lowest score (and highest priority)
double score = 12;- Returns:
- This builder for chaining.
-
setUnknownFields
public final AddMessage.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AddMessage.Builder>
-
mergeUnknownFields
public final AddMessage.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AddMessage.Builder>
-
-