Class CreateJobFromTemplateRequest.Builder (0.52.0)

public static final class CreateJobFromTemplateRequest.Builder extends GeneratedMessageV3.Builder<CreateJobFromTemplateRequest.Builder> implements CreateJobFromTemplateRequestOrBuilder

A request to create a Cloud Dataflow job from a template.

Protobuf type google.dataflow.v1beta3.CreateJobFromTemplateRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateJobFromTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateJobFromTemplateRequest.Builder
Overrides

build()

public CreateJobFromTemplateRequest build()
Returns
Type Description
CreateJobFromTemplateRequest

buildPartial()

public CreateJobFromTemplateRequest buildPartial()
Returns
Type Description
CreateJobFromTemplateRequest

clear()

public CreateJobFromTemplateRequest.Builder clear()
Returns
Type Description
CreateJobFromTemplateRequest.Builder
Overrides

clearEnvironment()

public CreateJobFromTemplateRequest.Builder clearEnvironment()

The runtime environment for the job.

.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;

Returns
Type Description
CreateJobFromTemplateRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateJobFromTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateJobFromTemplateRequest.Builder
Overrides

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;

Returns
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;

Returns
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;

Returns
Type Description
CreateJobFromTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateJobFromTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateJobFromTemplateRequest.Builder
Overrides

clearParameters()

public CreateJobFromTemplateRequest.Builder clearParameters()
Returns
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;

Returns
Type Description
CreateJobFromTemplateRequest.Builder

This builder for chaining.

clearTemplate()

public CreateJobFromTemplateRequest.Builder clearTemplate()
Returns
Type Description
CreateJobFromTemplateRequest.Builder

clone()

public CreateJobFromTemplateRequest.Builder clone()
Returns
Type Description
CreateJobFromTemplateRequest.Builder
Overrides

containsParameters(String key)

public boolean containsParameters(String key)

The runtime parameters to pass to the job.

map<string, string> parameters = 3;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public CreateJobFromTemplateRequest getDefaultInstanceForType()
Returns
Type Description
CreateJobFromTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnvironment()

public RuntimeEnvironment getEnvironment()

The runtime environment for the job.

.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;

Returns
Type Description
RuntimeEnvironment

The environment.

getEnvironmentBuilder()

public RuntimeEnvironment.Builder getEnvironmentBuilder()

The runtime environment for the job.

.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;

Returns
Type Description
RuntimeEnvironment.Builder

getEnvironmentOrBuilder()

public RuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()

The runtime environment for the job.

.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;

Returns
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;

Returns
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;

Returns
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;

Returns
Type Description
String

The jobName.

getJobNameBytes()

public ByteString getJobNameBytes()

Required. The job name to use for the created job.

string job_name = 4;

Returns
Type Description
ByteString

The bytes for jobName.

getLocation()

public String getLocation()

The regional endpoint to which to direct the request.

string location = 6;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The regional endpoint to which to direct the request.

string location = 6;

Returns
Type Description
ByteString

The bytes for location.

getMutableParameters() (deprecated)

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getParameters() (deprecated)

public Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
Type Description
Map<String,String>

getParametersCount()

public int getParametersCount()

The runtime parameters to pass to the job.

map<string, string> parameters = 3;

Returns
Type Description
int

getParametersMap()

public Map<String,String> getParametersMap()

The runtime parameters to pass to the job.

map<string, string> parameters = 3;

Returns
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;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

The runtime parameters to pass to the job.

map<string, string> parameters = 3;

Parameter
Name Description
key String
Returns
Type Description
String

getProjectId()

public String getProjectId()

Required. The ID of the Cloud Platform project that the job belongs to.

string project_id = 1;

Returns
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;

Returns
Type Description
ByteString

The bytes for projectId.

getTemplateCase()

public CreateJobFromTemplateRequest.TemplateCase getTemplateCase()
Returns
Type Description
CreateJobFromTemplateRequest.TemplateCase

hasEnvironment()

public boolean hasEnvironment()

The runtime environment for the job.

.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;

Returns
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;

Returns
Type Description
boolean

Whether the gcsPath field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEnvironment(RuntimeEnvironment value)

public CreateJobFromTemplateRequest.Builder mergeEnvironment(RuntimeEnvironment value)

The runtime environment for the job.

.google.dataflow.v1beta3.RuntimeEnvironment environment = 5;

Parameter
Name Description
value RuntimeEnvironment
Returns
Type Description
CreateJobFromTemplateRequest.Builder

mergeFrom(CreateJobFromTemplateRequest other)

public CreateJobFromTemplateRequest.Builder mergeFrom(CreateJobFromTemplateRequest other)
Parameter
Name Description
other CreateJobFromTemplateRequest
Returns
Type Description
CreateJobFromTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateJobFromTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateJobFromTemplateRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateJobFromTemplateRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateJobFromTemplateRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateJobFromTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateJobFromTemplateRequest.Builder
Overrides

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;

Parameter
Name Description
values Map<String,String>
Returns
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;

Parameters
Name Description
key String
value String
Returns
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;

Parameter
Name Description
key String
Returns
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;

Parameter
Name Description
value RuntimeEnvironment
Returns
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;

Parameter
Name Description
builderForValue RuntimeEnvironment.Builder
Returns
Type Description
CreateJobFromTemplateRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateJobFromTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateJobFromTemplateRequest.Builder
Overrides

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;

Parameter
Name Description
value String

The gcsPath to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for gcsPath to set.

Returns
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;

Parameter
Name Description
value String

The jobName to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for jobName to set.

Returns
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;

Parameter
Name Description
value String

The location to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
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;

Parameter
Name Description
value String

The projectId to set.

Returns
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;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
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)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateJobFromTemplateRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateJobFromTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateJobFromTemplateRequest.Builder
Overrides