Package io.temporal.api.taskqueue.v1
Interface TaskQueueVersionInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TaskQueueVersionInfo,TaskQueueVersionInfo.Builder
@Generated(value="protoc", comments="annotations:TaskQueueVersionInfoOrBuilder.java.pb.meta") public interface TaskQueueVersionInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsTypesInfo(int key)Task Queue info per Task Type.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypesInfoCount
int getTypesInfoCount()
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;
-
containsTypesInfo
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;
-
getTypesInfo
@Deprecated java.util.Map<java.lang.Integer,TaskQueueTypeInfo> getTypesInfo()
Deprecated.UsegetTypesInfoMap()instead.
-
getTypesInfoMap
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;
-
getTypesInfoOrDefault
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;
-
getTypesInfoOrThrow
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;
-
getTaskReachabilityValue
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;- Returns:
- The enum numeric value on the wire for taskReachability.
-
getTaskReachability
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;- Returns:
- The taskReachability.
-
-