Interface CreateJobRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    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 Details

    • getParent

      String getParent()
       Required. The location name. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The location name. For example:
       `projects/PROJECT_ID/locations/LOCATION_ID`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasJob

      boolean hasJob()
       Required. The job to add. The user can optionally specify a name for the
       job in [name][google.cloud.scheduler.v1.Job.name].
       [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
       existing job. If a name is not specified then the system will
       generate a random unique name that will be returned
       ([name][google.cloud.scheduler.v1.Job.name]) in the response.
       
      .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the job field is set.
    • getJob

      Job getJob()
       Required. The job to add. The user can optionally specify a name for the
       job in [name][google.cloud.scheduler.v1.Job.name].
       [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
       existing job. If a name is not specified then the system will
       generate a random unique name that will be returned
       ([name][google.cloud.scheduler.v1.Job.name]) in the response.
       
      .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The job.
    • getJobOrBuilder

      JobOrBuilder getJobOrBuilder()
       Required. The job to add. The user can optionally specify a name for the
       job in [name][google.cloud.scheduler.v1.Job.name].
       [name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
       existing job. If a name is not specified then the system will
       generate a random unique name that will be returned
       ([name][google.cloud.scheduler.v1.Job.name]) in the response.
       
      .google.cloud.scheduler.v1.Job job = 2 [(.google.api.field_behavior) = REQUIRED];