Package com.google.cloud.dataplex.v1
Class Job.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
- com.google.cloud.dataplex.v1.Job.Builder
-
- All Implemented Interfaces:
JobOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Job
public static final class Job.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder
A job represents an instance of a task.
Protobuf typegoogle.cloud.dataplex.v1.Job
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Job.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Job
build()
Job
buildPartial()
Job.Builder
clear()
Job.Builder
clearEndTime()
Output only.Job.Builder
clearExecutionSpec()
Output only.Job.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Job.Builder
clearLabels()
Job.Builder
clearMessage()
Output only.Job.Builder
clearName()
Output only.Job.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Job.Builder
clearRetryCount()
Output only.Job.Builder
clearService()
Output only.Job.Builder
clearServiceJob()
Output only.Job.Builder
clearStartTime()
Output only.Job.Builder
clearState()
Output only.Job.Builder
clearTrigger()
Output only.Job.Builder
clearUid()
Output only.Job.Builder
clone()
boolean
containsLabels(String key)
Output only.Job
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getEndTime()
Output only.com.google.protobuf.Timestamp.Builder
getEndTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Output only.Task.ExecutionSpec
getExecutionSpec()
Output only.Task.ExecutionSpec.Builder
getExecutionSpecBuilder()
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.Map<String,String>
getMutableLabels()
Deprecated.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.Timestamp.Builder
getStartTimeBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Job.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
mergeExecutionSpec(Task.ExecutionSpec value)
Output only.Job.Builder
mergeFrom(Job other)
Job.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Job.Builder
mergeFrom(com.google.protobuf.Message other)
Job.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Job.Builder
putAllLabels(Map<String,String> values)
Output only.Job.Builder
putLabels(String key, String value)
Output only.Job.Builder
removeLabels(String key)
Output only.Job.Builder
setEndTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Job.Builder
setExecutionSpec(Task.ExecutionSpec value)
Output only.Job.Builder
setExecutionSpec(Task.ExecutionSpec.Builder builderForValue)
Output only.Job.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Job.Builder
setMessage(String value)
Output only.Job.Builder
setMessageBytes(com.google.protobuf.ByteString value)
Output only.Job.Builder
setName(String value)
Output only.Job.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Job.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Job.Builder
setRetryCount(int value)
Output only.Job.Builder
setService(Job.Service value)
Output only.Job.Builder
setServiceJob(String value)
Output only.Job.Builder
setServiceJobBytes(com.google.protobuf.ByteString value)
Output only.Job.Builder
setServiceValue(int value)
Output only.Job.Builder
setStartTime(com.google.protobuf.Timestamp value)
Output only.Job.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Job.Builder
setState(Job.State value)
Output only.Job.Builder
setStateValue(int value)
Output only.Job.Builder
setTrigger(Job.Trigger value)
Output only.Job.Builder
setTriggerValue(int value)
Output only.Job.Builder
setUid(String value)
Output only.Job.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Job.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clear
public Job.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
getDefaultInstanceForType
public Job getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Job build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Job buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Job.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setField
public Job.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearField
public Job.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
clearOneof
public Job.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
setRepeatedField
public Job.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
addRepeatedField
public Job.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(Job other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeFrom
public Job.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Job.Builder>
- Throws:
IOException
-
getName
public 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) = { ... }
- Specified by:
getName
in interfaceJobOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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) = { ... }
- Specified by:
getNameBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for name.
-
setName
public Job.Builder setName(String value)
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) = { ... }
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Job.Builder clearName()
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:
- This builder for chaining.
-
setNameBytes
public Job.Builder setNameBytes(com.google.protobuf.ByteString value)
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) = { ... }
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
public String getUid()
Output only. System generated globally unique ID for the job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceJobOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. System generated globally unique ID for the job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for uid.
-
setUid
public Job.Builder setUid(String value)
Output only. System generated globally unique ID for the job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public Job.Builder clearUid()
Output only. System generated globally unique ID for the job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUidBytes
public Job.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. System generated globally unique ID for the job.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for uid to set.- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()
Output only. The time when the job was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasStartTime
in interfaceJobOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public 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];
- Specified by:
getStartTime
in interfaceJobOrBuilder
- Returns:
- The startTime.
-
setStartTime
public Job.Builder setStartTime(com.google.protobuf.Timestamp value)
Output only. The time when the job was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setStartTime
public Job.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the job was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeStartTime
public Job.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Output only. The time when the job was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearStartTime
public Job.Builder clearStartTime()
Output only. The time when the job was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Output only. The time when the job was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStartTimeOrBuilder
public 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];
- Specified by:
getStartTimeOrBuilder
in interfaceJobOrBuilder
-
hasEndTime
public boolean hasEndTime()
Output only. The time when the job ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasEndTime
in interfaceJobOrBuilder
- Returns:
- Whether the endTime field is set.
-
getEndTime
public 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];
- Specified by:
getEndTime
in interfaceJobOrBuilder
- Returns:
- The endTime.
-
setEndTime
public Job.Builder setEndTime(com.google.protobuf.Timestamp value)
Output only. The time when the job ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setEndTime
public Job.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the job ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeEndTime
public Job.Builder mergeEndTime(com.google.protobuf.Timestamp value)
Output only. The time when the job ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearEndTime
public Job.Builder clearEndTime()
Output only. The time when the job ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
Output only. The time when the job ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEndTimeOrBuilder
public 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];
- Specified by:
getEndTimeOrBuilder
in interfaceJobOrBuilder
-
getStateValue
public int getStateValue()
Output only. Execution state for the job.
.google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceJobOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Job.Builder setStateValue(int value)
Output only. Execution state for the job.
.google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Job.State getState()
Output only. Execution state for the job.
.google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceJobOrBuilder
- Returns:
- The state.
-
setState
public Job.Builder setState(Job.State value)
Output only. Execution state for the job.
.google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Job.Builder clearState()
Output only. Execution state for the job.
.google.cloud.dataplex.v1.Job.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getRetryCount
public 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];
- Specified by:
getRetryCount
in interfaceJobOrBuilder
- Returns:
- The retryCount.
-
setRetryCount
public Job.Builder setRetryCount(int value)
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];
- Parameters:
value
- The retryCount to set.- Returns:
- This builder for chaining.
-
clearRetryCount
public Job.Builder clearRetryCount()
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:
- This builder for chaining.
-
getServiceValue
public int getServiceValue()
Output only. The underlying service running a job.
.google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getServiceValue
in interfaceJobOrBuilder
- Returns:
- The enum numeric value on the wire for service.
-
setServiceValue
public Job.Builder setServiceValue(int value)
Output only. The underlying service running a job.
.google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for service to set.- Returns:
- This builder for chaining.
-
getService
public 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];
- Specified by:
getService
in interfaceJobOrBuilder
- Returns:
- The service.
-
setService
public Job.Builder setService(Job.Service value)
Output only. The underlying service running a job.
.google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The service to set.- Returns:
- This builder for chaining.
-
clearService
public Job.Builder clearService()
Output only. The underlying service running a job.
.google.cloud.dataplex.v1.Job.Service service = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getServiceJob
public 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];
- Specified by:
getServiceJob
in interfaceJobOrBuilder
- Returns:
- The serviceJob.
-
getServiceJobBytes
public 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];
- Specified by:
getServiceJobBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for serviceJob.
-
setServiceJob
public Job.Builder setServiceJob(String value)
Output only. The full resource name for the job run under a particular service.
string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The serviceJob to set.- Returns:
- This builder for chaining.
-
clearServiceJob
public Job.Builder clearServiceJob()
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:
- This builder for chaining.
-
setServiceJobBytes
public Job.Builder setServiceJobBytes(com.google.protobuf.ByteString value)
Output only. The full resource name for the job run under a particular service.
string service_job = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for serviceJob to set.- Returns:
- This builder for chaining.
-
getMessage
public String getMessage()
Output only. Additional information about the current state.
string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMessage
in interfaceJobOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
Output only. Additional information about the current state.
string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMessageBytes
in interfaceJobOrBuilder
- Returns:
- The bytes for message.
-
setMessage
public Job.Builder setMessage(String value)
Output only. Additional information about the current state.
string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
public Job.Builder clearMessage()
Output only. Additional information about the current state.
string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setMessageBytes
public Job.Builder setMessageBytes(com.google.protobuf.ByteString value)
Output only. Additional information about the current state.
string message = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for message to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:JobOrBuilder
Output only. User-defined labels for the task.
map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsCount
in interfaceJobOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Output only. User-defined labels for the task.
map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
containsLabels
in interfaceJobOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceJobOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Output only. User-defined labels for the task.
map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsMap
in interfaceJobOrBuilder
-
getLabelsOrDefault
public 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];
- Specified by:
getLabelsOrDefault
in interfaceJobOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Output only. User-defined labels for the task.
map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsOrThrow
in interfaceJobOrBuilder
-
clearLabels
public Job.Builder clearLabels()
-
removeLabels
public Job.Builder removeLabels(String key)
Output only. User-defined labels for the task.
map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Job.Builder putLabels(String key, String value)
Output only. User-defined labels for the task.
map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
putAllLabels
public Job.Builder putAllLabels(Map<String,String> values)
Output only. User-defined labels for the task.
map<string, string> labels = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTriggerValue
public int getTriggerValue()
Output only. Job execution trigger.
.google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTriggerValue
in interfaceJobOrBuilder
- Returns:
- The enum numeric value on the wire for trigger.
-
setTriggerValue
public Job.Builder setTriggerValue(int value)
Output only. Job execution trigger.
.google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for trigger to set.- Returns:
- This builder for chaining.
-
getTrigger
public Job.Trigger getTrigger()
Output only. Job execution trigger.
.google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrigger
in interfaceJobOrBuilder
- Returns:
- The trigger.
-
setTrigger
public Job.Builder setTrigger(Job.Trigger value)
Output only. Job execution trigger.
.google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The trigger to set.- Returns:
- This builder for chaining.
-
clearTrigger
public Job.Builder clearTrigger()
Output only. Job execution trigger.
.google.cloud.dataplex.v1.Job.Trigger trigger = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasExecutionSpec
public 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];
- Specified by:
hasExecutionSpec
in interfaceJobOrBuilder
- Returns:
- Whether the executionSpec field is set.
-
getExecutionSpec
public 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];
- Specified by:
getExecutionSpec
in interfaceJobOrBuilder
- Returns:
- The executionSpec.
-
setExecutionSpec
public Job.Builder setExecutionSpec(Task.ExecutionSpec value)
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];
-
setExecutionSpec
public Job.Builder setExecutionSpec(Task.ExecutionSpec.Builder builderForValue)
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];
-
mergeExecutionSpec
public Job.Builder mergeExecutionSpec(Task.ExecutionSpec value)
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];
-
clearExecutionSpec
public Job.Builder clearExecutionSpec()
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];
-
getExecutionSpecBuilder
public Task.ExecutionSpec.Builder getExecutionSpecBuilder()
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];
-
getExecutionSpecOrBuilder
public 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];
- Specified by:
getExecutionSpecOrBuilder
in interfaceJobOrBuilder
-
setUnknownFields
public final Job.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
mergeUnknownFields
public final Job.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Job.Builder>
-
-