Job

google.cloud.dataproc.v1beta2. Job

Represents a Job.

Constructor

new Job(propertiesopt)

Constructs a new Job.

Parameters:
Name Type Attributes Description
properties google.cloud.dataproc.v1beta2.IJob <optional>

Properties to set

Implements:
  • IJob

Members

done :boolean

Job done.

driverControlFilesUri :string

Job driverControlFilesUri.

driverOutputResourceUri :string

Job driverOutputResourceUri.

hadoopJob :google.cloud.dataproc.v1beta2.IHadoopJob|null|undefined

Job hadoopJob.

hiveJob :google.cloud.dataproc.v1beta2.IHiveJob|null|undefined

Job hiveJob.

jobUuid :string

Job jobUuid.

labels :Object.<string, string>

Job labels.

pigJob :google.cloud.dataproc.v1beta2.IPigJob|null|undefined

Job pigJob.

placement :google.cloud.dataproc.v1beta2.IJobPlacement|null|undefined

Job placement.

prestoJob :google.cloud.dataproc.v1beta2.IPrestoJob|null|undefined

Job prestoJob.

pysparkJob :google.cloud.dataproc.v1beta2.IPySparkJob|null|undefined

Job pysparkJob.

reference :google.cloud.dataproc.v1beta2.IJobReference|null|undefined

Job reference.

scheduling :google.cloud.dataproc.v1beta2.IJobScheduling|null|undefined

Job scheduling.

sparkJob :google.cloud.dataproc.v1beta2.ISparkJob|null|undefined

Job sparkJob.

sparkRJob :google.cloud.dataproc.v1beta2.ISparkRJob|null|undefined

Job sparkRJob.

sparkSqlJob :google.cloud.dataproc.v1beta2.ISparkSqlJob|null|undefined

Job sparkSqlJob.

status :google.cloud.dataproc.v1beta2.IJobStatus|null|undefined

Job status.

statusHistory :Array.<google.cloud.dataproc.v1beta2.IJobStatus>

Job statusHistory.

submittedBy :string

Job submittedBy.

typeJob :"hadoopJob"|"sparkJob"|"pysparkJob"|"hiveJob"|"pigJob"|"sparkRJob"|"sparkSqlJob"|"prestoJob"|undefined

Job typeJob.

yarnApplications :Array.<google.cloud.dataproc.v1beta2.IYarnApplication>

Job yarnApplications.

Methods

(static) create(propertiesopt) → {google.cloud.dataproc.v1beta2.Job}

Creates a new Job instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.dataproc.v1beta2.IJob <optional>

Properties to set

(static) decode(reader, lengthopt) → {google.cloud.dataproc.v1beta2.Job}

Decodes a Job message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.dataproc.v1beta2.Job}

Decodes a Job message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified Job message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.dataproc.v1beta2.IJob

Job message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified Job message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.dataproc.v1beta2.IJob

Job message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) fromObject(object) → {google.cloud.dataproc.v1beta2.Job}

Creates a Job message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Job message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.dataproc.v1beta2.Job

Job

options $protobuf.IConversionOptions <optional>

Conversion options

(static) verify(message) → {string|null}

Verifies a Job message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

toJSON() → {Object.<string, *>}

Converts this Job to JSON.