Package io.dapr.v1
Class DaprProtos.GetWorkflowResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
io.dapr.v1.DaprProtos.GetWorkflowResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DaprProtos.GetWorkflowResponseOrBuilder,Cloneable
- Enclosing class:
- DaprProtos.GetWorkflowResponse
public static final class DaprProtos.GetWorkflowResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
implements DaprProtos.GetWorkflowResponseOrBuilder
GetWorkflowResponse is the response for GetWorkflowBeta1.Protobuf type
dapr.proto.runtime.v1.GetWorkflowResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The time at which the workflow instance was created.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) ID of the workflow instance.The last time at which the workflow instance had its state changed.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".Name of the workflow.clone()booleancontainsProperties(String key) Additional component-specific properties of the workflow instance.com.google.protobuf.TimestampThe time at which the workflow instance was created.com.google.protobuf.Timestamp.BuilderThe time at which the workflow instance was created.com.google.protobuf.TimestampOrBuilderThe time at which the workflow instance was created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorID of the workflow instance.com.google.protobuf.ByteStringID of the workflow instance.com.google.protobuf.TimestampThe last time at which the workflow instance had its state changed.com.google.protobuf.Timestamp.BuilderThe last time at which the workflow instance had its state changed.com.google.protobuf.TimestampOrBuilderThe last time at which the workflow instance had its state changed.Deprecated.Deprecated.intAdditional component-specific properties of the workflow instance.Additional component-specific properties of the workflow instance.getPropertiesOrDefault(String key, String defaultValue) Additional component-specific properties of the workflow instance.Additional component-specific properties of the workflow instance.The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".com.google.protobuf.ByteStringThe current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".Name of the workflow.com.google.protobuf.ByteStringName of the workflow.booleanThe time at which the workflow instance was created.booleanThe last time at which the workflow instance had its state changed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreatedAt(com.google.protobuf.Timestamp value) The time at which the workflow instance was created.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastUpdatedAt(com.google.protobuf.Timestamp value) The last time at which the workflow instance had its state changed.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllProperties(Map<String, String> values) Additional component-specific properties of the workflow instance.putProperties(String key, String value) Additional component-specific properties of the workflow instance.removeProperties(String key) Additional component-specific properties of the workflow instance.setCreatedAt(com.google.protobuf.Timestamp value) The time at which the workflow instance was created.setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the workflow instance was created.setInstanceId(String value) ID of the workflow instance.setInstanceIdBytes(com.google.protobuf.ByteString value) ID of the workflow instance.setLastUpdatedAt(com.google.protobuf.Timestamp value) The last time at which the workflow instance had its state changed.setLastUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue) The last time at which the workflow instance had its state changed.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRuntimeStatus(String value) The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".setRuntimeStatusBytes(com.google.protobuf.ByteString value) The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWorkflowName(String value) Name of the workflow.setWorkflowNameBytes(com.google.protobuf.ByteString value) Name of the workflow.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, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.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.GetWorkflowResponse.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.GetWorkflowResponse.Builder>
-
setField
public DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.Builder>
-
clearField
public DaprProtos.GetWorkflowResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
-
clearOneof
public DaprProtos.GetWorkflowResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
-
setRepeatedField
public DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.Builder>
-
addRepeatedField
public DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.GetWorkflowResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
-
mergeFrom
public DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.Builder>- Throws:
IOException
-
getInstanceId
ID of the workflow instance.
string instance_id = 1 [json_name = "instanceID"];- Specified by:
getInstanceIdin interfaceDaprProtos.GetWorkflowResponseOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()ID of the workflow instance.
string instance_id = 1 [json_name = "instanceID"];- Specified by:
getInstanceIdBytesin interfaceDaprProtos.GetWorkflowResponseOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
ID of the workflow instance.
string instance_id = 1 [json_name = "instanceID"];- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
ID of the workflow instance.
string instance_id = 1 [json_name = "instanceID"];- Returns:
- This builder for chaining.
-
setInstanceIdBytes
public DaprProtos.GetWorkflowResponse.Builder setInstanceIdBytes(com.google.protobuf.ByteString value) ID of the workflow instance.
string instance_id = 1 [json_name = "instanceID"];- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getWorkflowName
Name of the workflow.
string workflow_name = 2 [json_name = "workflowName"];- Specified by:
getWorkflowNamein interfaceDaprProtos.GetWorkflowResponseOrBuilder- Returns:
- The workflowName.
-
getWorkflowNameBytes
public com.google.protobuf.ByteString getWorkflowNameBytes()Name of the workflow.
string workflow_name = 2 [json_name = "workflowName"];- Specified by:
getWorkflowNameBytesin interfaceDaprProtos.GetWorkflowResponseOrBuilder- Returns:
- The bytes for workflowName.
-
setWorkflowName
Name of the workflow.
string workflow_name = 2 [json_name = "workflowName"];- Parameters:
value- The workflowName to set.- Returns:
- This builder for chaining.
-
clearWorkflowName
Name of the workflow.
string workflow_name = 2 [json_name = "workflowName"];- Returns:
- This builder for chaining.
-
setWorkflowNameBytes
public DaprProtos.GetWorkflowResponse.Builder setWorkflowNameBytes(com.google.protobuf.ByteString value) Name of the workflow.
string workflow_name = 2 [json_name = "workflowName"];- Parameters:
value- The bytes for workflowName to set.- Returns:
- This builder for chaining.
-
hasCreatedAt
public boolean hasCreatedAt()The time at which the workflow instance was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"];- Specified by:
hasCreatedAtin interfaceDaprProtos.GetWorkflowResponseOrBuilder- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
public com.google.protobuf.Timestamp getCreatedAt()The time at which the workflow instance was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"];- Specified by:
getCreatedAtin interfaceDaprProtos.GetWorkflowResponseOrBuilder- Returns:
- The createdAt.
-
setCreatedAt
The time at which the workflow instance was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; -
setCreatedAt
public DaprProtos.GetWorkflowResponse.Builder setCreatedAt(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the workflow instance was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; -
mergeCreatedAt
The time at which the workflow instance was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; -
clearCreatedAt
The time at which the workflow instance was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; -
getCreatedAtBuilder
public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder()The time at which the workflow instance was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"]; -
getCreatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()The time at which the workflow instance was created.
.google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"];- Specified by:
getCreatedAtOrBuilderin interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
hasLastUpdatedAt
public boolean hasLastUpdatedAt()The last time at which the workflow instance had its state changed.
.google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"];- Specified by:
hasLastUpdatedAtin interfaceDaprProtos.GetWorkflowResponseOrBuilder- Returns:
- Whether the lastUpdatedAt field is set.
-
getLastUpdatedAt
public com.google.protobuf.Timestamp getLastUpdatedAt()The last time at which the workflow instance had its state changed.
.google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"];- Specified by:
getLastUpdatedAtin interfaceDaprProtos.GetWorkflowResponseOrBuilder- Returns:
- The lastUpdatedAt.
-
setLastUpdatedAt
The last time at which the workflow instance had its state changed.
.google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; -
setLastUpdatedAt
public DaprProtos.GetWorkflowResponse.Builder setLastUpdatedAt(com.google.protobuf.Timestamp.Builder builderForValue) The last time at which the workflow instance had its state changed.
.google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; -
mergeLastUpdatedAt
public DaprProtos.GetWorkflowResponse.Builder mergeLastUpdatedAt(com.google.protobuf.Timestamp value) The last time at which the workflow instance had its state changed.
.google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; -
clearLastUpdatedAt
The last time at which the workflow instance had its state changed.
.google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; -
getLastUpdatedAtBuilder
public com.google.protobuf.Timestamp.Builder getLastUpdatedAtBuilder()The last time at which the workflow instance had its state changed.
.google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"]; -
getLastUpdatedAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastUpdatedAtOrBuilder()The last time at which the workflow instance had its state changed.
.google.protobuf.Timestamp last_updated_at = 4 [json_name = "lastUpdatedAt"];- Specified by:
getLastUpdatedAtOrBuilderin interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
getRuntimeStatus
The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
string runtime_status = 5 [json_name = "runtimeStatus"];- Specified by:
getRuntimeStatusin interfaceDaprProtos.GetWorkflowResponseOrBuilder- Returns:
- The runtimeStatus.
-
getRuntimeStatusBytes
public com.google.protobuf.ByteString getRuntimeStatusBytes()The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
string runtime_status = 5 [json_name = "runtimeStatus"];- Specified by:
getRuntimeStatusBytesin interfaceDaprProtos.GetWorkflowResponseOrBuilder- Returns:
- The bytes for runtimeStatus.
-
setRuntimeStatus
The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
string runtime_status = 5 [json_name = "runtimeStatus"];- Parameters:
value- The runtimeStatus to set.- Returns:
- This builder for chaining.
-
clearRuntimeStatus
The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
string runtime_status = 5 [json_name = "runtimeStatus"];- Returns:
- This builder for chaining.
-
setRuntimeStatusBytes
public DaprProtos.GetWorkflowResponse.Builder setRuntimeStatusBytes(com.google.protobuf.ByteString value) The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".
string runtime_status = 5 [json_name = "runtimeStatus"];- Parameters:
value- The bytes for runtimeStatus to set.- Returns:
- This builder for chaining.
-
getPropertiesCount
public int getPropertiesCount()Description copied from interface:DaprProtos.GetWorkflowResponseOrBuilderAdditional component-specific properties of the workflow instance.
map<string, string> properties = 6;- Specified by:
getPropertiesCountin interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
containsProperties
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6;- Specified by:
containsPropertiesin interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
getPropertiesMap
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6;- Specified by:
getPropertiesMapin interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
getPropertiesOrDefault
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6;- Specified by:
getPropertiesOrDefaultin interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
getPropertiesOrThrow
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6;- Specified by:
getPropertiesOrThrowin interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
clearProperties
-
removeProperties
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6; -
getMutableProperties
Deprecated.Use alternate mutation accessors instead. -
putProperties
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6; -
putAllProperties
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6; -
setUnknownFields
public final DaprProtos.GetWorkflowResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
-
mergeUnknownFields
public final DaprProtos.GetWorkflowResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
-