Class Task.Builder

  • All Implemented Interfaces:
    TaskOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Task

    public static final class Task.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
    implements TaskOrBuilder
     Task represents a single run of a container to completion.
     
    Protobuf type google.cloud.run.v2.Task
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
      • internalGetFieldAccessorTable

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

        public Task.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<Task.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<Task.Builder>
      • getDefaultInstanceForType

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

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

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

        public Task.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<Task.Builder>
      • setField

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

        public Task.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<Task.Builder>
      • clearOneof

        public Task.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<Task.Builder>
      • setRepeatedField

        public Task.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             int index,
                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
      • addRepeatedField

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

        public Task.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Task.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Task.Builder>
      • mergeFrom

        public Task.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                               throws 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<Task.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. The unique name of this Task.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface TaskOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The unique name of this Task.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface TaskOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Task.Builder setName​(String value)
         Output only. The unique name of this Task.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Task.Builder clearName()
         Output only. The unique name of this Task.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Task.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The unique name of this Task.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getUid

        public String getUid()
         Output only. Server assigned unique identifier for the Task. The value is a
         UUID4 string and guaranteed to remain unchanged until the resource is
         deleted.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUid in interface TaskOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         Output only. Server assigned unique identifier for the Task. The value is a
         UUID4 string and guaranteed to remain unchanged until the resource is
         deleted.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUidBytes in interface TaskOrBuilder
        Returns:
        The bytes for uid.
      • setUid

        public Task.Builder setUid​(String value)
         Output only. Server assigned unique identifier for the Task. The value is a
         UUID4 string and guaranteed to remain unchanged until the resource is
         deleted.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The uid to set.
        Returns:
        This builder for chaining.
      • clearUid

        public Task.Builder clearUid()
         Output only. Server assigned unique identifier for the Task. The value is a
         UUID4 string and guaranteed to remain unchanged until the resource is
         deleted.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUidBytes

        public Task.Builder setUidBytes​(com.google.protobuf.ByteString value)
         Output only. Server assigned unique identifier for the Task. The value is a
         UUID4 string and guaranteed to remain unchanged until the resource is
         deleted.
         
        string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for uid to set.
        Returns:
        This builder for chaining.
      • getGeneration

        public long getGeneration()
         Output only. A number that monotonically increases every time the user
         modifies the desired state.
         
        int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getGeneration in interface TaskOrBuilder
        Returns:
        The generation.
      • setGeneration

        public Task.Builder setGeneration​(long value)
         Output only. A number that monotonically increases every time the user
         modifies the desired state.
         
        int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The generation to set.
        Returns:
        This builder for chaining.
      • clearGeneration

        public Task.Builder clearGeneration()
         Output only. A number that monotonically increases every time the user
         modifies the desired state.
         
        int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: TaskOrBuilder
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLabelsCount in interface TaskOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        containsLabels in interface TaskOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLabelsMap in interface TaskOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLabelsOrDefault in interface TaskOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLabelsOrThrow in interface TaskOrBuilder
      • removeLabels

        public Task.Builder removeLabels​(String key)
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Task.Builder putLabels​(String key,
                                      String value)
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • putAllLabels

        public Task.Builder putAllLabels​(Map<String,​String> values)
         Output only. Unstructured key value map that can be used to organize and
         categorize objects. User-provided labels are shared with Google's billing
         system, so they can be used to filter, or break down billing charges by
         team, component, environment, state, etc. For more information, visit
         https://cloud.google.com/resource-manager/docs/creating-managing-labels or
         https://cloud.google.com/run/docs/configuring/labels
         
        map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getAnnotationsCount

        public int getAnnotationsCount()
        Description copied from interface: TaskOrBuilder
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAnnotationsCount in interface TaskOrBuilder
      • containsAnnotations

        public boolean containsAnnotations​(String key)
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        containsAnnotations in interface TaskOrBuilder
      • getAnnotationsMap

        public Map<String,​String> getAnnotationsMap()
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAnnotationsMap in interface TaskOrBuilder
      • getAnnotationsOrDefault

        public String getAnnotationsOrDefault​(String key,
                                              String defaultValue)
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAnnotationsOrDefault in interface TaskOrBuilder
      • getAnnotationsOrThrow

        public String getAnnotationsOrThrow​(String key)
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAnnotationsOrThrow in interface TaskOrBuilder
      • removeAnnotations

        public Task.Builder removeAnnotations​(String key)
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getMutableAnnotations

        @Deprecated
        public Map<String,​String> getMutableAnnotations()
        Deprecated.
        Use alternate mutation accessors instead.
      • putAnnotations

        public Task.Builder putAnnotations​(String key,
                                           String value)
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • putAllAnnotations

        public Task.Builder putAllAnnotations​(Map<String,​String> values)
         Output only. Unstructured key value map that may
         be set by external tools to store and arbitrary metadata.
         They are not queryable and should be preserved
         when modifying objects.
         
        map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Represents time when the task was created by the job
         controller. It is not guaranteed to be set in happens-before order across
         separate operations.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface TaskOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. Represents time when the task was created by the job
         controller. It is not guaranteed to be set in happens-before order across
         separate operations.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface TaskOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Task.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Represents time when the task was created by the job
         controller. It is not guaranteed to be set in happens-before order across
         separate operations.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Task.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Represents time when the task was created by the job
         controller. It is not guaranteed to be set in happens-before order across
         separate operations.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Task.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Represents time when the task was created by the job
         controller. It is not guaranteed to be set in happens-before order across
         separate operations.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Task.Builder clearCreateTime()
         Output only. Represents time when the task was created by the job
         controller. It is not guaranteed to be set in happens-before order across
         separate operations.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. Represents time when the task was created by the job
         controller. It is not guaranteed to be set in happens-before order across
         separate operations.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Represents time when the task was created by the job
         controller. It is not guaranteed to be set in happens-before order across
         separate operations.
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface TaskOrBuilder
      • hasStartTime

        public boolean hasStartTime()
         Output only. Represents time when the task started to run.
         It is not guaranteed to be set in happens-before order across separate
         operations.
         
        .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasStartTime in interface TaskOrBuilder
        Returns:
        Whether the startTime field is set.
      • getStartTime

        public com.google.protobuf.Timestamp getStartTime()
         Output only. Represents time when the task started to run.
         It is not guaranteed to be set in happens-before order across separate
         operations.
         
        .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStartTime in interface TaskOrBuilder
        Returns:
        The startTime.
      • setStartTime

        public Task.Builder setStartTime​(com.google.protobuf.Timestamp value)
         Output only. Represents time when the task started to run.
         It is not guaranteed to be set in happens-before order across separate
         operations.
         
        .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setStartTime

        public Task.Builder setStartTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Represents time when the task started to run.
         It is not guaranteed to be set in happens-before order across separate
         operations.
         
        .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeStartTime

        public Task.Builder mergeStartTime​(com.google.protobuf.Timestamp value)
         Output only. Represents time when the task started to run.
         It is not guaranteed to be set in happens-before order across separate
         operations.
         
        .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearStartTime

        public Task.Builder clearStartTime()
         Output only. Represents time when the task started to run.
         It is not guaranteed to be set in happens-before order across separate
         operations.
         
        .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStartTimeBuilder

        public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
         Output only. Represents time when the task started to run.
         It is not guaranteed to be set in happens-before order across separate
         operations.
         
        .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStartTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
         Output only. Represents time when the task started to run.
         It is not guaranteed to be set in happens-before order across separate
         operations.
         
        .google.protobuf.Timestamp start_time = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStartTimeOrBuilder in interface TaskOrBuilder
      • hasCompletionTime

        public boolean hasCompletionTime()
         Output only. Represents time when the Task was completed. It is not
         guaranteed to be set in happens-before order across separate operations.
         
        .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCompletionTime in interface TaskOrBuilder
        Returns:
        Whether the completionTime field is set.
      • getCompletionTime

        public com.google.protobuf.Timestamp getCompletionTime()
         Output only. Represents time when the Task was completed. It is not
         guaranteed to be set in happens-before order across separate operations.
         
        .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCompletionTime in interface TaskOrBuilder
        Returns:
        The completionTime.
      • setCompletionTime

        public Task.Builder setCompletionTime​(com.google.protobuf.Timestamp value)
         Output only. Represents time when the Task was completed. It is not
         guaranteed to be set in happens-before order across separate operations.
         
        .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCompletionTime

        public Task.Builder setCompletionTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Represents time when the Task was completed. It is not
         guaranteed to be set in happens-before order across separate operations.
         
        .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCompletionTime

        public Task.Builder mergeCompletionTime​(com.google.protobuf.Timestamp value)
         Output only. Represents time when the Task was completed. It is not
         guaranteed to be set in happens-before order across separate operations.
         
        .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCompletionTime

        public Task.Builder clearCompletionTime()
         Output only. Represents time when the Task was completed. It is not
         guaranteed to be set in happens-before order across separate operations.
         
        .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCompletionTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCompletionTimeBuilder()
         Output only. Represents time when the Task was completed. It is not
         guaranteed to be set in happens-before order across separate operations.
         
        .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCompletionTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder()
         Output only. Represents time when the Task was completed. It is not
         guaranteed to be set in happens-before order across separate operations.
         
        .google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCompletionTimeOrBuilder in interface TaskOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface TaskOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface TaskOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Task.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Task.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Task.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Task.Builder clearUpdateTime()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. The last-modified time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface TaskOrBuilder
      • hasDeleteTime

        public boolean hasDeleteTime()
         Output only. For a deleted resource, the deletion time. It is only
         populated as a response to a Delete request.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasDeleteTime in interface TaskOrBuilder
        Returns:
        Whether the deleteTime field is set.
      • getDeleteTime

        public com.google.protobuf.Timestamp getDeleteTime()
         Output only. For a deleted resource, the deletion time. It is only
         populated as a response to a Delete request.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteTime in interface TaskOrBuilder
        Returns:
        The deleteTime.
      • setDeleteTime

        public Task.Builder setDeleteTime​(com.google.protobuf.Timestamp value)
         Output only. For a deleted resource, the deletion time. It is only
         populated as a response to a Delete request.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setDeleteTime

        public Task.Builder setDeleteTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. For a deleted resource, the deletion time. It is only
         populated as a response to a Delete request.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeDeleteTime

        public Task.Builder mergeDeleteTime​(com.google.protobuf.Timestamp value)
         Output only. For a deleted resource, the deletion time. It is only
         populated as a response to a Delete request.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearDeleteTime

        public Task.Builder clearDeleteTime()
         Output only. For a deleted resource, the deletion time. It is only
         populated as a response to a Delete request.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDeleteTimeBuilder

        public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
         Output only. For a deleted resource, the deletion time. It is only
         populated as a response to a Delete request.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getDeleteTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
         Output only. For a deleted resource, the deletion time. It is only
         populated as a response to a Delete request.
         
        .google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDeleteTimeOrBuilder in interface TaskOrBuilder
      • hasExpireTime

        public boolean hasExpireTime()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted. It is only populated as a response to a Delete
         request.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasExpireTime in interface TaskOrBuilder
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        public com.google.protobuf.Timestamp getExpireTime()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted. It is only populated as a response to a Delete
         request.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTime in interface TaskOrBuilder
        Returns:
        The expireTime.
      • setExpireTime

        public Task.Builder setExpireTime​(com.google.protobuf.Timestamp value)
         Output only. For a deleted resource, the time after which it will be
         permamently deleted. It is only populated as a response to a Delete
         request.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setExpireTime

        public Task.Builder setExpireTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. For a deleted resource, the time after which it will be
         permamently deleted. It is only populated as a response to a Delete
         request.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeExpireTime

        public Task.Builder mergeExpireTime​(com.google.protobuf.Timestamp value)
         Output only. For a deleted resource, the time after which it will be
         permamently deleted. It is only populated as a response to a Delete
         request.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearExpireTime

        public Task.Builder clearExpireTime()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted. It is only populated as a response to a Delete
         request.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getExpireTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted. It is only populated as a response to a Delete
         request.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getExpireTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
         Output only. For a deleted resource, the time after which it will be
         permamently deleted. It is only populated as a response to a Delete
         request.
         
        .google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getExpireTimeOrBuilder in interface TaskOrBuilder
      • getJob

        public String getJob()
         Output only. The name of the parent Job.
         
        string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getJob in interface TaskOrBuilder
        Returns:
        The job.
      • getJobBytes

        public com.google.protobuf.ByteString getJobBytes()
         Output only. The name of the parent Job.
         
        string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getJobBytes in interface TaskOrBuilder
        Returns:
        The bytes for job.
      • setJob

        public Task.Builder setJob​(String value)
         Output only. The name of the parent Job.
         
        string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The job to set.
        Returns:
        This builder for chaining.
      • clearJob

        public Task.Builder clearJob()
         Output only. The name of the parent Job.
         
        string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setJobBytes

        public Task.Builder setJobBytes​(com.google.protobuf.ByteString value)
         Output only. The name of the parent Job.
         
        string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for job to set.
        Returns:
        This builder for chaining.
      • getExecution

        public String getExecution()
         Output only. The name of the parent Execution.
         
        string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getExecution in interface TaskOrBuilder
        Returns:
        The execution.
      • getExecutionBytes

        public com.google.protobuf.ByteString getExecutionBytes()
         Output only. The name of the parent Execution.
         
        string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getExecutionBytes in interface TaskOrBuilder
        Returns:
        The bytes for execution.
      • setExecution

        public Task.Builder setExecution​(String value)
         Output only. The name of the parent Execution.
         
        string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The execution to set.
        Returns:
        This builder for chaining.
      • clearExecution

        public Task.Builder clearExecution()
         Output only. The name of the parent Execution.
         
        string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setExecutionBytes

        public Task.Builder setExecutionBytes​(com.google.protobuf.ByteString value)
         Output only. The name of the parent Execution.
         
        string execution = 13 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for execution to set.
        Returns:
        This builder for chaining.
      • getContainersList

        public List<Container> getContainersList()
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
        Specified by:
        getContainersList in interface TaskOrBuilder
      • getContainersCount

        public int getContainersCount()
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
        Specified by:
        getContainersCount in interface TaskOrBuilder
      • getContainers

        public Container getContainers​(int index)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
        Specified by:
        getContainers in interface TaskOrBuilder
      • setContainers

        public Task.Builder setContainers​(int index,
                                          Container value)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • setContainers

        public Task.Builder setContainers​(int index,
                                          Container.Builder builderForValue)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • addContainers

        public Task.Builder addContainers​(Container value)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • addContainers

        public Task.Builder addContainers​(int index,
                                          Container value)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • addContainers

        public Task.Builder addContainers​(Container.Builder builderForValue)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • addContainers

        public Task.Builder addContainers​(int index,
                                          Container.Builder builderForValue)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • addAllContainers

        public Task.Builder addAllContainers​(Iterable<? extends Container> values)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • clearContainers

        public Task.Builder clearContainers()
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • removeContainers

        public Task.Builder removeContainers​(int index)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • getContainersBuilder

        public Container.Builder getContainersBuilder​(int index)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • getContainersOrBuilder

        public ContainerOrBuilder getContainersOrBuilder​(int index)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
        Specified by:
        getContainersOrBuilder in interface TaskOrBuilder
      • getContainersOrBuilderList

        public List<? extends ContainerOrBuilder> getContainersOrBuilderList()
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
        Specified by:
        getContainersOrBuilderList in interface TaskOrBuilder
      • addContainersBuilder

        public Container.Builder addContainersBuilder()
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • addContainersBuilder

        public Container.Builder addContainersBuilder​(int index)
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • getContainersBuilderList

        public List<Container.Builder> getContainersBuilderList()
         Holds the single container that defines the unit of execution for this
         task.
         
        repeated .google.cloud.run.v2.Container containers = 14;
      • getVolumesList

        public List<Volume> getVolumesList()
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
        Specified by:
        getVolumesList in interface TaskOrBuilder
      • getVolumesCount

        public int getVolumesCount()
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
        Specified by:
        getVolumesCount in interface TaskOrBuilder
      • getVolumes

        public Volume getVolumes​(int index)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
        Specified by:
        getVolumes in interface TaskOrBuilder
      • setVolumes

        public Task.Builder setVolumes​(int index,
                                       Volume value)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • setVolumes

        public Task.Builder setVolumes​(int index,
                                       Volume.Builder builderForValue)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • addVolumes

        public Task.Builder addVolumes​(Volume value)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • addVolumes

        public Task.Builder addVolumes​(int index,
                                       Volume value)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • addVolumes

        public Task.Builder addVolumes​(Volume.Builder builderForValue)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • addVolumes

        public Task.Builder addVolumes​(int index,
                                       Volume.Builder builderForValue)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • addAllVolumes

        public Task.Builder addAllVolumes​(Iterable<? extends Volume> values)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • clearVolumes

        public Task.Builder clearVolumes()
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • removeVolumes

        public Task.Builder removeVolumes​(int index)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • getVolumesBuilder

        public Volume.Builder getVolumesBuilder​(int index)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • getVolumesOrBuilder

        public VolumeOrBuilder getVolumesOrBuilder​(int index)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
        Specified by:
        getVolumesOrBuilder in interface TaskOrBuilder
      • addVolumesBuilder

        public Volume.Builder addVolumesBuilder()
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • addVolumesBuilder

        public Volume.Builder addVolumesBuilder​(int index)
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • getVolumesBuilderList

        public List<Volume.Builder> getVolumesBuilderList()
         A list of Volumes to make available to containers.
         
        repeated .google.cloud.run.v2.Volume volumes = 15;
      • getMaxRetries

        public int getMaxRetries()
         Number of retries allowed per Task, before marking this Task failed.
         
        int32 max_retries = 16;
        Specified by:
        getMaxRetries in interface TaskOrBuilder
        Returns:
        The maxRetries.
      • setMaxRetries

        public Task.Builder setMaxRetries​(int value)
         Number of retries allowed per Task, before marking this Task failed.
         
        int32 max_retries = 16;
        Parameters:
        value - The maxRetries to set.
        Returns:
        This builder for chaining.
      • clearMaxRetries

        public Task.Builder clearMaxRetries()
         Number of retries allowed per Task, before marking this Task failed.
         
        int32 max_retries = 16;
        Returns:
        This builder for chaining.
      • hasTimeout

        public boolean hasTimeout()
         Max allowed time duration the Task may be active before the system will
         actively try to mark it failed and kill associated containers. This applies
         per attempt of a task, meaning each retry can run for the full timeout.
         
        .google.protobuf.Duration timeout = 17;
        Specified by:
        hasTimeout in interface TaskOrBuilder
        Returns:
        Whether the timeout field is set.
      • getTimeout

        public com.google.protobuf.Duration getTimeout()
         Max allowed time duration the Task may be active before the system will
         actively try to mark it failed and kill associated containers. This applies
         per attempt of a task, meaning each retry can run for the full timeout.
         
        .google.protobuf.Duration timeout = 17;
        Specified by:
        getTimeout in interface TaskOrBuilder
        Returns:
        The timeout.
      • setTimeout

        public Task.Builder setTimeout​(com.google.protobuf.Duration value)
         Max allowed time duration the Task may be active before the system will
         actively try to mark it failed and kill associated containers. This applies
         per attempt of a task, meaning each retry can run for the full timeout.
         
        .google.protobuf.Duration timeout = 17;
      • setTimeout

        public Task.Builder setTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         Max allowed time duration the Task may be active before the system will
         actively try to mark it failed and kill associated containers. This applies
         per attempt of a task, meaning each retry can run for the full timeout.
         
        .google.protobuf.Duration timeout = 17;
      • mergeTimeout

        public Task.Builder mergeTimeout​(com.google.protobuf.Duration value)
         Max allowed time duration the Task may be active before the system will
         actively try to mark it failed and kill associated containers. This applies
         per attempt of a task, meaning each retry can run for the full timeout.
         
        .google.protobuf.Duration timeout = 17;
      • clearTimeout

        public Task.Builder clearTimeout()
         Max allowed time duration the Task may be active before the system will
         actively try to mark it failed and kill associated containers. This applies
         per attempt of a task, meaning each retry can run for the full timeout.
         
        .google.protobuf.Duration timeout = 17;
      • getTimeoutBuilder

        public com.google.protobuf.Duration.Builder getTimeoutBuilder()
         Max allowed time duration the Task may be active before the system will
         actively try to mark it failed and kill associated containers. This applies
         per attempt of a task, meaning each retry can run for the full timeout.
         
        .google.protobuf.Duration timeout = 17;
      • getTimeoutOrBuilder

        public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
         Max allowed time duration the Task may be active before the system will
         actively try to mark it failed and kill associated containers. This applies
         per attempt of a task, meaning each retry can run for the full timeout.
         
        .google.protobuf.Duration timeout = 17;
        Specified by:
        getTimeoutOrBuilder in interface TaskOrBuilder
      • getServiceAccount

        public String getServiceAccount()
         Email address of the IAM service account associated with the Task of a
         Job. The service account represents the identity of the
         running task, and determines what permissions the task has. If
         not provided, the task will use the project's default service account.
         
        string service_account = 18;
        Specified by:
        getServiceAccount in interface TaskOrBuilder
        Returns:
        The serviceAccount.
      • getServiceAccountBytes

        public com.google.protobuf.ByteString getServiceAccountBytes()
         Email address of the IAM service account associated with the Task of a
         Job. The service account represents the identity of the
         running task, and determines what permissions the task has. If
         not provided, the task will use the project's default service account.
         
        string service_account = 18;
        Specified by:
        getServiceAccountBytes in interface TaskOrBuilder
        Returns:
        The bytes for serviceAccount.
      • setServiceAccount

        public Task.Builder setServiceAccount​(String value)
         Email address of the IAM service account associated with the Task of a
         Job. The service account represents the identity of the
         running task, and determines what permissions the task has. If
         not provided, the task will use the project's default service account.
         
        string service_account = 18;
        Parameters:
        value - The serviceAccount to set.
        Returns:
        This builder for chaining.
      • clearServiceAccount

        public Task.Builder clearServiceAccount()
         Email address of the IAM service account associated with the Task of a
         Job. The service account represents the identity of the
         running task, and determines what permissions the task has. If
         not provided, the task will use the project's default service account.
         
        string service_account = 18;
        Returns:
        This builder for chaining.
      • setServiceAccountBytes

        public Task.Builder setServiceAccountBytes​(com.google.protobuf.ByteString value)
         Email address of the IAM service account associated with the Task of a
         Job. The service account represents the identity of the
         running task, and determines what permissions the task has. If
         not provided, the task will use the project's default service account.
         
        string service_account = 18;
        Parameters:
        value - The bytes for serviceAccount to set.
        Returns:
        This builder for chaining.
      • getExecutionEnvironmentValue

        public int getExecutionEnvironmentValue()
         The execution environment being used to host this Task.
         
        .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
        Specified by:
        getExecutionEnvironmentValue in interface TaskOrBuilder
        Returns:
        The enum numeric value on the wire for executionEnvironment.
      • setExecutionEnvironmentValue

        public Task.Builder setExecutionEnvironmentValue​(int value)
         The execution environment being used to host this Task.
         
        .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
        Parameters:
        value - The enum numeric value on the wire for executionEnvironment to set.
        Returns:
        This builder for chaining.
      • getExecutionEnvironment

        public ExecutionEnvironment getExecutionEnvironment()
         The execution environment being used to host this Task.
         
        .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
        Specified by:
        getExecutionEnvironment in interface TaskOrBuilder
        Returns:
        The executionEnvironment.
      • setExecutionEnvironment

        public Task.Builder setExecutionEnvironment​(ExecutionEnvironment value)
         The execution environment being used to host this Task.
         
        .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
        Parameters:
        value - The executionEnvironment to set.
        Returns:
        This builder for chaining.
      • clearExecutionEnvironment

        public Task.Builder clearExecutionEnvironment()
         The execution environment being used to host this Task.
         
        .google.cloud.run.v2.ExecutionEnvironment execution_environment = 20;
        Returns:
        This builder for chaining.
      • getReconciling

        public boolean getReconciling()
         Output only. Indicates whether the resource's reconciliation is still in
         progress. See comments in `Job.reconciling` for additional information on
         reconciliation process in Cloud Run.
         
        bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getReconciling in interface TaskOrBuilder
        Returns:
        The reconciling.
      • setReconciling

        public Task.Builder setReconciling​(boolean value)
         Output only. Indicates whether the resource's reconciliation is still in
         progress. See comments in `Job.reconciling` for additional information on
         reconciliation process in Cloud Run.
         
        bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The reconciling to set.
        Returns:
        This builder for chaining.
      • clearReconciling

        public Task.Builder clearReconciling()
         Output only. Indicates whether the resource's reconciliation is still in
         progress. See comments in `Job.reconciling` for additional information on
         reconciliation process in Cloud Run.
         
        bool reconciling = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getConditionsList

        public List<Condition> getConditionsList()
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsList in interface TaskOrBuilder
      • getConditionsCount

        public int getConditionsCount()
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsCount in interface TaskOrBuilder
      • getConditions

        public Condition getConditions​(int index)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditions in interface TaskOrBuilder
      • setConditions

        public Task.Builder setConditions​(int index,
                                          Condition value)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setConditions

        public Task.Builder setConditions​(int index,
                                          Condition.Builder builderForValue)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public Task.Builder addConditions​(Condition value)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public Task.Builder addConditions​(int index,
                                          Condition value)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public Task.Builder addConditions​(Condition.Builder builderForValue)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditions

        public Task.Builder addConditions​(int index,
                                          Condition.Builder builderForValue)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllConditions

        public Task.Builder addAllConditions​(Iterable<? extends Condition> values)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearConditions

        public Task.Builder clearConditions()
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removeConditions

        public Task.Builder removeConditions​(int index)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsBuilder

        public Condition.Builder getConditionsBuilder​(int index)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsOrBuilder

        public ConditionOrBuilder getConditionsOrBuilder​(int index)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsOrBuilder in interface TaskOrBuilder
      • getConditionsOrBuilderList

        public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getConditionsOrBuilderList in interface TaskOrBuilder
      • addConditionsBuilder

        public Condition.Builder addConditionsBuilder()
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addConditionsBuilder

        public Condition.Builder addConditionsBuilder​(int index)
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getConditionsBuilderList

        public List<Condition.Builder> getConditionsBuilderList()
         Output only. The Condition of this Task, containing its readiness status,
         and detailed error information in case it did not reach the desired state.
         
        repeated .google.cloud.run.v2.Condition conditions = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getObservedGeneration

        public long getObservedGeneration()
         Output only. The generation of this Task. See comments in `Job.reconciling`
         for additional information on reconciliation process in Cloud Run.
         
        int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getObservedGeneration in interface TaskOrBuilder
        Returns:
        The observedGeneration.
      • setObservedGeneration

        public Task.Builder setObservedGeneration​(long value)
         Output only. The generation of this Task. See comments in `Job.reconciling`
         for additional information on reconciliation process in Cloud Run.
         
        int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The observedGeneration to set.
        Returns:
        This builder for chaining.
      • clearObservedGeneration

        public Task.Builder clearObservedGeneration()
         Output only. The generation of this Task. See comments in `Job.reconciling`
         for additional information on reconciliation process in Cloud Run.
         
        int64 observed_generation = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getIndex

        public int getIndex()
         Output only. Index of the Task, unique per execution, and beginning at 0.
         
        int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIndex in interface TaskOrBuilder
        Returns:
        The index.
      • setIndex

        public Task.Builder setIndex​(int value)
         Output only. Index of the Task, unique per execution, and beginning at 0.
         
        int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The index to set.
        Returns:
        This builder for chaining.
      • clearIndex

        public Task.Builder clearIndex()
         Output only. Index of the Task, unique per execution, and beginning at 0.
         
        int32 index = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getRetried

        public int getRetried()
         Output only. The number of times this Task was retried.
         Tasks are retried when they fail up to the maxRetries limit.
         
        int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getRetried in interface TaskOrBuilder
        Returns:
        The retried.
      • setRetried

        public Task.Builder setRetried​(int value)
         Output only. The number of times this Task was retried.
         Tasks are retried when they fail up to the maxRetries limit.
         
        int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The retried to set.
        Returns:
        This builder for chaining.
      • clearRetried

        public Task.Builder clearRetried()
         Output only. The number of times this Task was retried.
         Tasks are retried when they fail up to the maxRetries limit.
         
        int32 retried = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasLastAttemptResult

        public boolean hasLastAttemptResult()
         Output only. Result of the last attempt of this Task.
         
        .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasLastAttemptResult in interface TaskOrBuilder
        Returns:
        Whether the lastAttemptResult field is set.
      • getLastAttemptResult

        public TaskAttemptResult getLastAttemptResult()
         Output only. Result of the last attempt of this Task.
         
        .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLastAttemptResult in interface TaskOrBuilder
        Returns:
        The lastAttemptResult.
      • setLastAttemptResult

        public Task.Builder setLastAttemptResult​(TaskAttemptResult value)
         Output only. Result of the last attempt of this Task.
         
        .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setLastAttemptResult

        public Task.Builder setLastAttemptResult​(TaskAttemptResult.Builder builderForValue)
         Output only. Result of the last attempt of this Task.
         
        .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeLastAttemptResult

        public Task.Builder mergeLastAttemptResult​(TaskAttemptResult value)
         Output only. Result of the last attempt of this Task.
         
        .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearLastAttemptResult

        public Task.Builder clearLastAttemptResult()
         Output only. Result of the last attempt of this Task.
         
        .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLastAttemptResultBuilder

        public TaskAttemptResult.Builder getLastAttemptResultBuilder()
         Output only. Result of the last attempt of this Task.
         
        .google.cloud.run.v2.TaskAttemptResult last_attempt_result = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getEncryptionKey

        public String getEncryptionKey()
         Output only. A reference to a customer managed encryption key (CMEK) to use
         to encrypt this container image. For more information, go to
         https://cloud.google.com/run/docs/securing/using-cmek
         
        string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getEncryptionKey in interface TaskOrBuilder
        Returns:
        The encryptionKey.
      • getEncryptionKeyBytes

        public com.google.protobuf.ByteString getEncryptionKeyBytes()
         Output only. A reference to a customer managed encryption key (CMEK) to use
         to encrypt this container image. For more information, go to
         https://cloud.google.com/run/docs/securing/using-cmek
         
        string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getEncryptionKeyBytes in interface TaskOrBuilder
        Returns:
        The bytes for encryptionKey.
      • setEncryptionKey

        public Task.Builder setEncryptionKey​(String value)
         Output only. A reference to a customer managed encryption key (CMEK) to use
         to encrypt this container image. For more information, go to
         https://cloud.google.com/run/docs/securing/using-cmek
         
        string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The encryptionKey to set.
        Returns:
        This builder for chaining.
      • clearEncryptionKey

        public Task.Builder clearEncryptionKey()
         Output only. A reference to a customer managed encryption key (CMEK) to use
         to encrypt this container image. For more information, go to
         https://cloud.google.com/run/docs/securing/using-cmek
         
        string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setEncryptionKeyBytes

        public Task.Builder setEncryptionKeyBytes​(com.google.protobuf.ByteString value)
         Output only. A reference to a customer managed encryption key (CMEK) to use
         to encrypt this container image. For more information, go to
         https://cloud.google.com/run/docs/securing/using-cmek
         
        string encryption_key = 28 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for encryptionKey to set.
        Returns:
        This builder for chaining.
      • hasVpcAccess

        public boolean hasVpcAccess()
         Output only. VPC Access configuration to use for this Task. For more
         information, visit
         https://cloud.google.com/run/docs/configuring/connecting-vpc.
         
        .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasVpcAccess in interface TaskOrBuilder
        Returns:
        Whether the vpcAccess field is set.
      • getVpcAccess

        public VpcAccess getVpcAccess()
         Output only. VPC Access configuration to use for this Task. For more
         information, visit
         https://cloud.google.com/run/docs/configuring/connecting-vpc.
         
        .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVpcAccess in interface TaskOrBuilder
        Returns:
        The vpcAccess.
      • setVpcAccess

        public Task.Builder setVpcAccess​(VpcAccess value)
         Output only. VPC Access configuration to use for this Task. For more
         information, visit
         https://cloud.google.com/run/docs/configuring/connecting-vpc.
         
        .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setVpcAccess

        public Task.Builder setVpcAccess​(VpcAccess.Builder builderForValue)
         Output only. VPC Access configuration to use for this Task. For more
         information, visit
         https://cloud.google.com/run/docs/configuring/connecting-vpc.
         
        .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeVpcAccess

        public Task.Builder mergeVpcAccess​(VpcAccess value)
         Output only. VPC Access configuration to use for this Task. For more
         information, visit
         https://cloud.google.com/run/docs/configuring/connecting-vpc.
         
        .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearVpcAccess

        public Task.Builder clearVpcAccess()
         Output only. VPC Access configuration to use for this Task. For more
         information, visit
         https://cloud.google.com/run/docs/configuring/connecting-vpc.
         
        .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getVpcAccessBuilder

        public VpcAccess.Builder getVpcAccessBuilder()
         Output only. VPC Access configuration to use for this Task. For more
         information, visit
         https://cloud.google.com/run/docs/configuring/connecting-vpc.
         
        .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getVpcAccessOrBuilder

        public VpcAccessOrBuilder getVpcAccessOrBuilder()
         Output only. VPC Access configuration to use for this Task. For more
         information, visit
         https://cloud.google.com/run/docs/configuring/connecting-vpc.
         
        .google.cloud.run.v2.VpcAccess vpc_access = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getVpcAccessOrBuilder in interface TaskOrBuilder
      • getLogUri

        public String getLogUri()
         Output only. URI where logs for this execution can be found in Cloud
         Console.
         
        string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLogUri in interface TaskOrBuilder
        Returns:
        The logUri.
      • getLogUriBytes

        public com.google.protobuf.ByteString getLogUriBytes()
         Output only. URI where logs for this execution can be found in Cloud
         Console.
         
        string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLogUriBytes in interface TaskOrBuilder
        Returns:
        The bytes for logUri.
      • setLogUri

        public Task.Builder setLogUri​(String value)
         Output only. URI where logs for this execution can be found in Cloud
         Console.
         
        string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The logUri to set.
        Returns:
        This builder for chaining.
      • clearLogUri

        public Task.Builder clearLogUri()
         Output only. URI where logs for this execution can be found in Cloud
         Console.
         
        string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setLogUriBytes

        public Task.Builder setLogUriBytes​(com.google.protobuf.ByteString value)
         Output only. URI where logs for this execution can be found in Cloud
         Console.
         
        string log_uri = 32 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for logUri to set.
        Returns:
        This builder for chaining.
      • getSatisfiesPzs

        public boolean getSatisfiesPzs()
         Output only. Reserved for future use.
         
        bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getSatisfiesPzs in interface TaskOrBuilder
        Returns:
        The satisfiesPzs.
      • setSatisfiesPzs

        public Task.Builder setSatisfiesPzs​(boolean value)
         Output only. Reserved for future use.
         
        bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The satisfiesPzs to set.
        Returns:
        This builder for chaining.
      • clearSatisfiesPzs

        public Task.Builder clearSatisfiesPzs()
         Output only. Reserved for future use.
         
        bool satisfies_pzs = 33 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getEtag

        public String getEtag()
         Output only. A system-generated fingerprint for this version of the
         resource. May be used to detect modification conflict during updates.
         
        string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEtag in interface TaskOrBuilder
        Returns:
        The etag.
      • getEtagBytes

        public com.google.protobuf.ByteString getEtagBytes()
         Output only. A system-generated fingerprint for this version of the
         resource. May be used to detect modification conflict during updates.
         
        string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getEtagBytes in interface TaskOrBuilder
        Returns:
        The bytes for etag.
      • setEtag

        public Task.Builder setEtag​(String value)
         Output only. A system-generated fingerprint for this version of the
         resource. May be used to detect modification conflict during updates.
         
        string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The etag to set.
        Returns:
        This builder for chaining.
      • clearEtag

        public Task.Builder clearEtag()
         Output only. A system-generated fingerprint for this version of the
         resource. May be used to detect modification conflict during updates.
         
        string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setEtagBytes

        public Task.Builder setEtagBytes​(com.google.protobuf.ByteString value)
         Output only. A system-generated fingerprint for this version of the
         resource. May be used to detect modification conflict during updates.
         
        string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for etag to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Task.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<Task.Builder>
      • mergeUnknownFields

        public final Task.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<Task.Builder>