public static final class ExecutionTemplate.Builder extends GeneratedMessageV3.Builder<ExecutionTemplate.Builder> implements ExecutionTemplateOrBuilder
   
   ExecutionTemplate describes the data an execution should have when created
 from a template.
 Protobuf type google.cloud.run.v2.ExecutionTemplate
 
  
  
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  Methods
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public ExecutionTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  build()
  
    public ExecutionTemplate build()
   
  Returns
  
  
  buildPartial()
  
    public ExecutionTemplate buildPartial()
   
  Returns
  
  
  clear()
  
    public ExecutionTemplate.Builder clear()
   
  Returns
  
  Overrides
  
  
  clearAnnotations()
  
    public ExecutionTemplate.Builder clearAnnotations()
   
  Returns
  
  
  clearField(Descriptors.FieldDescriptor field)
  
    public ExecutionTemplate.Builder clearField(Descriptors.FieldDescriptor field)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  clearLabels()
  
    public ExecutionTemplate.Builder clearLabels()
   
  Returns
  
  
  clearOneof(Descriptors.OneofDescriptor oneof)
  
    public ExecutionTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  clearParallelism()
  
    public ExecutionTemplate.Builder clearParallelism()
   
   Specifies the maximum desired number of tasks the execution should run at
 given time. Must be <= task_count.
 When the job is run, if this field is 0 or unset, the maximum possible
 value will be used for that execution.
 The actual number of tasks running in steady state will be less than this
 number when there are fewer tasks waiting to be completed remaining,
 i.e. when the work left to do is less than max parallelism.
 int32 parallelism = 3;
 
  Returns
  
  
  clearTaskCount()
  
    public ExecutionTemplate.Builder clearTaskCount()
   
  
  Returns
  
  
  clearTemplate()
  
    public ExecutionTemplate.Builder clearTemplate()
   
   Required. Describes the task(s) that will be created when executing an
 execution.
 
 .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
 
 
  Returns
  
  
  clone()
  
    public ExecutionTemplate.Builder clone()
   
  Returns
  
  Overrides
  
  
  containsAnnotations(String key)
  
    public boolean containsAnnotations(String key)
   
   KRM-style annotations for the resource.
 <p>Cloud Run API v2 does not support annotations with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system annotations in v1 now
 have a corresponding field in v2 ExecutionTemplate.
 map<string, string> annotations = 2;
 
  Parameter
  
  Returns
  
  
  containsLabels(String key)
  
    public boolean containsLabels(String key)
   
   KRM-style labels for the resource.
 <p>Cloud Run API v2 does not support labels with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system labels in v1 now have a
 corresponding field in v2 ExecutionTemplate.
 map<string, string> labels = 1;
 
  Parameter
  
  Returns
  
  
  getAnnotations()
  
    public Map<String,String> getAnnotations()
   
  
  Returns
  
  
  getAnnotationsCount()
  
    public int getAnnotationsCount()
   
   KRM-style annotations for the resource.
 <p>Cloud Run API v2 does not support annotations with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system annotations in v1 now
 have a corresponding field in v2 ExecutionTemplate.
 map<string, string> annotations = 2;
 
  Returns
  
  
  getAnnotationsMap()
  
    public Map<String,String> getAnnotationsMap()
   
   KRM-style annotations for the resource.
 <p>Cloud Run API v2 does not support annotations with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system annotations in v1 now
 have a corresponding field in v2 ExecutionTemplate.
 map<string, string> annotations = 2;
 
  Returns
  
  
  getAnnotationsOrDefault(String key, String defaultValue)
  
    public String getAnnotationsOrDefault(String key, String defaultValue)
   
   KRM-style annotations for the resource.
 <p>Cloud Run API v2 does not support annotations with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system annotations in v1 now
 have a corresponding field in v2 ExecutionTemplate.
 map<string, string> annotations = 2;
 
  Parameters
  
  Returns
  
  
  getAnnotationsOrThrow(String key)
  
    public String getAnnotationsOrThrow(String key)
   
   KRM-style annotations for the resource.
 <p>Cloud Run API v2 does not support annotations with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system annotations in v1 now
 have a corresponding field in v2 ExecutionTemplate.
 map<string, string> annotations = 2;
 
  Parameter
  
  Returns
  
  
  getDefaultInstanceForType()
  
    public ExecutionTemplate getDefaultInstanceForType()
   
  Returns
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  Returns
  
  Overrides
  
  
  getLabels()
  
    public Map<String,String> getLabels()
   
  
  Returns
  
  
  getLabelsCount()
  
    public int getLabelsCount()
   
   KRM-style labels for the resource.
 <p>Cloud Run API v2 does not support labels with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system labels in v1 now have a
 corresponding field in v2 ExecutionTemplate.
 map<string, string> labels = 1;
 
  Returns
  
  
  getLabelsMap()
  
    public Map<String,String> getLabelsMap()
   
   KRM-style labels for the resource.
 <p>Cloud Run API v2 does not support labels with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system labels in v1 now have a
 corresponding field in v2 ExecutionTemplate.
 map<string, string> labels = 1;
 
  Returns
  
  
  getLabelsOrDefault(String key, String defaultValue)
  
    public String getLabelsOrDefault(String key, String defaultValue)
   
   KRM-style labels for the resource.
 <p>Cloud Run API v2 does not support labels with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system labels in v1 now have a
 corresponding field in v2 ExecutionTemplate.
 map<string, string> labels = 1;
 
  Parameters
  
  Returns
  
  
  getLabelsOrThrow(String key)
  
    public String getLabelsOrThrow(String key)
   
   KRM-style labels for the resource.
 <p>Cloud Run API v2 does not support labels with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system labels in v1 now have a
 corresponding field in v2 ExecutionTemplate.
 map<string, string> labels = 1;
 
  Parameter
  
  Returns
  
  
  getMutableAnnotations()
  
    public Map<String,String> getMutableAnnotations()
   
  Use alternate mutation accessors instead.
 
  Returns
  
  
  getMutableLabels()
  
    public Map<String,String> getMutableLabels()
   
  Use alternate mutation accessors instead.
 
  Returns
  
  
  getParallelism()
  
    public int getParallelism()
   
   Specifies the maximum desired number of tasks the execution should run at
 given time. Must be <= task_count.
 When the job is run, if this field is 0 or unset, the maximum possible
 value will be used for that execution.
 The actual number of tasks running in steady state will be less than this
 number when there are fewer tasks waiting to be completed remaining,
 i.e. when the work left to do is less than max parallelism.
 int32 parallelism = 3;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        int | 
        The parallelism. 
 | 
      
    
  
  
  getTaskCount()
  
    public int getTaskCount()
   
  
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        int | 
        The taskCount. 
 | 
      
    
  
  
  getTemplate()
  
    public TaskTemplate getTemplate()
   
   Required. Describes the task(s) that will be created when executing an
 execution.
 
 .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
 
 
  Returns
  
  
  getTemplateBuilder()
  
    public TaskTemplate.Builder getTemplateBuilder()
   
   Required. Describes the task(s) that will be created when executing an
 execution.
 
 .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
 
 
  Returns
  
  
  getTemplateOrBuilder()
  
    public TaskTemplateOrBuilder getTemplateOrBuilder()
   
   Required. Describes the task(s) that will be created when executing an
 execution.
 
 .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
 
 
  Returns
  
  
  hasTemplate()
  
    public boolean hasTemplate()
   
   Required. Describes the task(s) that will be created when executing an
 execution.
 
 .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
 
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the template field is set. 
 | 
      
    
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  internalGetMapField(int number)
  
    protected MapField internalGetMapField(int number)
   
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        number | 
        int
  | 
      
    
  
  Returns
  
  Overrides
  
  
  internalGetMutableMapField(int number)
  
    protected MapField internalGetMutableMapField(int number)
   
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        number | 
        int
  | 
      
    
  
  Returns
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  mergeFrom(ExecutionTemplate other)
  
    public ExecutionTemplate.Builder mergeFrom(ExecutionTemplate other)
   
  Parameter
  
  Returns
  
  
  
  
    public ExecutionTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Overrides
  
  Exceptions
  
  
  mergeFrom(Message other)
  
    public ExecutionTemplate.Builder mergeFrom(Message other)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  mergeTemplate(TaskTemplate value)
  
    public ExecutionTemplate.Builder mergeTemplate(TaskTemplate value)
   
   Required. Describes the task(s) that will be created when executing an
 execution.
 
 .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
 
 
  Parameter
  
  Returns
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final ExecutionTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  putAllAnnotations(Map<String,String> values)
  
    public ExecutionTemplate.Builder putAllAnnotations(Map<String,String> values)
   
   KRM-style annotations for the resource.
 <p>Cloud Run API v2 does not support annotations with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system annotations in v1 now
 have a corresponding field in v2 ExecutionTemplate.
 map<string, string> annotations = 2;
 
  Parameter
  
  Returns
  
  
  putAllLabels(Map<String,String> values)
  
    public ExecutionTemplate.Builder putAllLabels(Map<String,String> values)
   
   KRM-style labels for the resource.
 <p>Cloud Run API v2 does not support labels with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system labels in v1 now have a
 corresponding field in v2 ExecutionTemplate.
 map<string, string> labels = 1;
 
  Parameter
  
  Returns
  
  
  putAnnotations(String key, String value)
  
    public ExecutionTemplate.Builder putAnnotations(String key, String value)
   
   KRM-style annotations for the resource.
 <p>Cloud Run API v2 does not support annotations with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system annotations in v1 now
 have a corresponding field in v2 ExecutionTemplate.
 map<string, string> annotations = 2;
 
  Parameters
  
  Returns
  
  
  putLabels(String key, String value)
  
    public ExecutionTemplate.Builder putLabels(String key, String value)
   
   KRM-style labels for the resource.
 <p>Cloud Run API v2 does not support labels with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system labels in v1 now have a
 corresponding field in v2 ExecutionTemplate.
 map<string, string> labels = 1;
 
  Parameters
  
  Returns
  
  
  removeAnnotations(String key)
  
    public ExecutionTemplate.Builder removeAnnotations(String key)
   
   KRM-style annotations for the resource.
 <p>Cloud Run API v2 does not support annotations with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system annotations in v1 now
 have a corresponding field in v2 ExecutionTemplate.
 map<string, string> annotations = 2;
 
  Parameter
  
  Returns
  
  
  removeLabels(String key)
  
    public ExecutionTemplate.Builder removeLabels(String key)
   
   KRM-style labels for the resource.
 <p>Cloud Run API v2 does not support labels with run.googleapis.com,
 cloud.googleapis.com, serving.knative.dev, or autoscaling.knative.dev
 namespaces, and they will be rejected. All system labels in v1 now have a
 corresponding field in v2 ExecutionTemplate.
 map<string, string> labels = 1;
 
  Parameter
  
  Returns
  
  
  setField(Descriptors.FieldDescriptor field, Object value)
  
    public ExecutionTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  setParallelism(int value)
  
    public ExecutionTemplate.Builder setParallelism(int value)
   
   Specifies the maximum desired number of tasks the execution should run at
 given time. Must be <= task_count.
 When the job is run, if this field is 0 or unset, the maximum possible
 value will be used for that execution.
 The actual number of tasks running in steady state will be less than this
 number when there are fewer tasks waiting to be completed remaining,
 i.e. when the work left to do is less than max parallelism.
 int32 parallelism = 3;
 
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        value | 
        int
 The parallelism to set. 
 | 
      
    
  
  Returns
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public ExecutionTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  setTaskCount(int value)
  
    public ExecutionTemplate.Builder setTaskCount(int value)
   
  
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        value | 
        int
 The taskCount to set. 
 | 
      
    
  
  Returns
  
  
  setTemplate(TaskTemplate value)
  
    public ExecutionTemplate.Builder setTemplate(TaskTemplate value)
   
   Required. Describes the task(s) that will be created when executing an
 execution.
 
 .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
 
 
  Parameter
  
  Returns
  
  
  setTemplate(TaskTemplate.Builder builderForValue)
  
    public ExecutionTemplate.Builder setTemplate(TaskTemplate.Builder builderForValue)
   
   Required. Describes the task(s) that will be created when executing an
 execution.
 
 .google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
 
 
  Parameter
  
  Returns
  
  
  setUnknownFields(UnknownFieldSet unknownFields)
  
    public final ExecutionTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  Parameter
  
  Returns
  
  Overrides