Package io.dapr.v1
Class DaprProtos.Job.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
io.dapr.v1.DaprProtos.Job.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DaprProtos.JobOrBuilder,Cloneable
- Enclosing class:
- DaprProtos.Job
public static final class DaprProtos.Job.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
implements DaprProtos.JobOrBuilder
Job is the definition of a job. At least one of schedule or due_time must be provided but can also be provided together.Protobuf type
dapr.proto.runtime.v1.Job-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()payload is the serialized job payload that will be sent to the recipient when the job is triggered.due_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided.failure_policy is the optional policy for handling job failures.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The unique name for the job.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeats is the optional number of times in which the job should be triggered.schedule is an optional schedule at which the job is to be run.clearTtl()ttl is the optional time to live or expiration of the job.clone()com.google.protobuf.AnygetData()payload is the serialized job payload that will be sent to the recipient when the job is triggered.com.google.protobuf.Any.Builderpayload is the serialized job payload that will be sent to the recipient when the job is triggered.com.google.protobuf.AnyOrBuilderpayload is the serialized job payload that will be sent to the recipient when the job is triggered.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptordue_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided.com.google.protobuf.ByteStringdue_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided.failure_policy is the optional policy for handling job failures.failure_policy is the optional policy for handling job failures.failure_policy is the optional policy for handling job failures.getName()The unique name for the job.com.google.protobuf.ByteStringThe unique name for the job.intrepeats is the optional number of times in which the job should be triggered.schedule is an optional schedule at which the job is to be run.com.google.protobuf.ByteStringschedule is an optional schedule at which the job is to be run.getTtl()ttl is the optional time to live or expiration of the job.com.google.protobuf.ByteStringttl is the optional time to live or expiration of the job.booleanhasData()payload is the serialized job payload that will be sent to the recipient when the job is triggered.booleandue_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided.booleanfailure_policy is the optional policy for handling job failures.booleanrepeats is the optional number of times in which the job should be triggered.booleanschedule is an optional schedule at which the job is to be run.booleanhasTtl()ttl is the optional time to live or expiration of the job.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeData(com.google.protobuf.Any value) payload is the serialized job payload that will be sent to the recipient when the job is triggered.failure_policy is the optional policy for handling job failures.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(DaprProtos.Job other) final DaprProtos.Job.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setData(com.google.protobuf.Any value) payload is the serialized job payload that will be sent to the recipient when the job is triggered.setData(com.google.protobuf.Any.Builder builderForValue) payload is the serialized job payload that will be sent to the recipient when the job is triggered.setDueTime(String value) due_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided.setDueTimeBytes(com.google.protobuf.ByteString value) due_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided.failure_policy is the optional policy for handling job failures.setFailurePolicy(CommonProtos.JobFailurePolicy.Builder builderForValue) failure_policy is the optional policy for handling job failures.The unique name for the job.setNameBytes(com.google.protobuf.ByteString value) The unique name for the job.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRepeats(int value) repeats is the optional number of times in which the job should be triggered.setSchedule(String value) schedule is an optional schedule at which the job is to be run.setScheduleBytes(com.google.protobuf.ByteString value) schedule is an optional schedule at which the job is to be run.ttl is the optional time to live or expiration of the job.setTtlBytes(com.google.protobuf.ByteString value) ttl is the optional time to live or expiration of the job.final DaprProtos.Job.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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<DaprProtos.Job.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<DaprProtos.Job.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<DaprProtos.Job.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<DaprProtos.Job.Builder>
-
setField
public DaprProtos.Job.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<DaprProtos.Job.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
setRepeatedField
public DaprProtos.Job.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<DaprProtos.Job.Builder>
-
addRepeatedField
public DaprProtos.Job.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<DaprProtos.Job.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.Job.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
mergeFrom
public DaprProtos.Job.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<DaprProtos.Job.Builder>- Throws:
IOException
-
getName
The unique name for the job.
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceDaprProtos.JobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The unique name for the job.
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceDaprProtos.JobOrBuilder- Returns:
- The bytes for name.
-
setName
The unique name for the job.
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The unique name for the job.
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
The unique name for the job.
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasSchedule
public boolean hasSchedule()schedule is an optional schedule at which the job is to be run. Accepts both systemd timer style cron expressions, as well as human readable '@' prefixed period strings as defined below. Systemd timer style cron accepts 6 fields: seconds | minutes | hours | day of month | month | day of week 0-59 | 0-59 | 0-23 | 1-31 | 1-12/jan-dec | 0-6/sun-sat "0 30 * * * *" - every hour on the half hour "0 15 3 * * *" - every day at 03:15 Period string expressions: Entry | Description | Equivalent To ----- | ----------- | ------------- @every `<duration>` | Run every `<duration>` (e.g. '@every 1h30m') | N/A @yearly (or @annually) | Run once a year, midnight, Jan. 1st | 0 0 0 1 1 * @monthly | Run once a month, midnight, first of month | 0 0 0 1 * * @weekly | Run once a week, midnight on Sunday | 0 0 0 * * 0 @daily (or @midnight) | Run once a day, midnight | 0 0 0 * * * @hourly | Run once an hour, beginning of hour | 0 0 * * * *
optional string schedule = 2 [json_name = "schedule"];- Specified by:
hasSchedulein interfaceDaprProtos.JobOrBuilder- Returns:
- Whether the schedule field is set.
-
getSchedule
schedule is an optional schedule at which the job is to be run. Accepts both systemd timer style cron expressions, as well as human readable '@' prefixed period strings as defined below. Systemd timer style cron accepts 6 fields: seconds | minutes | hours | day of month | month | day of week 0-59 | 0-59 | 0-23 | 1-31 | 1-12/jan-dec | 0-6/sun-sat "0 30 * * * *" - every hour on the half hour "0 15 3 * * *" - every day at 03:15 Period string expressions: Entry | Description | Equivalent To ----- | ----------- | ------------- @every `<duration>` | Run every `<duration>` (e.g. '@every 1h30m') | N/A @yearly (or @annually) | Run once a year, midnight, Jan. 1st | 0 0 0 1 1 * @monthly | Run once a month, midnight, first of month | 0 0 0 1 * * @weekly | Run once a week, midnight on Sunday | 0 0 0 * * 0 @daily (or @midnight) | Run once a day, midnight | 0 0 0 * * * @hourly | Run once an hour, beginning of hour | 0 0 * * * *
optional string schedule = 2 [json_name = "schedule"];- Specified by:
getSchedulein interfaceDaprProtos.JobOrBuilder- Returns:
- The schedule.
-
getScheduleBytes
public com.google.protobuf.ByteString getScheduleBytes()schedule is an optional schedule at which the job is to be run. Accepts both systemd timer style cron expressions, as well as human readable '@' prefixed period strings as defined below. Systemd timer style cron accepts 6 fields: seconds | minutes | hours | day of month | month | day of week 0-59 | 0-59 | 0-23 | 1-31 | 1-12/jan-dec | 0-6/sun-sat "0 30 * * * *" - every hour on the half hour "0 15 3 * * *" - every day at 03:15 Period string expressions: Entry | Description | Equivalent To ----- | ----------- | ------------- @every `<duration>` | Run every `<duration>` (e.g. '@every 1h30m') | N/A @yearly (or @annually) | Run once a year, midnight, Jan. 1st | 0 0 0 1 1 * @monthly | Run once a month, midnight, first of month | 0 0 0 1 * * @weekly | Run once a week, midnight on Sunday | 0 0 0 * * 0 @daily (or @midnight) | Run once a day, midnight | 0 0 0 * * * @hourly | Run once an hour, beginning of hour | 0 0 * * * *
optional string schedule = 2 [json_name = "schedule"];- Specified by:
getScheduleBytesin interfaceDaprProtos.JobOrBuilder- Returns:
- The bytes for schedule.
-
setSchedule
schedule is an optional schedule at which the job is to be run. Accepts both systemd timer style cron expressions, as well as human readable '@' prefixed period strings as defined below. Systemd timer style cron accepts 6 fields: seconds | minutes | hours | day of month | month | day of week 0-59 | 0-59 | 0-23 | 1-31 | 1-12/jan-dec | 0-6/sun-sat "0 30 * * * *" - every hour on the half hour "0 15 3 * * *" - every day at 03:15 Period string expressions: Entry | Description | Equivalent To ----- | ----------- | ------------- @every `<duration>` | Run every `<duration>` (e.g. '@every 1h30m') | N/A @yearly (or @annually) | Run once a year, midnight, Jan. 1st | 0 0 0 1 1 * @monthly | Run once a month, midnight, first of month | 0 0 0 1 * * @weekly | Run once a week, midnight on Sunday | 0 0 0 * * 0 @daily (or @midnight) | Run once a day, midnight | 0 0 0 * * * @hourly | Run once an hour, beginning of hour | 0 0 * * * *
optional string schedule = 2 [json_name = "schedule"];- Parameters:
value- The schedule to set.- Returns:
- This builder for chaining.
-
clearSchedule
schedule is an optional schedule at which the job is to be run. Accepts both systemd timer style cron expressions, as well as human readable '@' prefixed period strings as defined below. Systemd timer style cron accepts 6 fields: seconds | minutes | hours | day of month | month | day of week 0-59 | 0-59 | 0-23 | 1-31 | 1-12/jan-dec | 0-6/sun-sat "0 30 * * * *" - every hour on the half hour "0 15 3 * * *" - every day at 03:15 Period string expressions: Entry | Description | Equivalent To ----- | ----------- | ------------- @every `<duration>` | Run every `<duration>` (e.g. '@every 1h30m') | N/A @yearly (or @annually) | Run once a year, midnight, Jan. 1st | 0 0 0 1 1 * @monthly | Run once a month, midnight, first of month | 0 0 0 1 * * @weekly | Run once a week, midnight on Sunday | 0 0 0 * * 0 @daily (or @midnight) | Run once a day, midnight | 0 0 0 * * * @hourly | Run once an hour, beginning of hour | 0 0 * * * *
optional string schedule = 2 [json_name = "schedule"];- Returns:
- This builder for chaining.
-
setScheduleBytes
schedule is an optional schedule at which the job is to be run. Accepts both systemd timer style cron expressions, as well as human readable '@' prefixed period strings as defined below. Systemd timer style cron accepts 6 fields: seconds | minutes | hours | day of month | month | day of week 0-59 | 0-59 | 0-23 | 1-31 | 1-12/jan-dec | 0-6/sun-sat "0 30 * * * *" - every hour on the half hour "0 15 3 * * *" - every day at 03:15 Period string expressions: Entry | Description | Equivalent To ----- | ----------- | ------------- @every `<duration>` | Run every `<duration>` (e.g. '@every 1h30m') | N/A @yearly (or @annually) | Run once a year, midnight, Jan. 1st | 0 0 0 1 1 * @monthly | Run once a month, midnight, first of month | 0 0 0 1 * * @weekly | Run once a week, midnight on Sunday | 0 0 0 * * 0 @daily (or @midnight) | Run once a day, midnight | 0 0 0 * * * @hourly | Run once an hour, beginning of hour | 0 0 * * * *
optional string schedule = 2 [json_name = "schedule"];- Parameters:
value- The bytes for schedule to set.- Returns:
- This builder for chaining.
-
hasRepeats
public boolean hasRepeats()repeats is the optional number of times in which the job should be triggered. If not set, the job will run indefinitely or until expiration.
optional uint32 repeats = 3 [json_name = "repeats"];- Specified by:
hasRepeatsin interfaceDaprProtos.JobOrBuilder- Returns:
- Whether the repeats field is set.
-
getRepeats
public int getRepeats()repeats is the optional number of times in which the job should be triggered. If not set, the job will run indefinitely or until expiration.
optional uint32 repeats = 3 [json_name = "repeats"];- Specified by:
getRepeatsin interfaceDaprProtos.JobOrBuilder- Returns:
- The repeats.
-
setRepeats
repeats is the optional number of times in which the job should be triggered. If not set, the job will run indefinitely or until expiration.
optional uint32 repeats = 3 [json_name = "repeats"];- Parameters:
value- The repeats to set.- Returns:
- This builder for chaining.
-
clearRepeats
repeats is the optional number of times in which the job should be triggered. If not set, the job will run indefinitely or until expiration.
optional uint32 repeats = 3 [json_name = "repeats"];- Returns:
- This builder for chaining.
-
hasDueTime
public boolean hasDueTime()due_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string due_time = 4 [json_name = "dueTime"];- Specified by:
hasDueTimein interfaceDaprProtos.JobOrBuilder- Returns:
- Whether the dueTime field is set.
-
getDueTime
due_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string due_time = 4 [json_name = "dueTime"];- Specified by:
getDueTimein interfaceDaprProtos.JobOrBuilder- Returns:
- The dueTime.
-
getDueTimeBytes
public com.google.protobuf.ByteString getDueTimeBytes()due_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string due_time = 4 [json_name = "dueTime"];- Specified by:
getDueTimeBytesin interfaceDaprProtos.JobOrBuilder- Returns:
- The bytes for dueTime.
-
setDueTime
due_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string due_time = 4 [json_name = "dueTime"];- Parameters:
value- The dueTime to set.- Returns:
- This builder for chaining.
-
clearDueTime
due_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string due_time = 4 [json_name = "dueTime"];- Returns:
- This builder for chaining.
-
setDueTimeBytes
due_time is the optional time at which the job should be active, or the "one shot" time if other scheduling type fields are not provided. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string due_time = 4 [json_name = "dueTime"];- Parameters:
value- The bytes for dueTime to set.- Returns:
- This builder for chaining.
-
hasTtl
public boolean hasTtl()ttl is the optional time to live or expiration of the job. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string ttl = 5 [json_name = "ttl"];- Specified by:
hasTtlin interfaceDaprProtos.JobOrBuilder- Returns:
- Whether the ttl field is set.
-
getTtl
ttl is the optional time to live or expiration of the job. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string ttl = 5 [json_name = "ttl"];- Specified by:
getTtlin interfaceDaprProtos.JobOrBuilder- Returns:
- The ttl.
-
getTtlBytes
public com.google.protobuf.ByteString getTtlBytes()ttl is the optional time to live or expiration of the job. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string ttl = 5 [json_name = "ttl"];- Specified by:
getTtlBytesin interfaceDaprProtos.JobOrBuilder- Returns:
- The bytes for ttl.
-
setTtl
ttl is the optional time to live or expiration of the job. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string ttl = 5 [json_name = "ttl"];- Parameters:
value- The ttl to set.- Returns:
- This builder for chaining.
-
clearTtl
ttl is the optional time to live or expiration of the job. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string ttl = 5 [json_name = "ttl"];- Returns:
- This builder for chaining.
-
setTtlBytes
ttl is the optional time to live or expiration of the job. Accepts a "point in time" string in the format of RFC3339, Go duration string (calculated from job creation time), or non-repeating ISO8601.
optional string ttl = 5 [json_name = "ttl"];- Parameters:
value- The bytes for ttl to set.- Returns:
- This builder for chaining.
-
hasData
public boolean hasData()payload is the serialized job payload that will be sent to the recipient when the job is triggered.
.google.protobuf.Any data = 6 [json_name = "data"];- Specified by:
hasDatain interfaceDaprProtos.JobOrBuilder- Returns:
- Whether the data field is set.
-
getData
public com.google.protobuf.Any getData()payload is the serialized job payload that will be sent to the recipient when the job is triggered.
.google.protobuf.Any data = 6 [json_name = "data"];- Specified by:
getDatain interfaceDaprProtos.JobOrBuilder- Returns:
- The data.
-
setData
payload is the serialized job payload that will be sent to the recipient when the job is triggered.
.google.protobuf.Any data = 6 [json_name = "data"]; -
setData
payload is the serialized job payload that will be sent to the recipient when the job is triggered.
.google.protobuf.Any data = 6 [json_name = "data"]; -
mergeData
payload is the serialized job payload that will be sent to the recipient when the job is triggered.
.google.protobuf.Any data = 6 [json_name = "data"]; -
clearData
payload is the serialized job payload that will be sent to the recipient when the job is triggered.
.google.protobuf.Any data = 6 [json_name = "data"]; -
getDataBuilder
public com.google.protobuf.Any.Builder getDataBuilder()payload is the serialized job payload that will be sent to the recipient when the job is triggered.
.google.protobuf.Any data = 6 [json_name = "data"]; -
getDataOrBuilder
public com.google.protobuf.AnyOrBuilder getDataOrBuilder()payload is the serialized job payload that will be sent to the recipient when the job is triggered.
.google.protobuf.Any data = 6 [json_name = "data"];- Specified by:
getDataOrBuilderin interfaceDaprProtos.JobOrBuilder
-
hasFailurePolicy
public boolean hasFailurePolicy()failure_policy is the optional policy for handling job failures.
optional .dapr.proto.common.v1.JobFailurePolicy failure_policy = 7 [json_name = "failurePolicy"];- Specified by:
hasFailurePolicyin interfaceDaprProtos.JobOrBuilder- Returns:
- Whether the failurePolicy field is set.
-
getFailurePolicy
failure_policy is the optional policy for handling job failures.
optional .dapr.proto.common.v1.JobFailurePolicy failure_policy = 7 [json_name = "failurePolicy"];- Specified by:
getFailurePolicyin interfaceDaprProtos.JobOrBuilder- Returns:
- The failurePolicy.
-
setFailurePolicy
failure_policy is the optional policy for handling job failures.
optional .dapr.proto.common.v1.JobFailurePolicy failure_policy = 7 [json_name = "failurePolicy"]; -
setFailurePolicy
public DaprProtos.Job.Builder setFailurePolicy(CommonProtos.JobFailurePolicy.Builder builderForValue) failure_policy is the optional policy for handling job failures.
optional .dapr.proto.common.v1.JobFailurePolicy failure_policy = 7 [json_name = "failurePolicy"]; -
mergeFailurePolicy
failure_policy is the optional policy for handling job failures.
optional .dapr.proto.common.v1.JobFailurePolicy failure_policy = 7 [json_name = "failurePolicy"]; -
clearFailurePolicy
failure_policy is the optional policy for handling job failures.
optional .dapr.proto.common.v1.JobFailurePolicy failure_policy = 7 [json_name = "failurePolicy"]; -
getFailurePolicyBuilder
failure_policy is the optional policy for handling job failures.
optional .dapr.proto.common.v1.JobFailurePolicy failure_policy = 7 [json_name = "failurePolicy"]; -
getFailurePolicyOrBuilder
failure_policy is the optional policy for handling job failures.
optional .dapr.proto.common.v1.JobFailurePolicy failure_policy = 7 [json_name = "failurePolicy"];- Specified by:
getFailurePolicyOrBuilderin interfaceDaprProtos.JobOrBuilder
-
setUnknownFields
public final DaprProtos.Job.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
mergeUnknownFields
public final DaprProtos.Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-