public final class LaunchFlexTemplateParameter extends GeneratedMessageV3 implements LaunchFlexTemplateParameterOrBuilder
Launch FlexTemplate Parameter.
Protobuf type google.dataflow.v1beta3.LaunchFlexTemplateParameter
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
CONTAINER_SPEC_FIELD_NUMBER
public static final int CONTAINER_SPEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CONTAINER_SPEC_GCS_PATH_FIELD_NUMBER
public static final int CONTAINER_SPEC_GCS_PATH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
JOB_NAME_FIELD_NUMBER
public static final int JOB_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LAUNCH_OPTIONS_FIELD_NUMBER
public static final int LAUNCH_OPTIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int TRANSFORM_NAME_MAPPINGS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static LaunchFlexTemplateParameter getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LaunchFlexTemplateParameter.Builder newBuilder()
newBuilder(LaunchFlexTemplateParameter prototype)
public static LaunchFlexTemplateParameter.Builder newBuilder(LaunchFlexTemplateParameter prototype)
public static LaunchFlexTemplateParameter parseDelimitedFrom(InputStream input)
public static LaunchFlexTemplateParameter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LaunchFlexTemplateParameter parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LaunchFlexTemplateParameter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LaunchFlexTemplateParameter parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LaunchFlexTemplateParameter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LaunchFlexTemplateParameter parseFrom(CodedInputStream input)
public static LaunchFlexTemplateParameter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LaunchFlexTemplateParameter parseFrom(InputStream input)
public static LaunchFlexTemplateParameter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LaunchFlexTemplateParameter parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LaunchFlexTemplateParameter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LaunchFlexTemplateParameter> parser()
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 |
---|
Name | Description |
key | String
|
containsParameters(String key)
public boolean containsParameters(String key)
The parameters for FlexTemplate.
Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
Parameter |
---|
Name | Description |
key | String
|
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 |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getContainerSpec()
public ContainerSpec getContainerSpec()
Spec about the container image to launch.
.google.dataflow.v1beta3.ContainerSpec container_spec = 4;
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;
getDefaultInstanceForType()
public LaunchFlexTemplateParameter getDefaultInstanceForType()
getEnvironment()
public FlexTemplateRuntimeEnvironment getEnvironment()
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;
getEnvironmentOrBuilder()
public FlexTemplateRuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()
The runtime environment for the FlexTemplate job
.google.dataflow.v1beta3.FlexTemplateRuntimeEnvironment environment = 7;
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 |
---|
Type | Description |
ByteString | The bytes for jobName.
|
getLaunchOptions()
public Map<String,String> getLaunchOptions()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
getParameters()
public Map<String,String> getParameters()
getParametersCount()
public int getParametersCount()
The parameters for FlexTemplate.
Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
Returns |
---|
Type | Description |
int | |
getParametersMap()
public Map<String,String> getParametersMap()
The parameters for FlexTemplate.
Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
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;
getParametersOrThrow(String key)
public String getParametersOrThrow(String key)
The parameters for FlexTemplate.
Ex. {"num_workers":"5"}
map<string, string> parameters = 2;
Parameter |
---|
Name | Description |
key | String
|
getParserForType()
public Parser<LaunchFlexTemplateParameter> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTemplateCase()
public LaunchFlexTemplateParameter.TemplateCase getTemplateCase()
public Map<String,String> getTransformNameMappings()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
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 |
---|
Type | Description |
boolean | The update.
|
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LaunchFlexTemplateParameter.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LaunchFlexTemplateParameter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public LaunchFlexTemplateParameter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides