Package io.temporal.api.sdk.v1
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,java.io.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 typetemporal.api.sdk.v1.WorkflowDefinition- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowDefinition.Builder(-- api-linter: core::0203::optional=disabled --)-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intQUERY_DEFINITIONS_FIELD_NUMBERstatic intSIGNAL_DEFINITIONS_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intUPDATE_DEFINITIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static WorkflowDefinitiongetDefaultInstance()WorkflowDefinitiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<WorkflowDefinition>getParserForType()WorkflowInteractionDefinitiongetQueryDefinitions(int index)repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;intgetQueryDefinitionsCount()repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;java.util.List<WorkflowInteractionDefinition>getQueryDefinitionsList()repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;WorkflowInteractionDefinitionOrBuildergetQueryDefinitionsOrBuilder(int index)repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;java.util.List<? extends WorkflowInteractionDefinitionOrBuilder>getQueryDefinitionsOrBuilderList()repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;intgetSerializedSize()WorkflowInteractionDefinitiongetSignalDefinitions(int index)repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;intgetSignalDefinitionsCount()repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;java.util.List<WorkflowInteractionDefinition>getSignalDefinitionsList()repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;WorkflowInteractionDefinitionOrBuildergetSignalDefinitionsOrBuilder(int index)repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;java.util.List<? extends WorkflowInteractionDefinitionOrBuilder>getSignalDefinitionsOrBuilderList()repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;java.lang.StringgetType()A name scoped by the task queue that maps to this workflow definition.com.google.protobuf.ByteStringgetTypeBytes()A name scoped by the task queue that maps to this workflow definition.com.google.protobuf.UnknownFieldSetgetUnknownFields()WorkflowInteractionDefinitiongetUpdateDefinitions(int index)repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;intgetUpdateDefinitionsCount()repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;java.util.List<WorkflowInteractionDefinition>getUpdateDefinitionsList()repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;WorkflowInteractionDefinitionOrBuildergetUpdateDefinitionsOrBuilder(int index)repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;java.util.List<? extends WorkflowInteractionDefinitionOrBuilder>getUpdateDefinitionsOrBuilderList()repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static WorkflowDefinition.BuildernewBuilder()static WorkflowDefinition.BuildernewBuilder(WorkflowDefinition prototype)WorkflowDefinition.BuildernewBuilderForType()protected WorkflowDefinition.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static WorkflowDefinitionparseDelimitedFrom(java.io.InputStream input)static WorkflowDefinitionparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkflowDefinitionparseFrom(byte[] data)static WorkflowDefinitionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkflowDefinitionparseFrom(com.google.protobuf.ByteString data)static WorkflowDefinitionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkflowDefinitionparseFrom(com.google.protobuf.CodedInputStream input)static WorkflowDefinitionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkflowDefinitionparseFrom(java.io.InputStream input)static WorkflowDefinitionparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WorkflowDefinitionparseFrom(java.nio.ByteBuffer data)static WorkflowDefinitionparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<WorkflowDefinition>parser()WorkflowDefinition.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_DEFINITIONS_FIELD_NUMBER
public static final int QUERY_DEFINITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SIGNAL_DEFINITIONS_FIELD_NUMBER
public static final int SIGNAL_DEFINITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_DEFINITIONS_FIELD_NUMBER
public static final int UPDATE_DEFINITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getType
public java.lang.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:
getTypein interfaceWorkflowDefinitionOrBuilder- 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:
getTypeBytesin interfaceWorkflowDefinitionOrBuilder- Returns:
- The bytes for type.
-
getQueryDefinitionsList
public java.util.List<WorkflowInteractionDefinition> getQueryDefinitionsList()
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;- Specified by:
getQueryDefinitionsListin interfaceWorkflowDefinitionOrBuilder
-
getQueryDefinitionsOrBuilderList
public java.util.List<? extends WorkflowInteractionDefinitionOrBuilder> getQueryDefinitionsOrBuilderList()
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;- Specified by:
getQueryDefinitionsOrBuilderListin interfaceWorkflowDefinitionOrBuilder
-
getQueryDefinitionsCount
public int getQueryDefinitionsCount()
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;- Specified by:
getQueryDefinitionsCountin interfaceWorkflowDefinitionOrBuilder
-
getQueryDefinitions
public WorkflowInteractionDefinition getQueryDefinitions(int index)
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;- Specified by:
getQueryDefinitionsin interfaceWorkflowDefinitionOrBuilder
-
getQueryDefinitionsOrBuilder
public WorkflowInteractionDefinitionOrBuilder getQueryDefinitionsOrBuilder(int index)
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition query_definitions = 2;- Specified by:
getQueryDefinitionsOrBuilderin interfaceWorkflowDefinitionOrBuilder
-
getSignalDefinitionsList
public java.util.List<WorkflowInteractionDefinition> getSignalDefinitionsList()
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;- Specified by:
getSignalDefinitionsListin interfaceWorkflowDefinitionOrBuilder
-
getSignalDefinitionsOrBuilderList
public java.util.List<? extends WorkflowInteractionDefinitionOrBuilder> getSignalDefinitionsOrBuilderList()
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;- Specified by:
getSignalDefinitionsOrBuilderListin interfaceWorkflowDefinitionOrBuilder
-
getSignalDefinitionsCount
public int getSignalDefinitionsCount()
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;- Specified by:
getSignalDefinitionsCountin interfaceWorkflowDefinitionOrBuilder
-
getSignalDefinitions
public WorkflowInteractionDefinition getSignalDefinitions(int index)
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;- Specified by:
getSignalDefinitionsin interfaceWorkflowDefinitionOrBuilder
-
getSignalDefinitionsOrBuilder
public WorkflowInteractionDefinitionOrBuilder getSignalDefinitionsOrBuilder(int index)
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition signal_definitions = 3;- Specified by:
getSignalDefinitionsOrBuilderin interfaceWorkflowDefinitionOrBuilder
-
getUpdateDefinitionsList
public java.util.List<WorkflowInteractionDefinition> getUpdateDefinitionsList()
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;- Specified by:
getUpdateDefinitionsListin interfaceWorkflowDefinitionOrBuilder
-
getUpdateDefinitionsOrBuilderList
public java.util.List<? extends WorkflowInteractionDefinitionOrBuilder> getUpdateDefinitionsOrBuilderList()
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;- Specified by:
getUpdateDefinitionsOrBuilderListin interfaceWorkflowDefinitionOrBuilder
-
getUpdateDefinitionsCount
public int getUpdateDefinitionsCount()
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;- Specified by:
getUpdateDefinitionsCountin interfaceWorkflowDefinitionOrBuilder
-
getUpdateDefinitions
public WorkflowInteractionDefinition getUpdateDefinitions(int index)
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;- Specified by:
getUpdateDefinitionsin interfaceWorkflowDefinitionOrBuilder
-
getUpdateDefinitionsOrBuilder
public WorkflowInteractionDefinitionOrBuilder getUpdateDefinitionsOrBuilder(int index)
repeated .temporal.api.sdk.v1.WorkflowInteractionDefinition update_definitions = 4;- Specified by:
getUpdateDefinitionsOrBuilderin interfaceWorkflowDefinitionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static WorkflowDefinition parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WorkflowDefinition parseFrom(java.nio.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(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkflowDefinition parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WorkflowDefinition parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static WorkflowDefinition parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkflowDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static WorkflowDefinition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public WorkflowDefinition.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static WorkflowDefinition.Builder newBuilder()
-
newBuilder
public static WorkflowDefinition.Builder newBuilder(WorkflowDefinition prototype)
-
toBuilder
public WorkflowDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WorkflowDefinition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public WorkflowDefinition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-