Class WorkflowDefinition

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.sdk.v1.WorkflowDefinition
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, WorkflowDefinitionOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:WorkflowDefinition.java.pb.meta") public final class WorkflowDefinition extends com.google.protobuf.GeneratedMessageV3 implements WorkflowDefinitionOrBuilder
 (-- api-linter: core::0203::optional=disabled --)
 
Protobuf type temporal.api.sdk.v1.WorkflowDefinition
See Also:
  • Field Details

    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • QUERY_DEFINITIONS_FIELD_NUMBER

      public static final int QUERY_DEFINITIONS_FIELD_NUMBER
      See Also:
    • SIGNAL_DEFINITIONS_FIELD_NUMBER

      public static final int SIGNAL_DEFINITIONS_FIELD_NUMBER
      See Also:
    • UPDATE_DEFINITIONS_FIELD_NUMBER

      public static final int UPDATE_DEFINITIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getType

      public String getType()
       A name scoped by the task queue that maps to this workflow definition.
       If missing, this workflow is a dynamic workflow.
       
      string type = 1;
      Specified by:
      getType in interface WorkflowDefinitionOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       A name scoped by the task queue that maps to this workflow definition.
       If missing, this workflow is a dynamic workflow.
       
      string type = 1;
      Specified by:
      getTypeBytes in interface WorkflowDefinitionOrBuilder
      Returns:
      The bytes for type.
    • getQueryDefinitionsList

      public List<WorkflowInteractionDefinition> getQueryDefinitionsList()
       Query definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;
      Specified by:
      getQueryDefinitionsList in interface WorkflowDefinitionOrBuilder
    • getQueryDefinitionsOrBuilderList

      public List<? extends WorkflowInteractionDefinitionOrBuilder> getQueryDefinitionsOrBuilderList()
       Query definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;
      Specified by:
      getQueryDefinitionsOrBuilderList in interface WorkflowDefinitionOrBuilder
    • getQueryDefinitionsCount

      public int getQueryDefinitionsCount()
       Query definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;
      Specified by:
      getQueryDefinitionsCount in interface WorkflowDefinitionOrBuilder
    • getQueryDefinitions

      public WorkflowInteractionDefinition getQueryDefinitions(int index)
       Query definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;
      Specified by:
      getQueryDefinitions in interface WorkflowDefinitionOrBuilder
    • getQueryDefinitionsOrBuilder

      public WorkflowInteractionDefinitionOrBuilder getQueryDefinitionsOrBuilder(int index)
       Query definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;
      Specified by:
      getQueryDefinitionsOrBuilder in interface WorkflowDefinitionOrBuilder
    • getSignalDefinitionsList

      public List<WorkflowInteractionDefinition> getSignalDefinitionsList()
       Signal definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;
      Specified by:
      getSignalDefinitionsList in interface WorkflowDefinitionOrBuilder
    • getSignalDefinitionsOrBuilderList

      public List<? extends WorkflowInteractionDefinitionOrBuilder> getSignalDefinitionsOrBuilderList()
       Signal definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;
      Specified by:
      getSignalDefinitionsOrBuilderList in interface WorkflowDefinitionOrBuilder
    • getSignalDefinitionsCount

      public int getSignalDefinitionsCount()
       Signal definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;
      Specified by:
      getSignalDefinitionsCount in interface WorkflowDefinitionOrBuilder
    • getSignalDefinitions

      public WorkflowInteractionDefinition getSignalDefinitions(int index)
       Signal definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;
      Specified by:
      getSignalDefinitions in interface WorkflowDefinitionOrBuilder
    • getSignalDefinitionsOrBuilder

      public WorkflowInteractionDefinitionOrBuilder getSignalDefinitionsOrBuilder(int index)
       Signal definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;
      Specified by:
      getSignalDefinitionsOrBuilder in interface WorkflowDefinitionOrBuilder
    • getUpdateDefinitionsList

      public List<WorkflowInteractionDefinition> getUpdateDefinitionsList()
       Update definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;
      Specified by:
      getUpdateDefinitionsList in interface WorkflowDefinitionOrBuilder
    • getUpdateDefinitionsOrBuilderList

      public List<? extends WorkflowInteractionDefinitionOrBuilder> getUpdateDefinitionsOrBuilderList()
       Update definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;
      Specified by:
      getUpdateDefinitionsOrBuilderList in interface WorkflowDefinitionOrBuilder
    • getUpdateDefinitionsCount

      public int getUpdateDefinitionsCount()
       Update definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;
      Specified by:
      getUpdateDefinitionsCount in interface WorkflowDefinitionOrBuilder
    • getUpdateDefinitions

      public WorkflowInteractionDefinition getUpdateDefinitions(int index)
       Update definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;
      Specified by:
      getUpdateDefinitions in interface WorkflowDefinitionOrBuilder
    • getUpdateDefinitionsOrBuilder

      public WorkflowInteractionDefinitionOrBuilder getUpdateDefinitionsOrBuilder(int index)
       Update definitions, sorted by name.
       
      repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;
      Specified by:
      getUpdateDefinitionsOrBuilder in interface WorkflowDefinitionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static WorkflowDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static WorkflowDefinition parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WorkflowDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static WorkflowDefinition parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static WorkflowDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WorkflowDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static WorkflowDefinition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public WorkflowDefinition.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static WorkflowDefinition.Builder newBuilder()
    • newBuilder

      public static WorkflowDefinition.Builder newBuilder(WorkflowDefinition prototype)
    • toBuilder

      public WorkflowDefinition.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected WorkflowDefinition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static WorkflowDefinition getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<WorkflowDefinition> parser()
    • getParserForType

      public com.google.protobuf.Parser<WorkflowDefinition> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public WorkflowDefinition getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder