Class GetSystemInfoResponse.Capabilities.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<GetSystemInfoResponse.Capabilities.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<GetSystemInfoResponse.Capabilities.Builder>
      • getDefaultInstanceForType

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

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

        public GetSystemInfoResponse.Capabilities buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public GetSystemInfoResponse.Capabilities.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<GetSystemInfoResponse.Capabilities.Builder>
        Throws:
        java.io.IOException
      • setSignalAndQueryHeader

        public GetSystemInfoResponse.Capabilities.Builder setSignalAndQueryHeader​(boolean value)
         True if signal and query headers are supported.
         
        bool signal_and_query_header = 1;
        Parameters:
        value - The signalAndQueryHeader to set.
        Returns:
        This builder for chaining.
      • clearSignalAndQueryHeader

        public GetSystemInfoResponse.Capabilities.Builder clearSignalAndQueryHeader()
         True if signal and query headers are supported.
         
        bool signal_and_query_header = 1;
        Returns:
        This builder for chaining.
      • getInternalErrorDifferentiation

        public boolean getInternalErrorDifferentiation()
         True if internal errors are differentiated from other types of errors for purposes of
         retrying non-internal errors.
         When unset/false, clients retry all failures. When true, clients should only retry
         non-internal errors.
         
        bool internal_error_differentiation = 2;
        Specified by:
        getInternalErrorDifferentiation in interface GetSystemInfoResponse.CapabilitiesOrBuilder
        Returns:
        The internalErrorDifferentiation.
      • setInternalErrorDifferentiation

        public GetSystemInfoResponse.Capabilities.Builder setInternalErrorDifferentiation​(boolean value)
         True if internal errors are differentiated from other types of errors for purposes of
         retrying non-internal errors.
         When unset/false, clients retry all failures. When true, clients should only retry
         non-internal errors.
         
        bool internal_error_differentiation = 2;
        Parameters:
        value - The internalErrorDifferentiation to set.
        Returns:
        This builder for chaining.
      • clearInternalErrorDifferentiation

        public GetSystemInfoResponse.Capabilities.Builder clearInternalErrorDifferentiation()
         True if internal errors are differentiated from other types of errors for purposes of
         retrying non-internal errors.
         When unset/false, clients retry all failures. When true, clients should only retry
         non-internal errors.
         
        bool internal_error_differentiation = 2;
        Returns:
        This builder for chaining.
      • setActivityFailureIncludeHeartbeat

        public GetSystemInfoResponse.Capabilities.Builder setActivityFailureIncludeHeartbeat​(boolean value)
         True if RespondActivityTaskFailed API supports including heartbeat details
         
        bool activity_failure_include_heartbeat = 3;
        Parameters:
        value - The activityFailureIncludeHeartbeat to set.
        Returns:
        This builder for chaining.
      • clearActivityFailureIncludeHeartbeat

        public GetSystemInfoResponse.Capabilities.Builder clearActivityFailureIncludeHeartbeat()
         True if RespondActivityTaskFailed API supports including heartbeat details
         
        bool activity_failure_include_heartbeat = 3;
        Returns:
        This builder for chaining.
      • setSupportsSchedules

        public GetSystemInfoResponse.Capabilities.Builder setSupportsSchedules​(boolean value)
         Supports scheduled workflow features.
         
        bool supports_schedules = 4;
        Parameters:
        value - The supportsSchedules to set.
        Returns:
        This builder for chaining.
      • setEncodedFailureAttributes

        public GetSystemInfoResponse.Capabilities.Builder setEncodedFailureAttributes​(boolean value)
         True if server uses protos that include temporal.api.failure.v1.Failure.encoded_attributes
         
        bool encoded_failure_attributes = 5;
        Parameters:
        value - The encodedFailureAttributes to set.
        Returns:
        This builder for chaining.
      • clearEncodedFailureAttributes

        public GetSystemInfoResponse.Capabilities.Builder clearEncodedFailureAttributes()
         True if server uses protos that include temporal.api.failure.v1.Failure.encoded_attributes
         
        bool encoded_failure_attributes = 5;
        Returns:
        This builder for chaining.
      • getBuildIdBasedVersioning

        public boolean getBuildIdBasedVersioning()
         True if server supports dispatching Workflow and Activity tasks based on a worker's build_id
         (see:
         https://github.com/temporalio/proposals/blob/a123af3b559f43db16ea6dd31870bfb754c4dc5e/versioning/worker-versions.md)
         
        bool build_id_based_versioning = 6;
        Specified by:
        getBuildIdBasedVersioning in interface GetSystemInfoResponse.CapabilitiesOrBuilder
        Returns:
        The buildIdBasedVersioning.
      • setBuildIdBasedVersioning

        public GetSystemInfoResponse.Capabilities.Builder setBuildIdBasedVersioning​(boolean value)
         True if server supports dispatching Workflow and Activity tasks based on a worker's build_id
         (see:
         https://github.com/temporalio/proposals/blob/a123af3b559f43db16ea6dd31870bfb754c4dc5e/versioning/worker-versions.md)
         
        bool build_id_based_versioning = 6;
        Parameters:
        value - The buildIdBasedVersioning to set.
        Returns:
        This builder for chaining.
      • clearBuildIdBasedVersioning

        public GetSystemInfoResponse.Capabilities.Builder clearBuildIdBasedVersioning()
         True if server supports dispatching Workflow and Activity tasks based on a worker's build_id
         (see:
         https://github.com/temporalio/proposals/blob/a123af3b559f43db16ea6dd31870bfb754c4dc5e/versioning/worker-versions.md)
         
        bool build_id_based_versioning = 6;
        Returns:
        This builder for chaining.
      • setUpsertMemo

        public GetSystemInfoResponse.Capabilities.Builder setUpsertMemo​(boolean value)
         True if server supports upserting workflow memo
         
        bool upsert_memo = 7;
        Parameters:
        value - The upsertMemo to set.
        Returns:
        This builder for chaining.
      • setEagerWorkflowStart

        public GetSystemInfoResponse.Capabilities.Builder setEagerWorkflowStart​(boolean value)
         True if server supports eager workflow task dispatching for the StartWorkflowExecution API
         
        bool eager_workflow_start = 8;
        Parameters:
        value - The eagerWorkflowStart to set.
        Returns:
        This builder for chaining.
      • clearEagerWorkflowStart

        public GetSystemInfoResponse.Capabilities.Builder clearEagerWorkflowStart()
         True if server supports eager workflow task dispatching for the StartWorkflowExecution API
         
        bool eager_workflow_start = 8;
        Returns:
        This builder for chaining.
      • getSdkMetadata

        public boolean getSdkMetadata()
         True if the server knows about the sdk metadata field on WFT completions and will record
         it in history
         
        bool sdk_metadata = 9;
        Specified by:
        getSdkMetadata in interface GetSystemInfoResponse.CapabilitiesOrBuilder
        Returns:
        The sdkMetadata.
      • setSdkMetadata

        public GetSystemInfoResponse.Capabilities.Builder setSdkMetadata​(boolean value)
         True if the server knows about the sdk metadata field on WFT completions and will record
         it in history
         
        bool sdk_metadata = 9;
        Parameters:
        value - The sdkMetadata to set.
        Returns:
        This builder for chaining.
      • clearSdkMetadata

        public GetSystemInfoResponse.Capabilities.Builder clearSdkMetadata()
         True if the server knows about the sdk metadata field on WFT completions and will record
         it in history
         
        bool sdk_metadata = 9;
        Returns:
        This builder for chaining.