Class Execution.Builder

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

public static final class Execution.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder> implements ExecutionOrBuilder
 Identifies a specific execution within a namespace. This is used for standalone activities
 executions in batch jobs currently.
 
Protobuf type temporal.api.common.v1.Execution
  • 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<Execution.Builder>
    • clear

      public Execution.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<Execution.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<Execution.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public Execution.Builder mergeFrom(Execution other)
    • isInitialized

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

      public Execution.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<Execution.Builder>
      Throws:
      IOException
    • getTypeValue

      public int getTypeValue()
      .temporal.api.enums.v1.ExecutionType type = 1;
      Specified by:
      getTypeValue in interface ExecutionOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public Execution.Builder setTypeValue(int value)
      .temporal.api.enums.v1.ExecutionType type = 1;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public ExecutionType getType()
      .temporal.api.enums.v1.ExecutionType type = 1;
      Specified by:
      getType in interface ExecutionOrBuilder
      Returns:
      The type.
    • setType

      public Execution.Builder setType(ExecutionType value)
      .temporal.api.enums.v1.ExecutionType type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Execution.Builder clearType()
      .temporal.api.enums.v1.ExecutionType type = 1;
      Returns:
      This builder for chaining.
    • getBusinessId

      public String getBusinessId()
      string business_id = 2;
      Specified by:
      getBusinessId in interface ExecutionOrBuilder
      Returns:
      The businessId.
    • getBusinessIdBytes

      public com.google.protobuf.ByteString getBusinessIdBytes()
      string business_id = 2;
      Specified by:
      getBusinessIdBytes in interface ExecutionOrBuilder
      Returns:
      The bytes for businessId.
    • setBusinessId

      public Execution.Builder setBusinessId(String value)
      string business_id = 2;
      Parameters:
      value - The businessId to set.
      Returns:
      This builder for chaining.
    • clearBusinessId

      public Execution.Builder clearBusinessId()
      string business_id = 2;
      Returns:
      This builder for chaining.
    • setBusinessIdBytes

      public Execution.Builder setBusinessIdBytes(com.google.protobuf.ByteString value)
      string business_id = 2;
      Parameters:
      value - The bytes for businessId to set.
      Returns:
      This builder for chaining.
    • getRunId

      public String getRunId()
      string run_id = 3;
      Specified by:
      getRunId in interface ExecutionOrBuilder
      Returns:
      The runId.
    • getRunIdBytes

      public com.google.protobuf.ByteString getRunIdBytes()
      string run_id = 3;
      Specified by:
      getRunIdBytes in interface ExecutionOrBuilder
      Returns:
      The bytes for runId.
    • setRunId

      public Execution.Builder setRunId(String value)
      string run_id = 3;
      Parameters:
      value - The runId to set.
      Returns:
      This builder for chaining.
    • clearRunId

      public Execution.Builder clearRunId()
      string run_id = 3;
      Returns:
      This builder for chaining.
    • setRunIdBytes

      public Execution.Builder setRunIdBytes(com.google.protobuf.ByteString value)
      string run_id = 3;
      Parameters:
      value - The bytes for runId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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