Class GetSystemInfoResponse.Capabilities.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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
,java.lang.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 typetemporal.api.workflowservice.v1.GetSystemInfoResponse.Capabilities
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSystemInfoResponse.Capabilities.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GetSystemInfoResponse.Capabilities
build()
GetSystemInfoResponse.Capabilities
buildPartial()
GetSystemInfoResponse.Capabilities.Builder
clear()
GetSystemInfoResponse.Capabilities.Builder
clearActivityFailureIncludeHeartbeat()
True if RespondActivityTaskFailed API supports including heartbeat detailsGetSystemInfoResponse.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)GetSystemInfoResponse.Capabilities.Builder
clearEagerWorkflowStart()
True if server supports eager workflow task dispatching for the StartWorkflowExecution APIGetSystemInfoResponse.Capabilities.Builder
clearEncodedFailureAttributes()
True if server uses protos that include temporal.api.failure.v1.Failure.encoded_attributesGetSystemInfoResponse.Capabilities.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GetSystemInfoResponse.Capabilities.Builder
clearInternalErrorDifferentiation()
True if internal errors are differentiated from other types of errors for purposes of retrying non-internal errors.GetSystemInfoResponse.Capabilities.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GetSystemInfoResponse.Capabilities.Builder
clearSdkMetadata()
True if the server knows about the sdk metadata field on WFT completions and will record it in historyGetSystemInfoResponse.Capabilities.Builder
clearSignalAndQueryHeader()
True if signal and query headers are supported.GetSystemInfoResponse.Capabilities.Builder
clearSupportsSchedules()
Supports scheduled workflow features.GetSystemInfoResponse.Capabilities.Builder
clearUpsertMemo()
True if server supports upserting workflow memoGetSystemInfoResponse.Capabilities.Builder
clone()
boolean
getActivityFailureIncludeHeartbeat()
True if RespondActivityTaskFailed API supports including heartbeat detailsboolean
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)GetSystemInfoResponse.Capabilities
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getEagerWorkflowStart()
True if server supports eager workflow task dispatching for the StartWorkflowExecution APIboolean
getEncodedFailureAttributes()
True if server uses protos that include temporal.api.failure.v1.Failure.encoded_attributesboolean
getInternalErrorDifferentiation()
True if internal errors are differentiated from other types of errors for purposes of retrying non-internal errors.boolean
getSdkMetadata()
True if the server knows about the sdk metadata field on WFT completions and will record it in historyboolean
getSignalAndQueryHeader()
True if signal and query headers are supported.boolean
getSupportsSchedules()
Supports scheduled workflow features.boolean
getUpsertMemo()
True if server supports upserting workflow memoprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GetSystemInfoResponse.Capabilities.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GetSystemInfoResponse.Capabilities.Builder
mergeFrom(com.google.protobuf.Message other)
GetSystemInfoResponse.Capabilities.Builder
mergeFrom(GetSystemInfoResponse.Capabilities other)
GetSystemInfoResponse.Capabilities.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetSystemInfoResponse.Capabilities.Builder
setActivityFailureIncludeHeartbeat(boolean value)
True if RespondActivityTaskFailed API supports including heartbeat detailsGetSystemInfoResponse.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)GetSystemInfoResponse.Capabilities.Builder
setEagerWorkflowStart(boolean value)
True if server supports eager workflow task dispatching for the StartWorkflowExecution APIGetSystemInfoResponse.Capabilities.Builder
setEncodedFailureAttributes(boolean value)
True if server uses protos that include temporal.api.failure.v1.Failure.encoded_attributesGetSystemInfoResponse.Capabilities.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
GetSystemInfoResponse.Capabilities.Builder
setInternalErrorDifferentiation(boolean value)
True if internal errors are differentiated from other types of errors for purposes of retrying non-internal errors.GetSystemInfoResponse.Capabilities.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
GetSystemInfoResponse.Capabilities.Builder
setSdkMetadata(boolean value)
True if the server knows about the sdk metadata field on WFT completions and will record it in historyGetSystemInfoResponse.Capabilities.Builder
setSignalAndQueryHeader(boolean value)
True if signal and query headers are supported.GetSystemInfoResponse.Capabilities.Builder
setSupportsSchedules(boolean value)
Supports scheduled workflow features.GetSystemInfoResponse.Capabilities.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetSystemInfoResponse.Capabilities.Builder
setUpsertMemo(boolean value)
True if server supports upserting workflow memo-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
clear
public GetSystemInfoResponse.Capabilities.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
getDefaultInstanceForType
public GetSystemInfoResponse.Capabilities getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetSystemInfoResponse.Capabilities build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetSystemInfoResponse.Capabilities buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetSystemInfoResponse.Capabilities.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
setField
public GetSystemInfoResponse.Capabilities.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
clearField
public GetSystemInfoResponse.Capabilities.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
clearOneof
public GetSystemInfoResponse.Capabilities.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
setRepeatedField
public GetSystemInfoResponse.Capabilities.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
addRepeatedField
public GetSystemInfoResponse.Capabilities.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
mergeFrom
public GetSystemInfoResponse.Capabilities.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
mergeFrom
public GetSystemInfoResponse.Capabilities.Builder mergeFrom(GetSystemInfoResponse.Capabilities other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetSystemInfoResponse.Capabilities.Builder>
- Throws:
java.io.IOException
-
getSignalAndQueryHeader
public boolean getSignalAndQueryHeader()
True if signal and query headers are supported.
bool signal_and_query_header = 1;
- Specified by:
getSignalAndQueryHeader
in interfaceGetSystemInfoResponse.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 interfaceGetSystemInfoResponse.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 interfaceGetSystemInfoResponse.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 interfaceGetSystemInfoResponse.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 interfaceGetSystemInfoResponse.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 interfaceGetSystemInfoResponse.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 interfaceGetSystemInfoResponse.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
public GetSystemInfoResponse.Capabilities.Builder 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 interfaceGetSystemInfoResponse.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 interfaceGetSystemInfoResponse.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.
-
setUnknownFields
public final GetSystemInfoResponse.Capabilities.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
mergeUnknownFields
public final GetSystemInfoResponse.Capabilities.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetSystemInfoResponse.Capabilities.Builder>
-
-