Package io.temporal.api.taskqueue.v1
Class TaskQueueVersionInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
-
- io.temporal.api.taskqueue.v1.TaskQueueVersionInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TaskQueueVersionInfoOrBuilder,java.lang.Cloneable
- Enclosing class:
- TaskQueueVersionInfo
public static final class TaskQueueVersionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder> implements TaskQueueVersionInfoOrBuilder
Protobuf typetemporal.api.taskqueue.v1.TaskQueueVersionInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description TaskQueueVersionInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TaskQueueVersionInfobuild()TaskQueueVersionInfobuildPartial()TaskQueueVersionInfo.Builderclear()TaskQueueVersionInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TaskQueueVersionInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TaskQueueVersionInfo.BuilderclearTaskReachability()Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges.TaskQueueVersionInfo.BuilderclearTypesInfo()TaskQueueVersionInfo.Builderclone()booleancontainsTypesInfo(int key)Task Queue info per Task Type.TaskQueueVersionInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.util.Map<java.lang.Integer,TaskQueueTypeInfo>getMutableTypesInfo()Deprecated.BuildIdTaskReachabilitygetTaskReachability()Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges.intgetTaskReachabilityValue()Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges.java.util.Map<java.lang.Integer,TaskQueueTypeInfo>getTypesInfo()Deprecated.intgetTypesInfoCount()Task Queue info per Task Type.java.util.Map<java.lang.Integer,TaskQueueTypeInfo>getTypesInfoMap()Task Queue info per Task Type.TaskQueueTypeInfogetTypesInfoOrDefault(int key, TaskQueueTypeInfo defaultValue)Task Queue info per Task Type.TaskQueueTypeInfogetTypesInfoOrThrow(int key)Task Queue info per Task Type.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()TaskQueueVersionInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TaskQueueVersionInfo.BuildermergeFrom(com.google.protobuf.Message other)TaskQueueVersionInfo.BuildermergeFrom(TaskQueueVersionInfo other)TaskQueueVersionInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TaskQueueVersionInfo.BuilderputAllTypesInfo(java.util.Map<java.lang.Integer,TaskQueueTypeInfo> values)Task Queue info per Task Type.TaskQueueVersionInfo.BuilderputTypesInfo(int key, TaskQueueTypeInfo value)Task Queue info per Task Type.TaskQueueVersionInfo.BuilderremoveTypesInfo(int key)Task Queue info per Task Type.TaskQueueVersionInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)TaskQueueVersionInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)TaskQueueVersionInfo.BuildersetTaskReachability(BuildIdTaskReachability value)Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges.TaskQueueVersionInfo.BuildersetTaskReachabilityValue(int value)Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges.TaskQueueVersionInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
-
clear
public TaskQueueVersionInfo.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<TaskQueueVersionInfo.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<TaskQueueVersionInfo.Builder>
-
getDefaultInstanceForType
public TaskQueueVersionInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TaskQueueVersionInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TaskQueueVersionInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TaskQueueVersionInfo.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<TaskQueueVersionInfo.Builder>
-
setField
public TaskQueueVersionInfo.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<TaskQueueVersionInfo.Builder>
-
clearField
public TaskQueueVersionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
-
clearOneof
public TaskQueueVersionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
-
setRepeatedField
public TaskQueueVersionInfo.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<TaskQueueVersionInfo.Builder>
-
addRepeatedField
public TaskQueueVersionInfo.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<TaskQueueVersionInfo.Builder>
-
mergeFrom
public TaskQueueVersionInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TaskQueueVersionInfo.Builder>
-
mergeFrom
public TaskQueueVersionInfo.Builder mergeFrom(TaskQueueVersionInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
-
mergeFrom
public TaskQueueVersionInfo.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<TaskQueueVersionInfo.Builder>- Throws:
java.io.IOException
-
getTypesInfoCount
public int getTypesInfoCount()
Description copied from interface:TaskQueueVersionInfoOrBuilderTask Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum.
map<int32, .temporal.api.taskqueue.v1.TaskQueueTypeInfo> types_info = 1;- Specified by:
getTypesInfoCountin interfaceTaskQueueVersionInfoOrBuilder
-
containsTypesInfo
public boolean containsTypesInfo(int key)
Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum.
map<int32, .temporal.api.taskqueue.v1.TaskQueueTypeInfo> types_info = 1;- Specified by:
containsTypesInfoin interfaceTaskQueueVersionInfoOrBuilder
-
getTypesInfo
@Deprecated public java.util.Map<java.lang.Integer,TaskQueueTypeInfo> getTypesInfo()
Deprecated.UsegetTypesInfoMap()instead.- Specified by:
getTypesInfoin interfaceTaskQueueVersionInfoOrBuilder
-
getTypesInfoMap
public java.util.Map<java.lang.Integer,TaskQueueTypeInfo> getTypesInfoMap()
Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum.
map<int32, .temporal.api.taskqueue.v1.TaskQueueTypeInfo> types_info = 1;- Specified by:
getTypesInfoMapin interfaceTaskQueueVersionInfoOrBuilder
-
getTypesInfoOrDefault
public TaskQueueTypeInfo getTypesInfoOrDefault(int key, TaskQueueTypeInfo defaultValue)
Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum.
map<int32, .temporal.api.taskqueue.v1.TaskQueueTypeInfo> types_info = 1;- Specified by:
getTypesInfoOrDefaultin interfaceTaskQueueVersionInfoOrBuilder
-
getTypesInfoOrThrow
public TaskQueueTypeInfo getTypesInfoOrThrow(int key)
Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum.
map<int32, .temporal.api.taskqueue.v1.TaskQueueTypeInfo> types_info = 1;- Specified by:
getTypesInfoOrThrowin interfaceTaskQueueVersionInfoOrBuilder
-
clearTypesInfo
public TaskQueueVersionInfo.Builder clearTypesInfo()
-
removeTypesInfo
public TaskQueueVersionInfo.Builder removeTypesInfo(int key)
Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum.
map<int32, .temporal.api.taskqueue.v1.TaskQueueTypeInfo> types_info = 1;
-
getMutableTypesInfo
@Deprecated public java.util.Map<java.lang.Integer,TaskQueueTypeInfo> getMutableTypesInfo()
Deprecated.Use alternate mutation accessors instead.
-
putTypesInfo
public TaskQueueVersionInfo.Builder putTypesInfo(int key, TaskQueueTypeInfo value)
Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum.
map<int32, .temporal.api.taskqueue.v1.TaskQueueTypeInfo> types_info = 1;
-
putAllTypesInfo
public TaskQueueVersionInfo.Builder putAllTypesInfo(java.util.Map<java.lang.Integer,TaskQueueTypeInfo> values)
Task Queue info per Task Type. Key is the numerical value of the temporal.api.enums.v1.TaskQueueType enum.
map<int32, .temporal.api.taskqueue.v1.TaskQueueTypeInfo> types_info = 1;
-
getTaskReachabilityValue
public int getTaskReachabilityValue()
Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY. Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be accounted for reachability as server cannot know if they'll happen as they do not use assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make sure to query reachability for the parent/previous workflow's Task Queue as well.
.temporal.api.enums.v1.BuildIdTaskReachability task_reachability = 2;- Specified by:
getTaskReachabilityValuein interfaceTaskQueueVersionInfoOrBuilder- Returns:
- The enum numeric value on the wire for taskReachability.
-
setTaskReachabilityValue
public TaskQueueVersionInfo.Builder setTaskReachabilityValue(int value)
Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY. Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be accounted for reachability as server cannot know if they'll happen as they do not use assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make sure to query reachability for the parent/previous workflow's Task Queue as well.
.temporal.api.enums.v1.BuildIdTaskReachability task_reachability = 2;- Parameters:
value- The enum numeric value on the wire for taskReachability to set.- Returns:
- This builder for chaining.
-
getTaskReachability
public BuildIdTaskReachability getTaskReachability()
Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY. Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be accounted for reachability as server cannot know if they'll happen as they do not use assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make sure to query reachability for the parent/previous workflow's Task Queue as well.
.temporal.api.enums.v1.BuildIdTaskReachability task_reachability = 2;- Specified by:
getTaskReachabilityin interfaceTaskQueueVersionInfoOrBuilder- Returns:
- The taskReachability.
-
setTaskReachability
public TaskQueueVersionInfo.Builder setTaskReachability(BuildIdTaskReachability value)
Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY. Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be accounted for reachability as server cannot know if they'll happen as they do not use assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make sure to query reachability for the parent/previous workflow's Task Queue as well.
.temporal.api.enums.v1.BuildIdTaskReachability task_reachability = 2;- Parameters:
value- The taskReachability to set.- Returns:
- This builder for chaining.
-
clearTaskReachability
public TaskQueueVersionInfo.Builder clearTaskReachability()
Task Reachability is eventually consistent; there may be a delay until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY. Note: future activities who inherit their workflow's Build ID but not its Task Queue will not be accounted for reachability as server cannot know if they'll happen as they do not use assignment rules of their Task Queue. Same goes for Child Workflows or Continue-As-New Workflows who inherit the parent/previous workflow's Build ID but not its Task Queue. In those cases, make sure to query reachability for the parent/previous workflow's Task Queue as well.
.temporal.api.enums.v1.BuildIdTaskReachability task_reachability = 2;- Returns:
- This builder for chaining.
-
setUnknownFields
public final TaskQueueVersionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
-
mergeUnknownFields
public final TaskQueueVersionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
-
-