Package com.google.dataflow.v1beta3
Class LaunchFlexTemplateParameter
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.dataflow.v1beta3.LaunchFlexTemplateParameter
- All Implemented Interfaces:
LaunchFlexTemplateParameterOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class LaunchFlexTemplateParameter
extends com.google.protobuf.GeneratedMessage
implements LaunchFlexTemplateParameterOrBuilder
Launch FlexTemplate Parameter.Protobuf type
google.dataflow.v1beta3.LaunchFlexTemplateParameter- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLaunch FlexTemplate Parameter.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanLaunch options for this flex template job.booleancontainsParameters(String key) The parameters for FlexTemplate.booleanUse this to pass transform_name_mappings for streaming update jobs.booleanSpec 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 LaunchFlexTemplateParameterstatic final com.google.protobuf.Descriptors.DescriptorThe 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.intThe parameters for FlexTemplate.The parameters for FlexTemplate.getParametersOrDefault(String key, String defaultValue) The parameters for FlexTemplate.The parameters for FlexTemplate.com.google.protobuf.Parser<LaunchFlexTemplateParameter>intDeprecated.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 jobinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(LaunchFlexTemplateParameter prototype) protected LaunchFlexTemplateParameter.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LaunchFlexTemplateParameterparseDelimitedFrom(InputStream input) static LaunchFlexTemplateParameterparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LaunchFlexTemplateParameterparseFrom(byte[] data) static LaunchFlexTemplateParameterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LaunchFlexTemplateParameterparseFrom(com.google.protobuf.ByteString data) static LaunchFlexTemplateParameterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LaunchFlexTemplateParameterparseFrom(com.google.protobuf.CodedInputStream input) static LaunchFlexTemplateParameterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LaunchFlexTemplateParameterparseFrom(InputStream input) static LaunchFlexTemplateParameterparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LaunchFlexTemplateParameterparseFrom(ByteBuffer data) static LaunchFlexTemplateParameterparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LaunchFlexTemplateParameter>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
JOB_NAME_FIELD_NUMBER
public static final int JOB_NAME_FIELD_NUMBER- See Also:
-
CONTAINER_SPEC_FIELD_NUMBER
public static final int CONTAINER_SPEC_FIELD_NUMBER- See Also:
-
CONTAINER_SPEC_GCS_PATH_FIELD_NUMBER
public static final int CONTAINER_SPEC_GCS_PATH_FIELD_NUMBER- See Also:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER- See Also:
-
LAUNCH_OPTIONS_FIELD_NUMBER
public static final int LAUNCH_OPTIONS_FIELD_NUMBER- See Also:
-
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER- See Also:
-
UPDATE_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER- See Also:
-
TRANSFORM_NAME_MAPPINGS_FIELD_NUMBER
public static final int TRANSFORM_NAME_MAPPINGS_FIELD_NUMBER- See Also:
-
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTemplateCase
- Specified by:
getTemplateCasein interfaceLaunchFlexTemplateParameterOrBuilder
-
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.
-
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.
-
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.
-
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
-
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
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LaunchFlexTemplateParameter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LaunchFlexTemplateParameter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LaunchFlexTemplateParameter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LaunchFlexTemplateParameter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LaunchFlexTemplateParameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LaunchFlexTemplateParameter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LaunchFlexTemplateParameter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LaunchFlexTemplateParameter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LaunchFlexTemplateParameter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LaunchFlexTemplateParameter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LaunchFlexTemplateParameter.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-