Package com.google.dataflow.v1beta3
Class CreateJobRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateJobRequest.Builder>
com.google.dataflow.v1beta3.CreateJobRequest.Builder
- All Implemented Interfaces:
CreateJobRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CreateJobRequest
public static final class CreateJobRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CreateJobRequest.Builder>
implements CreateJobRequestOrBuilder
Request to create a Cloud Dataflow job.Protobuf type
google.dataflow.v1beta3.CreateJobRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearJob()The job to create.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.The ID of the Cloud Platform project that the job belongs to.Deprecated.The level of information requested in response.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetJob()The job to create.The job to create.The job to create.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.com.google.protobuf.ByteStringThe [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.The ID of the Cloud Platform project that the job belongs to.com.google.protobuf.ByteStringThe ID of the Cloud Platform project that the job belongs to.Deprecated.com.google.protobuf.ByteStringDeprecated.getView()The level of information requested in response.intThe level of information requested in response.booleanhasJob()The job to create.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CreateJobRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The job to create.The job to create.setJob(Job.Builder builderForValue) The job to create.setLocation(String value) The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.setLocationBytes(com.google.protobuf.ByteString value) The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.setProjectId(String value) The ID of the Cloud Platform project that the job belongs to.setProjectIdBytes(com.google.protobuf.ByteString value) The ID of the Cloud Platform project that the job belongs to.setReplaceJobId(String value) Deprecated.setReplaceJobIdBytes(com.google.protobuf.ByteString value) Deprecated.The level of information requested in response.setViewValue(int value) The level of information requested in response.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CreateJobRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CreateJobRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CreateJobRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateJobRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CreateJobRequest.Builder>
-
mergeFrom
public CreateJobRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateJobRequest.Builder>- Throws:
IOException
-
getProjectId
The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdin interfaceCreateJobRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceCreateJobRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
hasJob
public boolean hasJob()The job to create.
.google.dataflow.v1beta3.Job job = 2;- Specified by:
hasJobin interfaceCreateJobRequestOrBuilder- Returns:
- Whether the job field is set.
-
getJob
The job to create.
.google.dataflow.v1beta3.Job job = 2;- Specified by:
getJobin interfaceCreateJobRequestOrBuilder- Returns:
- The job.
-
setJob
The job to create.
.google.dataflow.v1beta3.Job job = 2; -
setJob
The job to create.
.google.dataflow.v1beta3.Job job = 2; -
mergeJob
The job to create.
.google.dataflow.v1beta3.Job job = 2; -
clearJob
The job to create.
.google.dataflow.v1beta3.Job job = 2; -
getJobBuilder
The job to create.
.google.dataflow.v1beta3.Job job = 2; -
getJobOrBuilder
The job to create.
.google.dataflow.v1beta3.Job job = 2;- Specified by:
getJobOrBuilderin interfaceCreateJobRequestOrBuilder
-
getViewValue
public int getViewValue()The level of information requested in response.
.google.dataflow.v1beta3.JobView view = 3;- Specified by:
getViewValuein interfaceCreateJobRequestOrBuilder- Returns:
- The enum numeric value on the wire for view.
-
setViewValue
The level of information requested in response.
.google.dataflow.v1beta3.JobView view = 3;- Parameters:
value- The enum numeric value on the wire for view to set.- Returns:
- This builder for chaining.
-
getView
The level of information requested in response.
.google.dataflow.v1beta3.JobView view = 3;- Specified by:
getViewin interfaceCreateJobRequestOrBuilder- Returns:
- The view.
-
setView
The level of information requested in response.
.google.dataflow.v1beta3.JobView view = 3;- Parameters:
value- The view to set.- Returns:
- This builder for chaining.
-
clearView
The level of information requested in response.
.google.dataflow.v1beta3.JobView view = 3;- Returns:
- This builder for chaining.
-
getReplaceJobId
Deprecated. This field is now in the Job message.
string replace_job_id = 4;- Specified by:
getReplaceJobIdin interfaceCreateJobRequestOrBuilder- Returns:
- The replaceJobId.
-
getReplaceJobIdBytes
public com.google.protobuf.ByteString getReplaceJobIdBytes()Deprecated. This field is now in the Job message.
string replace_job_id = 4;- Specified by:
getReplaceJobIdBytesin interfaceCreateJobRequestOrBuilder- Returns:
- The bytes for replaceJobId.
-
setReplaceJobId
Deprecated. This field is now in the Job message.
string replace_job_id = 4;- Parameters:
value- The replaceJobId to set.- Returns:
- This builder for chaining.
-
clearReplaceJobId
Deprecated. This field is now in the Job message.
string replace_job_id = 4;- Returns:
- This builder for chaining.
-
setReplaceJobIdBytes
Deprecated. This field is now in the Job message.
string replace_job_id = 4;- Parameters:
value- The bytes for replaceJobId to set.- Returns:
- This builder for chaining.
-
getLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 5;- Specified by:
getLocationin interfaceCreateJobRequestOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 5;- Specified by:
getLocationBytesin interfaceCreateJobRequestOrBuilder- Returns:
- The bytes for location.
-
setLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 5;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 5;- Returns:
- This builder for chaining.
-
setLocationBytes
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
string location = 5;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-