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.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.Any
getData()
payload is the serialized job payload that will be sent to the recipient when the job is triggered.com.google.protobuf.Any.Builder
payload is the serialized job payload that will be sent to the recipient when the job is triggered.com.google.protobuf.AnyOrBuilder
payload is the serialized job payload that will be sent to the recipient when the job is triggered.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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.com.google.protobuf.ByteString
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.getName()
The unique name for the job.com.google.protobuf.ByteString
The unique name for the job.int
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.com.google.protobuf.ByteString
schedule 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.ByteString
ttl is the optional time to live or expiration of the job.boolean
hasData()
payload is the serialized job payload that will be sent to the recipient when the job is triggered.boolean
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.boolean
repeats is the optional number of times in which the job should be triggered.boolean
schedule is an optional schedule at which the job is to be run.boolean
hasTtl()
ttl is the optional time to live or expiration of the job.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeData
(com.google.protobuf.Any value) payload is the serialized job payload that will be sent to the recipient when the job is triggered.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(DaprProtos.Job other) final DaprProtos.Job.Builder
mergeUnknownFields
(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.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.Builder
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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
setField
public DaprProtos.Job.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
addRepeatedField
public DaprProtos.Job.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.Job.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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-7/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:
hasSchedule
in 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-7/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:
getSchedule
in 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-7/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:
getScheduleBytes
in 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-7/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-7/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-7/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:
hasRepeats
in 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:
getRepeats
in 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:
hasDueTime
in 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:
getDueTime
in 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:
getDueTimeBytes
in 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:
hasTtl
in 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:
getTtl
in 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:
getTtlBytes
in 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:
hasData
in 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:
getData
in 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:
getDataOrBuilder
in interfaceDaprProtos.JobOrBuilder
-
setUnknownFields
public final DaprProtos.Job.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-
mergeUnknownFields
public final DaprProtos.Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.Job.Builder>
-