Package io.dapr.v1

Class DaprProtos.PurgeWorkflowRequest.Builder

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

public static final class DaprProtos.PurgeWorkflowRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.PurgeWorkflowRequest.Builder> implements DaprProtos.PurgeWorkflowRequestOrBuilder
 PurgeWorkflowRequest is the request for PurgeWorkflowBeta1.
 
Protobuf type dapr.proto.runtime.v1.PurgeWorkflowRequest
  • 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.PurgeWorkflowRequest.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.PurgeWorkflowRequest.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.PurgeWorkflowRequest.Builder>
    • getDefaultInstanceForType

      public DaprProtos.PurgeWorkflowRequest 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.PurgeWorkflowRequest 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.PurgeWorkflowRequest.Builder>
    • setField

      public DaprProtos.PurgeWorkflowRequest.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.PurgeWorkflowRequest.Builder>
    • clearField

      public DaprProtos.PurgeWorkflowRequest.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.PurgeWorkflowRequest.Builder>
    • clearOneof

      public DaprProtos.PurgeWorkflowRequest.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.PurgeWorkflowRequest.Builder>
    • setRepeatedField

      public DaprProtos.PurgeWorkflowRequest.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.PurgeWorkflowRequest.Builder>
    • addRepeatedField

      public DaprProtos.PurgeWorkflowRequest.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.PurgeWorkflowRequest.Builder>
    • mergeFrom

      public DaprProtos.PurgeWorkflowRequest.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.PurgeWorkflowRequest.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.PurgeWorkflowRequest.Builder>
    • mergeFrom

      public DaprProtos.PurgeWorkflowRequest.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.PurgeWorkflowRequest.Builder>
      Throws:
      IOException
    • getInstanceId

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

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

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

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

      public DaprProtos.PurgeWorkflowRequest.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
       ID of the workflow instance to purge.
       
      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.PurgeWorkflowRequestOrBuilder
      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.PurgeWorkflowRequestOrBuilder
      Returns:
      The bytes for workflowComponent.
    • setWorkflowComponent

      public DaprProtos.PurgeWorkflowRequest.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.PurgeWorkflowRequest.Builder clearWorkflowComponent()
       Name of the workflow component.
       
      string workflow_component = 2 [json_name = "workflowComponent"];
      Returns:
      This builder for chaining.
    • setWorkflowComponentBytes

      public DaprProtos.PurgeWorkflowRequest.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.PurgeWorkflowRequest.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.PurgeWorkflowRequest.Builder>
    • mergeUnknownFields

      public final DaprProtos.PurgeWorkflowRequest.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.PurgeWorkflowRequest.Builder>