Package com.google.dataflow.v1beta3
Class Job
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.dataflow.v1beta3.Job
- All Implemented Interfaces:
JobOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Job
extends com.google.protobuf.GeneratedMessage
implements JobOrBuilder
Defines a job to be run by the Cloud Dataflow service. Do not enter confidential information when you supply string values using the API.Protobuf type
google.dataflow.v1beta3.Job- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefines a job to be run by the Cloud Dataflow service.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) User-defined labels for this job.booleanOptional.booleanThe client's unique identifier of the job, re-used across retried attempts.com.google.protobuf.ByteStringThe client's unique identifier of the job, re-used across retried attempts.If this is specified, the job's initial state is populated from the given snapshot.com.google.protobuf.ByteStringIf this is specified, the job's initial state is populated from the given snapshot.com.google.protobuf.TimestampThe timestamp when the job was initially created.com.google.protobuf.TimestampOrBuilderThe timestamp when the job was initially created.The current state of the job.com.google.protobuf.TimestampThe timestamp associated with the current state.com.google.protobuf.TimestampOrBuilderThe timestamp associated with the current state.intThe current state of the job.static Jobstatic final com.google.protobuf.Descriptors.DescriptorOptional.Optional.Deprecated.Deprecated.getId()The unique ID of this job.com.google.protobuf.ByteStringThe unique ID of this job.This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here.This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here.Deprecated.intUser-defined labels for this job.User-defined labels for this job.getLabelsOrDefault(String key, String defaultValue) User-defined labels for this job.getLabelsOrThrow(String key) User-defined labels for this job.Optional.com.google.protobuf.ByteStringOptional.getName()Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.Parser<Job>booleanOutput only.Preliminary field: The format of this data may change at any time.Preliminary field: The format of this data may change at any time.The ID of the Google Cloud project that the job belongs to.com.google.protobuf.ByteStringThe ID of the Google Cloud project that the job belongs to.If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.com.google.protobuf.ByteStringIf another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.If this job is an update of an existing job, this field is the job ID of the job it replaced.com.google.protobuf.ByteStringIf this job is an update of an existing job, this field is the job ID of the job it replaced.The job's requested state.intThe job's requested state.This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior.This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior.booleanOutput only.booleanReserved for future use.intOutput only.Output only.getStageStates(int index) This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.intThis field may be mutated by the Cloud Dataflow service; callers cannot mutate it.This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.getStageStatesOrBuilder(int index) This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.List<? extends ExecutionStageStateOrBuilder>This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.com.google.protobuf.TimestampThe timestamp when the job was started (transitioned to JOB_STATE_PENDING).com.google.protobuf.TimestampOrBuilderThe timestamp when the job was started (transitioned to JOB_STATE_PENDING).getSteps(int index) Exactly one of step or steps_location should be specified.intExactly one of step or steps_location should be specified.Exactly one of step or steps_location should be specified.The Cloud Storage location where the steps are stored.com.google.protobuf.ByteStringThe Cloud Storage location where the steps are stored.getStepsOrBuilder(int index) Exactly one of step or steps_location should be specified.List<? extends StepOrBuilder>Exactly one of step or steps_location should be specified.getTempFiles(int index) A set of files the system should be aware of that are used for temporary storage.com.google.protobuf.ByteStringgetTempFilesBytes(int index) A set of files the system should be aware of that are used for temporary storage.intA set of files the system should be aware of that are used for temporary storage.com.google.protobuf.ProtocolStringListA set of files the system should be aware of that are used for temporary storage.Deprecated.intOptional.Optional.getTransformNameMappingOrDefault(String key, String defaultValue) Optional.Optional.getType()Optional.intOptional.booleanThe timestamp when the job was initially created.booleanThe timestamp associated with the current state.booleanOptional.booleanDeprecated.inthashCode()booleanThis field is populated by the Dataflow service to support filtering jobs by the metadata values provided here.booleanPreliminary field: The format of this data may change at any time.booleanThis field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior.booleanOutput only.booleanOutput only.booleanThe timestamp when the job was started (transitioned to JOB_STATE_PENDING).protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Job.Builderstatic Job.BuildernewBuilder(Job prototype) protected Job.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static JobparseDelimitedFrom(InputStream input) static JobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static JobparseFrom(byte[] data) static JobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static JobparseFrom(com.google.protobuf.ByteString data) static JobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static JobparseFrom(com.google.protobuf.CodedInputStream input) static JobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static JobparseFrom(InputStream input) static JobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static JobparseFrom(ByteBuffer data) static JobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Job>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER- See Also:
-
STEPS_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER- See Also:
-
STEPS_LOCATION_FIELD_NUMBER
public static final int STEPS_LOCATION_FIELD_NUMBER- See Also:
-
CURRENT_STATE_FIELD_NUMBER
public static final int CURRENT_STATE_FIELD_NUMBER- See Also:
-
CURRENT_STATE_TIME_FIELD_NUMBER
public static final int CURRENT_STATE_TIME_FIELD_NUMBER- See Also:
-
REQUESTED_STATE_FIELD_NUMBER
public static final int REQUESTED_STATE_FIELD_NUMBER- See Also:
-
EXECUTION_INFO_FIELD_NUMBER
public static final int EXECUTION_INFO_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
REPLACE_JOB_ID_FIELD_NUMBER
public static final int REPLACE_JOB_ID_FIELD_NUMBER- See Also:
-
TRANSFORM_NAME_MAPPING_FIELD_NUMBER
public static final int TRANSFORM_NAME_MAPPING_FIELD_NUMBER- See Also:
-
CLIENT_REQUEST_ID_FIELD_NUMBER
public static final int CLIENT_REQUEST_ID_FIELD_NUMBER- See Also:
-
REPLACED_BY_JOB_ID_FIELD_NUMBER
public static final int REPLACED_BY_JOB_ID_FIELD_NUMBER- See Also:
-
TEMP_FILES_FIELD_NUMBER
public static final int TEMP_FILES_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER- See Also:
-
PIPELINE_DESCRIPTION_FIELD_NUMBER
public static final int PIPELINE_DESCRIPTION_FIELD_NUMBER- See Also:
-
STAGE_STATES_FIELD_NUMBER
public static final int STAGE_STATES_FIELD_NUMBER- See Also:
-
JOB_METADATA_FIELD_NUMBER
public static final int JOB_METADATA_FIELD_NUMBER- See Also:
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER- See Also:
-
CREATED_FROM_SNAPSHOT_ID_FIELD_NUMBER
public static final int CREATED_FROM_SNAPSHOT_ID_FIELD_NUMBER- See Also:
-
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER- See Also:
-
RUNTIME_UPDATABLE_PARAMS_FIELD_NUMBER
public static final int RUNTIME_UPDATABLE_PARAMS_FIELD_NUMBER- See Also:
-
SATISFIES_PZI_FIELD_NUMBER
public static final int SATISFIES_PZI_FIELD_NUMBER- See Also:
-
SERVICE_RESOURCES_FIELD_NUMBER
public static final int SERVICE_RESOURCES_FIELD_NUMBER- See Also:
-
PAUSABLE_FIELD_NUMBER
public static final int PAUSABLE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getId
The unique ID of this job. This field is set by the Dataflow service when the job is created, and is immutable for the life of the job.
string id = 1;- Specified by:
getIdin interfaceJobOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The unique ID of this job. This field is set by the Dataflow service when the job is created, and is immutable for the life of the job.
string id = 1;- Specified by:
getIdBytesin interfaceJobOrBuilder- Returns:
- The bytes for id.
-
getProjectId
The ID of the Google Cloud project that the job belongs to.
string project_id = 2;- Specified by:
getProjectIdin interfaceJobOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()The ID of the Google Cloud project that the job belongs to.
string project_id = 2;- Specified by:
getProjectIdBytesin interfaceJobOrBuilder- Returns:
- The bytes for projectId.
-
getName
Optional. The user-specified Dataflow job name. Only one active job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a job with the same name as an active job that already exists, the attempt returns the existing job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`string name = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNamein interfaceJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Optional. The user-specified Dataflow job name. Only one active job with a given name can exist in a project within one region at any given time. Jobs in different regions can have the same name. If a caller attempts to create a job with the same name as an active job that already exists, the attempt returns the existing job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`string name = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNameBytesin interfaceJobOrBuilder- Returns:
- The bytes for name.
-
getTypeValue
public int getTypeValue()Optional. The type of Dataflow job.
.google.dataflow.v1beta3.JobType type = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTypeValuein interfaceJobOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
Optional. The type of Dataflow job.
.google.dataflow.v1beta3.JobType type = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTypein interfaceJobOrBuilder- Returns:
- The type.
-
hasEnvironment
public boolean hasEnvironment()Optional. The environment for the job.
.google.dataflow.v1beta3.Environment environment = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasEnvironmentin interfaceJobOrBuilder- Returns:
- Whether the environment field is set.
-
getEnvironment
Optional. The environment for the job.
.google.dataflow.v1beta3.Environment environment = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnvironmentin interfaceJobOrBuilder- Returns:
- The environment.
-
getEnvironmentOrBuilder
Optional. The environment for the job.
.google.dataflow.v1beta3.Environment environment = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEnvironmentOrBuilderin interfaceJobOrBuilder
-
getStepsList
Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
repeated .google.dataflow.v1beta3.Step steps = 6;- Specified by:
getStepsListin interfaceJobOrBuilder
-
getStepsOrBuilderList
Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
repeated .google.dataflow.v1beta3.Step steps = 6;- Specified by:
getStepsOrBuilderListin interfaceJobOrBuilder
-
getStepsCount
public int getStepsCount()Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
repeated .google.dataflow.v1beta3.Step steps = 6;- Specified by:
getStepsCountin interfaceJobOrBuilder
-
getSteps
Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
repeated .google.dataflow.v1beta3.Step steps = 6;- Specified by:
getStepsin interfaceJobOrBuilder
-
getStepsOrBuilder
Exactly one of step or steps_location should be specified. The top-level steps that constitute the entire job. Only retrieved with JOB_VIEW_ALL.
repeated .google.dataflow.v1beta3.Step steps = 6;- Specified by:
getStepsOrBuilderin interfaceJobOrBuilder
-
getStepsLocation
The Cloud Storage location where the steps are stored.
string steps_location = 24;- Specified by:
getStepsLocationin interfaceJobOrBuilder- Returns:
- The stepsLocation.
-
getStepsLocationBytes
public com.google.protobuf.ByteString getStepsLocationBytes()The Cloud Storage location where the steps are stored.
string steps_location = 24;- Specified by:
getStepsLocationBytesin interfaceJobOrBuilder- Returns:
- The bytes for stepsLocation.
-
getCurrentStateValue
public int getCurrentStateValue()The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field might be mutated by the Dataflow service; callers cannot mutate it.
.google.dataflow.v1beta3.JobState current_state = 7;- Specified by:
getCurrentStateValuein interfaceJobOrBuilder- Returns:
- The enum numeric value on the wire for currentState.
-
getCurrentState
The current state of the job. Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise specified. A job in the `JOB_STATE_RUNNING` state may asynchronously enter a terminal state. After a job has reached a terminal state, no further state updates may be made. This field might be mutated by the Dataflow service; callers cannot mutate it.
.google.dataflow.v1beta3.JobState current_state = 7;- Specified by:
getCurrentStatein interfaceJobOrBuilder- Returns:
- The currentState.
-
hasCurrentStateTime
public boolean hasCurrentStateTime()The timestamp associated with the current state.
.google.protobuf.Timestamp current_state_time = 8;- Specified by:
hasCurrentStateTimein interfaceJobOrBuilder- Returns:
- Whether the currentStateTime field is set.
-
getCurrentStateTime
public com.google.protobuf.Timestamp getCurrentStateTime()The timestamp associated with the current state.
.google.protobuf.Timestamp current_state_time = 8;- Specified by:
getCurrentStateTimein interfaceJobOrBuilder- Returns:
- The currentStateTime.
-
getCurrentStateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCurrentStateTimeOrBuilder()The timestamp associated with the current state.
.google.protobuf.Timestamp current_state_time = 8;- Specified by:
getCurrentStateTimeOrBuilderin interfaceJobOrBuilder
-
getRequestedStateValue
public int getRequestedStateValue()The job's requested state. Applies to `UpdateJob` requests. Set `requested_state` with `UpdateJob` requests to switch between the states `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING`. You can also use `UpdateJob` requests to change a job's state from `JOB_STATE_RUNNING` to `JOB_STATE_CANCELLED`, `JOB_STATE_DONE`, or `JOB_STATE_DRAINED`. These states irrevocably terminate the job if it hasn't already reached a terminal state. This field has no effect on `CreateJob` requests.
.google.dataflow.v1beta3.JobState requested_state = 9;- Specified by:
getRequestedStateValuein interfaceJobOrBuilder- Returns:
- The enum numeric value on the wire for requestedState.
-
getRequestedState
The job's requested state. Applies to `UpdateJob` requests. Set `requested_state` with `UpdateJob` requests to switch between the states `JOB_STATE_STOPPED` and `JOB_STATE_RUNNING`. You can also use `UpdateJob` requests to change a job's state from `JOB_STATE_RUNNING` to `JOB_STATE_CANCELLED`, `JOB_STATE_DONE`, or `JOB_STATE_DRAINED`. These states irrevocably terminate the job if it hasn't already reached a terminal state. This field has no effect on `CreateJob` requests.
.google.dataflow.v1beta3.JobState requested_state = 9;- Specified by:
getRequestedStatein interfaceJobOrBuilder- Returns:
- The requestedState.
-
hasExecutionInfo
public boolean hasExecutionInfo()Deprecated.
.google.dataflow.v1beta3.JobExecutionInfo execution_info = 10;- Specified by:
hasExecutionInfoin interfaceJobOrBuilder- Returns:
- Whether the executionInfo field is set.
-
getExecutionInfo
Deprecated.
.google.dataflow.v1beta3.JobExecutionInfo execution_info = 10;- Specified by:
getExecutionInfoin interfaceJobOrBuilder- Returns:
- The executionInfo.
-
getExecutionInfoOrBuilder
Deprecated.
.google.dataflow.v1beta3.JobExecutionInfo execution_info = 10;- Specified by:
getExecutionInfoOrBuilderin interfaceJobOrBuilder
-
hasCreateTime
public boolean hasCreateTime()The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
.google.protobuf.Timestamp create_time = 11;- Specified by:
hasCreateTimein interfaceJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
.google.protobuf.Timestamp create_time = 11;- Specified by:
getCreateTimein interfaceJobOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The timestamp when the job was initially created. Immutable and set by the Cloud Dataflow service.
.google.protobuf.Timestamp create_time = 11;- Specified by:
getCreateTimeOrBuilderin interfaceJobOrBuilder
-
getReplaceJobId
If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
string replace_job_id = 12;- Specified by:
getReplaceJobIdin interfaceJobOrBuilder- Returns:
- The replaceJobId.
-
getReplaceJobIdBytes
public com.google.protobuf.ByteString getReplaceJobIdBytes()If this job is an update of an existing job, this field is the job ID of the job it replaced. When sending a `CreateJobRequest`, you can update a job by specifying it here. The job named here is stopped, and its intermediate state is transferred to this job.
string replace_job_id = 12;- Specified by:
getReplaceJobIdBytesin interfaceJobOrBuilder- Returns:
- The bytes for replaceJobId.
-
getTransformNameMappingCount
public int getTransformNameMappingCount()Description copied from interface:JobOrBuilderOptional. The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
map<string, string> transform_name_mapping = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransformNameMappingCountin interfaceJobOrBuilder
-
containsTransformNameMapping
Optional. The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
map<string, string> transform_name_mapping = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsTransformNameMappingin interfaceJobOrBuilder
-
getTransformNameMapping
Deprecated.UsegetTransformNameMappingMap()instead.- Specified by:
getTransformNameMappingin interfaceJobOrBuilder
-
getTransformNameMappingMap
Optional. The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
map<string, string> transform_name_mapping = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransformNameMappingMapin interfaceJobOrBuilder
-
getTransformNameMappingOrDefault
Optional. The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
map<string, string> transform_name_mapping = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransformNameMappingOrDefaultin interfaceJobOrBuilder
-
getTransformNameMappingOrThrow
Optional. The map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
map<string, string> transform_name_mapping = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransformNameMappingOrThrowin interfaceJobOrBuilder
-
getClientRequestId
The client's unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client's ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
string client_request_id = 14;- Specified by:
getClientRequestIdin interfaceJobOrBuilder- Returns:
- The clientRequestId.
-
getClientRequestIdBytes
public com.google.protobuf.ByteString getClientRequestIdBytes()The client's unique identifier of the job, re-used across retried attempts. If this field is set, the service will ensure its uniqueness. The request to create a job will fail if the service has knowledge of a previously submitted job with the same client's ID and job name. The caller may use this field to ensure idempotence of job creation across retried attempts to create a job. By default, the field is empty and, in that case, the service ignores it.
string client_request_id = 14;- Specified by:
getClientRequestIdBytesin interfaceJobOrBuilder- Returns:
- The bytes for clientRequestId.
-
getReplacedByJobId
If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
string replaced_by_job_id = 15;- Specified by:
getReplacedByJobIdin interfaceJobOrBuilder- Returns:
- The replacedByJobId.
-
getReplacedByJobIdBytes
public com.google.protobuf.ByteString getReplacedByJobIdBytes()If another job is an update of this job (and thus, this job is in `JOB_STATE_UPDATED`), this field contains the ID of that job.
string replaced_by_job_id = 15;- Specified by:
getReplacedByJobIdBytesin interfaceJobOrBuilder- Returns:
- The bytes for replacedByJobId.
-
getTempFilesList
public com.google.protobuf.ProtocolStringList getTempFilesList()A set of files the system should be aware of that are used for temporary storage. These temporary files will be removed on job completion. No duplicates are allowed. No file patterns are supported. The supported files are: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}repeated string temp_files = 16;- Specified by:
getTempFilesListin interfaceJobOrBuilder- Returns:
- A list containing the tempFiles.
-
getTempFilesCount
public int getTempFilesCount()A set of files the system should be aware of that are used for temporary storage. These temporary files will be removed on job completion. No duplicates are allowed. No file patterns are supported. The supported files are: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}repeated string temp_files = 16;- Specified by:
getTempFilesCountin interfaceJobOrBuilder- Returns:
- The count of tempFiles.
-
getTempFiles
A set of files the system should be aware of that are used for temporary storage. These temporary files will be removed on job completion. No duplicates are allowed. No file patterns are supported. The supported files are: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}repeated string temp_files = 16;- Specified by:
getTempFilesin interfaceJobOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tempFiles at the given index.
-
getTempFilesBytes
public com.google.protobuf.ByteString getTempFilesBytes(int index) A set of files the system should be aware of that are used for temporary storage. These temporary files will be removed on job completion. No duplicates are allowed. No file patterns are supported. The supported files are: Google Cloud Storage: storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}repeated string temp_files = 16;- Specified by:
getTempFilesBytesin interfaceJobOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tempFiles at the given index.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:JobOrBuilderUser-defined labels for this job. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size.map<string, string> labels = 17;- Specified by:
getLabelsCountin interfaceJobOrBuilder
-
containsLabels
User-defined labels for this job. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size.map<string, string> labels = 17;- Specified by:
containsLabelsin interfaceJobOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceJobOrBuilder
-
getLabelsMap
User-defined labels for this job. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size.map<string, string> labels = 17;- Specified by:
getLabelsMapin interfaceJobOrBuilder
-
getLabelsOrDefault
User-defined labels for this job. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size.map<string, string> labels = 17;- Specified by:
getLabelsOrDefaultin interfaceJobOrBuilder
-
getLabelsOrThrow
User-defined labels for this job. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size.map<string, string> labels = 17;- Specified by:
getLabelsOrThrowin interfaceJobOrBuilder
-
getLocation
Optional. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLocationin interfaceJobOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()Optional. The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLocationBytesin interfaceJobOrBuilder- Returns:
- The bytes for location.
-
hasPipelineDescription
public boolean hasPipelineDescription()Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
.google.dataflow.v1beta3.PipelineDescription pipeline_description = 19;- Specified by:
hasPipelineDescriptionin interfaceJobOrBuilder- Returns:
- Whether the pipelineDescription field is set.
-
getPipelineDescription
Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
.google.dataflow.v1beta3.PipelineDescription pipeline_description = 19;- Specified by:
getPipelineDescriptionin interfaceJobOrBuilder- Returns:
- The pipelineDescription.
-
getPipelineDescriptionOrBuilder
Preliminary field: The format of this data may change at any time. A description of the user pipeline and stages through which it is executed. Created by Cloud Dataflow service. Only retrieved with JOB_VIEW_DESCRIPTION or JOB_VIEW_ALL.
.google.dataflow.v1beta3.PipelineDescription pipeline_description = 19;- Specified by:
getPipelineDescriptionOrBuilderin interfaceJobOrBuilder
-
getStageStatesList
This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;- Specified by:
getStageStatesListin interfaceJobOrBuilder
-
getStageStatesOrBuilderList
This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;- Specified by:
getStageStatesOrBuilderListin interfaceJobOrBuilder
-
getStageStatesCount
public int getStageStatesCount()This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;- Specified by:
getStageStatesCountin interfaceJobOrBuilder
-
getStageStates
This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;- Specified by:
getStageStatesin interfaceJobOrBuilder
-
getStageStatesOrBuilder
This field may be mutated by the Cloud Dataflow service; callers cannot mutate it.
repeated .google.dataflow.v1beta3.ExecutionStageState stage_states = 20;- Specified by:
getStageStatesOrBuilderin interfaceJobOrBuilder
-
hasJobMetadata
public boolean hasJobMetadata()This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
.google.dataflow.v1beta3.JobMetadata job_metadata = 21;- Specified by:
hasJobMetadatain interfaceJobOrBuilder- Returns:
- Whether the jobMetadata field is set.
-
getJobMetadata
This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
.google.dataflow.v1beta3.JobMetadata job_metadata = 21;- Specified by:
getJobMetadatain interfaceJobOrBuilder- Returns:
- The jobMetadata.
-
getJobMetadataOrBuilder
This field is populated by the Dataflow service to support filtering jobs by the metadata values provided here. Populated for ListJobs and all GetJob views SUMMARY and higher.
.google.dataflow.v1beta3.JobMetadata job_metadata = 21;- Specified by:
getJobMetadataOrBuilderin interfaceJobOrBuilder
-
hasStartTime
public boolean hasStartTime()The timestamp when the job was started (transitioned to JOB_STATE_PENDING). Flexible resource scheduling jobs are started with some delay after job creation, so start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.
.google.protobuf.Timestamp start_time = 22;- Specified by:
hasStartTimein interfaceJobOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()The timestamp when the job was started (transitioned to JOB_STATE_PENDING). Flexible resource scheduling jobs are started with some delay after job creation, so start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.
.google.protobuf.Timestamp start_time = 22;- Specified by:
getStartTimein interfaceJobOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The timestamp when the job was started (transitioned to JOB_STATE_PENDING). Flexible resource scheduling jobs are started with some delay after job creation, so start_time is unset before start and is updated when the job is started by the Cloud Dataflow service. For other jobs, start_time always equals to create_time and is immutable and set by the Cloud Dataflow service.
.google.protobuf.Timestamp start_time = 22;- Specified by:
getStartTimeOrBuilderin interfaceJobOrBuilder
-
getCreatedFromSnapshotId
If this is specified, the job's initial state is populated from the given snapshot.
string created_from_snapshot_id = 23;- Specified by:
getCreatedFromSnapshotIdin interfaceJobOrBuilder- Returns:
- The createdFromSnapshotId.
-
getCreatedFromSnapshotIdBytes
public com.google.protobuf.ByteString getCreatedFromSnapshotIdBytes()If this is specified, the job's initial state is populated from the given snapshot.
string created_from_snapshot_id = 23;- Specified by:
getCreatedFromSnapshotIdBytesin interfaceJobOrBuilder- Returns:
- The bytes for createdFromSnapshotId.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
bool satisfies_pzs = 25;- Specified by:
getSatisfiesPzsin interfaceJobOrBuilder- Returns:
- The satisfiesPzs.
-
hasRuntimeUpdatableParams
public boolean hasRuntimeUpdatableParams()This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior. This field has no effect when specified at job creation.
optional .google.dataflow.v1beta3.RuntimeUpdatableParams runtime_updatable_params = 26;- Specified by:
hasRuntimeUpdatableParamsin interfaceJobOrBuilder- Returns:
- Whether the runtimeUpdatableParams field is set.
-
getRuntimeUpdatableParams
This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior. This field has no effect when specified at job creation.
optional .google.dataflow.v1beta3.RuntimeUpdatableParams runtime_updatable_params = 26;- Specified by:
getRuntimeUpdatableParamsin interfaceJobOrBuilder- Returns:
- The runtimeUpdatableParams.
-
getRuntimeUpdatableParamsOrBuilder
This field may ONLY be modified at runtime using the projects.jobs.update method to adjust job behavior. This field has no effect when specified at job creation.
optional .google.dataflow.v1beta3.RuntimeUpdatableParams runtime_updatable_params = 26;- Specified by:
getRuntimeUpdatableParamsOrBuilderin interfaceJobOrBuilder
-
hasSatisfiesPzi
public boolean hasSatisfiesPzi()Output only. Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
optional bool satisfies_pzi = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSatisfiesPziin interfaceJobOrBuilder- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. Reserved for future use. This field is set only in responses from the server; it is ignored if it is set in any requests.
optional bool satisfies_pzi = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPziin interfaceJobOrBuilder- Returns:
- The satisfiesPzi.
-
hasServiceResources
public boolean hasServiceResources()Output only. Resources used by the Dataflow Service to run the job.
optional .google.dataflow.v1beta3.ServiceResources service_resources = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasServiceResourcesin interfaceJobOrBuilder- Returns:
- Whether the serviceResources field is set.
-
getServiceResources
Output only. Resources used by the Dataflow Service to run the job.
optional .google.dataflow.v1beta3.ServiceResources service_resources = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceResourcesin interfaceJobOrBuilder- Returns:
- The serviceResources.
-
getServiceResourcesOrBuilder
Output only. Resources used by the Dataflow Service to run the job.
optional .google.dataflow.v1beta3.ServiceResources service_resources = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServiceResourcesOrBuilderin interfaceJobOrBuilder
-
getPausable
public boolean getPausable()Output only. Indicates whether the job can be paused.
bool pausable = 29 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPausablein interfaceJobOrBuilder- Returns:
- The pausable.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Job parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Job parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Job parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Job parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Job parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-