Package io.dapr.v1

Class DaprProtos.PauseWorkflowRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PauseWorkflowRequest.Builder>
io.dapr.v1.DaprProtos.PauseWorkflowRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DaprProtos.PauseWorkflowRequestOrBuilder, Cloneable
Enclosing class:
DaprProtos.PauseWorkflowRequest

public static final class DaprProtos.PauseWorkflowRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PauseWorkflowRequest.Builder> implements DaprProtos.PauseWorkflowRequestOrBuilder
 PauseWorkflowRequest is the request for PauseWorkflowBeta1.
 
Protobuf type dapr.proto.runtime.v1.PauseWorkflowRequest
  • Method Details

    • getDescriptor

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

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

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PauseWorkflowRequest.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.PauseWorkflowRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PauseWorkflowRequest.Builder>
    • setField

      public DaprProtos.PauseWorkflowRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PauseWorkflowRequest.Builder>
    • clearField

      public DaprProtos.PauseWorkflowRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PauseWorkflowRequest.Builder>
    • clearOneof

      public DaprProtos.PauseWorkflowRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PauseWorkflowRequest.Builder>
    • setRepeatedField

      public DaprProtos.PauseWorkflowRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PauseWorkflowRequest.Builder>
    • addRepeatedField

      public DaprProtos.PauseWorkflowRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PauseWorkflowRequest.Builder>
    • mergeFrom

      public DaprProtos.PauseWorkflowRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DaprProtos.PauseWorkflowRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public DaprProtos.PauseWorkflowRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DaprProtos.PauseWorkflowRequest.Builder>
      Throws:
      IOException
    • getInstanceId

      public String getInstanceId()
       ID of the workflow instance to pause.
       
      string instance_id = 1 [json_name = "instanceID"];
      Specified by:
      getInstanceId in interface DaprProtos.PauseWorkflowRequestOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
       ID of the workflow instance to pause.
       
      string instance_id = 1 [json_name = "instanceID"];
      Specified by:
      getInstanceIdBytes in interface DaprProtos.PauseWorkflowRequestOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

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

      public DaprProtos.PauseWorkflowRequest.Builder clearInstanceId()
       ID of the workflow instance to pause.
       
      string instance_id = 1 [json_name = "instanceID"];
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public DaprProtos.PauseWorkflowRequest.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
       ID of the workflow instance to pause.
       
      string instance_id = 1 [json_name = "instanceID"];
      Parameters:
      value - The bytes for instanceId to set.
      Returns:
      This builder for chaining.
    • getWorkflowComponent

      public String getWorkflowComponent()
       Name of the workflow component.
       
      string workflow_component = 2 [json_name = "workflowComponent"];
      Specified by:
      getWorkflowComponent in interface DaprProtos.PauseWorkflowRequestOrBuilder
      Returns:
      The workflowComponent.
    • getWorkflowComponentBytes

      public com.google.protobuf.ByteString getWorkflowComponentBytes()
       Name of the workflow component.
       
      string workflow_component = 2 [json_name = "workflowComponent"];
      Specified by:
      getWorkflowComponentBytes in interface DaprProtos.PauseWorkflowRequestOrBuilder
      Returns:
      The bytes for workflowComponent.
    • setWorkflowComponent

      public DaprProtos.PauseWorkflowRequest.Builder setWorkflowComponent(String value)
       Name of the workflow component.
       
      string workflow_component = 2 [json_name = "workflowComponent"];
      Parameters:
      value - The workflowComponent to set.
      Returns:
      This builder for chaining.
    • clearWorkflowComponent

      public DaprProtos.PauseWorkflowRequest.Builder clearWorkflowComponent()
       Name of the workflow component.
       
      string workflow_component = 2 [json_name = "workflowComponent"];
      Returns:
      This builder for chaining.
    • setWorkflowComponentBytes

      public DaprProtos.PauseWorkflowRequest.Builder setWorkflowComponentBytes(com.google.protobuf.ByteString value)
       Name of the workflow component.
       
      string workflow_component = 2 [json_name = "workflowComponent"];
      Parameters:
      value - The bytes for workflowComponent to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final DaprProtos.PauseWorkflowRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PauseWorkflowRequest.Builder>
    • mergeUnknownFields

      public final DaprProtos.PauseWorkflowRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PauseWorkflowRequest.Builder>