Class LaunchTemplateParameters.Builder (0.10.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class LaunchTemplateParameters.Builder extends GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder> implements LaunchTemplateParametersOrBuilder

Parameters to provide to the template being launched.

Protobuf type google.dataflow.v1beta3.LaunchTemplateParameters

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LaunchTemplateParameters build()
Returns
TypeDescription
LaunchTemplateParameters

buildPartial()

public LaunchTemplateParameters buildPartial()
Returns
TypeDescription
LaunchTemplateParameters

clear()

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

clearEnvironment()

public LaunchTemplateParameters.Builder clearEnvironment()

The runtime environment for the job.

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

Returns
TypeDescription
LaunchTemplateParameters.Builder

clearField(Descriptors.FieldDescriptor field)

public LaunchTemplateParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LaunchTemplateParameters.Builder
Overrides

clearJobName()

public LaunchTemplateParameters.Builder clearJobName()

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

string job_name = 1;

Returns
TypeDescription
LaunchTemplateParameters.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameters()

public LaunchTemplateParameters.Builder clearParameters()
Returns
TypeDescription
LaunchTemplateParameters.Builder

clearTransformNameMapping()

public LaunchTemplateParameters.Builder clearTransformNameMapping()
Returns
TypeDescription
LaunchTemplateParameters.Builder

clearUpdate()

public LaunchTemplateParameters.Builder clearUpdate()

If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.

bool update = 4;

Returns
TypeDescription
LaunchTemplateParameters.Builder

This builder for chaining.

clone()

public LaunchTemplateParameters.Builder clone()
Returns
TypeDescription
LaunchTemplateParameters.Builder
Overrides

containsParameters(String key)

public boolean containsParameters(String key)

The runtime parameters to pass to the job.

map<string, string> parameters = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsTransformNameMapping(String key)

public boolean containsTransformNameMapping(String key)

Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.

map<string, string> transform_name_mapping = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public LaunchTemplateParameters getDefaultInstanceForType()
Returns
TypeDescription
LaunchTemplateParameters

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnvironment()

public RuntimeEnvironment getEnvironment()

The runtime environment for the job.

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

Returns
TypeDescription
RuntimeEnvironment

The environment.

getEnvironmentBuilder()

public RuntimeEnvironment.Builder getEnvironmentBuilder()

The runtime environment for the job.

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

Returns
TypeDescription
RuntimeEnvironment.Builder

getEnvironmentOrBuilder()

public RuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()

The runtime environment for the job.

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

Returns
TypeDescription
RuntimeEnvironmentOrBuilder

getJobName()

public String getJobName()

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

string job_name = 1;

Returns
TypeDescription
String

The jobName.

getJobNameBytes()

public ByteString getJobNameBytes()

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

string job_name = 1;

Returns
TypeDescription
ByteString

The bytes for jobName.

getMutableParameters()

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableTransformNameMapping()

public Map<String,String> getMutableTransformNameMapping()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getParameters()

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 = 2;

Returns
TypeDescription
int

getParametersMap()

public Map<String,String> getParametersMap()

The runtime parameters to pass to the job.

map<string, string> parameters = 2;

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 = 2;

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 = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getTransformNameMapping()

public Map<String,String> getTransformNameMapping()
Returns
TypeDescription
Map<String,String>

getTransformNameMappingCount()

public int getTransformNameMappingCount()

Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.

map<string, string> transform_name_mapping = 5;

Returns
TypeDescription
int

getTransformNameMappingMap()

public Map<String,String> getTransformNameMappingMap()

Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.

map<string, string> transform_name_mapping = 5;

Returns
TypeDescription
Map<String,String>

getTransformNameMappingOrDefault(String key, String defaultValue)

public String getTransformNameMappingOrDefault(String key, String defaultValue)

Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.

map<string, string> transform_name_mapping = 5;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getTransformNameMappingOrThrow(String key)

public String getTransformNameMappingOrThrow(String key)

Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.

map<string, string> transform_name_mapping = 5;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getUpdate()

public boolean getUpdate()

If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.

bool update = 4;

Returns
TypeDescription
boolean

The update.

hasEnvironment()

public boolean hasEnvironment()

The runtime environment for the job.

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

Returns
TypeDescription
boolean

Whether the environment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
<