Class GetSystemInfoResponse.Capabilities.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetSystemInfoResponse.Capabilities.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
io.temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GetSystemInfoResponse.CapabilitiesOrBuilder, Cloneable
Enclosing class:
GetSystemInfoResponse.Capabilities

public static final class GetSystemInfoResponse.Capabilities.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder> implements GetSystemInfoResponse.CapabilitiesOrBuilder
 System capability details.
 
Protobuf type temporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities
  • Method Details

    • 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>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear 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

      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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
    • setField

      public GetSystemInfoResponse.Capabilities.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
    • clearField

      public GetSystemInfoResponse.Capabilities.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
    • clearOneof

      public GetSystemInfoResponse.Capabilities.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
    • setRepeatedField

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

      public GetSystemInfoResponse.Capabilities.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
    • mergeFrom

      public GetSystemInfoResponse.Capabilities.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetSystemInfoResponse.Capabilities.Builder>
    • mergeFrom

    • 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 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:
      IOException
    • getSignalAndQueryHeader

      public boolean getSignalAndQueryHeader()
       True if signal and query headers are supported.
       
      bool signal_and_query_header = 1;
      Specified by:
      getSignalAndQueryHeader in interface GetSystemInfoResponse.CapabilitiesOrBuilder
      Returns:
      The signalAndQueryHeader.
    • 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.
    • getActivityFailureIncludeHeartbeat

      public boolean getActivityFailureIncludeHeartbeat()
       True if RespondActivityTaskFailed API supports including heartbeat details
       
      bool activity_failure_include_heartbeat = 3;
      Specified by:
      getActivityFailureIncludeHeartbeat in interface GetSystemInfoResponse.CapabilitiesOrBuilder
      Returns:
      The activityFailureIncludeHeartbeat.
    • 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.
    • getSupportsSchedules

      public boolean getSupportsSchedules()
       Supports scheduled workflow features.
       
      bool supports_schedules = 4;
      Specified by:
      getSupportsSchedules in interface GetSystemInfoResponse.CapabilitiesOrBuilder
      Returns:
      The supportsSchedules.
    • 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.
    • clearSupportsSchedules

      public GetSystemInfoResponse.Capabilities.Builder clearSupportsSchedules()
       Supports scheduled workflow features.
       
      bool supports_schedules = 4;
      Returns:
      This builder for chaining.
    • getEncodedFailureAttributes

      public boolean getEncodedFailureAttributes()
       True if server uses protos that include temporal.api.failure.v1.Failure.encoded_attributes
       
      bool encoded_failure_attributes = 5;
      Specified by:
      getEncodedFailureAttributes in interface GetSystemInfoResponse.CapabilitiesOrBuilder
      Returns:
      The encodedFailureAttributes.
    • 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.
    • getUpsertMemo

      public boolean getUpsertMemo()
       True if server supports upserting workflow memo
       
      bool upsert_memo = 7;
      Specified by:
      getUpsertMemo in interface GetSystemInfoResponse.CapabilitiesOrBuilder
      Returns:
      The upsertMemo.
    • 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.
    • clearUpsertMemo

       True if server supports upserting workflow memo
       
      bool upsert_memo = 7;
      Returns:
      This builder for chaining.
    • getEagerWorkflowStart

      public boolean getEagerWorkflowStart()
       True if server supports eager workflow task dispatching for the StartWorkflowExecution API
       
      bool eager_workflow_start = 8;
      Specified by:
      getEagerWorkflowStart in interface GetSystemInfoResponse.CapabilitiesOrBuilder
      Returns:
      The eagerWorkflowStart.
    • 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.
    • getCountGroupByExecutionStatus

      public boolean getCountGroupByExecutionStatus()
       True if the server supports count group by execution status
       (-- api-linter: core::0140::prepositions=disabled --)
       
      bool count_group_by_execution_status = 10;
      Specified by:
      getCountGroupByExecutionStatus in interface GetSystemInfoResponse.CapabilitiesOrBuilder
      Returns:
      The countGroupByExecutionStatus.
    • setCountGroupByExecutionStatus

      public GetSystemInfoResponse.Capabilities.Builder setCountGroupByExecutionStatus(boolean value)
       True if the server supports count group by execution status
       (-- api-linter: core::0140::prepositions=disabled --)
       
      bool count_group_by_execution_status = 10;
      Parameters:
      value - The countGroupByExecutionStatus to set.
      Returns:
      This builder for chaining.
    • clearCountGroupByExecutionStatus

      public GetSystemInfoResponse.Capabilities.Builder clearCountGroupByExecutionStatus()
       True if the server supports count group by execution status
       (-- api-linter: core::0140::prepositions=disabled --)
       
      bool count_group_by_execution_status = 10;
      Returns:
      This builder for chaining.
    • getNexus

      public boolean getNexus()
       True if the server supports Nexus operations.
       This flag is dependent both on server version and for Nexus to be enabled via server configuration.
       
      bool nexus = 11;
      Specified by:
      getNexus in interface GetSystemInfoResponse.CapabilitiesOrBuilder
      Returns:
      The nexus.
    • setNexus

      public GetSystemInfoResponse.Capabilities.Builder setNexus(boolean value)
       True if the server supports Nexus operations.
       This flag is dependent both on server version and for Nexus to be enabled via server configuration.
       
      bool nexus = 11;
      Parameters:
      value - The nexus to set.
      Returns:
      This builder for chaining.
    • clearNexus

       True if the server supports Nexus operations.
       This flag is dependent both on server version and for Nexus to be enabled via server configuration.
       
      bool nexus = 11;
      Returns:
      This builder for chaining.
    • getServerScaledDeployments

      public boolean getServerScaledDeployments()
       True if the server supports server-scaled deployments.
       This flag is dependent both on server version and for server-scaled deployments
       to be enabled via server configuration.
       
      bool server_scaled_deployments = 12;
      Specified by:
      getServerScaledDeployments in interface GetSystemInfoResponse.CapabilitiesOrBuilder
      Returns:
      The serverScaledDeployments.
    • setServerScaledDeployments

      public GetSystemInfoResponse.Capabilities.Builder setServerScaledDeployments(boolean value)
       True if the server supports server-scaled deployments.
       This flag is dependent both on server version and for server-scaled deployments
       to be enabled via server configuration.
       
      bool server_scaled_deployments = 12;
      Parameters:
      value - The serverScaledDeployments to set.
      Returns:
      This builder for chaining.
    • clearServerScaledDeployments

      public GetSystemInfoResponse.Capabilities.Builder clearServerScaledDeployments()
       True if the server supports server-scaled deployments.
       This flag is dependent both on server version and for server-scaled deployments
       to be enabled via server configuration.
       
      bool server_scaled_deployments = 12;
      Returns:
      This builder for chaining.
    • getServerScaledProviderCloudRun

      public boolean getServerScaledProviderCloudRun()
       True if the server supports the Cloud Run compute provider for
       server-scaled deployments. Dependent on server version and the
       provider being enabled via server configuration.
       
      bool server_scaled_provider_cloud_run = 13;
      Specified by:
      getServerScaledProviderCloudRun in interface GetSystemInfoResponse.CapabilitiesOrBuilder
      Returns:
      The serverScaledProviderCloudRun.
    • setServerScaledProviderCloudRun

      public GetSystemInfoResponse.Capabilities.Builder setServerScaledProviderCloudRun(boolean value)
       True if the server supports the Cloud Run compute provider for
       server-scaled deployments. Dependent on server version and the
       provider being enabled via server configuration.
       
      bool server_scaled_provider_cloud_run = 13;
      Parameters:
      value - The serverScaledProviderCloudRun to set.
      Returns:
      This builder for chaining.
    • clearServerScaledProviderCloudRun

      public GetSystemInfoResponse.Capabilities.Builder clearServerScaledProviderCloudRun()
       True if the server supports the Cloud Run compute provider for
       server-scaled deployments. Dependent on server version and the
       provider being enabled via server configuration.
       
      bool server_scaled_provider_cloud_run = 13;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final GetSystemInfoResponse.Capabilities.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
    • mergeUnknownFields

      public final GetSystemInfoResponse.Capabilities.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>