Interface JobOrBuilder (1.25.0)

public interface JobOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Output only. User-defined labels for the task.

map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getEndTime()

public abstract Timestamp getEndTime()

Output only. The time when the job ended.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time when the job ended.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getExecutionSpec()

public abstract Task.ExecutionSpec getExecutionSpec()

Output only. Spec related to how a task is executed.

.google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Task.ExecutionSpec

The executionSpec.

getExecutionSpecOrBuilder()

public abstract Task.ExecutionSpecOrBuilder getExecutionSpecOrBuilder()

Output only. Spec related to how a task is executed.

.google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Task.ExecutionSpecOrBuilder

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Output only. User-defined labels for the task.

map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Output only. User-defined labels for the task.

map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Output only. User-defined labels for the task.

map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Output only. User-defined labels for the task.

map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMessage()

public abstract String getMessage()

Output only. Additional information about the current state.

string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The message.

getMessageBytes()

public abstract ByteString getMessageBytes()

Output only. Additional information about the current state.

string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for message.

getName()

public abstract String getName()

Output only. The relative resource name of the job, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The relative resource name of the job, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getRetryCount()

public abstract int getRetryCount()

Output only. The number of times the job has been retried (excluding the initial attempt).

uint32 retry_count = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The retryCount.

getService()

public abstract Job.Service getService()

Output only. The underlying service running a job.

.google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Job.Service

The service.

getServiceJob()

public abstract String getServiceJob()

Output only. The full resource name for the job run under a particular service.

string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The serviceJob.

getServiceJobBytes()

public abstract ByteString getServiceJobBytes()

Output only. The full resource name for the job run under a particular service.

string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for serviceJob.

getServiceValue()

public abstract int getServiceValue()

Output only. The underlying service running a job.

.google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for service.

getStartTime()

public abstract Timestamp getStartTime()

Output only. The time when the job was started.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time when the job was started.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getState()

public abstract Job.State getState()

Output only. Execution state for the job.

.google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Job.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. Execution state for the job.

.google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTrigger()

public abstract Job.Trigger getTrigger()

Output only. Job execution trigger.

.google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Job.Trigger

The trigger.

getTriggerValue()

public abstract int getTriggerValue()

Output only. Job execution trigger.

.google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for trigger.

getUid()

public abstract String getUid()

Output only. System generated globally unique ID for the job.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The uid.

getUidBytes()

public abstract ByteString getUidBytes()

Output only. System generated globally unique ID for the job.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for uid.

hasEndTime()

public abstract boolean hasEndTime()

Output only. The time when the job ended.

.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasExecutionSpec()

public abstract boolean hasExecutionSpec()

Output only. Spec related to how a task is executed.

.google.cloud.dataplex.v1.Task.ExecutionSpec execution_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the executionSpec field is set.

hasStartTime()

public abstract boolean hasStartTime()

Output only. The time when the job was started.

.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the startTime field is set.