Class WorkflowTaskCompletedMetadata.Builder

    • Method Detail

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

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

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

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

        public WorkflowTaskCompletedMetadata.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      int index,
                                                                      java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
      • addRepeatedField

        public WorkflowTaskCompletedMetadata.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WorkflowTaskCompletedMetadata.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        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<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:
        getCoreUsedFlagsList in interface WorkflowTaskCompletedMetadataOrBuilder
        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:
        getCoreUsedFlagsCount in interface WorkflowTaskCompletedMetadataOrBuilder
        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:
        getCoreUsedFlags in interface WorkflowTaskCompletedMetadataOrBuilder
        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:
        getLangUsedFlagsList in interface WorkflowTaskCompletedMetadataOrBuilder
        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:
        getLangUsedFlagsCount in interface WorkflowTaskCompletedMetadataOrBuilder
        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:
        getLangUsedFlags in interface WorkflowTaskCompletedMetadataOrBuilder
        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.