Class Deployment.Builder

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

public static final class Deployment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder> implements DeploymentOrBuilder
 `Deployment` identifies a deployment of Temporal workers. The combination of deployment series
 name + build ID serves as the identifier. User can use `WorkerDeploymentOptions` in their worker
 programs to specify these values.
 Deprecated.
 
Protobuf type temporal.api.deployment.v1.Deployment
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    Build ID changes with each version of the worker when the worker program code and/or config changes.
    clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
     
    clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    Different versions of the same worker service/application are related together by having a shared series name.
     
    Build ID changes with each version of the worker when the worker program code and/or config changes.
    com.google.protobuf.ByteString
    Build ID changes with each version of the worker when the worker program code and/or config changes.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Different versions of the same worker service/application are related together by having a shared series name.
    com.google.protobuf.ByteString
    Different versions of the same worker service/application are related together by having a shared series name.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    Build ID changes with each version of the worker when the worker program code and/or config changes.
    setBuildIdBytes(com.google.protobuf.ByteString value)
    Build ID changes with each version of the worker when the worker program code and/or config changes.
    setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    Different versions of the same worker service/application are related together by having a shared series name.
    setSeriesNameBytes(com.google.protobuf.ByteString value)
    Different versions of the same worker service/application are related together by having a shared series name.
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<Deployment.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public Deployment.Builder mergeFrom(Deployment other)
    • isInitialized

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

      public Deployment.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<Deployment.Builder>
      Throws:
      IOException
    • getSeriesName

      public String getSeriesName()
       Different versions of the same worker service/application are related together by having a
       shared series name.
       Out of all deployments of a series, one can be designated as the current deployment, which
       receives new workflow executions and new tasks of workflows with
       `VERSIONING_BEHAVIOR_AUTO_UPGRADE` versioning behavior.
       
      string series_name = 1;
      Specified by:
      getSeriesName in interface DeploymentOrBuilder
      Returns:
      The seriesName.
    • getSeriesNameBytes

      public com.google.protobuf.ByteString getSeriesNameBytes()
       Different versions of the same worker service/application are related together by having a
       shared series name.
       Out of all deployments of a series, one can be designated as the current deployment, which
       receives new workflow executions and new tasks of workflows with
       `VERSIONING_BEHAVIOR_AUTO_UPGRADE` versioning behavior.
       
      string series_name = 1;
      Specified by:
      getSeriesNameBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for seriesName.
    • setSeriesName

      public Deployment.Builder setSeriesName(String value)
       Different versions of the same worker service/application are related together by having a
       shared series name.
       Out of all deployments of a series, one can be designated as the current deployment, which
       receives new workflow executions and new tasks of workflows with
       `VERSIONING_BEHAVIOR_AUTO_UPGRADE` versioning behavior.
       
      string series_name = 1;
      Parameters:
      value - The seriesName to set.
      Returns:
      This builder for chaining.
    • clearSeriesName

      public Deployment.Builder clearSeriesName()
       Different versions of the same worker service/application are related together by having a
       shared series name.
       Out of all deployments of a series, one can be designated as the current deployment, which
       receives new workflow executions and new tasks of workflows with
       `VERSIONING_BEHAVIOR_AUTO_UPGRADE` versioning behavior.
       
      string series_name = 1;
      Returns:
      This builder for chaining.
    • setSeriesNameBytes

      public Deployment.Builder setSeriesNameBytes(com.google.protobuf.ByteString value)
       Different versions of the same worker service/application are related together by having a
       shared series name.
       Out of all deployments of a series, one can be designated as the current deployment, which
       receives new workflow executions and new tasks of workflows with
       `VERSIONING_BEHAVIOR_AUTO_UPGRADE` versioning behavior.
       
      string series_name = 1;
      Parameters:
      value - The bytes for seriesName to set.
      Returns:
      This builder for chaining.
    • getBuildId

      public String getBuildId()
       Build ID changes with each version of the worker when the worker program code and/or config
       changes.
       
      string build_id = 2;
      Specified by:
      getBuildId in interface DeploymentOrBuilder
      Returns:
      The buildId.
    • getBuildIdBytes

      public com.google.protobuf.ByteString getBuildIdBytes()
       Build ID changes with each version of the worker when the worker program code and/or config
       changes.
       
      string build_id = 2;
      Specified by:
      getBuildIdBytes in interface DeploymentOrBuilder
      Returns:
      The bytes for buildId.
    • setBuildId

      public Deployment.Builder setBuildId(String value)
       Build ID changes with each version of the worker when the worker program code and/or config
       changes.
       
      string build_id = 2;
      Parameters:
      value - The buildId to set.
      Returns:
      This builder for chaining.
    • clearBuildId

      public Deployment.Builder clearBuildId()
       Build ID changes with each version of the worker when the worker program code and/or config
       changes.
       
      string build_id = 2;
      Returns:
      This builder for chaining.
    • setBuildIdBytes

      public Deployment.Builder setBuildIdBytes(com.google.protobuf.ByteString value)
       Build ID changes with each version of the worker when the worker program code and/or config
       changes.
       
      string build_id = 2;
      Parameters:
      value - The bytes for buildId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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