Package com.google.cloud.dataplex.v1
Interface JobOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Job
,Job.Builder
public interface JobOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Output only.com.google.protobuf.Timestamp
getEndTime()
Output only.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Output only.Task.ExecutionSpec
getExecutionSpec()
Output only.Task.ExecutionSpecOrBuilder
getExecutionSpecOrBuilder()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Output only.Map<String,String>
getLabelsMap()
Output only.String
getLabelsOrDefault(String key, String defaultValue)
Output only.String
getLabelsOrThrow(String key)
Output only.String
getMessage()
Output only.com.google.protobuf.ByteString
getMessageBytes()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.int
getRetryCount()
Output only.Job.Service
getService()
Output only.String
getServiceJob()
Output only.com.google.protobuf.ByteString
getServiceJobBytes()
Output only.int
getServiceValue()
Output only.com.google.protobuf.Timestamp
getStartTime()
Output only.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Output only.Job.State
getState()
Output only.int
getStateValue()
Output only.Job.Trigger
getTrigger()
Output only.int
getTriggerValue()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.boolean
hasEndTime()
Output only.boolean
hasExecutionSpec()
Output only.boolean
hasStartTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getUid
String getUid()
Output only. System generated globally unique ID for the job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()
Output only. System generated globally unique ID for the job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for uid.
-
hasStartTime
boolean hasStartTime()
Output only. The time when the job was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
Output only. The time when the job was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time when the job was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasEndTime
boolean hasEndTime()
Output only. The time when the job ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()
Output only. The time when the job ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the job ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStateValue
int getStateValue()
Output only. Execution state for the job.
.google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
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:
- The state.
-
getRetryCount
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:
- The retryCount.
-
getServiceValue
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:
- The enum numeric value on the wire for service.
-
getService
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:
- The service.
-
getServiceJob
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:
- The serviceJob.
-
getServiceJobBytes
com.google.protobuf.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:
- The bytes for serviceJob.
-
getMessage
String getMessage()
Output only. Additional information about the current state.
string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()
Output only. Additional information about the current state.
string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for message.
-
getLabelsCount
int getLabelsCount()
Output only. User-defined labels for the task.
map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
containsLabels
boolean containsLabels(String key)
Output only. User-defined labels for the task.
map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Output only. User-defined labels for the task.
map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getLabelsOrDefault
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];
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Output only. User-defined labels for the task.
map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTriggerValue
int getTriggerValue()
Output only. Job execution trigger.
.google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for trigger.
-
getTrigger
Job.Trigger getTrigger()
Output only. Job execution trigger.
.google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The trigger.
-
hasExecutionSpec
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:
- Whether the executionSpec field is set.
-
getExecutionSpec
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:
- The executionSpec.
-
getExecutionSpecOrBuilder
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];
-
-