Class NamespaceInfo.Capabilities.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NamespaceInfo.Capabilities.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
io.temporal.api.namespace.v1.NamespaceInfo.Capabilities.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NamespaceInfo.CapabilitiesOrBuilder,Cloneable
- Enclosing class:
NamespaceInfo.Capabilities
public static final class NamespaceInfo.Capabilities.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
implements NamespaceInfo.CapabilitiesOrBuilder
Namespace capability details. Should contain what features are enabled in a namespace.Protobuf type
temporal.api.namespace.v1.NamespaceInfo.Capabilities-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()True if the namespace supports async updateTrue if the namespace supports eager workflow start.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) True if the namespace supports poller autoscalingTrue if the namespace supports reported problems search attributeTrue if the namespace supports standalone activitiesTrue if the namespace supports standalone Nexus operations.True if the namespace supports sync updateTrue if the namespace supports worker commands (server-to-worker communication via control queues).True if the namespace supports worker heartbeatsTrue if the namespace supports server-side completion of outstanding worker polls on shutdown.True if the namespace supports pausing workflowsclone()booleanTrue if the namespace supports async updatestatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanTrue if the namespace supports eager workflow start.booleanTrue if the namespace supports poller autoscalingbooleanTrue if the namespace supports reported problems search attributebooleanTrue if the namespace supports standalone activitiesbooleanTrue 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 workflowsprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAsyncUpdate(boolean value) True if the namespace supports async updatesetEagerWorkflowStart(boolean value) True if the namespace supports eager workflow start.setPollerAutoscaling(boolean value) True if the namespace supports poller autoscalingsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReportedProblemsSearchAttribute(boolean value) True if the namespace supports reported problems search attributesetStandaloneActivities(boolean value) True if the namespace supports standalone activitiessetStandaloneNexusOperation(boolean value) True if the namespace supports standalone Nexus operations.setSyncUpdate(boolean value) True if the namespace supports sync updatesetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWorkerCommands(boolean value) True if the namespace supports worker commands (server-to-worker communication via control queues).setWorkerHeartbeats(boolean value) True if the namespace supports worker heartbeatssetWorkerPollCompleteOnShutdown(boolean value) True if the namespace supports server-side completion of outstanding worker polls on shutdown.setWorkflowPause(boolean value) True if the namespace supports pausing workflowsMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<NamespaceInfo.Capabilities.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
setField
public NamespaceInfo.Capabilities.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
clearField
public NamespaceInfo.Capabilities.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
clearOneof
public NamespaceInfo.Capabilities.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
setRepeatedField
public NamespaceInfo.Capabilities.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
addRepeatedField
public NamespaceInfo.Capabilities.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NamespaceInfo.Capabilities.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
mergeFrom
public NamespaceInfo.Capabilities.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NamespaceInfo.Capabilities.Builder>- Throws:
IOException
-
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.
-
setEagerWorkflowStart
True if the namespace supports eager workflow start.
bool eager_workflow_start = 1;- Parameters:
value- The eagerWorkflowStart to set.- Returns:
- This builder for chaining.
-
clearEagerWorkflowStart
True if the namespace supports eager workflow start.
bool eager_workflow_start = 1;- Returns:
- This builder for chaining.
-
getSyncUpdate
public boolean getSyncUpdate()True if the namespace supports sync update
bool sync_update = 2;- Specified by:
getSyncUpdatein interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The syncUpdate.
-
setSyncUpdate
True if the namespace supports sync update
bool sync_update = 2;- Parameters:
value- The syncUpdate to set.- Returns:
- This builder for chaining.
-
clearSyncUpdate
True if the namespace supports sync update
bool sync_update = 2;- Returns:
- This builder for chaining.
-
getAsyncUpdate
public boolean getAsyncUpdate()True if the namespace supports async update
bool async_update = 3;- Specified by:
getAsyncUpdatein interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The asyncUpdate.
-
setAsyncUpdate
True if the namespace supports async update
bool async_update = 3;- Parameters:
value- The asyncUpdate to set.- Returns:
- This builder for chaining.
-
clearAsyncUpdate
True if the namespace supports async update
bool async_update = 3;- Returns:
- This builder for chaining.
-
getWorkerHeartbeats
public boolean getWorkerHeartbeats()True if the namespace supports worker heartbeats
bool worker_heartbeats = 4;- Specified by:
getWorkerHeartbeatsin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The workerHeartbeats.
-
setWorkerHeartbeats
True if the namespace supports worker heartbeats
bool worker_heartbeats = 4;- Parameters:
value- The workerHeartbeats to set.- Returns:
- This builder for chaining.
-
clearWorkerHeartbeats
True if the namespace supports worker heartbeats
bool worker_heartbeats = 4;- Returns:
- This builder for chaining.
-
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.
-
setReportedProblemsSearchAttribute
True if the namespace supports reported problems search attribute
bool reported_problems_search_attribute = 5;- Parameters:
value- The reportedProblemsSearchAttribute to set.- Returns:
- This builder for chaining.
-
clearReportedProblemsSearchAttribute
True if the namespace supports reported problems search attribute
bool reported_problems_search_attribute = 5;- Returns:
- This builder for chaining.
-
getWorkflowPause
public boolean getWorkflowPause()True if the namespace supports pausing workflows
bool workflow_pause = 6;- Specified by:
getWorkflowPausein interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The workflowPause.
-
setWorkflowPause
True if the namespace supports pausing workflows
bool workflow_pause = 6;- Parameters:
value- The workflowPause to set.- Returns:
- This builder for chaining.
-
clearWorkflowPause
True if the namespace supports pausing workflows
bool workflow_pause = 6;- Returns:
- This builder for chaining.
-
getStandaloneActivities
public boolean getStandaloneActivities()True if the namespace supports standalone activities
bool standalone_activities = 7;- Specified by:
getStandaloneActivitiesin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The standaloneActivities.
-
setStandaloneActivities
True if the namespace supports standalone activities
bool standalone_activities = 7;- Parameters:
value- The standaloneActivities to set.- Returns:
- This builder for chaining.
-
clearStandaloneActivities
True if the namespace supports standalone activities
bool standalone_activities = 7;- Returns:
- This builder for chaining.
-
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.
-
setWorkerPollCompleteOnShutdown
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;- Parameters:
value- The workerPollCompleteOnShutdown to set.- Returns:
- This builder for chaining.
-
clearWorkerPollCompleteOnShutdown
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;- Returns:
- This builder for chaining.
-
getPollerAutoscaling
public boolean getPollerAutoscaling()True if the namespace supports poller autoscaling
bool poller_autoscaling = 9;- Specified by:
getPollerAutoscalingin interfaceNamespaceInfo.CapabilitiesOrBuilder- Returns:
- The pollerAutoscaling.
-
setPollerAutoscaling
True if the namespace supports poller autoscaling
bool poller_autoscaling = 9;- Parameters:
value- The pollerAutoscaling to set.- Returns:
- This builder for chaining.
-
clearPollerAutoscaling
True if the namespace supports poller autoscaling
bool poller_autoscaling = 9;- Returns:
- This builder for chaining.
-
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.
-
setWorkerCommands
True if the namespace supports worker commands (server-to-worker communication via control queues).
bool worker_commands = 10;- Parameters:
value- The workerCommands to set.- Returns:
- This builder for chaining.
-
clearWorkerCommands
True if the namespace supports worker commands (server-to-worker communication via control queues).
bool worker_commands = 10;- Returns:
- This builder for chaining.
-
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.
-
setStandaloneNexusOperation
True if the namespace supports standalone Nexus operations.
bool standalone_nexus_operation = 11;- Parameters:
value- The standaloneNexusOperation to set.- Returns:
- This builder for chaining.
-
clearStandaloneNexusOperation
True if the namespace supports standalone Nexus operations.
bool standalone_nexus_operation = 11;- Returns:
- This builder for chaining.
-
setUnknownFields
public final NamespaceInfo.Capabilities.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
mergeUnknownFields
public final NamespaceInfo.Capabilities.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-