Package com.google.dataflow.v1beta3
Class LaunchFlexTemplateParameter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LaunchFlexTemplateParameter.Builder>
com.google.dataflow.v1beta3.LaunchFlexTemplateParameter.Builder
- All Implemented Interfaces:
LaunchFlexTemplateParameterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LaunchFlexTemplateParameter
public static final class LaunchFlexTemplateParameter.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LaunchFlexTemplateParameter.Builder>
implements LaunchFlexTemplateParameterOrBuilder
Launch FlexTemplate Parameter.Protobuf type
google.dataflow.v1beta3.LaunchFlexTemplateParameter-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Spec about the container image to launch.Cloud Storage path to a file with json serialized ContainerSpec as content.The runtime environment for the FlexTemplate jobRequired.Set this to true if you are sending a request to update a running streaming job.booleanLaunch options for this flex template job.booleancontainsParameters(String key) The parameters for FlexTemplate.booleanUse this to pass transform_name_mappings for streaming update jobs.Spec about the container image to launch.Spec about the container image to launch.Cloud Storage path to a file with json serialized ContainerSpec as content.com.google.protobuf.ByteStringCloud Storage path to a file with json serialized ContainerSpec as content.Spec about the container image to launch.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe runtime environment for the FlexTemplate jobThe runtime environment for the FlexTemplate jobThe runtime environment for the FlexTemplate jobRequired.com.google.protobuf.ByteStringRequired.Deprecated.intLaunch options for this flex template job.Launch options for this flex template job.getLaunchOptionsOrDefault(String key, String defaultValue) Launch options for this flex template job.Launch options for this flex template job.Deprecated.Deprecated.Deprecated.Deprecated.intThe parameters for FlexTemplate.The parameters for FlexTemplate.getParametersOrDefault(String key, String defaultValue) The parameters for FlexTemplate.The parameters for FlexTemplate.Deprecated.intUse this to pass transform_name_mappings for streaming update jobs.Use this to pass transform_name_mappings for streaming update jobs.getTransformNameMappingsOrDefault(String key, String defaultValue) Use this to pass transform_name_mappings for streaming update jobs.Use this to pass transform_name_mappings for streaming update jobs.booleanSet this to true if you are sending a request to update a running streaming job.booleanSpec about the container image to launch.booleanCloud Storage path to a file with json serialized ContainerSpec as content.booleanThe runtime environment for the FlexTemplate jobprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeContainerSpec(ContainerSpec value) Spec about the container image to launch.The runtime environment for the FlexTemplate jobmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) putAllLaunchOptions(Map<String, String> values) Launch options for this flex template job.putAllParameters(Map<String, String> values) The parameters for FlexTemplate.putAllTransformNameMappings(Map<String, String> values) Use this to pass transform_name_mappings for streaming update jobs.putLaunchOptions(String key, String value) Launch options for this flex template job.putParameters(String key, String value) The parameters for FlexTemplate.putTransformNameMappings(String key, String value) Use this to pass transform_name_mappings for streaming update jobs.Launch options for this flex template job.removeParameters(String key) The parameters for FlexTemplate.Use this to pass transform_name_mappings for streaming update jobs.setContainerSpec(ContainerSpec value) Spec about the container image to launch.setContainerSpec(ContainerSpec.Builder builderForValue) Spec about the container image to launch.setContainerSpecGcsPath(String value) Cloud Storage path to a file with json serialized ContainerSpec as content.setContainerSpecGcsPathBytes(com.google.protobuf.ByteString value) Cloud Storage path to a file with json serialized ContainerSpec as content.The runtime environment for the FlexTemplate jobsetEnvironment(FlexTemplateRuntimeEnvironment.Builder builderForValue) The runtime environment for the FlexTemplate jobsetJobName(String value) Required.setJobNameBytes(com.google.protobuf.ByteString value) Required.setUpdate(boolean value) Set this to true if you are sending a request to update a running streaming job.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<LaunchFlexTemplateParameter.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<LaunchFlexTemplateParameter.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LaunchFlexTemplateParameter.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LaunchFlexTemplateParameter.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.GeneratedMessage.Builder<LaunchFlexTemplateParameter.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LaunchFlexTemplateParameter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LaunchFlexTemplateParameter.Builder>
-
mergeFrom
public LaunchFlexTemplateParameter.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<LaunchFlexTemplateParameter.Builder>- Throws:
IOException
-
getTemplateCase
- Specified by:
getTemplateCasein interfaceLaunchFlexTemplateParameterOrBuilder
-
clearTemplate
-
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;- Specified by:
getJobNamein interfaceLaunchFlexTemplateParameterOrBuilder- Returns:
- The jobName.
-
getJobNameBytes
public com.google.protobuf.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;- Specified by:
getJobNameBytesin interfaceLaunchFlexTemplateParameterOrBuilder- Returns:
- The bytes for jobName.
-
setJobName
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;- Parameters:
value- The jobName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setJobNameBytes
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;- Parameters:
value- The bytes for jobName to set.- Returns:
- This builder for chaining.
-
hasContainerSpec
public boolean hasContainerSpec()Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4;- Specified by:
hasContainerSpecin interfaceLaunchFlexTemplateParameterOrBuilder- Returns:
- Whether the containerSpec field is set.
-
getContainerSpec
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4;- Specified by:
getContainerSpecin interfaceLaunchFlexTemplateParameterOrBuilder- Returns:
- The containerSpec.
-
setContainerSpec
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4; -
setContainerSpec
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4; -
mergeContainerSpec
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4; -
clearContainerSpec
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4; -
getContainerSpecBuilder
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4; -
getContainerSpecOrBuilder
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4;- Specified by:
getContainerSpecOrBuilderin interfaceLaunchFlexTemplateParameterOrBuilder
-
hasContainerSpecGcsPath
public boolean hasContainerSpecGcsPath()Cloud Storage path to a file with json serialized ContainerSpec as content.
string container_spec_gcs_path = 5;- Specified by:
hasContainerSpecGcsPathin interfaceLaunchFlexTemplateParameterOrBuilder- Returns:
- Whether the containerSpecGcsPath field is set.
-
getContainerSpecGcsPath
Cloud Storage path to a file with json serialized ContainerSpec as content.
string container_spec_gcs_path = 5;- Specified by:
getContainerSpecGcsPathin interfaceLaunchFlexTemplateParameterOrBuilder- Returns:
- The containerSpecGcsPath.
-
getContainerSpecGcsPathBytes
public com.google.protobuf.ByteString getContainerSpecGcsPathBytes()Cloud Storage path to a file with json serialized ContainerSpec as content.
string container_spec_gcs_path = 5;- Specified by:
getContainerSpecGcsPathBytesin interfaceLaunchFlexTemplateParameterOrBuilder- Returns:
- The bytes for containerSpecGcsPath.
-
setContainerSpecGcsPath
Cloud Storage path to a file with json serialized ContainerSpec as content.
string container_spec_gcs_path = 5;- Parameters:
value- The containerSpecGcsPath to set.- Returns:
- This builder for chaining.
-
clearContainerSpecGcsPath
Cloud Storage path to a file with json serialized ContainerSpec as content.
string container_spec_gcs_path = 5;- Returns:
- This builder for chaining.
-
setContainerSpecGcsPathBytes
public LaunchFlexTemplateParameter.Builder setContainerSpecGcsPathBytes(com.google.protobuf.ByteString value) Cloud Storage path to a file with json serialized ContainerSpec as content.
string container_spec_gcs_path = 5;- Parameters:
value- The bytes for containerSpecGcsPath to set.- Returns:
- This builder for chaining.
-
getParametersCount
public int getParametersCount()Description copied from interface:LaunchFlexTemplateParameterOrBuilderThe parameters for FlexTemplate. Ex. {"num_workers":"5"}map<string, string> parameters = 2;- Specified by:
getParametersCountin interfaceLaunchFlexTemplateParameterOrBuilder
-
containsParameters
The parameters for FlexTemplate. Ex. {"num_workers":"5"}map<string, string> parameters = 2;- Specified by:
containsParametersin interfaceLaunchFlexTemplateParameterOrBuilder
-
getParameters
Deprecated.UsegetParametersMap()instead.- Specified by:
getParametersin interfaceLaunchFlexTemplateParameterOrBuilder
-
getParametersMap
The parameters for FlexTemplate. Ex. {"num_workers":"5"}map<string, string> parameters = 2;- Specified by:
getParametersMapin interfaceLaunchFlexTemplateParameterOrBuilder
-
getParametersOrDefault
The parameters for FlexTemplate. Ex. {"num_workers":"5"}map<string, string> parameters = 2;- Specified by:
getParametersOrDefaultin interfaceLaunchFlexTemplateParameterOrBuilder
-
getParametersOrThrow
The parameters for FlexTemplate. Ex. {"num_workers":"5"}map<string, string> parameters = 2;- Specified by:
getParametersOrThrowin interfaceLaunchFlexTemplateParameterOrBuilder
-
clearParameters
-
removeParameters
The parameters for FlexTemplate. Ex. {"num_workers":"5"}map<string, string> parameters = 2; -
getMutableParameters
Deprecated.Use alternate mutation accessors instead. -
putParameters
The parameters for FlexTemplate. Ex. {"num_workers":"5"}map<string, string> parameters = 2; -
putAllParameters
The parameters for FlexTemplate. Ex. {"num_workers":"5"}map<string, string> parameters = 2; -
getLaunchOptionsCount
public int getLaunchOptionsCount()Description copied from interface:LaunchFlexTemplateParameterOrBuilderLaunch 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;- Specified by:
getLaunchOptionsCountin interfaceLaunchFlexTemplateParameterOrBuilder
-
containsLaunchOptions
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;- Specified by:
containsLaunchOptionsin interfaceLaunchFlexTemplateParameterOrBuilder
-
getLaunchOptions
Deprecated.UsegetLaunchOptionsMap()instead.- Specified by:
getLaunchOptionsin interfaceLaunchFlexTemplateParameterOrBuilder
-
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;- Specified by:
getLaunchOptionsMapin interfaceLaunchFlexTemplateParameterOrBuilder
-
getLaunchOptionsOrDefault
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;- Specified by:
getLaunchOptionsOrDefaultin interfaceLaunchFlexTemplateParameterOrBuilder
-
getLaunchOptionsOrThrow
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;- Specified by:
getLaunchOptionsOrThrowin interfaceLaunchFlexTemplateParameterOrBuilder
-
clearLaunchOptions
-
removeLaunchOptions
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; -
getMutableLaunchOptions
Deprecated.Use alternate mutation accessors instead. -
putLaunchOptions
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; -
putAllLaunchOptions
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; -
hasEnvironment
public boolean hasEnvironment()The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;- Specified by:
hasEnvironmentin interfaceLaunchFlexTemplateParameterOrBuilder- Returns:
- Whether the environment field is set.
-
getEnvironment
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;- Specified by:
getEnvironmentin interfaceLaunchFlexTemplateParameterOrBuilder- Returns:
- The environment.
-
setEnvironment
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7; -
setEnvironment
public LaunchFlexTemplateParameter.Builder setEnvironment(FlexTemplateRuntimeEnvironment.Builder builderForValue) The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7; -
mergeEnvironment
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7; -
clearEnvironment
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7; -
getEnvironmentBuilder
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7; -
getEnvironmentOrBuilder
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;- Specified by:
getEnvironmentOrBuilderin interfaceLaunchFlexTemplateParameterOrBuilder
-
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;- Specified by:
getUpdatein interfaceLaunchFlexTemplateParameterOrBuilder- Returns:
- The update.
-
setUpdate
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;- Parameters:
value- The update to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getTransformNameMappingsCount
public int getTransformNameMappingsCount()Description copied from interface:LaunchFlexTemplateParameterOrBuilderUse this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'map<string, string> transform_name_mappings = 9;- Specified by:
getTransformNameMappingsCountin interfaceLaunchFlexTemplateParameterOrBuilder
-
containsTransformNameMappings
Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'map<string, string> transform_name_mappings = 9;- Specified by:
containsTransformNameMappingsin interfaceLaunchFlexTemplateParameterOrBuilder
-
getTransformNameMappings
Deprecated.UsegetTransformNameMappingsMap()instead.- Specified by:
getTransformNameMappingsin interfaceLaunchFlexTemplateParameterOrBuilder
-
getTransformNameMappingsMap
Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'map<string, string> transform_name_mappings = 9;- Specified by:
getTransformNameMappingsMapin interfaceLaunchFlexTemplateParameterOrBuilder
-
getTransformNameMappingsOrDefault
Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'map<string, string> transform_name_mappings = 9;- Specified by:
getTransformNameMappingsOrDefaultin interfaceLaunchFlexTemplateParameterOrBuilder
-
getTransformNameMappingsOrThrow
Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'map<string, string> transform_name_mappings = 9;- Specified by:
getTransformNameMappingsOrThrowin interfaceLaunchFlexTemplateParameterOrBuilder
-
clearTransformNameMappings
-
removeTransformNameMappings
Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'map<string, string> transform_name_mappings = 9; -
getMutableTransformNameMappings
Deprecated.Use alternate mutation accessors instead. -
putTransformNameMappings
Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'map<string, string> transform_name_mappings = 9; -
putAllTransformNameMappings
Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'map<string, string> transform_name_mappings = 9;
-