Interface RunTaskRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RunTaskRequest, RunTaskRequest.Builder

@Generated public interface RunTaskRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Required. The resource name of the task:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the task:
       `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getLabelsCount

      int getLabelsCount()
       Optional. User-defined labels for the task. If the map is left empty, the
       task will run with existing labels from task definition. If the map
       contains an entry with a new key, the same will be added to existing set of
       labels. If the map contains an entry with an existing label key in task
       definition, the task will run with new label value for that entry. Clearing
       an existing label will require label value to be explicitly set to a hyphen
       "-". The label value cannot be empty.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. User-defined labels for the task. If the map is left empty, the
       task will run with existing labels from task definition. If the map
       contains an entry with a new key, the same will be added to existing set of
       labels. If the map contains an entry with an existing label key in task
       definition, the task will run with new label value for that entry. Clearing
       an existing label will require label value to be explicitly set to a hyphen
       "-". The label value cannot be empty.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. User-defined labels for the task. If the map is left empty, the
       task will run with existing labels from task definition. If the map
       contains an entry with a new key, the same will be added to existing set of
       labels. If the map contains an entry with an existing label key in task
       definition, the task will run with new label value for that entry. Clearing
       an existing label will require label value to be explicitly set to a hyphen
       "-". The label value cannot be empty.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. User-defined labels for the task. If the map is left empty, the
       task will run with existing labels from task definition. If the map
       contains an entry with a new key, the same will be added to existing set of
       labels. If the map contains an entry with an existing label key in task
       definition, the task will run with new label value for that entry. Clearing
       an existing label will require label value to be explicitly set to a hyphen
       "-". The label value cannot be empty.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. User-defined labels for the task. If the map is left empty, the
       task will run with existing labels from task definition. If the map
       contains an entry with a new key, the same will be added to existing set of
       labels. If the map contains an entry with an existing label key in task
       definition, the task will run with new label value for that entry. Clearing
       an existing label will require label value to be explicitly set to a hyphen
       "-". The label value cannot be empty.
       
      map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getArgsCount

      int getArgsCount()
       Optional. Execution spec arguments. If the map is left empty, the task will
       run with existing execution spec args from task definition. If the map
       contains an entry with a new key, the same will be added to existing set of
       args. If the map contains an entry with an existing arg key in task
       definition, the task will run with new arg value for that entry. Clearing
       an existing arg will require arg value to be explicitly set to a hyphen
       "-". The arg value cannot be empty.
       
      map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    • containsArgs

      boolean containsArgs(String key)
       Optional. Execution spec arguments. If the map is left empty, the task will
       run with existing execution spec args from task definition. If the map
       contains an entry with a new key, the same will be added to existing set of
       args. If the map contains an entry with an existing arg key in task
       definition, the task will run with new arg value for that entry. Clearing
       an existing arg will require arg value to be explicitly set to a hyphen
       "-". The arg value cannot be empty.
       
      map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getArgs

      Deprecated.
      Use getArgsMap() instead.
    • getArgsMap

      Map<String,String> getArgsMap()
       Optional. Execution spec arguments. If the map is left empty, the task will
       run with existing execution spec args from task definition. If the map
       contains an entry with a new key, the same will be added to existing set of
       args. If the map contains an entry with an existing arg key in task
       definition, the task will run with new arg value for that entry. Clearing
       an existing arg will require arg value to be explicitly set to a hyphen
       "-". The arg value cannot be empty.
       
      map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getArgsOrDefault

      String getArgsOrDefault(String key, String defaultValue)
       Optional. Execution spec arguments. If the map is left empty, the task will
       run with existing execution spec args from task definition. If the map
       contains an entry with a new key, the same will be added to existing set of
       args. If the map contains an entry with an existing arg key in task
       definition, the task will run with new arg value for that entry. Clearing
       an existing arg will require arg value to be explicitly set to a hyphen
       "-". The arg value cannot be empty.
       
      map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getArgsOrThrow

      String getArgsOrThrow(String key)
       Optional. Execution spec arguments. If the map is left empty, the task will
       run with existing execution spec args from task definition. If the map
       contains an entry with a new key, the same will be added to existing set of
       args. If the map contains an entry with an existing arg key in task
       definition, the task will run with new arg value for that entry. Clearing
       an existing arg will require arg value to be explicitly set to a hyphen
       "-". The arg value cannot be empty.
       
      map<string, string> args = 4 [(.google.api.field_behavior) = OPTIONAL];