Class LaunchFlexTemplateParameter.Builder (0.12.0)

public static final class LaunchFlexTemplateParameter.Builder extends GeneratedMessageV3.Builder<LaunchFlexTemplateParameter.Builder> implements LaunchFlexTemplateParameterOrBuilder

Launch FlexTemplate Parameter.

Protobuf type google.dataflow.v1beta3.LaunchFlexTemplateParameter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LaunchFlexTemplateParameter build()
Returns
TypeDescription
LaunchFlexTemplateParameter

buildPartial()

public LaunchFlexTemplateParameter buildPartial()
Returns
TypeDescription
LaunchFlexTemplateParameter

clear()

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

clearContainerSpec()

public LaunchFlexTemplateParameter.Builder clearContainerSpec()

Spec about the container image to launch.

.google.dataflow.v1beta3.ContainerSpec container_spec = 4;

Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

clearContainerSpecGcsPath()

public LaunchFlexTemplateParameter.Builder clearContainerSpecGcsPath()

Cloud Storage path to a file with json serialized ContainerSpec as content.

string container_spec_gcs_path = 5;

Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

This builder for chaining.

clearEnvironment()

public LaunchFlexTemplateParameter.Builder clearEnvironment()

The runtime environment for the FlexTemplate job

.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;

Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearJobName()

public LaunchFlexTemplateParameter.Builder clearJobName()

Required. The job name to use for the created job. For update job request, job name should be same as the existing running job.

string job_name = 1;

Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

This builder for chaining.

clearLaunchOptions()

public LaunchFlexTemplateParameter.Builder clearLaunchOptions()
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParameters()

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

clearTemplate()

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

clearTransformNameMappings()

public LaunchFlexTemplateParameter.Builder clearTransformNameMappings()
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

clearUpdate()

public LaunchFlexTemplateParameter.Builder clearUpdate()

Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job.

bool update = 8;

Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

This builder for chaining.

clone()

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

containsLaunchOptions(String key)

public boolean containsLaunchOptions(String key)

Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.

map<string, string> launch_options = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsParameters(String key)

public boolean containsParameters(String key)

The parameters for FlexTemplate. Ex. {"num_workers":"5"}

map<string, string> parameters = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsTransformNameMappings(String key)

public boolean containsTransformNameMappings(String key)

Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'

map<string, string> transform_name_mappings = 9;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getContainerSpec()

public ContainerSpec getContainerSpec()

Spec about the container image to launch.

.google.dataflow.v1beta3.ContainerSpec container_spec = 4;

Returns
TypeDescription
ContainerSpec

The containerSpec.

getContainerSpecBuilder()

public ContainerSpec.Builder getContainerSpecBuilder()

Spec about the container image to launch.

.google.dataflow.v1beta3.ContainerSpec container_spec = 4;

Returns
TypeDescription
ContainerSpec.Builder

getContainerSpecGcsPath()

public String getContainerSpecGcsPath()

Cloud Storage path to a file with json serialized ContainerSpec as content.

string container_spec_gcs_path = 5;

Returns
TypeDescription
String

The containerSpecGcsPath.

getContainerSpecGcsPathBytes()

public ByteString getContainerSpecGcsPathBytes()

Cloud Storage path to a file with json serialized ContainerSpec as content.

string container_spec_gcs_path = 5;

Returns
TypeDescription
ByteString

The bytes for containerSpecGcsPath.

getContainerSpecOrBuilder()

public ContainerSpecOrBuilder getContainerSpecOrBuilder()

Spec about the container image to launch.

.google.dataflow.v1beta3.ContainerSpec container_spec = 4;

Returns
TypeDescription
ContainerSpecOrBuilder

getDefaultInstanceForType()

public LaunchFlexTemplateParameter getDefaultInstanceForType()
Returns
TypeDescription
LaunchFlexTemplateParameter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnvironment()

public FlexTemplateRuntimeEnvironment getEnvironment()

The runtime environment for the FlexTemplate job

.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;

Returns
TypeDescription
FlexTemplateRuntimeEnvironment

The environment.

getEnvironmentBuilder()

public FlexTemplateRuntimeEnvironment.Builder getEnvironmentBuilder()

The runtime environment for the FlexTemplate job

.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;

Returns
TypeDescription
FlexTemplateRuntimeEnvironment.Builder

getEnvironmentOrBuilder()

public FlexTemplateRuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()

The runtime environment for the FlexTemplate job

.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;

Returns
TypeDescription
FlexTemplateRuntimeEnvironmentOrBuilder

getJobName()

public String getJobName()

Required. The job name to use for the created job. For update job request, job name should be same as the existing running job.

string job_name = 1;

Returns
TypeDescription
String

The jobName.

getJobNameBytes()

public ByteString getJobNameBytes()

Required. The job name to use for the created job. For update job request, job name should be same as the existing running job.

string job_name = 1;

Returns
TypeDescription
ByteString

The bytes for jobName.

getLaunchOptions()

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

getLaunchOptionsCount()

public int getLaunchOptionsCount()

Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.

map<string, string> launch_options = 6;

Returns
TypeDescription
int

getLaunchOptionsMap()

public Map<String,String> getLaunchOptionsMap()

Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.

map<string, string> launch_options = 6;

Returns
TypeDescription
Map<String,String>

getLaunchOptionsOrDefault(String key, String defaultValue)

public String getLaunchOptionsOrDefault(String key, String defaultValue)

Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.

map<string, string> launch_options = 6;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLaunchOptionsOrThrow(String key)

public String getLaunchOptionsOrThrow(String key)

Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.

map<string, string> launch_options = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLaunchOptions()

public Map<String,String> getMutableLaunchOptions()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableParameters()

public Map<String,String> getMutableParameters()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableTransformNameMappings()

public Map<String,String> getMutableTransformNameMappings()

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 parameters for FlexTemplate. Ex. {"num_workers":"5"}

map<string, string> parameters = 2;

Returns
TypeDescription
int

getParametersMap()

public Map<String,String> getParametersMap()

The parameters for FlexTemplate. Ex. {"num_workers":"5"}

map<string, string> parameters = 2;

Returns
TypeDescription
Map<String,String>

getParametersOrDefault(String key, String defaultValue)

public String getParametersOrDefault(String key, String defaultValue)

The parameters for FlexTemplate. Ex. {"num_workers":"5"}

map<string, string> parameters = 2;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getParametersOrThrow(String key)

public String getParametersOrThrow(String key)

The parameters for FlexTemplate. Ex. {"num_workers":"5"}

map<string, string> parameters = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getTemplateCase()

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

getTransformNameMappings()

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

getTransformNameMappingsCount()

public int getTransformNameMappingsCount()

Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'

map<string, string> transform_name_mappings = 9;

Returns
TypeDescription
int

getTransformNameMappingsMap()

public Map<String,String> getTransformNameMappingsMap()

Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'

map<string, string> transform_name_mappings = 9;

Returns
TypeDescription
Map<String,String>

getTransformNameMappingsOrDefault(String key, String defaultValue)

public String getTransformNameMappingsOrDefault(String key, String defaultValue)

Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'

map<string, string> transform_name_mappings = 9;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getTransformNameMappingsOrThrow(String key)

public String getTransformNameMappingsOrThrow(String key)

Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'

map<string, string> transform_name_mappings = 9;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getUpdate()

public boolean getUpdate()

Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job.

bool update = 8;

Returns
TypeDescription
boolean

The update.

hasContainerSpec()

public boolean hasContainerSpec()

Spec about the container image to launch.

.google.dataflow.v1beta3.ContainerSpec container_spec = 4;

Returns
TypeDescription
boolean

Whether the containerSpec field is set.

hasContainerSpecGcsPath()

public boolean hasContainerSpecGcsPath()

Cloud Storage path to a file with json serialized ContainerSpec as content.

string container_spec_gcs_path = 5;

Returns
TypeDescription
boolean

Whether the containerSpecGcsPath field is set.

hasEnvironment()

public boolean hasEnvironment()

The runtime environment for the FlexTemplate job

.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;

Returns
TypeDescription
boolean

Whether the environment 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

mergeContainerSpec(ContainerSpec value)

public LaunchFlexTemplateParameter.Builder mergeContainerSpec(ContainerSpec value)

Spec about the container image to launch.

.google.dataflow.v1beta3.ContainerSpec container_spec = 4;

Parameter
NameDescription
valueContainerSpec
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

mergeEnvironment(FlexTemplateRuntimeEnvironment value)

public LaunchFlexTemplateParameter.Builder mergeEnvironment(FlexTemplateRuntimeEnvironment value)

The runtime environment for the FlexTemplate job

.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;

Parameter
NameDescription
valueFlexTemplateRuntimeEnvironment
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

mergeFrom(LaunchFlexTemplateParameter other)

public LaunchFlexTemplateParameter.Builder mergeFrom(LaunchFlexTemplateParameter other)
Parameter
NameDescription
otherLaunchFlexTemplateParameter
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LaunchFlexTemplateParameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder
Overrides

putAllLaunchOptions(Map<String,String> values)

public LaunchFlexTemplateParameter.Builder putAllLaunchOptions(Map<String,String> values)

Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.

map<string, string> launch_options = 6;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

putAllParameters(Map<String,String> values)

public LaunchFlexTemplateParameter.Builder putAllParameters(Map<String,String> values)

The parameters for FlexTemplate. Ex. {"num_workers":"5"}

map<string, string> parameters = 2;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

putAllTransformNameMappings(Map<String,String> values)

public LaunchFlexTemplateParameter.Builder putAllTransformNameMappings(Map<String,String> values)

Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'

map<string, string> transform_name_mappings = 9;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

putLaunchOptions(String key, String value)

public LaunchFlexTemplateParameter.Builder putLaunchOptions(String key, String value)

Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.

map<string, string> launch_options = 6;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

putParameters(String key, String value)

public LaunchFlexTemplateParameter.Builder putParameters(String key, String value)

The parameters for FlexTemplate. Ex. {"num_workers":"5"}

map<string, string> parameters = 2;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

putTransformNameMappings(String key, String value)

public LaunchFlexTemplateParameter.Builder putTransformNameMappings(String key, String value)

Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'

map<string, string> transform_name_mappings = 9;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

removeLaunchOptions(String key)

public LaunchFlexTemplateParameter.Builder removeLaunchOptions(String key)

Launch options for this flex template job. This is a common set of options across languages and templates. This should not be used to pass job parameters.

map<string, string> launch_options = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

removeParameters(String key)

public LaunchFlexTemplateParameter.Builder removeParameters(String key)

The parameters for FlexTemplate. Ex. {"num_workers":"5"}

map<string, string> parameters = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

removeTransformNameMappings(String key)

public LaunchFlexTemplateParameter.Builder removeTransformNameMappings(String key)

Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'

map<string, string> transform_name_mappings = 9;

Parameter
NameDescription
keyString
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

setContainerSpec(ContainerSpec value)

public LaunchFlexTemplateParameter.Builder setContainerSpec(ContainerSpec value)

Spec about the container image to launch.

.google.dataflow.v1beta3.ContainerSpec container_spec = 4;

Parameter
NameDescription
valueContainerSpec
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

setContainerSpec(ContainerSpec.Builder builderForValue)

public LaunchFlexTemplateParameter.Builder setContainerSpec(ContainerSpec.Builder builderForValue)

Spec about the container image to launch.

.google.dataflow.v1beta3.ContainerSpec container_spec = 4;

Parameter
NameDescription
builderForValueContainerSpec.Builder
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

setContainerSpecGcsPath(String value)

public LaunchFlexTemplateParameter.Builder setContainerSpecGcsPath(String value)

Cloud Storage path to a file with json serialized ContainerSpec as content.

string container_spec_gcs_path = 5;

Parameter
NameDescription
valueString

The containerSpecGcsPath to set.

Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

This builder for chaining.

setContainerSpecGcsPathBytes(ByteString value)

public LaunchFlexTemplateParameter.Builder setContainerSpecGcsPathBytes(ByteString value)

Cloud Storage path to a file with json serialized ContainerSpec as content.

string container_spec_gcs_path = 5;

Parameter
NameDescription
valueByteString

The bytes for containerSpecGcsPath to set.

Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

This builder for chaining.

setEnvironment(FlexTemplateRuntimeEnvironment value)

public LaunchFlexTemplateParameter.Builder setEnvironment(FlexTemplateRuntimeEnvironment value)

The runtime environment for the FlexTemplate job

.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;

Parameter
NameDescription
valueFlexTemplateRuntimeEnvironment
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

setEnvironment(FlexTemplateRuntimeEnvironment.Builder builderForValue)

public LaunchFlexTemplateParameter.Builder setEnvironment(FlexTemplateRuntimeEnvironment.Builder builderForValue)

The runtime environment for the FlexTemplate job

.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;

Parameter
NameDescription
builderForValueFlexTemplateRuntimeEnvironment.Builder
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobName(String value)

public LaunchFlexTemplateParameter.Builder setJobName(String value)

Required. The job name to use for the created job. For update job request, job name should be same as the existing running job.

string job_name = 1;

Parameter
NameDescription
valueString

The jobName to set.

Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

This builder for chaining.

setJobNameBytes(ByteString value)

public LaunchFlexTemplateParameter.Builder setJobNameBytes(ByteString value)

Required. The job name to use for the created job. For update job request, job name should be same as the existing running job.

string job_name = 1;

Parameter
NameDescription
valueByteString

The bytes for jobName to set.

Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LaunchFlexTemplateParameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LaunchFlexTemplateParameter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdate(boolean value)

public LaunchFlexTemplateParameter.Builder setUpdate(boolean value)

Set this to true if you are sending a request to update a running streaming job. When set, the job name should be the same as the running job.

bool update = 8;

Parameter
NameDescription
valueboolean

The update to set.

Returns
TypeDescription
LaunchFlexTemplateParameter.Builder

This builder for chaining.