Package com.google.dataflow.v1beta3
Class LaunchTemplateParameters
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class LaunchTemplateParameters extends com.google.protobuf.GeneratedMessageV3 implements LaunchTemplateParametersOrBuilder
Parameters to provide to the template being launched.
Protobuf typegoogle.dataflow.v1beta3.LaunchTemplateParameters- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLaunchTemplateParameters.BuilderParameters to provide to the template being launched.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intENVIRONMENT_FIELD_NUMBERstatic intJOB_NAME_FIELD_NUMBERstatic intPARAMETERS_FIELD_NUMBERstatic intTRANSFORM_NAME_MAPPING_FIELD_NUMBERstatic intUPDATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsParameters(String key)The runtime parameters to pass to the job.booleancontainsTransformNameMapping(String key)Only applicable when updating a pipeline.booleanequals(Object obj)static LaunchTemplateParametersgetDefaultInstance()LaunchTemplateParametersgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()RuntimeEnvironmentgetEnvironment()The runtime environment for the job.RuntimeEnvironmentOrBuildergetEnvironmentOrBuilder()The runtime environment for the job.StringgetJobName()Required.com.google.protobuf.ByteStringgetJobNameBytes()Required.Map<String,String>getParameters()Deprecated.intgetParametersCount()The runtime parameters to pass to the job.Map<String,String>getParametersMap()The runtime parameters to pass to the job.StringgetParametersOrDefault(String key, String defaultValue)The runtime parameters to pass to the job.StringgetParametersOrThrow(String key)The runtime parameters to pass to the job.com.google.protobuf.Parser<LaunchTemplateParameters>getParserForType()intgetSerializedSize()Map<String,String>getTransformNameMapping()Deprecated.intgetTransformNameMappingCount()Only applicable when updating a pipeline.Map<String,String>getTransformNameMappingMap()Only applicable when updating a pipeline.StringgetTransformNameMappingOrDefault(String key, String defaultValue)Only applicable when updating a pipeline.StringgetTransformNameMappingOrThrow(String key)Only applicable when updating a pipeline.booleangetUpdate()If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.booleanhasEnvironment()The runtime environment for the job.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static LaunchTemplateParameters.BuildernewBuilder()static LaunchTemplateParameters.BuildernewBuilder(LaunchTemplateParameters prototype)LaunchTemplateParameters.BuildernewBuilderForType()protected LaunchTemplateParameters.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()LaunchTemplateParameters.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
JOB_NAME_FIELD_NUMBER
public static final int JOB_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENVIRONMENT_FIELD_NUMBER
public static final int ENVIRONMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_FIELD_NUMBER
public static final int UPDATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSFORM_NAME_MAPPING_FIELD_NUMBER
public static final int TRANSFORM_NAME_MAPPING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getJobName
public String getJobName()
Required. The job name to use for the created job.
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.
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
public boolean containsParameters(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
containsParametersin interfaceLaunchTemplateParametersOrBuilder
-
getParameters
@Deprecated public Map<String,String> getParameters()
Deprecated.UsegetParametersMap()instead.- Specified by:
getParametersin interfaceLaunchTemplateParametersOrBuilder
-
getParametersMap
public Map<String,String> getParametersMap()
The runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
getParametersMapin interfaceLaunchTemplateParametersOrBuilder
-
getParametersOrDefault
public String getParametersOrDefault(String key, String defaultValue)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;- Specified by:
getParametersOrDefaultin interfaceLaunchTemplateParametersOrBuilder
-
getParametersOrThrow
public String getParametersOrThrow(String key)
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
public RuntimeEnvironment getEnvironment()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;- Specified by:
getEnvironmentin interfaceLaunchTemplateParametersOrBuilder- Returns:
- The environment.
-
getEnvironmentOrBuilder
public RuntimeEnvironmentOrBuilder 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
public boolean containsTransformNameMapping(String key)
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 public Map<String,String> getTransformNameMapping()
Deprecated.UsegetTransformNameMappingMap()instead.- Specified by:
getTransformNameMappingin interfaceLaunchTemplateParametersOrBuilder
-
getTransformNameMappingMap
public Map<String,String> 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
public String getTransformNameMappingOrDefault(String key, String defaultValue)
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
public String getTransformNameMappingOrThrow(String key)
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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static LaunchTemplateParameters parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static LaunchTemplateParameters parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static LaunchTemplateParameters parseDelimitedFrom(InputStream input) throws IOException
- 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
public LaunchTemplateParameters.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LaunchTemplateParameters.Builder newBuilder()
-
newBuilder
public static LaunchTemplateParameters.Builder newBuilder(LaunchTemplateParameters prototype)
-
toBuilder
public LaunchTemplateParameters.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LaunchTemplateParameters.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static LaunchTemplateParameters getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LaunchTemplateParameters> parser()
-
getParserForType
public com.google.protobuf.Parser<LaunchTemplateParameters> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LaunchTemplateParameters getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-