Package com.google.dataflow.v1beta3
Class LaunchTemplateParameters
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.dataflow.v1beta3.LaunchTemplateParameters
- All Implemented Interfaces:
LaunchTemplateParametersOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class LaunchTemplateParameters
extends com.google.protobuf.GeneratedMessage
implements LaunchTemplateParametersOrBuilder
Parameters to provide to the template being launched. Note that the [metadata in the pipeline code] (https://cloud.google.com/dataflow/docs/guides/templates/creating-templates#metadata) determines which runtime parameters are valid.Protobuf type
google.dataflow.v1beta3.LaunchTemplateParameters- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classParameters to provide to the template being launched.Nested 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 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 TypeMethodDescriptionbooleancontainsParameters(String key) The runtime parameters to pass to the job.booleanOnly applicable when updating a pipeline.booleanstatic LaunchTemplateParametersstatic final com.google.protobuf.Descriptors.DescriptorThe runtime environment for the job.The runtime environment for the job.Required.com.google.protobuf.ByteStringRequired.Deprecated.intThe runtime parameters to pass to the job.The runtime parameters to pass to the job.getParametersOrDefault(String key, String defaultValue) The runtime parameters to pass to the job.The runtime parameters to pass to the job.com.google.protobuf.Parser<LaunchTemplateParameters>intDeprecated.intOnly applicable when updating a pipeline.Only applicable when updating a pipeline.getTransformNameMappingOrDefault(String key, String defaultValue) Only applicable when updating a pipeline.Only applicable when updating a pipeline.booleanIf set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.booleanThe runtime environment for the job.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(LaunchTemplateParameters prototype) protected LaunchTemplateParameters.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LaunchTemplateParametersparseDelimitedFrom(InputStream input) static LaunchTemplateParametersparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LaunchTemplateParametersparseFrom(byte[] data) static LaunchTemplateParametersparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LaunchTemplateParametersparseFrom(com.google.protobuf.ByteString data) static LaunchTemplateParametersparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LaunchTemplateParametersparseFrom(com.google.protobuf.CodedInputStream input) static LaunchTemplateParametersparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LaunchTemplateParametersparseFrom(InputStream input) static LaunchTemplateParametersparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LaunchTemplateParametersparseFrom(ByteBuffer data) static LaunchTemplateParametersparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LaunchTemplateParameters>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:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_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_MAPPING_FIELD_NUMBER
public static final int TRANSFORM_NAME_MAPPING_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
-
getJobName
Required. The job name to use for the created job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`string job_name = 1;- Specified by:
getJobNamein interfaceLaunchTemplateParametersOrBuilder- Returns:
- The jobName.
-
getJobNameBytes
public com.google.protobuf.ByteString getJobNameBytes()Required. The job name to use for the created job. The name must match the regular expression `[a-z]([-a-z0-9]{0,1022}[a-z0-9])?`string job_name = 1;- Specified by:
getJobNameBytesin interfaceLaunchTemplateParametersOrBuilder- Returns:
- The bytes for jobName.
-
getParametersCount
public int getParametersCount()Description copied from interface:LaunchTemplateParametersOrBuilderThe runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
getParametersCountin interfaceLaunchTemplateParametersOrBuilder
-
containsParameters
The runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
containsParametersin interfaceLaunchTemplateParametersOrBuilder
-
getParameters
Deprecated.UsegetParametersMap()instead.- Specified by:
getParametersin interfaceLaunchTemplateParametersOrBuilder
-
getParametersMap
The runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
getParametersMapin interfaceLaunchTemplateParametersOrBuilder
-
getParametersOrDefault
The runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
getParametersOrDefaultin interfaceLaunchTemplateParametersOrBuilder
-
getParametersOrThrow
The runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
getParametersOrThrowin interfaceLaunchTemplateParametersOrBuilder
-
hasEnvironment
public boolean hasEnvironment()The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;- Specified by:
hasEnvironmentin interfaceLaunchTemplateParametersOrBuilder- Returns:
- Whether the environment field is set.
-
getEnvironment
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;- Specified by:
getEnvironmentin interfaceLaunchTemplateParametersOrBuilder- Returns:
- The environment.
-
getEnvironmentOrBuilder
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;- Specified by:
getEnvironmentOrBuilderin interfaceLaunchTemplateParametersOrBuilder
-
getUpdate
public boolean getUpdate()If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.
bool update = 4;- Specified by:
getUpdatein interfaceLaunchTemplateParametersOrBuilder- Returns:
- The update.
-
getTransformNameMappingCount
public int getTransformNameMappingCount()Description copied from interface:LaunchTemplateParametersOrBuilderOnly applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
map<string, string> transform_name_mapping = 5;- Specified by:
getTransformNameMappingCountin interfaceLaunchTemplateParametersOrBuilder
-
containsTransformNameMapping
Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
map<string, string> transform_name_mapping = 5;- Specified by:
containsTransformNameMappingin interfaceLaunchTemplateParametersOrBuilder
-
getTransformNameMapping
Deprecated.UsegetTransformNameMappingMap()instead.- Specified by:
getTransformNameMappingin interfaceLaunchTemplateParametersOrBuilder
-
getTransformNameMappingMap
Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
map<string, string> transform_name_mapping = 5;- Specified by:
getTransformNameMappingMapin interfaceLaunchTemplateParametersOrBuilder
-
getTransformNameMappingOrDefault
Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
map<string, string> transform_name_mapping = 5;- Specified by:
getTransformNameMappingOrDefaultin interfaceLaunchTemplateParametersOrBuilder
-
getTransformNameMappingOrThrow
Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced to the corresponding name prefixes of the new job.
map<string, string> transform_name_mapping = 5;- Specified by:
getTransformNameMappingOrThrowin interfaceLaunchTemplateParametersOrBuilder
-
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 LaunchTemplateParameters parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LaunchTemplateParameters parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LaunchTemplateParameters parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LaunchTemplateParameters parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LaunchTemplateParameters parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LaunchTemplateParameters parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LaunchTemplateParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LaunchTemplateParameters parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LaunchTemplateParameters parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LaunchTemplateParameters 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 LaunchTemplateParameters.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
-