public static final class CreateJobFromTemplateRequest.Builder extends GeneratedMessageV3.Builder<CreateJobFromTemplateRequest.Builder> implements CreateJobFromTemplateRequestOrBuilderA request to create a Cloud Dataflow job from a template.
Protobuf type google.dataflow.v1beta3.CreateJobFromTemplateRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateJobFromTemplateRequest.BuilderImplements
CreateJobFromTemplateRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateJobFromTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
build()
public CreateJobFromTemplateRequest build()| Type | Description |
| CreateJobFromTemplateRequest |
buildPartial()
public CreateJobFromTemplateRequest buildPartial()| Type | Description |
| CreateJobFromTemplateRequest |
clear()
public CreateJobFromTemplateRequest.Builder clear()| Type | Description |
| CreateJobFromTemplateRequest.Builder |
clearEnvironment()
public CreateJobFromTemplateRequest.Builder clearEnvironment()The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateJobFromTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
clearGcsPath()
public CreateJobFromTemplateRequest.Builder 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;
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
clearJobName()
public CreateJobFromTemplateRequest.Builder clearJobName()Required. The job name to use for the created job.
string job_name = 4;
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
clearLocation()
public CreateJobFromTemplateRequest.Builder clearLocation()The regional endpoint to which to direct the request.
string location = 6;
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateJobFromTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
clearParameters()
public CreateJobFromTemplateRequest.Builder clearParameters()| Type | Description |
| CreateJobFromTemplateRequest.Builder |
clearProjectId()
public CreateJobFromTemplateRequest.Builder clearProjectId()Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
clearTemplate()
public CreateJobFromTemplateRequest.Builder clearTemplate()| Type | Description |
| CreateJobFromTemplateRequest.Builder |
clone()
public CreateJobFromTemplateRequest.Builder clone()| Type | Description |
| CreateJobFromTemplateRequest.Builder |
containsParameters(String key)
public boolean containsParameters(String key)The runtime parameters to pass to the job.
map<string, string> parameters = 3;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getDefaultInstanceForType()
public CreateJobFromTemplateRequest getDefaultInstanceForType()| Type | Description |
| CreateJobFromTemplateRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getEnvironment()
public RuntimeEnvironment getEnvironment()The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;
| Type | Description |
| RuntimeEnvironment | The environment. |
getEnvironmentBuilder()
public RuntimeEnvironment.Builder getEnvironmentBuilder()The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;
| Type | Description |
| RuntimeEnvironment.Builder |
getEnvironmentOrBuilder()
public RuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;
| Type | Description |
| RuntimeEnvironmentOrBuilder |
getGcsPath()
public String 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;
| Type | Description |
| String | The gcsPath. |
getGcsPathBytes()
public 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;
| Type | Description |
| ByteString | The bytes for gcsPath. |
getJobName()
public String getJobName()Required. The job name to use for the created job.
string job_name = 4;
| Type | Description |
| String | The jobName. |
getJobNameBytes()
public ByteString getJobNameBytes()Required. The job name to use for the created job.
string job_name = 4;
| Type | Description |
| ByteString | The bytes for jobName. |
getLocation()
public String getLocation()The regional endpoint to which to direct the request.
string location = 6;
| Type | Description |
| String | The location. |
getLocationBytes()
public ByteString getLocationBytes()The regional endpoint to which to direct the request.
string location = 6;
| Type | Description |
| ByteString | The bytes for location. |
getMutableParameters()
public Map<String,String> getMutableParameters()Use alternate mutation accessors instead.
| Type | Description |
| Map<String,String> |
getParameters()
public Map<String,String> getParameters()Use #getParametersMap() instead.
| Type | Description |
| Map<String,String> |
getParametersCount()
public int getParametersCount()The runtime parameters to pass to the job.
map<string, string> parameters = 3;
| Type | Description |
| int |
getParametersMap()
public Map<String,String> getParametersMap()The runtime parameters to pass to the job.
map<string, string> parameters = 3;
| Type | Description |
| Map<String,String> |
getParametersOrDefault(String key, String defaultValue)
public String getParametersOrDefault(String key, String defaultValue)The runtime parameters to pass to the job.
map<string, string> parameters = 3;
| Name | Description |
| key | String |
| defaultValue | String |
| Type | Description |
| String |
getParametersOrThrow(String key)
public String getParametersOrThrow(String key)The runtime parameters to pass to the job.
map<string, string> parameters = 3;
| Name | Description |
| key | String |
| Type | Description |
| String |
getProjectId()
public String getProjectId()Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Type | Description |
| String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Type | Description |
| ByteString | The bytes for projectId. |
getTemplateCase()
public CreateJobFromTemplateRequest.TemplateCase getTemplateCase()| Type | Description |
| CreateJobFromTemplateRequest.TemplateCase |
hasEnvironment()
public boolean hasEnvironment()The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;
| Type | Description |
| boolean | Whether the environment field is set. |
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;
| Type | Description |
| boolean | Whether the gcsPath field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeEnvironment(RuntimeEnvironment value)
public CreateJobFromTemplateRequest.Builder mergeEnvironment(RuntimeEnvironment value)The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;
| Name | Description |
| value | RuntimeEnvironment |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
mergeFrom(CreateJobFromTemplateRequest other)
public CreateJobFromTemplateRequest.Builder mergeFrom(CreateJobFromTemplateRequest other)| Name | Description |
| other | CreateJobFromTemplateRequest |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateJobFromTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public CreateJobFromTemplateRequest.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateJobFromTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
putAllParameters(Map<String,String> values)
public CreateJobFromTemplateRequest.Builder putAllParameters(Map<String,String> values)The runtime parameters to pass to the job.
map<string, string> parameters = 3;
| Name | Description |
| values | Map<String,String> |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
putParameters(String key, String value)
public CreateJobFromTemplateRequest.Builder putParameters(String key, String value)The runtime parameters to pass to the job.
map<string, string> parameters = 3;
| Name | Description |
| key | String |
| value | String |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
removeParameters(String key)
public CreateJobFromTemplateRequest.Builder removeParameters(String key)The runtime parameters to pass to the job.
map<string, string> parameters = 3;
| Name | Description |
| key | String |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
setEnvironment(RuntimeEnvironment value)
public CreateJobFromTemplateRequest.Builder setEnvironment(RuntimeEnvironment value)The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;
| Name | Description |
| value | RuntimeEnvironment |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
setEnvironment(RuntimeEnvironment.Builder builderForValue)
public CreateJobFromTemplateRequest.Builder setEnvironment(RuntimeEnvironment.Builder builderForValue)The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;
| Name | Description |
| builderForValue | RuntimeEnvironment.Builder |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateJobFromTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
setGcsPath(String value)
public CreateJobFromTemplateRequest.Builder setGcsPath(String value) 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;
| Name | Description |
| value | StringThe gcsPath to set. |
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
setGcsPathBytes(ByteString value)
public CreateJobFromTemplateRequest.Builder setGcsPathBytes(ByteString value) 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;
| Name | Description |
| value | ByteStringThe bytes for gcsPath to set. |
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
setJobName(String value)
public CreateJobFromTemplateRequest.Builder setJobName(String value)Required. The job name to use for the created job.
string job_name = 4;
| Name | Description |
| value | StringThe jobName to set. |
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
setJobNameBytes(ByteString value)
public CreateJobFromTemplateRequest.Builder setJobNameBytes(ByteString value)Required. The job name to use for the created job.
string job_name = 4;
| Name | Description |
| value | ByteStringThe bytes for jobName to set. |
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
setLocation(String value)
public CreateJobFromTemplateRequest.Builder setLocation(String value)The regional endpoint to which to direct the request.
string location = 6;
| Name | Description |
| value | StringThe location to set. |
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
setLocationBytes(ByteString value)
public CreateJobFromTemplateRequest.Builder setLocationBytes(ByteString value)The regional endpoint to which to direct the request.
string location = 6;
| Name | Description |
| value | ByteStringThe bytes for location to set. |
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
setProjectId(String value)
public CreateJobFromTemplateRequest.Builder setProjectId(String value)Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Name | Description |
| value | StringThe projectId to set. |
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public CreateJobFromTemplateRequest.Builder setProjectIdBytes(ByteString value)Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;
| Name | Description |
| value | ByteStringThe bytes for projectId to set. |
| Type | Description |
| CreateJobFromTemplateRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateJobFromTemplateRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateJobFromTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| CreateJobFromTemplateRequest.Builder |