Package io.temporal.api.sdk.v1
Class WorkflowTaskCompletedMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
- io.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WorkflowTaskCompletedMetadataOrBuilder,java.lang.Cloneable
- Enclosing class:
- WorkflowTaskCompletedMetadata
public static final class WorkflowTaskCompletedMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder> implements WorkflowTaskCompletedMetadataOrBuilder
Protobuf typetemporal.api.sdk.v1.WorkflowTaskCompletedMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowTaskCompletedMetadata.BuilderaddAllCoreUsedFlags(java.lang.Iterable<? extends java.lang.Integer> values)Internal flags used by the core SDK.WorkflowTaskCompletedMetadata.BuilderaddAllLangUsedFlags(java.lang.Iterable<? extends java.lang.Integer> values)Flags used by the SDK lang.WorkflowTaskCompletedMetadata.BuilderaddCoreUsedFlags(int value)Internal flags used by the core SDK.WorkflowTaskCompletedMetadata.BuilderaddLangUsedFlags(int value)Flags used by the SDK lang.WorkflowTaskCompletedMetadata.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowTaskCompletedMetadatabuild()WorkflowTaskCompletedMetadatabuildPartial()WorkflowTaskCompletedMetadata.Builderclear()WorkflowTaskCompletedMetadata.BuilderclearCoreUsedFlags()Internal flags used by the core SDK.WorkflowTaskCompletedMetadata.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WorkflowTaskCompletedMetadata.BuilderclearLangUsedFlags()Flags used by the SDK lang.WorkflowTaskCompletedMetadata.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WorkflowTaskCompletedMetadata.BuilderclearSdkName()Name of the SDK that processed the task.WorkflowTaskCompletedMetadata.BuilderclearSdkVersion()Version of the SDK that processed the task.WorkflowTaskCompletedMetadata.Builderclone()intgetCoreUsedFlags(int index)Internal flags used by the core SDK.intgetCoreUsedFlagsCount()Internal flags used by the core SDK.java.util.List<java.lang.Integer>getCoreUsedFlagsList()Internal flags used by the core SDK.WorkflowTaskCompletedMetadatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetLangUsedFlags(int index)Flags used by the SDK lang.intgetLangUsedFlagsCount()Flags used by the SDK lang.java.util.List<java.lang.Integer>getLangUsedFlagsList()Flags used by the SDK lang.java.lang.StringgetSdkName()Name of the SDK that processed the task.com.google.protobuf.ByteStringgetSdkNameBytes()Name of the SDK that processed the task.java.lang.StringgetSdkVersion()Version of the SDK that processed the task.com.google.protobuf.ByteStringgetSdkVersionBytes()Version of the SDK that processed the task.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WorkflowTaskCompletedMetadata.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WorkflowTaskCompletedMetadata.BuildermergeFrom(com.google.protobuf.Message other)WorkflowTaskCompletedMetadata.BuildermergeFrom(WorkflowTaskCompletedMetadata other)WorkflowTaskCompletedMetadata.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WorkflowTaskCompletedMetadata.BuildersetCoreUsedFlags(int index, int value)Internal flags used by the core SDK.WorkflowTaskCompletedMetadata.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)WorkflowTaskCompletedMetadata.BuildersetLangUsedFlags(int index, int value)Flags used by the SDK lang.WorkflowTaskCompletedMetadata.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)WorkflowTaskCompletedMetadata.BuildersetSdkName(java.lang.String value)Name of the SDK that processed the task.WorkflowTaskCompletedMetadata.BuildersetSdkNameBytes(com.google.protobuf.ByteString value)Name of the SDK that processed the task.WorkflowTaskCompletedMetadata.BuildersetSdkVersion(java.lang.String value)Version of the SDK that processed the task.WorkflowTaskCompletedMetadata.BuildersetSdkVersionBytes(com.google.protobuf.ByteString value)Version of the SDK that processed the task.WorkflowTaskCompletedMetadata.BuildersetUnknownFields(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, internalGetMutableMapField, 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
-
-
-
-
Method Detail
-
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.Builder<WorkflowTaskCompletedMetadata.Builder>
-
clear
public WorkflowTaskCompletedMetadata.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
getDefaultInstanceForType
public WorkflowTaskCompletedMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WorkflowTaskCompletedMetadata build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WorkflowTaskCompletedMetadata buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WorkflowTaskCompletedMetadata.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
setField
public WorkflowTaskCompletedMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
clearField
public WorkflowTaskCompletedMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
clearOneof
public WorkflowTaskCompletedMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
setRepeatedField
public WorkflowTaskCompletedMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
addRepeatedField
public WorkflowTaskCompletedMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
mergeFrom
public WorkflowTaskCompletedMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowTaskCompletedMetadata.Builder>
-
mergeFrom
public WorkflowTaskCompletedMetadata.Builder mergeFrom(WorkflowTaskCompletedMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
mergeFrom
public WorkflowTaskCompletedMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WorkflowTaskCompletedMetadata.Builder>- Throws:
java.io.IOException
-
getCoreUsedFlagsList
public java.util.List<java.lang.Integer> getCoreUsedFlagsList()
Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: During replay: * If a flag is not recognized (value is too high or not defined), it must fail the workflow task. * If a flag is recognized, it is stored in a set of used flags for the run. Code checks for that flag during and after this WFT are allowed to assume that the flag is present. * If a code check for a flag does not find the flag in the set of used flags, it must take the branch corresponding to the absence of that flag. During non-replay execution of new WFTs: * The SDK is free to use all flags it knows about. It must record any newly-used (IE: not previously recorded) flags when completing the WFT. SDKs which are too old to even know about this field at all are considered to produce undefined behavior if they replay workflows which used this mechanism. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 core_used_flags = 1;- Specified by:
getCoreUsedFlagsListin interfaceWorkflowTaskCompletedMetadataOrBuilder- Returns:
- A list containing the coreUsedFlags.
-
getCoreUsedFlagsCount
public int getCoreUsedFlagsCount()
Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: During replay: * If a flag is not recognized (value is too high or not defined), it must fail the workflow task. * If a flag is recognized, it is stored in a set of used flags for the run. Code checks for that flag during and after this WFT are allowed to assume that the flag is present. * If a code check for a flag does not find the flag in the set of used flags, it must take the branch corresponding to the absence of that flag. During non-replay execution of new WFTs: * The SDK is free to use all flags it knows about. It must record any newly-used (IE: not previously recorded) flags when completing the WFT. SDKs which are too old to even know about this field at all are considered to produce undefined behavior if they replay workflows which used this mechanism. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 core_used_flags = 1;- Specified by:
getCoreUsedFlagsCountin interfaceWorkflowTaskCompletedMetadataOrBuilder- Returns:
- The count of coreUsedFlags.
-
getCoreUsedFlags
public int getCoreUsedFlags(int index)
Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: During replay: * If a flag is not recognized (value is too high or not defined), it must fail the workflow task. * If a flag is recognized, it is stored in a set of used flags for the run. Code checks for that flag during and after this WFT are allowed to assume that the flag is present. * If a code check for a flag does not find the flag in the set of used flags, it must take the branch corresponding to the absence of that flag. During non-replay execution of new WFTs: * The SDK is free to use all flags it knows about. It must record any newly-used (IE: not previously recorded) flags when completing the WFT. SDKs which are too old to even know about this field at all are considered to produce undefined behavior if they replay workflows which used this mechanism. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 core_used_flags = 1;- Specified by:
getCoreUsedFlagsin interfaceWorkflowTaskCompletedMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The coreUsedFlags at the given index.
-
setCoreUsedFlags
public WorkflowTaskCompletedMetadata.Builder setCoreUsedFlags(int index, int value)
Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: During replay: * If a flag is not recognized (value is too high or not defined), it must fail the workflow task. * If a flag is recognized, it is stored in a set of used flags for the run. Code checks for that flag during and after this WFT are allowed to assume that the flag is present. * If a code check for a flag does not find the flag in the set of used flags, it must take the branch corresponding to the absence of that flag. During non-replay execution of new WFTs: * The SDK is free to use all flags it knows about. It must record any newly-used (IE: not previously recorded) flags when completing the WFT. SDKs which are too old to even know about this field at all are considered to produce undefined behavior if they replay workflows which used this mechanism. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 core_used_flags = 1;- Parameters:
index- The index to set the value at.value- The coreUsedFlags to set.- Returns:
- This builder for chaining.
-
addCoreUsedFlags
public WorkflowTaskCompletedMetadata.Builder addCoreUsedFlags(int value)
Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: During replay: * If a flag is not recognized (value is too high or not defined), it must fail the workflow task. * If a flag is recognized, it is stored in a set of used flags for the run. Code checks for that flag during and after this WFT are allowed to assume that the flag is present. * If a code check for a flag does not find the flag in the set of used flags, it must take the branch corresponding to the absence of that flag. During non-replay execution of new WFTs: * The SDK is free to use all flags it knows about. It must record any newly-used (IE: not previously recorded) flags when completing the WFT. SDKs which are too old to even know about this field at all are considered to produce undefined behavior if they replay workflows which used this mechanism. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 core_used_flags = 1;- Parameters:
value- The coreUsedFlags to add.- Returns:
- This builder for chaining.
-
addAllCoreUsedFlags
public WorkflowTaskCompletedMetadata.Builder addAllCoreUsedFlags(java.lang.Iterable<? extends java.lang.Integer> values)
Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: During replay: * If a flag is not recognized (value is too high or not defined), it must fail the workflow task. * If a flag is recognized, it is stored in a set of used flags for the run. Code checks for that flag during and after this WFT are allowed to assume that the flag is present. * If a code check for a flag does not find the flag in the set of used flags, it must take the branch corresponding to the absence of that flag. During non-replay execution of new WFTs: * The SDK is free to use all flags it knows about. It must record any newly-used (IE: not previously recorded) flags when completing the WFT. SDKs which are too old to even know about this field at all are considered to produce undefined behavior if they replay workflows which used this mechanism. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 core_used_flags = 1;- Parameters:
values- The coreUsedFlags to add.- Returns:
- This builder for chaining.
-
clearCoreUsedFlags
public WorkflowTaskCompletedMetadata.Builder clearCoreUsedFlags()
Internal flags used by the core SDK. SDKs using flags must comply with the following behavior: During replay: * If a flag is not recognized (value is too high or not defined), it must fail the workflow task. * If a flag is recognized, it is stored in a set of used flags for the run. Code checks for that flag during and after this WFT are allowed to assume that the flag is present. * If a code check for a flag does not find the flag in the set of used flags, it must take the branch corresponding to the absence of that flag. During non-replay execution of new WFTs: * The SDK is free to use all flags it knows about. It must record any newly-used (IE: not previously recorded) flags when completing the WFT. SDKs which are too old to even know about this field at all are considered to produce undefined behavior if they replay workflows which used this mechanism. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 core_used_flags = 1;- Returns:
- This builder for chaining.
-
getLangUsedFlagsList
public java.util.List<java.lang.Integer> getLangUsedFlagsList()
Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages here as processing a workflow with a different language than the one which authored it is already undefined behavior. See `core_used_patches` for more. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 lang_used_flags = 2;- Specified by:
getLangUsedFlagsListin interfaceWorkflowTaskCompletedMetadataOrBuilder- Returns:
- A list containing the langUsedFlags.
-
getLangUsedFlagsCount
public int getLangUsedFlagsCount()
Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages here as processing a workflow with a different language than the one which authored it is already undefined behavior. See `core_used_patches` for more. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 lang_used_flags = 2;- Specified by:
getLangUsedFlagsCountin interfaceWorkflowTaskCompletedMetadataOrBuilder- Returns:
- The count of langUsedFlags.
-
getLangUsedFlags
public int getLangUsedFlags(int index)
Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages here as processing a workflow with a different language than the one which authored it is already undefined behavior. See `core_used_patches` for more. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 lang_used_flags = 2;- Specified by:
getLangUsedFlagsin interfaceWorkflowTaskCompletedMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The langUsedFlags at the given index.
-
setLangUsedFlags
public WorkflowTaskCompletedMetadata.Builder setLangUsedFlags(int index, int value)
Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages here as processing a workflow with a different language than the one which authored it is already undefined behavior. See `core_used_patches` for more. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 lang_used_flags = 2;- Parameters:
index- The index to set the value at.value- The langUsedFlags to set.- Returns:
- This builder for chaining.
-
addLangUsedFlags
public WorkflowTaskCompletedMetadata.Builder addLangUsedFlags(int value)
Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages here as processing a workflow with a different language than the one which authored it is already undefined behavior. See `core_used_patches` for more. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 lang_used_flags = 2;- Parameters:
value- The langUsedFlags to add.- Returns:
- This builder for chaining.
-
addAllLangUsedFlags
public WorkflowTaskCompletedMetadata.Builder addAllLangUsedFlags(java.lang.Iterable<? extends java.lang.Integer> values)
Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages here as processing a workflow with a different language than the one which authored it is already undefined behavior. See `core_used_patches` for more. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 lang_used_flags = 2;- Parameters:
values- The langUsedFlags to add.- Returns:
- This builder for chaining.
-
clearLangUsedFlags
public WorkflowTaskCompletedMetadata.Builder clearLangUsedFlags()
Flags used by the SDK lang. No attempt is made to distinguish between different SDK languages here as processing a workflow with a different language than the one which authored it is already undefined behavior. See `core_used_patches` for more. (-- api-linter: core::0141::forbidden-types=disabled aip.dev/not-precedent: These really shouldn't have negative values. --)repeated uint32 lang_used_flags = 2;- Returns:
- This builder for chaining.
-
getSdkName
public java.lang.String getSdkName()
Name of the SDK that processed the task. This is usually something like "temporal-go" and is usually the same as client-name gRPC header. This should only be set if its value changed since the last time recorded on the workflow (or be set on the first task). (-- api-linter: core::0122::name-suffix=disabled aip.dev/not-precedent: We're ok with a name suffix here. --)string sdk_name = 3;- Specified by:
getSdkNamein interfaceWorkflowTaskCompletedMetadataOrBuilder- Returns:
- The sdkName.
-
getSdkNameBytes
public com.google.protobuf.ByteString getSdkNameBytes()
Name of the SDK that processed the task. This is usually something like "temporal-go" and is usually the same as client-name gRPC header. This should only be set if its value changed since the last time recorded on the workflow (or be set on the first task). (-- api-linter: core::0122::name-suffix=disabled aip.dev/not-precedent: We're ok with a name suffix here. --)string sdk_name = 3;- Specified by:
getSdkNameBytesin interfaceWorkflowTaskCompletedMetadataOrBuilder- Returns:
- The bytes for sdkName.
-
setSdkName
public WorkflowTaskCompletedMetadata.Builder setSdkName(java.lang.String value)
Name of the SDK that processed the task. This is usually something like "temporal-go" and is usually the same as client-name gRPC header. This should only be set if its value changed since the last time recorded on the workflow (or be set on the first task). (-- api-linter: core::0122::name-suffix=disabled aip.dev/not-precedent: We're ok with a name suffix here. --)string sdk_name = 3;- Parameters:
value- The sdkName to set.- Returns:
- This builder for chaining.
-
clearSdkName
public WorkflowTaskCompletedMetadata.Builder clearSdkName()
Name of the SDK that processed the task. This is usually something like "temporal-go" and is usually the same as client-name gRPC header. This should only be set if its value changed since the last time recorded on the workflow (or be set on the first task). (-- api-linter: core::0122::name-suffix=disabled aip.dev/not-precedent: We're ok with a name suffix here. --)string sdk_name = 3;- Returns:
- This builder for chaining.
-
setSdkNameBytes
public WorkflowTaskCompletedMetadata.Builder setSdkNameBytes(com.google.protobuf.ByteString value)
Name of the SDK that processed the task. This is usually something like "temporal-go" and is usually the same as client-name gRPC header. This should only be set if its value changed since the last time recorded on the workflow (or be set on the first task). (-- api-linter: core::0122::name-suffix=disabled aip.dev/not-precedent: We're ok with a name suffix here. --)string sdk_name = 3;- Parameters:
value- The bytes for sdkName to set.- Returns:
- This builder for chaining.
-
getSdkVersion
public java.lang.String getSdkVersion()
Version of the SDK that processed the task. This is usually something like "1.20.0" and is usually the same as client-version gRPC header. This should only be set if its value changed since the last time recorded on the workflow (or be set on the first task).
string sdk_version = 4;- Specified by:
getSdkVersionin interfaceWorkflowTaskCompletedMetadataOrBuilder- Returns:
- The sdkVersion.
-
getSdkVersionBytes
public com.google.protobuf.ByteString getSdkVersionBytes()
Version of the SDK that processed the task. This is usually something like "1.20.0" and is usually the same as client-version gRPC header. This should only be set if its value changed since the last time recorded on the workflow (or be set on the first task).
string sdk_version = 4;- Specified by:
getSdkVersionBytesin interfaceWorkflowTaskCompletedMetadataOrBuilder- Returns:
- The bytes for sdkVersion.
-
setSdkVersion
public WorkflowTaskCompletedMetadata.Builder setSdkVersion(java.lang.String value)
Version of the SDK that processed the task. This is usually something like "1.20.0" and is usually the same as client-version gRPC header. This should only be set if its value changed since the last time recorded on the workflow (or be set on the first task).
string sdk_version = 4;- Parameters:
value- The sdkVersion to set.- Returns:
- This builder for chaining.
-
clearSdkVersion
public WorkflowTaskCompletedMetadata.Builder clearSdkVersion()
Version of the SDK that processed the task. This is usually something like "1.20.0" and is usually the same as client-version gRPC header. This should only be set if its value changed since the last time recorded on the workflow (or be set on the first task).
string sdk_version = 4;- Returns:
- This builder for chaining.
-
setSdkVersionBytes
public WorkflowTaskCompletedMetadata.Builder setSdkVersionBytes(com.google.protobuf.ByteString value)
Version of the SDK that processed the task. This is usually something like "1.20.0" and is usually the same as client-version gRPC header. This should only be set if its value changed since the last time recorded on the workflow (or be set on the first task).
string sdk_version = 4;- Parameters:
value- The bytes for sdkVersion to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final WorkflowTaskCompletedMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
mergeUnknownFields
public final WorkflowTaskCompletedMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
-
-