Package com.google.dataflow.v1beta3
Interface LaunchFlexTemplateParameterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LaunchFlexTemplateParameter
,LaunchFlexTemplateParameter.Builder
public interface LaunchFlexTemplateParameterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLaunchOptions(String key)
Launch options for this flex template job.boolean
containsParameters(String key)
The parameters for FlexTemplate.boolean
containsTransformNameMappings(String key)
Use this to pass transform_name_mappings for streaming update jobs.ContainerSpec
getContainerSpec()
Spec about the container image to launch.String
getContainerSpecGcsPath()
Cloud Storage path to a file with json serialized ContainerSpec as content.com.google.protobuf.ByteString
getContainerSpecGcsPathBytes()
Cloud Storage path to a file with json serialized ContainerSpec as content.ContainerSpecOrBuilder
getContainerSpecOrBuilder()
Spec about the container image to launch.FlexTemplateRuntimeEnvironment
getEnvironment()
The runtime environment for the FlexTemplate jobFlexTemplateRuntimeEnvironmentOrBuilder
getEnvironmentOrBuilder()
The runtime environment for the FlexTemplate jobString
getJobName()
Required.com.google.protobuf.ByteString
getJobNameBytes()
Required.Map<String,String>
getLaunchOptions()
Deprecated.int
getLaunchOptionsCount()
Launch options for this flex template job.Map<String,String>
getLaunchOptionsMap()
Launch options for this flex template job.String
getLaunchOptionsOrDefault(String key, String defaultValue)
Launch options for this flex template job.String
getLaunchOptionsOrThrow(String key)
Launch options for this flex template job.Map<String,String>
getParameters()
Deprecated.int
getParametersCount()
The parameters for FlexTemplate.Map<String,String>
getParametersMap()
The parameters for FlexTemplate.String
getParametersOrDefault(String key, String defaultValue)
The parameters for FlexTemplate.String
getParametersOrThrow(String key)
The parameters for FlexTemplate.LaunchFlexTemplateParameter.TemplateCase
getTemplateCase()
Map<String,String>
getTransformNameMappings()
Deprecated.int
getTransformNameMappingsCount()
Use this to pass transform_name_mappings for streaming update jobs.Map<String,String>
getTransformNameMappingsMap()
Use this to pass transform_name_mappings for streaming update jobs.String
getTransformNameMappingsOrDefault(String key, String defaultValue)
Use this to pass transform_name_mappings for streaming update jobs.String
getTransformNameMappingsOrThrow(String key)
Use this to pass transform_name_mappings for streaming update jobs.boolean
getUpdate()
Set this to true if you are sending a request to update a running streaming job.boolean
hasContainerSpec()
Spec about the container image to launch.boolean
hasContainerSpecGcsPath()
Cloud Storage path to a file with json serialized ContainerSpec as content.boolean
hasEnvironment()
The runtime environment for the FlexTemplate job-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getJobName
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:
- The jobName.
-
getJobNameBytes
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;
- Returns:
- The bytes for jobName.
-
hasContainerSpec
boolean hasContainerSpec()
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4;
- Returns:
- Whether the containerSpec field is set.
-
getContainerSpec
ContainerSpec getContainerSpec()
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4;
- Returns:
- The containerSpec.
-
getContainerSpecOrBuilder
ContainerSpecOrBuilder getContainerSpecOrBuilder()
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4;
-
hasContainerSpecGcsPath
boolean hasContainerSpecGcsPath()
Cloud Storage path to a file with json serialized ContainerSpec as content.
string container_spec_gcs_path = 5;
- Returns:
- Whether the containerSpecGcsPath field is set.
-
getContainerSpecGcsPath
String getContainerSpecGcsPath()
Cloud Storage path to a file with json serialized ContainerSpec as content.
string container_spec_gcs_path = 5;
- Returns:
- The containerSpecGcsPath.
-
getContainerSpecGcsPathBytes
com.google.protobuf.ByteString getContainerSpecGcsPathBytes()
Cloud Storage path to a file with json serialized ContainerSpec as content.
string container_spec_gcs_path = 5;
- Returns:
- The bytes for containerSpecGcsPath.
-
getParametersCount
int getParametersCount()
The parameters for FlexTemplate. Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
-
containsParameters
boolean containsParameters(String key)
The parameters for FlexTemplate. Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
-
getParameters
@Deprecated Map<String,String> getParameters()
Deprecated.UsegetParametersMap()
instead.
-
getParametersMap
Map<String,String> getParametersMap()
The parameters for FlexTemplate. Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
-
getParametersOrDefault
String getParametersOrDefault(String key, String defaultValue)
The parameters for FlexTemplate. Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
-
getParametersOrThrow
String getParametersOrThrow(String key)
The parameters for FlexTemplate. Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
-
getLaunchOptionsCount
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;
-
containsLaunchOptions
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;
-
getLaunchOptions
@Deprecated Map<String,String> getLaunchOptions()
Deprecated.UsegetLaunchOptionsMap()
instead.
-
getLaunchOptionsMap
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;
-
getLaunchOptionsOrDefault
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;
-
getLaunchOptionsOrThrow
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;
-
hasEnvironment
boolean hasEnvironment()
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;
- Returns:
- Whether the environment field is set.
-
getEnvironment
FlexTemplateRuntimeEnvironment getEnvironment()
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;
- Returns:
- The environment.
-
getEnvironmentOrBuilder
FlexTemplateRuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;
-
getUpdate
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:
- The update.
-
getTransformNameMappingsCount
int getTransformNameMappingsCount()
Use this to pass transform_name_mappings for streaming update jobs. Ex:{"oldTransformName":"newTransformName",...}'
map<string, string> transform_name_mappings = 9;
-
containsTransformNameMappings
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;
-
getTransformNameMappings
@Deprecated Map<String,String> getTransformNameMappings()
Deprecated.UsegetTransformNameMappingsMap()
instead.
-
getTransformNameMappingsMap
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;
-
getTransformNameMappingsOrDefault
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;
-
getTransformNameMappingsOrThrow
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;
-
getTemplateCase
LaunchFlexTemplateParameter.TemplateCase getTemplateCase()
-
-