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()
boolean
containsProperties
(String key) Additional component-specific properties of the workflow instance.com.google.protobuf.Timestamp
The time at which the workflow instance was created.com.google.protobuf.Timestamp.Builder
The time at which the workflow instance was created.com.google.protobuf.TimestampOrBuilder
The time at which the workflow instance was created.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
ID of the workflow instance.com.google.protobuf.ByteString
ID of the workflow instance.com.google.protobuf.Timestamp
The last time at which the workflow instance had its state changed.com.google.protobuf.Timestamp.Builder
The last time at which the workflow instance had its state changed.com.google.protobuf.TimestampOrBuilder
The last time at which the workflow instance had its state changed.Deprecated.Deprecated.int
Additional 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.ByteString
The current status of the workflow instance, for example, "PENDING", "RUNNING", "SUSPENDED", "COMPLETED", "FAILED", and "TERMINATED".Name of the workflow.com.google.protobuf.ByteString
Name of the workflow.boolean
The time at which the workflow instance was created.boolean
The last time at which the workflow instance had its state changed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeCreatedAt
(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, internalGetMapFieldReflection, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.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.GetWorkflowResponse.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.GetWorkflowResponse.Builder>
-
setField
public DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.Builder>
-
clearField
public DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.Builder>
-
clearOneof
public DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.Builder>
-
setRepeatedField
public DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.Builder>
-
addRepeatedField
public DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.GetWorkflowResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.GetWorkflowResponse.Builder>
- Throws:
IOException
-
getInstanceId
ID of the workflow instance.
string instance_id = 1 [json_name = "instanceID"];
- Specified by:
getInstanceId
in 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:
getInstanceIdBytes
in 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:
getWorkflowName
in 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:
getWorkflowNameBytes
in 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:
hasCreatedAt
in 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:
getCreatedAt
in 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:
getCreatedAtOrBuilder
in 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:
hasLastUpdatedAt
in 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:
getLastUpdatedAt
in 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:
getLastUpdatedAtOrBuilder
in 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:
getRuntimeStatus
in 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:
getRuntimeStatusBytes
in 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.GetWorkflowResponseOrBuilder
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6;
- Specified by:
getPropertiesCount
in interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
containsProperties
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6;
- Specified by:
containsProperties
in interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
getProperties
Deprecated.UsegetPropertiesMap()
instead.- Specified by:
getProperties
in interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
getPropertiesMap
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6;
- Specified by:
getPropertiesMap
in interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
getPropertiesOrDefault
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6;
- Specified by:
getPropertiesOrDefault
in interfaceDaprProtos.GetWorkflowResponseOrBuilder
-
getPropertiesOrThrow
Additional component-specific properties of the workflow instance.
map<string, string> properties = 6;
- Specified by:
getPropertiesOrThrow
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
-
mergeUnknownFields
public final DaprProtos.GetWorkflowResponse.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.GetWorkflowResponse.Builder>
-