Package com.google.dataflow.v1beta3
Class CreateJobFromTemplateRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CreateJobFromTemplateRequest.Builder>
com.google.dataflow.v1beta3.CreateJobFromTemplateRequest.Builder
- All Implemented Interfaces:
CreateJobFromTemplateRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CreateJobFromTemplateRequest
public static final class CreateJobFromTemplateRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CreateJobFromTemplateRequest.Builder>
implements CreateJobFromTemplateRequestOrBuilder
A request to create a Cloud Dataflow job from a template.Protobuf type
google.dataflow.v1beta3.CreateJobFromTemplateRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The runtime environment for the job.Required.Required.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.Required.booleancontainsParameters(String key) The runtime parameters to pass to the job.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe runtime environment for the job.The runtime environment for the job.The runtime environment for the job.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.com.google.protobuf.ByteStringThe [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.Deprecated.Deprecated.intThe runtime parameters to pass to the job.The runtime parameters to pass to the job.getParametersOrDefault(String key, String defaultValue) The runtime parameters to pass to the job.The runtime parameters to pass to the job.Required.com.google.protobuf.ByteStringRequired.booleanThe runtime environment for the job.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanThe runtime environment for the job.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllParameters(Map<String, String> values) The runtime parameters to pass to the job.putParameters(String key, String value) The runtime parameters to pass to the job.removeParameters(String key) The runtime parameters to pass to the job.setEnvironment(RuntimeEnvironment value) The runtime environment for the job.setEnvironment(RuntimeEnvironment.Builder builderForValue) The runtime environment for the job.setGcsPath(String value) Required.setGcsPathBytes(com.google.protobuf.ByteString value) Required.setJobName(String value) Required.setJobNameBytes(com.google.protobuf.ByteString value) Required.setLocation(String value) The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.setLocationBytes(com.google.protobuf.ByteString value) The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.setProjectId(String value) Required.setProjectIdBytes(com.google.protobuf.ByteString value) Required.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, internalGetMutableMapField, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CreateJobFromTemplateRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CreateJobFromTemplateRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CreateJobFromTemplateRequest.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<CreateJobFromTemplateRequest.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<CreateJobFromTemplateRequest.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<CreateJobFromTemplateRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CreateJobFromTemplateRequest.Builder>
-
mergeFrom
public CreateJobFromTemplateRequest.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<CreateJobFromTemplateRequest.Builder>- Throws:
IOException
-
getTemplateCase
- Specified by:
getTemplateCasein interfaceCreateJobFromTemplateRequestOrBuilder
-
clearTemplate
-
getProjectId
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Required. 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
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
Required. 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.
-
getJobName
Required. The job name to use for the created job.
string job_name = 4;- Specified by:
getJobNamein interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The jobName.
-
getJobNameBytes
public com.google.protobuf.ByteString getJobNameBytes()Required. The job name to use for the created job.
string job_name = 4;- Specified by:
getJobNameBytesin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The bytes for jobName.
-
setJobName
Required. The job name to use for the created job.
string job_name = 4;- Parameters:
value- The jobName to set.- Returns:
- This builder for chaining.
-
clearJobName
Required. The job name to use for the created job.
string job_name = 4;- Returns:
- This builder for chaining.
-
setJobNameBytes
Required. The job name to use for the created job.
string job_name = 4;- Parameters:
value- The bytes for jobName to set.- Returns:
- This builder for chaining.
-
hasGcsPath
public boolean hasGcsPath()Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 2;- Specified by:
hasGcsPathin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- Whether the gcsPath field is set.
-
getGcsPath
Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 2;- Specified by:
getGcsPathin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The gcsPath.
-
getGcsPathBytes
public com.google.protobuf.ByteString getGcsPathBytes()Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 2;- Specified by:
getGcsPathBytesin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The bytes for gcsPath.
-
setGcsPath
Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 2;- Parameters:
value- The gcsPath to set.- Returns:
- This builder for chaining.
-
clearGcsPath
Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 2;- Returns:
- This builder for chaining.
-
setGcsPathBytes
Required. A Cloud Storage path to the template from which to create the job. Must be a valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 2;- Parameters:
value- The bytes for gcsPath to set.- Returns:
- This builder for chaining.
-
getParametersCount
public int getParametersCount()Description copied from interface:CreateJobFromTemplateRequestOrBuilderThe runtime parameters to pass to the job.
map<string, string> parameters = 3;- Specified by:
getParametersCountin interfaceCreateJobFromTemplateRequestOrBuilder
-
containsParameters
The runtime parameters to pass to the job.
map<string, string> parameters = 3;- Specified by:
containsParametersin interfaceCreateJobFromTemplateRequestOrBuilder
-
getParameters
Deprecated.UsegetParametersMap()instead.- Specified by:
getParametersin interfaceCreateJobFromTemplateRequestOrBuilder
-
getParametersMap
The runtime parameters to pass to the job.
map<string, string> parameters = 3;- Specified by:
getParametersMapin interfaceCreateJobFromTemplateRequestOrBuilder
-
getParametersOrDefault
The runtime parameters to pass to the job.
map<string, string> parameters = 3;- Specified by:
getParametersOrDefaultin interfaceCreateJobFromTemplateRequestOrBuilder
-
getParametersOrThrow
The runtime parameters to pass to the job.
map<string, string> parameters = 3;- Specified by:
getParametersOrThrowin interfaceCreateJobFromTemplateRequestOrBuilder
-
clearParameters
-
removeParameters
The runtime parameters to pass to the job.
map<string, string> parameters = 3; -
getMutableParameters
Deprecated.Use alternate mutation accessors instead. -
putParameters
The runtime parameters to pass to the job.
map<string, string> parameters = 3; -
putAllParameters
The runtime parameters to pass to the job.
map<string, string> parameters = 3; -
hasEnvironment
public boolean hasEnvironment()The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;- Specified by:
hasEnvironmentin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- Whether the environment field is set.
-
getEnvironment
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;- Specified by:
getEnvironmentin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The environment.
-
setEnvironment
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5; -
setEnvironment
public CreateJobFromTemplateRequest.Builder setEnvironment(RuntimeEnvironment.Builder builderForValue) The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5; -
mergeEnvironment
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5; -
clearEnvironment
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5; -
getEnvironmentBuilder
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5; -
getEnvironmentOrBuilder
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;- Specified by:
getEnvironmentOrBuilderin interfaceCreateJobFromTemplateRequestOrBuilder
-
getLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 6;- Specified by:
getLocationin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 6;- Specified by:
getLocationBytesin interfaceCreateJobFromTemplateRequestOrBuilder- Returns:
- The bytes for location.
-
setLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 6;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 6;- Returns:
- This builder for chaining.
-
setLocationBytes
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 6;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-