Package io.temporal.api.namespace.v1
Class NamespaceInfo.Capabilities.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typetemporal.api.namespace.v1.NamespaceInfo.Capabilities
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NamespaceInfo.Capabilities.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NamespaceInfo.Capabilitiesbuild()NamespaceInfo.CapabilitiesbuildPartial()NamespaceInfo.Capabilities.Builderclear()NamespaceInfo.Capabilities.BuilderclearAsyncUpdate()True if the namespace supports async updateNamespaceInfo.Capabilities.BuilderclearEagerWorkflowStart()True if the namespace supports eager workflow start.NamespaceInfo.Capabilities.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NamespaceInfo.Capabilities.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NamespaceInfo.Capabilities.BuilderclearPollerAutoscaling()True if the namespace supports poller autoscalingNamespaceInfo.Capabilities.BuilderclearReportedProblemsSearchAttribute()True if the namespace supports reported problems search attributeNamespaceInfo.Capabilities.BuilderclearStandaloneActivities()True if the namespace supports standalone activitiesNamespaceInfo.Capabilities.BuilderclearSyncUpdate()True if the namespace supports sync updateNamespaceInfo.Capabilities.BuilderclearWorkerHeartbeats()True if the namespace supports worker heartbeatsNamespaceInfo.Capabilities.BuilderclearWorkerPollCompleteOnShutdown()True if the namespace supports server-side completion of outstanding worker polls on shutdown.NamespaceInfo.Capabilities.BuilderclearWorkflowPause()True if the namespace supports pausing workflowsNamespaceInfo.Capabilities.Builderclone()booleangetAsyncUpdate()True if the namespace supports async updateNamespaceInfo.CapabilitiesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetEagerWorkflowStart()True if the namespace supports eager workflow start.booleangetPollerAutoscaling()True if the namespace supports poller autoscalingbooleangetReportedProblemsSearchAttribute()True if the namespace supports reported problems search attributebooleangetStandaloneActivities()True if the namespace supports standalone activitiesbooleangetSyncUpdate()True if the namespace supports sync updatebooleangetWorkerHeartbeats()True if the namespace supports worker heartbeatsbooleangetWorkerPollCompleteOnShutdown()True if the namespace supports server-side completion of outstanding worker polls on shutdown.booleangetWorkflowPause()True if the namespace supports pausing workflowsprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()NamespaceInfo.Capabilities.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NamespaceInfo.Capabilities.BuildermergeFrom(com.google.protobuf.Message other)NamespaceInfo.Capabilities.BuildermergeFrom(NamespaceInfo.Capabilities other)NamespaceInfo.Capabilities.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NamespaceInfo.Capabilities.BuildersetAsyncUpdate(boolean value)True if the namespace supports async updateNamespaceInfo.Capabilities.BuildersetEagerWorkflowStart(boolean value)True if the namespace supports eager workflow start.NamespaceInfo.Capabilities.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NamespaceInfo.Capabilities.BuildersetPollerAutoscaling(boolean value)True if the namespace supports poller autoscalingNamespaceInfo.Capabilities.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)NamespaceInfo.Capabilities.BuildersetReportedProblemsSearchAttribute(boolean value)True if the namespace supports reported problems search attributeNamespaceInfo.Capabilities.BuildersetStandaloneActivities(boolean value)True if the namespace supports standalone activitiesNamespaceInfo.Capabilities.BuildersetSyncUpdate(boolean value)True if the namespace supports sync updateNamespaceInfo.Capabilities.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NamespaceInfo.Capabilities.BuildersetWorkerHeartbeats(boolean value)True if the namespace supports worker heartbeatsNamespaceInfo.Capabilities.BuildersetWorkerPollCompleteOnShutdown(boolean value)True if the namespace supports server-side completion of outstanding worker polls on shutdown.NamespaceInfo.Capabilities.BuildersetWorkflowPause(boolean value)True if the namespace supports pausing workflows-
Methods 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, 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
clear
public 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
public NamespaceInfo.Capabilities getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NamespaceInfo.Capabilities build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NamespaceInfo.Capabilities buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NamespaceInfo.Capabilities.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceInfo.Capabilities.Builder>
-
mergeFrom
public NamespaceInfo.Capabilities.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NamespaceInfo.Capabilities.Builder>
-
mergeFrom
public NamespaceInfo.Capabilities.Builder mergeFrom(NamespaceInfo.Capabilities other)
-
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 java.io.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:
java.io.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
public NamespaceInfo.Capabilities.Builder setEagerWorkflowStart(boolean value)
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
public NamespaceInfo.Capabilities.Builder 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
public NamespaceInfo.Capabilities.Builder setSyncUpdate(boolean value)
True if the namespace supports sync update
bool sync_update = 2;- Parameters:
value- The syncUpdate to set.- Returns:
- This builder for chaining.
-
clearSyncUpdate
public NamespaceInfo.Capabilities.Builder 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
public NamespaceInfo.Capabilities.Builder setAsyncUpdate(boolean value)
True if the namespace supports async update
bool async_update = 3;- Parameters:
value- The asyncUpdate to set.- Returns:
- This builder for chaining.
-
clearAsyncUpdate
public NamespaceInfo.Capabilities.Builder 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
public NamespaceInfo.Capabilities.Builder setWorkerHeartbeats(boolean value)
True if the namespace supports worker heartbeats
bool worker_heartbeats = 4;- Parameters:
value- The workerHeartbeats to set.- Returns:
- This builder for chaining.
-
clearWorkerHeartbeats
public NamespaceInfo.Capabilities.Builder 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
public NamespaceInfo.Capabilities.Builder setReportedProblemsSearchAttribute(boolean value)
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
public NamespaceInfo.Capabilities.Builder 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
public NamespaceInfo.Capabilities.Builder setWorkflowPause(boolean value)
True if the namespace supports pausing workflows
bool workflow_pause = 6;- Parameters:
value- The workflowPause to set.- Returns:
- This builder for chaining.
-
clearWorkflowPause
public NamespaceInfo.Capabilities.Builder 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
public NamespaceInfo.Capabilities.Builder setStandaloneActivities(boolean value)
True if the namespace supports standalone activities
bool standalone_activities = 7;- Parameters:
value- The standaloneActivities to set.- Returns:
- This builder for chaining.
-
clearStandaloneActivities
public NamespaceInfo.Capabilities.Builder 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
public NamespaceInfo.Capabilities.Builder setWorkerPollCompleteOnShutdown(boolean value)
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
public NamespaceInfo.Capabilities.Builder 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
public NamespaceInfo.Capabilities.Builder setPollerAutoscaling(boolean value)
True if the namespace supports poller autoscaling
bool poller_autoscaling = 9;- Parameters:
value- The pollerAutoscaling to set.- Returns:
- This builder for chaining.
-
clearPollerAutoscaling
public NamespaceInfo.Capabilities.Builder clearPollerAutoscaling()
True if the namespace supports poller autoscaling
bool poller_autoscaling = 9;- 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>
-
-