Package io.dapr.v1

Class DaprProtos.GetWorkflowResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
      • getDefaultInstanceForType

        public DaprProtos.GetWorkflowResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DaprProtos.GetWorkflowResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DaprProtos.GetWorkflowResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetWorkflowResponse.Builder>
      • setInstanceId

        public DaprProtos.GetWorkflowResponse.Builder setInstanceId​(String value)
         ID of the workflow instance.
         
        string instance_id = 1 [json_name = "instanceID"];
        Parameters:
        value - The instanceId to set.
        Returns:
        This builder for chaining.
      • clearInstanceId

        public DaprProtos.GetWorkflowResponse.Builder 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.
      • setWorkflowName

        public DaprProtos.GetWorkflowResponse.Builder setWorkflowName​(String value)
         Name of the workflow.
         
        string workflow_name = 2 [json_name = "workflowName"];
        Parameters:
        value - The workflowName to set.
        Returns:
        This builder for chaining.
      • clearWorkflowName

        public DaprProtos.GetWorkflowResponse.Builder 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 interface DaprProtos.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 interface DaprProtos.GetWorkflowResponseOrBuilder
        Returns:
        The createdAt.
      • setCreatedAt

        public DaprProtos.GetWorkflowResponse.Builder setCreatedAt​(com.google.protobuf.Timestamp value)
         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

        public DaprProtos.GetWorkflowResponse.Builder mergeCreatedAt​(com.google.protobuf.Timestamp value)
         The time at which the workflow instance was created.
         
        .google.protobuf.Timestamp created_at = 3 [json_name = "createdAt"];
      • clearCreatedAt

        public DaprProtos.GetWorkflowResponse.Builder 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 interface DaprProtos.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 interface DaprProtos.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 interface DaprProtos.GetWorkflowResponseOrBuilder
        Returns:
        The lastUpdatedAt.
      • setLastUpdatedAt

        public DaprProtos.GetWorkflowResponse.Builder setLastUpdatedAt​(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"];
      • 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

        public DaprProtos.GetWorkflowResponse.Builder 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 interface DaprProtos.GetWorkflowResponseOrBuilder
      • getRuntimeStatus

        public String 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 interface DaprProtos.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 interface DaprProtos.GetWorkflowResponseOrBuilder
        Returns:
        The bytes for runtimeStatus.
      • setRuntimeStatus

        public DaprProtos.GetWorkflowResponse.Builder setRuntimeStatus​(String 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 runtimeStatus to set.
        Returns:
        This builder for chaining.
      • clearRuntimeStatus

        public DaprProtos.GetWorkflowResponse.Builder 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.
      • getMutableProperties

        @Deprecated
        public Map<String,​String> getMutableProperties()
        Deprecated.
        Use alternate mutation accessors instead.