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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LaunchTemplateParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LaunchTemplateParameters build()
Returns
buildPartial()
public LaunchTemplateParameters buildPartial()
Returns
clear()
public LaunchTemplateParameters.Builder clear()
Returns
Overrides
clearEnvironment()
public LaunchTemplateParameters.Builder clearEnvironment()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public LaunchTemplateParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearJobName()
public LaunchTemplateParameters.Builder clearJobName()
Required. The job name to use for the created job.
string job_name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public LaunchTemplateParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParameters()
public LaunchTemplateParameters.Builder clearParameters()
Returns
public LaunchTemplateParameters.Builder clearTransformNameMapping()
Returns
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
clone()
public LaunchTemplateParameters.Builder clone()
Returns
Overrides
containsParameters(String key)
public boolean containsParameters(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
Parameter
Returns
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
Returns
getDefaultInstanceForType()
public LaunchTemplateParameters getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnvironment()
public RuntimeEnvironment getEnvironment()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
Returns
getEnvironmentBuilder()
public RuntimeEnvironment.Builder getEnvironmentBuilder()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
Returns
getEnvironmentOrBuilder()
public RuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
Returns
getJobName()
public String getJobName()
Required. The job name to use for the created job.
string job_name = 1;
Returns
Type | Description |
String | The jobName.
|
getJobNameBytes()
public ByteString getJobNameBytes()
Required. The job name to use for the created job.
string job_name = 1;
Returns
getMutableParameters()
public Map<String,String> getMutableParameters()
Use alternate mutation accessors instead.
Returns
public Map<String,String> getMutableTransformNameMapping()
Use alternate mutation accessors instead.
Returns
getParameters()
public Map<String,String> getParameters()
Returns
getParametersCount()
public int getParametersCount()
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
Returns
getParametersMap()
public Map<String,String> getParametersMap()
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
Returns
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
Returns
getParametersOrThrow(String key)
public String getParametersOrThrow(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
Parameter
Returns
public Map<String,String> getTransformNameMapping()
Returns
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
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
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
Returns
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
Returns
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
hasEnvironment()
public boolean hasEnvironment()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
Returns
Type | Description |
boolean | Whether the environment field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEnvironment(RuntimeEnvironment value)
public LaunchTemplateParameters.Builder mergeEnvironment(RuntimeEnvironment value)
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
Parameter
Returns
mergeFrom(LaunchTemplateParameters other)
public LaunchTemplateParameters.Builder mergeFrom(LaunchTemplateParameters other)
Parameter
Returns
public LaunchTemplateParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LaunchTemplateParameters.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LaunchTemplateParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllParameters(Map<String,String> values)
public LaunchTemplateParameters.Builder putAllParameters(Map<String,String> values)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
Parameter
Returns
public LaunchTemplateParameters.Builder putAllTransformNameMapping(Map<String,String> values)
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
Returns
putParameters(String key, String value)
public LaunchTemplateParameters.Builder putParameters(String key, String value)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
Parameters
Returns
public LaunchTemplateParameters.Builder putTransformNameMapping(String key, String value)
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
Returns
removeParameters(String key)
public LaunchTemplateParameters.Builder removeParameters(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
Parameter
Returns
public LaunchTemplateParameters.Builder removeTransformNameMapping(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
Returns
setEnvironment(RuntimeEnvironment value)
public LaunchTemplateParameters.Builder setEnvironment(RuntimeEnvironment value)
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
Parameter
Returns
setEnvironment(RuntimeEnvironment.Builder builderForValue)
public LaunchTemplateParameters.Builder setEnvironment(RuntimeEnvironment.Builder builderForValue)
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LaunchTemplateParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setJobName(String value)
public LaunchTemplateParameters.Builder setJobName(String value)
Required. The job name to use for the created job.
string job_name = 1;
Parameter
Name | Description |
value | String
The jobName to set.
|
Returns
setJobNameBytes(ByteString value)
public LaunchTemplateParameters.Builder setJobNameBytes(ByteString value)
Required. The job name to use for the created job.
string job_name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for jobName to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LaunchTemplateParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LaunchTemplateParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdate(boolean value)
public LaunchTemplateParameters.Builder setUpdate(boolean value)
If set, replace the existing pipeline with the name specified by jobName
with this pipeline, preserving state.
bool update = 4;
Parameter
Name | Description |
value | boolean
The update to set.
|
Returns