Class NamespaceInfo.Capabilities
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.namespace.v1.NamespaceInfo.Capabilities
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NamespaceInfo.CapabilitiesOrBuilder,Serializable
- Enclosing class:
NamespaceInfo
public static final class NamespaceInfo.Capabilities
extends com.google.protobuf.GeneratedMessageV3
implements NamespaceInfo.CapabilitiesOrBuilder
Namespace capability details. Should contain what features are enabled in a namespace.Protobuf type
temporal.api.namespace.v1.NamespaceInfo.Capabilities- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNamespace capability details.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanTrue if the namespace supports async updatestatic NamespaceInfo.Capabilitiesstatic final com.google.protobuf.Descriptors.DescriptorbooleanTrue if the namespace supports eager workflow start.com.google.protobuf.Parser<NamespaceInfo.Capabilities> booleanTrue if the namespace supports poller autoscalingbooleanWhen true, workers should use poller autoscaling by default unless explicitly configured otherwise.booleanTrue if the namespace supports reported problems search attributeintbooleanTrue if the namespace supports standalone activitiesbooleanTrue if the namespace supports batch operations for standalone activities.booleanTrue if the namespace supports standalone activity operator commands.booleanTrue if the namespace supports start delay for standalone activities.booleanTrue if the namespace supports standalone Nexus operations.booleanTrue if the namespace supports sync updatebooleanTrue if the namespace supports worker commands (server-to-worker communication via control queues).booleanTrue if the namespace supports worker heartbeatsbooleanTrue if the namespace supports server-side completion of outstanding worker polls on shutdown.booleanTrue if the namespace supports pausing workflowsbooleanTrue if the namespace supports pagination of `RespondWorkflowTaskCompleted` request.booleanTrue if the namespace supports attaching callbacks on workflow updatesinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(NamespaceInfo.Capabilities prototype) protected NamespaceInfo.Capabilities.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static NamespaceInfo.CapabilitiesparseDelimitedFrom(InputStream input) static NamespaceInfo.CapabilitiesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NamespaceInfo.CapabilitiesparseFrom(byte[] data) static NamespaceInfo.CapabilitiesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NamespaceInfo.CapabilitiesparseFrom(com.google.protobuf.ByteString data) static NamespaceInfo.CapabilitiesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NamespaceInfo.CapabilitiesparseFrom(com.google.protobuf.CodedInputStream input) static NamespaceInfo.CapabilitiesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NamespaceInfo.CapabilitiesparseFrom(InputStream input) static NamespaceInfo.CapabilitiesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NamespaceInfo.CapabilitiesparseFrom(ByteBuffer data) static NamespaceInfo.CapabilitiesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NamespaceInfo.Capabilities> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EAGER_WORKFLOW_START_FIELD_NUMBER
public static final int EAGER_WORKFLOW_START_FIELD_NUMBER- See Also:
-
SYNC_UPDATE_FIELD_NUMBER
public static final int SYNC_UPDATE_FIELD_NUMBER- See Also:
-
ASYNC_UPDATE_FIELD_NUMBER
public static final int ASYNC_UPDATE_FIELD_NUMBER- See Also:
-
WORKER_HEARTBEATS_FIELD_NUMBER
public static final int WORKER_HEARTBEATS_FIELD_NUMBER- See Also:
-
REPORTED_PROBLEMS_SEARCH_ATTRIBUTE_FIELD_NUMBER
public static final int REPORTED_PROBLEMS_SEARCH_ATTRIBUTE_FIELD_NUMBER- See Also:
-
WORKFLOW_PAUSE_FIELD_NUMBER
public static final int WORKFLOW_PAUSE_FIELD_NUMBER- See Also:
-
STANDALONE_ACTIVITIES_FIELD_NUMBER
public static final int STANDALONE_ACTIVITIES_FIELD_NUMBER- See Also:
-
WORKER_POLL_COMPLETE_ON_SHUTDOWN_FIELD_NUMBER
public static final int WORKER_POLL_COMPLETE_ON_SHUTDOWN_FIELD_NUMBER- See Also:
-
POLLER_AUTOSCALING_FIELD_NUMBER
public static final int POLLER_AUTOSCALING_FIELD_NUMBER- See Also:
-
WORKER_COMMANDS_FIELD_NUMBER
public static final int WORKER_COMMANDS_FIELD_NUMBER- See Also:
-
STANDALONE_NEXUS_OPERATION_FIELD_NUMBER
public static final int STANDALONE_NEXUS_OPERATION_FIELD_NUMBER- See Also:
-
WORKFLOW_UPDATE_CALLBACKS_FIELD_NUMBER
public static final int WORKFLOW_UPDATE_CALLBACKS_FIELD_NUMBER- See Also:
-
POLLER_AUTOSCALING_AUTO_ENROLL_FIELD_NUMBER
public static final int POLLER_AUTOSCALING_AUTO_ENROLL_FIELD_NUMBER- See Also:
-
WORKFLOW_TASK_COMPLETION_PAGINATION_FIELD_NUMBER
public static final int WORKFLOW_TASK_COMPLETION_PAGINATION_FIELD_NUMBER- See Also:
-
STANDALONE_ACTIVITY_START_DELAY_FIELD_NUMBER
public static final int STANDALONE_ACTIVITY_START_DELAY_FIELD_NUMBER- See Also:
-
STANDALONE_ACTIVITY_BATCH_OPERATIONS_FIELD_NUMBER
public static final int STANDALONE_ACTIVITY_BATCH_OPERATIONS_FIELD_NUMBER- See Also:
-
STANDALONE_ACTIVITY_OPERATOR_COMMANDS_FIELD_NUMBER
public static final int STANDALONE_ACTIVITY_OPERATOR_COMMANDS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getEagerWorkflowStart
public boolean getEagerWorkflowStart()True if the namespace supports eager workflow start.
bool eager_workflow_start = 1;- Specified by:
getEagerWorkflowStartin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The eagerWorkflowStart.
-
getSyncUpdate
public boolean getSyncUpdate()True if the namespace supports sync update
bool sync_update = 2;- Specified by:
getSyncUpdatein interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The syncUpdate.
-
getAsyncUpdate
public boolean getAsyncUpdate()True if the namespace supports async update
bool async_update = 3;- Specified by:
getAsyncUpdatein interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The asyncUpdate.
-
getWorkerHeartbeats
public boolean getWorkerHeartbeats()True if the namespace supports worker heartbeats
bool worker_heartbeats = 4;- Specified by:
getWorkerHeartbeatsin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The workerHeartbeats.
-
getReportedProblemsSearchAttribute
public boolean getReportedProblemsSearchAttribute()True if the namespace supports reported problems search attribute
bool reported_problems_search_attribute = 5;- Specified by:
getReportedProblemsSearchAttributein interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The reportedProblemsSearchAttribute.
-
getWorkflowPause
public boolean getWorkflowPause()True if the namespace supports pausing workflows
bool workflow_pause = 6;- Specified by:
getWorkflowPausein interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The workflowPause.
-
getStandaloneActivities
public boolean getStandaloneActivities()True if the namespace supports standalone activities
bool standalone_activities = 7;- Specified by:
getStandaloneActivitiesin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The standaloneActivities.
-
getWorkerPollCompleteOnShutdown
public boolean getWorkerPollCompleteOnShutdown()True if the namespace supports server-side completion of outstanding worker polls on shutdown. When enabled, the server will complete polls for workers that send WorkerInstanceKey in their poll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return an empty response. When this flag is true, workers should allow polls to return gracefully rather than terminating any open polls on shutdown.
bool worker_poll_complete_on_shutdown = 8;- Specified by:
getWorkerPollCompleteOnShutdownin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The workerPollCompleteOnShutdown.
-
getPollerAutoscaling
public boolean getPollerAutoscaling()True if the namespace supports poller autoscaling
bool poller_autoscaling = 9;- Specified by:
getPollerAutoscalingin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The pollerAutoscaling.
-
getWorkerCommands
public boolean getWorkerCommands()True if the namespace supports worker commands (server-to-worker communication via control queues).
bool worker_commands = 10;- Specified by:
getWorkerCommandsin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The workerCommands.
-
getStandaloneNexusOperation
public boolean getStandaloneNexusOperation()True if the namespace supports standalone Nexus operations.
bool standalone_nexus_operation = 11;- Specified by:
getStandaloneNexusOperationin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The standaloneNexusOperation.
-
getWorkflowUpdateCallbacks
public boolean getWorkflowUpdateCallbacks()True if the namespace supports attaching callbacks on workflow updates
bool workflow_update_callbacks = 12;- Specified by:
getWorkflowUpdateCallbacksin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The workflowUpdateCallbacks.
-
getPollerAutoscalingAutoEnroll
public boolean getPollerAutoscalingAutoEnroll()When true, workers should use poller autoscaling by default unless explicitly configured otherwise.
bool poller_autoscaling_auto_enroll = 13;- Specified by:
getPollerAutoscalingAutoEnrollin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The pollerAutoscalingAutoEnroll.
-
getWorkflowTaskCompletionPagination
public boolean getWorkflowTaskCompletionPagination()True if the namespace supports pagination of `RespondWorkflowTaskCompleted` request.
bool workflow_task_completion_pagination = 14;- Specified by:
getWorkflowTaskCompletionPaginationin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The workflowTaskCompletionPagination.
-
getStandaloneActivityStartDelay
public boolean getStandaloneActivityStartDelay()True if the namespace supports start delay for standalone activities.
bool standalone_activity_start_delay = 15;- Specified by:
getStandaloneActivityStartDelayin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The standaloneActivityStartDelay.
-
getStandaloneActivityBatchOperations
public boolean getStandaloneActivityBatchOperations()True if the namespace supports batch operations for standalone activities.
bool standalone_activity_batch_operations = 16;- Specified by:
getStandaloneActivityBatchOperationsin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The standaloneActivityBatchOperations.
-
getStandaloneActivityOperatorCommands
public boolean getStandaloneActivityOperatorCommands()True if the namespace supports standalone activity operator commands.
bool standalone_activity_operator_commands = 17;- Specified by:
getStandaloneActivityOperatorCommandsin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The standaloneActivityOperatorCommands.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NamespaceInfo.Capabilities parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NamespaceInfo.Capabilities parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NamespaceInfo.Capabilities parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NamespaceInfo.Capabilities parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NamespaceInfo.Capabilities parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NamespaceInfo.Capabilities parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NamespaceInfo.Capabilities parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NamespaceInfo.Capabilities parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NamespaceInfo.Capabilities parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NamespaceInfo.Capabilities parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NamespaceInfo.Capabilities.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-