Package io.dapr.v1
Class DaprProtos.RegisterActorTimerRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisterActorTimerRequest.Builder>
io.dapr.v1.DaprProtos.RegisterActorTimerRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.RegisterActorTimerRequestOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.RegisterActorTimerRequest
public static final class DaprProtos.RegisterActorTimerRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisterActorTimerRequest.Builder>
implements DaprProtos.RegisterActorTimerRequestOrBuilder
RegisterActorTimerRequest is the message to register a timer for an actor of a given type and id.Protobuf type
dapr.proto.runtime.v1.RegisterActorTimerRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
string actor_id = 2 [json_name = "actorId"];
string actor_type = 1 [json_name = "actorType"];
string callback = 6;
bytes data = 7;
string due_time = 4 [json_name = "dueTime"];
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) string name = 3;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) string period = 5;
clearTtl()
string ttl = 8;
clone()
string actor_id = 2 [json_name = "actorId"];
com.google.protobuf.ByteString
string actor_id = 2 [json_name = "actorId"];
string actor_type = 1 [json_name = "actorType"];
com.google.protobuf.ByteString
string actor_type = 1 [json_name = "actorType"];
string callback = 6;
com.google.protobuf.ByteString
string callback = 6;
com.google.protobuf.ByteString
getData()
bytes data = 7;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
string due_time = 4 [json_name = "dueTime"];
com.google.protobuf.ByteString
string due_time = 4 [json_name = "dueTime"];
getName()
string name = 3;
com.google.protobuf.ByteString
string name = 3;
string period = 5;
com.google.protobuf.ByteString
string period = 5;
getTtl()
string ttl = 8;
com.google.protobuf.ByteString
string ttl = 8;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setActorId
(String value) string actor_id = 2 [json_name = "actorId"];
setActorIdBytes
(com.google.protobuf.ByteString value) string actor_id = 2 [json_name = "actorId"];
setActorType
(String value) string actor_type = 1 [json_name = "actorType"];
setActorTypeBytes
(com.google.protobuf.ByteString value) string actor_type = 1 [json_name = "actorType"];
setCallback
(String value) string callback = 6;
setCallbackBytes
(com.google.protobuf.ByteString value) string callback = 6;
setData
(com.google.protobuf.ByteString value) bytes data = 7;
setDueTime
(String value) string due_time = 4 [json_name = "dueTime"];
setDueTimeBytes
(com.google.protobuf.ByteString value) string due_time = 4 [json_name = "dueTime"];
string name = 3;
setNameBytes
(com.google.protobuf.ByteString value) string name = 3;
string period = 5;
setPeriodBytes
(com.google.protobuf.ByteString value) string period = 5;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) string ttl = 8;
setTtlBytes
(com.google.protobuf.ByteString value) string ttl = 8;
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.RegisterActorTimerRequest.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.RegisterActorTimerRequest.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.RegisterActorTimerRequest.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.RegisterActorTimerRequest.Builder>
-
setField
public DaprProtos.RegisterActorTimerRequest.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.RegisterActorTimerRequest.Builder>
-
clearField
public DaprProtos.RegisterActorTimerRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisterActorTimerRequest.Builder>
-
clearOneof
public DaprProtos.RegisterActorTimerRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisterActorTimerRequest.Builder>
-
setRepeatedField
public DaprProtos.RegisterActorTimerRequest.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.RegisterActorTimerRequest.Builder>
-
addRepeatedField
public DaprProtos.RegisterActorTimerRequest.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.RegisterActorTimerRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.RegisterActorTimerRequest.Builder>
-
mergeFrom
public DaprProtos.RegisterActorTimerRequest.Builder mergeFrom(DaprProtos.RegisterActorTimerRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.RegisterActorTimerRequest.Builder>
-
mergeFrom
public DaprProtos.RegisterActorTimerRequest.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.RegisterActorTimerRequest.Builder>
- Throws:
IOException
-
getActorType
string actor_type = 1 [json_name = "actorType"];
- Specified by:
getActorType
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The actorType.
-
getActorTypeBytes
public com.google.protobuf.ByteString getActorTypeBytes()string actor_type = 1 [json_name = "actorType"];
- Specified by:
getActorTypeBytes
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The bytes for actorType.
-
setActorType
string actor_type = 1 [json_name = "actorType"];
- Parameters:
value
- The actorType to set.- Returns:
- This builder for chaining.
-
clearActorType
string actor_type = 1 [json_name = "actorType"];
- Returns:
- This builder for chaining.
-
setActorTypeBytes
public DaprProtos.RegisterActorTimerRequest.Builder setActorTypeBytes(com.google.protobuf.ByteString value) string actor_type = 1 [json_name = "actorType"];
- Parameters:
value
- The bytes for actorType to set.- Returns:
- This builder for chaining.
-
getActorId
string actor_id = 2 [json_name = "actorId"];
- Specified by:
getActorId
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The actorId.
-
getActorIdBytes
public com.google.protobuf.ByteString getActorIdBytes()string actor_id = 2 [json_name = "actorId"];
- Specified by:
getActorIdBytes
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The bytes for actorId.
-
setActorId
string actor_id = 2 [json_name = "actorId"];
- Parameters:
value
- The actorId to set.- Returns:
- This builder for chaining.
-
clearActorId
string actor_id = 2 [json_name = "actorId"];
- Returns:
- This builder for chaining.
-
setActorIdBytes
public DaprProtos.RegisterActorTimerRequest.Builder setActorIdBytes(com.google.protobuf.ByteString value) string actor_id = 2 [json_name = "actorId"];
- Parameters:
value
- The bytes for actorId to set.- Returns:
- This builder for chaining.
-
getName
string name = 3;
- Specified by:
getName
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 3;
- Specified by:
getNameBytes
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
string name = 3;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 3;
- Returns:
- This builder for chaining.
-
setNameBytes
public DaprProtos.RegisterActorTimerRequest.Builder setNameBytes(com.google.protobuf.ByteString value) string name = 3;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDueTime
string due_time = 4 [json_name = "dueTime"];
- Specified by:
getDueTime
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The dueTime.
-
getDueTimeBytes
public com.google.protobuf.ByteString getDueTimeBytes()string due_time = 4 [json_name = "dueTime"];
- Specified by:
getDueTimeBytes
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The bytes for dueTime.
-
setDueTime
string due_time = 4 [json_name = "dueTime"];
- Parameters:
value
- The dueTime to set.- Returns:
- This builder for chaining.
-
clearDueTime
string due_time = 4 [json_name = "dueTime"];
- Returns:
- This builder for chaining.
-
setDueTimeBytes
public DaprProtos.RegisterActorTimerRequest.Builder setDueTimeBytes(com.google.protobuf.ByteString value) string due_time = 4 [json_name = "dueTime"];
- Parameters:
value
- The bytes for dueTime to set.- Returns:
- This builder for chaining.
-
getPeriod
string period = 5;
- Specified by:
getPeriod
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The period.
-
getPeriodBytes
public com.google.protobuf.ByteString getPeriodBytes()string period = 5;
- Specified by:
getPeriodBytes
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The bytes for period.
-
setPeriod
string period = 5;
- Parameters:
value
- The period to set.- Returns:
- This builder for chaining.
-
clearPeriod
string period = 5;
- Returns:
- This builder for chaining.
-
setPeriodBytes
public DaprProtos.RegisterActorTimerRequest.Builder setPeriodBytes(com.google.protobuf.ByteString value) string period = 5;
- Parameters:
value
- The bytes for period to set.- Returns:
- This builder for chaining.
-
getCallback
string callback = 6;
- Specified by:
getCallback
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The callback.
-
getCallbackBytes
public com.google.protobuf.ByteString getCallbackBytes()string callback = 6;
- Specified by:
getCallbackBytes
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The bytes for callback.
-
setCallback
string callback = 6;
- Parameters:
value
- The callback to set.- Returns:
- This builder for chaining.
-
clearCallback
string callback = 6;
- Returns:
- This builder for chaining.
-
setCallbackBytes
public DaprProtos.RegisterActorTimerRequest.Builder setCallbackBytes(com.google.protobuf.ByteString value) string callback = 6;
- Parameters:
value
- The bytes for callback to set.- Returns:
- This builder for chaining.
-
getData
public com.google.protobuf.ByteString getData()bytes data = 7;
- Specified by:
getData
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The data.
-
setData
bytes data = 7;
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
bytes data = 7;
- Returns:
- This builder for chaining.
-
getTtl
string ttl = 8;
- Specified by:
getTtl
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The ttl.
-
getTtlBytes
public com.google.protobuf.ByteString getTtlBytes()string ttl = 8;
- Specified by:
getTtlBytes
in interfaceDaprProtos.RegisterActorTimerRequestOrBuilder
- Returns:
- The bytes for ttl.
-
setTtl
string ttl = 8;
- Parameters:
value
- The ttl to set.- Returns:
- This builder for chaining.
-
clearTtl
string ttl = 8;
- Returns:
- This builder for chaining.
-
setTtlBytes
public DaprProtos.RegisterActorTimerRequest.Builder setTtlBytes(com.google.protobuf.ByteString value) string ttl = 8;
- Parameters:
value
- The bytes for ttl to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DaprProtos.RegisterActorTimerRequest.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.RegisterActorTimerRequest.Builder>
-
mergeUnknownFields
public final DaprProtos.RegisterActorTimerRequest.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.RegisterActorTimerRequest.Builder>
-