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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LaunchTemplateParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LaunchTemplateParameters build()
buildPartial()
public LaunchTemplateParameters buildPartial()
clear()
public LaunchTemplateParameters.Builder clear()
Overrides
clearEnvironment()
public LaunchTemplateParameters.Builder clearEnvironment()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
clearField(Descriptors.FieldDescriptor field)
public LaunchTemplateParameters.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearJobName()
public LaunchTemplateParameters.Builder clearJobName()
Required. The job name to use for the created job.
string job_name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public LaunchTemplateParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParameters()
public LaunchTemplateParameters.Builder clearParameters()
public LaunchTemplateParameters.Builder clearTransformNameMapping()
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;
clone()
public LaunchTemplateParameters.Builder clone()
Overrides
containsParameters(String key)
public boolean containsParameters(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
Parameter |
---|
Name | Description |
key | String
|
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 |
---|
Name | Description |
key | String
|
getDefaultInstanceForType()
public LaunchTemplateParameters getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnvironment()
public RuntimeEnvironment getEnvironment()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
getEnvironmentBuilder()
public RuntimeEnvironment.Builder getEnvironmentBuilder()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
getEnvironmentOrBuilder()
public RuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
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 |
---|
Type | Description |
ByteString | The bytes for jobName.
|
getMutableParameters()
public Map<String,String> getMutableParameters()
Use alternate mutation accessors instead.
public Map<String,String> getMutableTransformNameMapping()
Use alternate mutation accessors instead.
getParameters()
public Map<String,String> getParameters()
getParametersCount()
public int getParametersCount()
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
Returns |
---|
Type | Description |
int | |
getParametersMap()
public Map<String,String> getParametersMap()
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
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;
getParametersOrThrow(String key)
public String getParametersOrThrow(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
Parameter |
---|
Name | Description |
key | String
|
public Map<String,String> getTransformNameMapping()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | 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 |
---|
Type | Description |
boolean | The update.
|
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()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEnvironment(RuntimeEnvironment value)
public LaunchTemplateParameters.Builder mergeEnvironment(RuntimeEnvironment value)
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
mergeFrom(LaunchTemplateParameters other)
public LaunchTemplateParameters.Builder mergeFrom(LaunchTemplateParameters other)
public LaunchTemplateParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LaunchTemplateParameters.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LaunchTemplateParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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;
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;
removeParameters(String key)
public LaunchTemplateParameters.Builder removeParameters(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
Parameter |
---|
Name | Description |
key | String
|
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 |
---|
Name | Description |
key | String
|
setEnvironment(RuntimeEnvironment value)
public LaunchTemplateParameters.Builder setEnvironment(RuntimeEnvironment value)
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
setEnvironment(RuntimeEnvironment.Builder builderForValue)
public LaunchTemplateParameters.Builder setEnvironment(RuntimeEnvironment.Builder builderForValue)
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public LaunchTemplateParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LaunchTemplateParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LaunchTemplateParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|