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.Protobuf type
dapr.proto.runtime.v1.Job
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Job data.Optional: sets time at which or time interval before the callback is invoked for the first time.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The unique name for the job.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional: jobs with fixed repeat counts (accounting for Actor Reminders).The schedule for the job.clearTtl()
Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).clone()
com.google.protobuf.Any
getData()
Job data.com.google.protobuf.Any.Builder
Job data.com.google.protobuf.AnyOrBuilder
Job data.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Optional: sets time at which or time interval before the callback is invoked for the first time.com.google.protobuf.ByteString
Optional: sets time at which or time interval before the callback is invoked for the first time.getName()
The unique name for the job.com.google.protobuf.ByteString
The unique name for the job.int
Optional: jobs with fixed repeat counts (accounting for Actor Reminders).The schedule for the job.com.google.protobuf.ByteString
The schedule for the job.getTtl()
Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).com.google.protobuf.ByteString
Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).boolean
hasData()
Job data.boolean
Optional: sets time at which or time interval before the callback is invoked for the first time.boolean
Optional: jobs with fixed repeat counts (accounting for Actor Reminders).boolean
The schedule for the job.boolean
hasTtl()
Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeData
(com.google.protobuf.Any value) Job data.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) Job data.setData
(com.google.protobuf.Any.Builder builderForValue) Job data.setDueTime
(String value) Optional: sets time at which or time interval before the callback is invoked for the first time.setDueTimeBytes
(com.google.protobuf.ByteString value) Optional: sets time at which or time interval before the callback is invoked for the first time.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) Optional: jobs with fixed repeat counts (accounting for Actor Reminders).setSchedule
(String value) The schedule for the job.setScheduleBytes
(com.google.protobuf.ByteString value) The schedule for the job.Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).setTtlBytes
(com.google.protobuf.ByteString value) Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).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;
- 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;
- Specified by:
getNameBytes
in interfaceDaprProtos.JobOrBuilder
- Returns:
- The bytes for name.
-
setName
The unique name for the job.
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
The unique name for the job.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
The unique name for the job.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasSchedule
public boolean hasSchedule()The schedule for the job.
optional string schedule = 2;
- Specified by:
hasSchedule
in interfaceDaprProtos.JobOrBuilder
- Returns:
- Whether the schedule field is set.
-
getSchedule
The schedule for the job.
optional string schedule = 2;
- Specified by:
getSchedule
in interfaceDaprProtos.JobOrBuilder
- Returns:
- The schedule.
-
getScheduleBytes
public com.google.protobuf.ByteString getScheduleBytes()The schedule for the job.
optional string schedule = 2;
- Specified by:
getScheduleBytes
in interfaceDaprProtos.JobOrBuilder
- Returns:
- The bytes for schedule.
-
setSchedule
The schedule for the job.
optional string schedule = 2;
- Parameters:
value
- The schedule to set.- Returns:
- This builder for chaining.
-
clearSchedule
The schedule for the job.
optional string schedule = 2;
- Returns:
- This builder for chaining.
-
setScheduleBytes
The schedule for the job.
optional string schedule = 2;
- Parameters:
value
- The bytes for schedule to set.- Returns:
- This builder for chaining.
-
hasRepeats
public boolean hasRepeats()Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
optional uint32 repeats = 3;
- Specified by:
hasRepeats
in interfaceDaprProtos.JobOrBuilder
- Returns:
- Whether the repeats field is set.
-
getRepeats
public int getRepeats()Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
optional uint32 repeats = 3;
- Specified by:
getRepeats
in interfaceDaprProtos.JobOrBuilder
- Returns:
- The repeats.
-
setRepeats
Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
optional uint32 repeats = 3;
- Parameters:
value
- The repeats to set.- Returns:
- This builder for chaining.
-
clearRepeats
Optional: jobs with fixed repeat counts (accounting for Actor Reminders).
optional uint32 repeats = 3;
- Returns:
- This builder for chaining.
-
hasDueTime
public boolean hasDueTime()Optional: sets time at which or time interval before the callback is invoked for the first time.
optional string due_time = 4;
- Specified by:
hasDueTime
in interfaceDaprProtos.JobOrBuilder
- Returns:
- Whether the dueTime field is set.
-
getDueTime
Optional: sets time at which or time interval before the callback is invoked for the first time.
optional string due_time = 4;
- Specified by:
getDueTime
in interfaceDaprProtos.JobOrBuilder
- Returns:
- The dueTime.
-
getDueTimeBytes
public com.google.protobuf.ByteString getDueTimeBytes()Optional: sets time at which or time interval before the callback is invoked for the first time.
optional string due_time = 4;
- Specified by:
getDueTimeBytes
in interfaceDaprProtos.JobOrBuilder
- Returns:
- The bytes for dueTime.
-
setDueTime
Optional: sets time at which or time interval before the callback is invoked for the first time.
optional string due_time = 4;
- Parameters:
value
- The dueTime to set.- Returns:
- This builder for chaining.
-
clearDueTime
Optional: sets time at which or time interval before the callback is invoked for the first time.
optional string due_time = 4;
- Returns:
- This builder for chaining.
-
setDueTimeBytes
Optional: sets time at which or time interval before the callback is invoked for the first time.
optional string due_time = 4;
- Parameters:
value
- The bytes for dueTime to set.- Returns:
- This builder for chaining.
-
hasTtl
public boolean hasTtl()Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
optional string ttl = 5;
- Specified by:
hasTtl
in interfaceDaprProtos.JobOrBuilder
- Returns:
- Whether the ttl field is set.
-
getTtl
Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
optional string ttl = 5;
- Specified by:
getTtl
in interfaceDaprProtos.JobOrBuilder
- Returns:
- The ttl.
-
getTtlBytes
public com.google.protobuf.ByteString getTtlBytes()Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
optional string ttl = 5;
- Specified by:
getTtlBytes
in interfaceDaprProtos.JobOrBuilder
- Returns:
- The bytes for ttl.
-
setTtl
Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
optional string ttl = 5;
- Parameters:
value
- The ttl to set.- Returns:
- This builder for chaining.
-
clearTtl
Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
optional string ttl = 5;
- Returns:
- This builder for chaining.
-
setTtlBytes
Optional: Time To Live to allow for auto deletes (accounting for Actor Reminders).
optional string ttl = 5;
- Parameters:
value
- The bytes for ttl to set.- Returns:
- This builder for chaining.
-
hasData
public boolean hasData()Job data.
.google.protobuf.Any data = 6;
- Specified by:
hasData
in interfaceDaprProtos.JobOrBuilder
- Returns:
- Whether the data field is set.
-
getData
public com.google.protobuf.Any getData()Job data.
.google.protobuf.Any data = 6;
- Specified by:
getData
in interfaceDaprProtos.JobOrBuilder
- Returns:
- The data.
-
setData
Job data.
.google.protobuf.Any data = 6;
-
setData
Job data.
.google.protobuf.Any data = 6;
-
mergeData
Job data.
.google.protobuf.Any data = 6;
-
clearData
Job data.
.google.protobuf.Any data = 6;
-
getDataBuilder
public com.google.protobuf.Any.Builder getDataBuilder()Job data.
.google.protobuf.Any data = 6;
-
getDataOrBuilder
public com.google.protobuf.AnyOrBuilder getDataOrBuilder()Job data.
.google.protobuf.Any data = 6;
- 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>
-