Interface BatchJobOrBuilder

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

public interface BatchJobOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getResourceName

      String getResourceName()
       Immutable. The resource name of the batch job.
       Batch job resource names have the form:
      
       `customers/{customer_id}/batchJobs/{batch_job_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The resourceName.
    • getResourceNameBytes

      com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. The resource name of the batch job.
       Batch job resource names have the form:
      
       `customers/{customer_id}/batchJobs/{batch_job_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for resourceName.
    • hasId

      boolean hasId()
       Output only. ID of this batch job.
       
      optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the id field is set.
    • getId

      long getId()
       Output only. ID of this batch job.
       
      optional int64 id = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The id.
    • hasNextAddSequenceToken

      boolean hasNextAddSequenceToken()
       Output only. The next sequence token to use when adding operations. Only
       set when the batch job status is PENDING.
       
      optional string next_add_sequence_token = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the nextAddSequenceToken field is set.
    • getNextAddSequenceToken

      String getNextAddSequenceToken()
       Output only. The next sequence token to use when adding operations. Only
       set when the batch job status is PENDING.
       
      optional string next_add_sequence_token = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The nextAddSequenceToken.
    • getNextAddSequenceTokenBytes

      com.google.protobuf.ByteString getNextAddSequenceTokenBytes()
       Output only. The next sequence token to use when adding operations. Only
       set when the batch job status is PENDING.
       
      optional string next_add_sequence_token = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for nextAddSequenceToken.
    • hasMetadata

      boolean hasMetadata()
       Output only. Contains additional information about this batch job.
       
      .google.ads.googleads.v18.resources.BatchJob.BatchJobMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the metadata field is set.
    • getMetadata

       Output only. Contains additional information about this batch job.
       
      .google.ads.googleads.v18.resources.BatchJob.BatchJobMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The metadata.
    • getMetadataOrBuilder

      BatchJob.BatchJobMetadataOrBuilder getMetadataOrBuilder()
       Output only. Contains additional information about this batch job.
       
      .google.ads.googleads.v18.resources.BatchJob.BatchJobMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatusValue

      int getStatusValue()
       Output only. Status of this batch job.
       
      .google.ads.googleads.v18.enums.BatchJobStatusEnum.BatchJobStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

       Output only. Status of this batch job.
       
      .google.ads.googleads.v18.enums.BatchJobStatusEnum.BatchJobStatus status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The status.
    • hasLongRunningOperation

      boolean hasLongRunningOperation()
       Output only. The resource name of the long-running operation that can be
       used to poll for completion. Only set when the batch job status is RUNNING
       or DONE.
       
      optional string long_running_operation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the longRunningOperation field is set.
    • getLongRunningOperation

      String getLongRunningOperation()
       Output only. The resource name of the long-running operation that can be
       used to poll for completion. Only set when the batch job status is RUNNING
       or DONE.
       
      optional string long_running_operation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The longRunningOperation.
    • getLongRunningOperationBytes

      com.google.protobuf.ByteString getLongRunningOperationBytes()
       Output only. The resource name of the long-running operation that can be
       used to poll for completion. Only set when the batch job status is RUNNING
       or DONE.
       
      optional string long_running_operation = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for longRunningOperation.