Class CreateJobFromTemplateRequest.Builder (0.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateJobFromTemplateRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder
Overrides

build()

public CreateJobFromTemplateRequest build()
Returns
TypeDescription
CreateJobFromTemplateRequest

buildPartial()

public CreateJobFromTemplateRequest buildPartial()
Returns
TypeDescription
CreateJobFromTemplateRequest

clear()

public CreateJobFromTemplateRequest.Builder clear()
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder
Overrides

clearEnvironment()

public CreateJobFromTemplateRequest.Builder clearEnvironment()

The runtime environment for the job.

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

Returns
TypeDescription
CreateJobFromTemplateRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateJobFromTemplateRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateJobFromTemplateRequest.Builder

This builder for chaining.

clearLocation()

public CreateJobFromTemplateRequest.Builder clearLocation()

The regional endpoint to which to direct the request.

string location = 6;

Returns
TypeDescription
CreateJobFromTemplateRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateJobFromTemplateRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder
Overrides

clearParameters()

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

This builder for chaining.

clearTemplate()

public CreateJobFromTemplateRequest.Builder clearTemplate()
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder

clone()

public CreateJobFromTemplateRequest.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public CreateJobFromTemplateRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateJobFromTemplateRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnvironment()

public RuntimeEnvironment getEnvironment()

The runtime environment for the job.

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

Returns
TypeDescription
RuntimeEnvironment

The environment.

getEnvironmentBuilder()

public RuntimeEnvironment.Builder getEnvironmentBuilder()

The runtime environment for the job.

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

Returns
TypeDescription
RuntimeEnvironment.Builder

getEnvironmentOrBuilder()

public RuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()

The runtime environment for the job.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for gcsPath.

getJobName()

public String getJobName()

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

string job_name = 4;

Returns
TypeDescription
String

The jobName.

getJobNameBytes()

public ByteString getJobNameBytes()

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

string job_name = 4;

Returns
TypeDescription
ByteString

The bytes for jobName.

getLocation()

public String getLocation()

The regional endpoint to which to direct the request.

string location = 6;

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The regional endpoint to which to direct the request.

string location = 6;

Returns
TypeDescription
ByteString

The bytes for location.

getMutableParameters() (deprecated)

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getParameters() (deprecated)

public Map<String,String> getParameters()

Use #getParametersMap() instead.

Returns
TypeDescription
Map<String,String>

getParametersCount()

public int getParametersCount()

The runtime parameters to pass to the job.

map<string, string> parameters = 3;

Returns
TypeDescription
int

getParametersMap()

public Map<String,String> getParametersMap()

The runtime parameters to pass to the job.

map<string, string> parameters = 3;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

The runtime parameters to pass to the job.

map<string, string> parameters = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getProjectId()

public String getProjectId()

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

string project_id = 1;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for projectId.

getTemplateCase()

public CreateJobFromTemplateRequest.TemplateCase getTemplateCase()
Returns
TypeDescription
CreateJobFromTemplateRequest.TemplateCase

hasEnvironment()

public boolean hasEnvironment()

The runtime environment for the job.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcsPath field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEnvironment(RuntimeEnvironment value)

public CreateJobFromTemplateRequest.Builder mergeEnvironment(RuntimeEnvironment value)

The runtime environment for the job.

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

Parameter
NameDescription
valueRuntimeEnvironment
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder

mergeFrom(CreateJobFromTemplateRequest other)

public CreateJobFromTemplateRequest.Builder mergeFrom(CreateJobFromTemplateRequest other)
Parameter
NameDescription
otherCreateJobFromTemplateRequest
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateJobFromTemplateRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateJobFromTemplateRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateJobFromTemplateRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder

setEnvironment(RuntimeEnvironment value)

public CreateJobFromTemplateRequest.Builder setEnvironment(RuntimeEnvironment value)

The runtime environment for the job.

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

Parameter
NameDescription
valueRuntimeEnvironment
Returns
TypeDescription
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
NameDescription
builderForValueRuntimeEnvironment.Builder
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateJobFromTemplateRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The gcsPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gcsPath to set.

Returns
TypeDescription
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
NameDescription
valueString

The jobName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for jobName to set.

Returns
TypeDescription
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
NameDescription
valueString

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateJobFromTemplateRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateJobFromTemplateRequest.Builder
Overrides