Interface CreateJobRequestOrBuilder

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

    public interface CreateJobRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Job getJob()
      Required.
      String getJobId()
      Required.
      com.google.protobuf.ByteString getJobIdBytes()
      Required.
      JobOrBuilder getJobOrBuilder()
      Required.
      String getParent()
      Required.
      com.google.protobuf.ByteString getParentBytes()
      Required.
      boolean getValidateOnly()
      Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
      boolean hasJob()
      Required.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getParent

        String getParent()
         Required. The location and project in which this Job should be created.
         Format: projects/{project}/locations/{location}, where {project} can be
         project id or number.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The location and project in which this Job should be created.
         Format: projects/{project}/locations/{location}, where {project} can be
         project id or number.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • hasJob

        boolean hasJob()
         Required. The Job instance to create.
         
        .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the job field is set.
      • getJob

        Job getJob()
         Required. The Job instance to create.
         
        .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The job.
      • getJobOrBuilder

        JobOrBuilder getJobOrBuilder()
         Required. The Job instance to create.
         
        .google.cloud.run.v2.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
      • getJobId

        String getJobId()
         Required. The unique identifier for the Job. The name of the job becomes
         {parent}/jobs/{job_id}.
         
        string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The jobId.
      • getJobIdBytes

        com.google.protobuf.ByteString getJobIdBytes()
         Required. The unique identifier for the Job. The name of the job becomes
         {parent}/jobs/{job_id}.
         
        string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for jobId.
      • getValidateOnly

        boolean getValidateOnly()
         Indicates that the request should be validated and default values
         populated, without persisting the request or creating any resources.
         
        bool validate_only = 4;
        Returns:
        The validateOnly.