public final class LaunchFlexTemplateParameter extends GeneratedMessageV3 implements LaunchFlexTemplateParameterOrBuilder
Launch FlexTemplate Parameter.
Protobuf type google.dataflow.v1beta3.LaunchFlexTemplateParameter
Static Fields
CONTAINER_SPEC_FIELD_NUMBER
public static final int CONTAINER_SPEC_FIELD_NUMBER
Field Value
CONTAINER_SPEC_GCS_PATH_FIELD_NUMBER
public static final int CONTAINER_SPEC_GCS_PATH_FIELD_NUMBER
Field Value
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
Field Value
JOB_NAME_FIELD_NUMBER
public static final int JOB_NAME_FIELD_NUMBER
Field Value
LAUNCH_OPTIONS_FIELD_NUMBER
public static final int LAUNCH_OPTIONS_FIELD_NUMBER
Field Value
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
Field Value
public static final int TRANSFORM_NAME_MAPPINGS_FIELD_NUMBER
Field Value
UPDATE_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static LaunchFlexTemplateParameter getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static LaunchFlexTemplateParameter.Builder newBuilder()
Returns
newBuilder(LaunchFlexTemplateParameter prototype)
public static LaunchFlexTemplateParameter.Builder newBuilder(LaunchFlexTemplateParameter prototype)
Parameter
Returns
public static LaunchFlexTemplateParameter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static LaunchFlexTemplateParameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static LaunchFlexTemplateParameter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LaunchFlexTemplateParameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static LaunchFlexTemplateParameter parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LaunchFlexTemplateParameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LaunchFlexTemplateParameter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static LaunchFlexTemplateParameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LaunchFlexTemplateParameter parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static LaunchFlexTemplateParameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static LaunchFlexTemplateParameter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LaunchFlexTemplateParameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<LaunchFlexTemplateParameter> parser()
Returns
Methods
containsLaunchOptions(String key)
public 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;
Parameter
Returns
containsParameters(String key)
public boolean containsParameters(String key)
The parameters for FlexTemplate.
Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
Parameter
Returns
public 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;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getContainerSpec()
public ContainerSpec getContainerSpec()
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4;
Returns
getContainerSpecGcsPath()
public String getContainerSpecGcsPath()
Cloud Storage path to a file with json serialized ContainerSpec as
content.
string container_spec_gcs_path = 5;
Returns
Type | Description |
String | The containerSpecGcsPath.
|
getContainerSpecGcsPathBytes()
public ByteString getContainerSpecGcsPathBytes()
Cloud Storage path to a file with json serialized ContainerSpec as
content.
string container_spec_gcs_path = 5;
Returns
Type | Description |
ByteString | The bytes for containerSpecGcsPath.
|
getContainerSpecOrBuilder()
public ContainerSpecOrBuilder getContainerSpecOrBuilder()
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4;
Returns
getDefaultInstanceForType()
public LaunchFlexTemplateParameter getDefaultInstanceForType()
Returns
getEnvironment()
public FlexTemplateRuntimeEnvironment getEnvironment()
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;
Returns
getEnvironmentOrBuilder()
public FlexTemplateRuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;
Returns
getJobName()
public 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
Type | Description |
String | The jobName.
|
getJobNameBytes()
public 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
getLaunchOptions()
public Map<String,String> getLaunchOptions()
Returns
getLaunchOptionsCount()
public 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;
Returns
getLaunchOptionsMap()
public 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;
Returns
getLaunchOptionsOrDefault(String key, String defaultValue)
public 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;
Parameters
Returns
getLaunchOptionsOrThrow(String key)
public 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;
Parameter
Returns
getParameters()
public Map<String,String> getParameters()
Returns
getParametersCount()
public int getParametersCount()
The parameters for FlexTemplate.
Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
Returns
getParametersMap()
public Map<String,String> getParametersMap()
The parameters for FlexTemplate.
Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
Returns
getParametersOrDefault(String key, String defaultValue)
public String getParametersOrDefault(String key, String defaultValue)
The parameters for FlexTemplate.
Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
Parameters
Returns
getParametersOrThrow(String key)
public String getParametersOrThrow(String key)
The parameters for FlexTemplate.
Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
Parameter
Returns
getParserForType()
public Parser<LaunchFlexTemplateParameter> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTemplateCase()
public LaunchFlexTemplateParameter.TemplateCase getTemplateCase()
Returns
public Map<String,String> getTransformNameMappings()
Returns
public int getTransformNameMappingsCount()
Use this to pass transform_name_mappings for streaming update jobs.
Ex:{"oldTransformName":"newTransformName",...}'
map<string, string> transform_name_mappings = 9;
Returns
public 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;
Returns
public 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;
Parameters
Returns
public 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;
Parameter
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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;
Returns
hasContainerSpec()
public boolean hasContainerSpec()
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4;
Returns
Type | Description |
boolean | Whether the containerSpec field is set.
|
hasContainerSpecGcsPath()
public boolean hasContainerSpecGcsPath()
Cloud Storage path to a file with json serialized ContainerSpec as
content.
string container_spec_gcs_path = 5;
Returns
Type | Description |
boolean | Whether the containerSpecGcsPath field is set.
|
hasEnvironment()
public boolean hasEnvironment()
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;
Returns
Type | Description |
boolean | Whether the environment field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public LaunchFlexTemplateParameter.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LaunchFlexTemplateParameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public LaunchFlexTemplateParameter.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions