Class SystemWorkflowFailure.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SystemWorkflowFailure.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SystemWorkflowFailure.Builder>
io.temporal.api.errordetails.v1.SystemWorkflowFailure.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SystemWorkflowFailureOrBuilder, Cloneable
Enclosing class:
SystemWorkflowFailure

public static final class SystemWorkflowFailure.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SystemWorkflowFailure.Builder> implements SystemWorkflowFailureOrBuilder
Protobuf type temporal.api.errordetails.v1.SystemWorkflowFailure
  • 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<SystemWorkflowFailure.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<SystemWorkflowFailure.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<SystemWorkflowFailure.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public SystemWorkflowFailure.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<SystemWorkflowFailure.Builder>
      Throws:
      IOException
    • hasWorkflowExecution

      public boolean hasWorkflowExecution()
       WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
       Looking up the info of the system workflow run may help identify the issue causing the failure.
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
      Specified by:
      hasWorkflowExecution in interface SystemWorkflowFailureOrBuilder
      Returns:
      Whether the workflowExecution field is set.
    • getWorkflowExecution

      public WorkflowExecution getWorkflowExecution()
       WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
       Looking up the info of the system workflow run may help identify the issue causing the failure.
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
      Specified by:
      getWorkflowExecution in interface SystemWorkflowFailureOrBuilder
      Returns:
      The workflowExecution.
    • setWorkflowExecution

      public SystemWorkflowFailure.Builder setWorkflowExecution(WorkflowExecution value)
       WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
       Looking up the info of the system workflow run may help identify the issue causing the failure.
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
    • setWorkflowExecution

      public SystemWorkflowFailure.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue)
       WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
       Looking up the info of the system workflow run may help identify the issue causing the failure.
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
    • mergeWorkflowExecution

      public SystemWorkflowFailure.Builder mergeWorkflowExecution(WorkflowExecution value)
       WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
       Looking up the info of the system workflow run may help identify the issue causing the failure.
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
    • clearWorkflowExecution

      public SystemWorkflowFailure.Builder clearWorkflowExecution()
       WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
       Looking up the info of the system workflow run may help identify the issue causing the failure.
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
    • getWorkflowExecutionBuilder

      public WorkflowExecution.Builder getWorkflowExecutionBuilder()
       WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
       Looking up the info of the system workflow run may help identify the issue causing the failure.
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
    • getWorkflowExecutionOrBuilder

      public WorkflowExecutionOrBuilder getWorkflowExecutionOrBuilder()
       WorkflowId and RunId of the Temporal system workflow performing the underlying operation.
       Looking up the info of the system workflow run may help identify the issue causing the failure.
       
      .temporal.api.common.v1.WorkflowExecution workflow_execution = 1;
      Specified by:
      getWorkflowExecutionOrBuilder in interface SystemWorkflowFailureOrBuilder
    • getWorkflowError

      public String getWorkflowError()
       Serialized error returned by the system workflow performing the underlying operation.
       
      string workflow_error = 2;
      Specified by:
      getWorkflowError in interface SystemWorkflowFailureOrBuilder
      Returns:
      The workflowError.
    • getWorkflowErrorBytes

      public com.google.protobuf.ByteString getWorkflowErrorBytes()
       Serialized error returned by the system workflow performing the underlying operation.
       
      string workflow_error = 2;
      Specified by:
      getWorkflowErrorBytes in interface SystemWorkflowFailureOrBuilder
      Returns:
      The bytes for workflowError.
    • setWorkflowError

      public SystemWorkflowFailure.Builder setWorkflowError(String value)
       Serialized error returned by the system workflow performing the underlying operation.
       
      string workflow_error = 2;
      Parameters:
      value - The workflowError to set.
      Returns:
      This builder for chaining.
    • clearWorkflowError

      public SystemWorkflowFailure.Builder clearWorkflowError()
       Serialized error returned by the system workflow performing the underlying operation.
       
      string workflow_error = 2;
      Returns:
      This builder for chaining.
    • setWorkflowErrorBytes

      public SystemWorkflowFailure.Builder setWorkflowErrorBytes(com.google.protobuf.ByteString value)
       Serialized error returned by the system workflow performing the underlying operation.
       
      string workflow_error = 2;
      Parameters:
      value - The bytes for workflowError to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final SystemWorkflowFailure.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<SystemWorkflowFailure.Builder>
    • mergeUnknownFields

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