Class TaskQueueVersionInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TaskQueueVersionInfo.Builder>
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,Cloneable
- Enclosing class:
TaskQueueVersionInfo
public static final class TaskQueueVersionInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
implements TaskQueueVersionInfoOrBuilder
Protobuf type
temporal.api.taskqueue.v1.TaskQueueVersionInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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.clone()booleancontainsTypesInfo(int key) Task Queue info per Task Type.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.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.intTask 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.Deprecated.intTask Queue info per Task Type.Task Queue info per Task Type.getTypesInfoOrDefault(int key, TaskQueueTypeInfo defaultValue) Task Queue info per Task Type.getTypesInfoOrThrow(int key) Task Queue info per Task Type.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(TaskQueueVersionInfo other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllTypesInfo(Map<Integer, TaskQueueTypeInfo> values) Task Queue info per Task Type.putTypesInfo(int key, TaskQueueTypeInfo value) Task Queue info per Task Type.putTypesInfoBuilderIfAbsent(int key) Task Queue info per Task Type.removeTypesInfo(int key) Task Queue info per Task Type.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object 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.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.setUnknownFields(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, internalGetMapField, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin 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
- 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
- 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<TaskQueueVersionInfo.Builder>
-
setField
public TaskQueueVersionInfo.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<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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TaskQueueVersionInfo.Builder>
-
mergeFrom
-
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 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:
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.UsegetTypesInfoMap()instead.- Specified by:
getTypesInfoin interfaceTaskQueueVersionInfoOrBuilder
-
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
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
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
-
removeTypesInfo
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.Use alternate mutation accessors instead. -
putTypesInfo
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
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; -
putTypesInfoBuilderIfAbsent
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
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
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
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
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>
-