Class TaskQueueVersionInfo.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
      • clear

        public TaskQueueVersionInfo.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
      • getDefaultInstanceForType

        public TaskQueueVersionInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public TaskQueueVersionInfo build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public TaskQueueVersionInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public TaskQueueVersionInfo.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
      • setField

        public TaskQueueVersionInfo.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
      • clearField

        public TaskQueueVersionInfo.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
      • clearOneof

        public TaskQueueVersionInfo.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
      • addRepeatedField

        public TaskQueueVersionInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TaskQueueVersionInfo.Builder>
        Throws:
        java.io.IOException
      • getTypesInfoCount

        public int getTypesInfoCount()
        Description copied from interface: TaskQueueVersionInfoOrBuilder
         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:
        getTypesInfoCount in interface TaskQueueVersionInfoOrBuilder
      • 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:
        containsTypesInfo in interface TaskQueueVersionInfoOrBuilder
      • 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:
        getTypesInfoMap in interface TaskQueueVersionInfoOrBuilder
      • 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:
        getTypesInfoOrThrow in interface TaskQueueVersionInfoOrBuilder
      • 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;
      • putTypesInfoBuilderIfAbsent

        public TaskQueueTypeInfo.Builder putTypesInfoBuilderIfAbsent​(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

        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:
        getTaskReachabilityValue in interface TaskQueueVersionInfoOrBuilder
        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:
        getTaskReachability in interface TaskQueueVersionInfoOrBuilder
        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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>
      • mergeUnknownFields

        public final TaskQueueVersionInfo.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TaskQueueVersionInfo.Builder>