Package com.google.dataflow.v1beta3
Class LaunchTemplateParameters.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
- com.google.dataflow.v1beta3.LaunchTemplateParameters.Builder
-
- All Implemented Interfaces:
LaunchTemplateParametersOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LaunchTemplateParameters
public static final class LaunchTemplateParameters.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder> implements LaunchTemplateParametersOrBuilder
Parameters to provide to the template being launched.
Protobuf typegoogle.dataflow.v1beta3.LaunchTemplateParameters
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LaunchTemplateParameters.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LaunchTemplateParametersbuild()LaunchTemplateParametersbuildPartial()LaunchTemplateParameters.Builderclear()LaunchTemplateParameters.BuilderclearEnvironment()The runtime environment for the job.LaunchTemplateParameters.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)LaunchTemplateParameters.BuilderclearJobName()Required.LaunchTemplateParameters.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)LaunchTemplateParameters.BuilderclearParameters()LaunchTemplateParameters.BuilderclearTransformNameMapping()LaunchTemplateParameters.BuilderclearUpdate()If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.LaunchTemplateParameters.Builderclone()booleancontainsParameters(String key)The runtime parameters to pass to the job.booleancontainsTransformNameMapping(String key)Only applicable when updating a pipeline.LaunchTemplateParametersgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RuntimeEnvironmentgetEnvironment()The runtime environment for the job.RuntimeEnvironment.BuildergetEnvironmentBuilder()The runtime environment for the job.RuntimeEnvironmentOrBuildergetEnvironmentOrBuilder()The runtime environment for the job.StringgetJobName()Required.com.google.protobuf.ByteStringgetJobNameBytes()Required.Map<String,String>getMutableParameters()Deprecated.Map<String,String>getMutableTransformNameMapping()Deprecated.Map<String,String>getParameters()Deprecated.intgetParametersCount()The runtime parameters to pass to the job.Map<String,String>getParametersMap()The runtime parameters to pass to the job.StringgetParametersOrDefault(String key, String defaultValue)The runtime parameters to pass to the job.StringgetParametersOrThrow(String key)The runtime parameters to pass to the job.Map<String,String>getTransformNameMapping()Deprecated.intgetTransformNameMappingCount()Only applicable when updating a pipeline.Map<String,String>getTransformNameMappingMap()Only applicable when updating a pipeline.StringgetTransformNameMappingOrDefault(String key, String defaultValue)Only applicable when updating a pipeline.StringgetTransformNameMappingOrThrow(String key)Only applicable when updating a pipeline.booleangetUpdate()If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.booleanhasEnvironment()The runtime environment for the job.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()LaunchTemplateParameters.BuildermergeEnvironment(RuntimeEnvironment value)The runtime environment for the job.LaunchTemplateParameters.BuildermergeFrom(LaunchTemplateParameters other)LaunchTemplateParameters.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)LaunchTemplateParameters.BuildermergeFrom(com.google.protobuf.Message other)LaunchTemplateParameters.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LaunchTemplateParameters.BuilderputAllParameters(Map<String,String> values)The runtime parameters to pass to the job.LaunchTemplateParameters.BuilderputAllTransformNameMapping(Map<String,String> values)Only applicable when updating a pipeline.LaunchTemplateParameters.BuilderputParameters(String key, String value)The runtime parameters to pass to the job.LaunchTemplateParameters.BuilderputTransformNameMapping(String key, String value)Only applicable when updating a pipeline.LaunchTemplateParameters.BuilderremoveParameters(String key)The runtime parameters to pass to the job.LaunchTemplateParameters.BuilderremoveTransformNameMapping(String key)Only applicable when updating a pipeline.LaunchTemplateParameters.BuildersetEnvironment(RuntimeEnvironment value)The runtime environment for the job.LaunchTemplateParameters.BuildersetEnvironment(RuntimeEnvironment.Builder builderForValue)The runtime environment for the job.LaunchTemplateParameters.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LaunchTemplateParameters.BuildersetJobName(String value)Required.LaunchTemplateParameters.BuildersetJobNameBytes(com.google.protobuf.ByteString value)Required.LaunchTemplateParameters.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)LaunchTemplateParameters.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LaunchTemplateParameters.BuildersetUpdate(boolean value)If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
clear
public LaunchTemplateParameters.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
getDefaultInstanceForType
public LaunchTemplateParameters getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public LaunchTemplateParameters build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LaunchTemplateParameters buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LaunchTemplateParameters.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
setField
public LaunchTemplateParameters.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
clearField
public LaunchTemplateParameters.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
clearOneof
public LaunchTemplateParameters.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
setRepeatedField
public LaunchTemplateParameters.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
addRepeatedField
public LaunchTemplateParameters.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
mergeFrom
public LaunchTemplateParameters.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LaunchTemplateParameters.Builder>
-
mergeFrom
public LaunchTemplateParameters.Builder mergeFrom(LaunchTemplateParameters other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
mergeFrom
public LaunchTemplateParameters.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LaunchTemplateParameters.Builder>- Throws:
IOException
-
getJobName
public String getJobName()
Required. The job name to use for the created job.
string job_name = 1;- Specified by:
getJobNamein interfaceLaunchTemplateParametersOrBuilder- Returns:
- The jobName.
-
getJobNameBytes
public com.google.protobuf.ByteString getJobNameBytes()
Required. The job name to use for the created job.
string job_name = 1;- Specified by:
getJobNameBytesin interfaceLaunchTemplateParametersOrBuilder- Returns:
- The bytes for jobName.
-
setJobName
public LaunchTemplateParameters.Builder setJobName(String value)
Required. The job name to use for the created job.
string job_name = 1;- Parameters:
value- The jobName to set.- Returns:
- This builder for chaining.
-
clearJobName
public LaunchTemplateParameters.Builder clearJobName()
Required. The job name to use for the created job.
string job_name = 1;- Returns:
- This builder for chaining.
-
setJobNameBytes
public LaunchTemplateParameters.Builder setJobNameBytes(com.google.protobuf.ByteString value)
Required. The job name to use for the created job.
string job_name = 1;- Parameters:
value- The bytes for jobName to set.- Returns:
- This builder for chaining.
-
getParametersCount
public int getParametersCount()
Description copied from interface:LaunchTemplateParametersOrBuilderThe runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
getParametersCountin interfaceLaunchTemplateParametersOrBuilder
-
containsParameters
public boolean containsParameters(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
containsParametersin interfaceLaunchTemplateParametersOrBuilder
-
getParameters
@Deprecated public Map<String,String> getParameters()
Deprecated.UsegetParametersMap()instead.- Specified by:
getParametersin interfaceLaunchTemplateParametersOrBuilder
-
getParametersMap
public Map<String,String> getParametersMap()
The runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
getParametersMapin interfaceLaunchTemplateParametersOrBuilder
-
getParametersOrDefault
public String getParametersOrDefault(String key, String defaultValue)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
getParametersOrDefaultin interfaceLaunchTemplateParametersOrBuilder
-
getParametersOrThrow
public String getParametersOrThrow(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
getParametersOrThrowin interfaceLaunchTemplateParametersOrBuilder
-
clearParameters
public LaunchTemplateParameters.Builder clearParameters()
-
removeParameters
public LaunchTemplateParameters.Builder removeParameters(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
-
getMutableParameters
@Deprecated public Map<String,String> getMutableParameters()
Deprecated.Use alternate mutation accessors instead.
-
putParameters
public LaunchTemplateParameters.Builder putParameters(String key, String value)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
-
putAllParameters
public LaunchTemplateParameters.Builder putAllParameters(Map<String,String> values)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
-
hasEnvironment
public boolean hasEnvironment()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;- Specified by:
hasEnvironmentin interfaceLaunchTemplateParametersOrBuilder- Returns:
- Whether the environment field is set.
-
getEnvironment
public RuntimeEnvironment getEnvironment()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;- Specified by:
getEnvironmentin interfaceLaunchTemplateParametersOrBuilder- Returns:
- The environment.
-
setEnvironment
public LaunchTemplateParameters.Builder setEnvironment(RuntimeEnvironment value)
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
-
setEnvironment
public LaunchTemplateParameters.Builder setEnvironment(RuntimeEnvironment.Builder builderForValue)
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
-
mergeEnvironment
public LaunchTemplateParameters.Builder mergeEnvironment(RuntimeEnvironment value)
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
-
clearEnvironment
public LaunchTemplateParameters.Builder clearEnvironment()
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;- Specified by:
getEnvironmentOrBuilderin interfaceLaunchTemplateParametersOrBuilder
-
getUpdate
public boolean getUpdate()
If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.
bool update = 4;- Specified by:
getUpdatein interfaceLaunchTemplateParametersOrBuilder- Returns:
- The update.
-
setUpdate
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;- Parameters:
value- The update to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getTransformNameMappingCount
public int getTransformNameMappingCount()
Description copied from interface:LaunchTemplateParametersOrBuilderOnly 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;- Specified by:
getTransformNameMappingCountin interfaceLaunchTemplateParametersOrBuilder
-
containsTransformNameMapping
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;- Specified by:
containsTransformNameMappingin interfaceLaunchTemplateParametersOrBuilder
-
getTransformNameMapping
@Deprecated public Map<String,String> getTransformNameMapping()
Deprecated.UsegetTransformNameMappingMap()instead.- Specified by:
getTransformNameMappingin interfaceLaunchTemplateParametersOrBuilder
-
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;- Specified by:
getTransformNameMappingMapin interfaceLaunchTemplateParametersOrBuilder
-
getTransformNameMappingOrDefault
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;- Specified by:
getTransformNameMappingOrDefaultin interfaceLaunchTemplateParametersOrBuilder
-
getTransformNameMappingOrThrow
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;- Specified by:
getTransformNameMappingOrThrowin interfaceLaunchTemplateParametersOrBuilder
-
clearTransformNameMapping
public LaunchTemplateParameters.Builder clearTransformNameMapping()
-
removeTransformNameMapping
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;
-
getMutableTransformNameMapping
@Deprecated public Map<String,String> getMutableTransformNameMapping()
Deprecated.Use alternate mutation accessors instead.
-
putTransformNameMapping
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;
-
putAllTransformNameMapping
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;
-
setUnknownFields
public final LaunchTemplateParameters.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
mergeUnknownFields
public final LaunchTemplateParameters.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateParameters.Builder>
-
-