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 class
LaunchTemplateParameters.Builder
Parameters 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 int
ENVIRONMENT_FIELD_NUMBER
static int
JOB_NAME_FIELD_NUMBER
static int
PARAMETERS_FIELD_NUMBER
static int
TRANSFORM_NAME_MAPPING_FIELD_NUMBER
static int
UPDATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsParameters(String key)
The runtime parameters to pass to the job.boolean
containsTransformNameMapping(String key)
Only applicable when updating a pipeline.boolean
equals(Object obj)
static LaunchTemplateParameters
getDefaultInstance()
LaunchTemplateParameters
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
RuntimeEnvironment
getEnvironment()
The runtime environment for the job.RuntimeEnvironmentOrBuilder
getEnvironmentOrBuilder()
The runtime environment for the job.String
getJobName()
Required.com.google.protobuf.ByteString
getJobNameBytes()
Required.Map<String,String>
getParameters()
Deprecated.int
getParametersCount()
The runtime parameters to pass to the job.Map<String,String>
getParametersMap()
The runtime parameters to pass to the job.String
getParametersOrDefault(String key, String defaultValue)
The runtime parameters to pass to the job.String
getParametersOrThrow(String key)
The runtime parameters to pass to the job.com.google.protobuf.Parser<LaunchTemplateParameters>
getParserForType()
int
getSerializedSize()
Map<String,String>
getTransformNameMapping()
Deprecated.int
getTransformNameMappingCount()
Only applicable when updating a pipeline.Map<String,String>
getTransformNameMappingMap()
Only applicable when updating a pipeline.String
getTransformNameMappingOrDefault(String key, String defaultValue)
Only applicable when updating a pipeline.String
getTransformNameMappingOrThrow(String key)
Only applicable when updating a pipeline.boolean
getUpdate()
If set, replace the existing pipeline with the name specified by jobName with this pipeline, preserving state.boolean
hasEnvironment()
The runtime environment for the job.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static LaunchTemplateParameters.Builder
newBuilder()
static LaunchTemplateParameters.Builder
newBuilder(LaunchTemplateParameters prototype)
LaunchTemplateParameters.Builder
newBuilderForType()
protected LaunchTemplateParameters.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static LaunchTemplateParameters
parseDelimitedFrom(InputStream input)
static LaunchTemplateParameters
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LaunchTemplateParameters
parseFrom(byte[] data)
static LaunchTemplateParameters
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LaunchTemplateParameters
parseFrom(com.google.protobuf.ByteString data)
static LaunchTemplateParameters
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LaunchTemplateParameters
parseFrom(com.google.protobuf.CodedInputStream input)
static LaunchTemplateParameters
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LaunchTemplateParameters
parseFrom(InputStream input)
static LaunchTemplateParameters
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static LaunchTemplateParameters
parseFrom(ByteBuffer data)
static LaunchTemplateParameters
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<LaunchTemplateParameters>
parser()
LaunchTemplateParameters.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getJobName
public String getJobName()
Required. The job name to use for the created job.
string job_name = 1;
- Specified by:
getJobName
in 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:
getJobNameBytes
in interfaceLaunchTemplateParametersOrBuilder
- Returns:
- The bytes for jobName.
-
getParametersCount
public int getParametersCount()
Description copied from interface:LaunchTemplateParametersOrBuilder
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
- Specified by:
getParametersCount
in interfaceLaunchTemplateParametersOrBuilder
-
containsParameters
public boolean containsParameters(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
- Specified by:
containsParameters
in interfaceLaunchTemplateParametersOrBuilder
-
getParameters
@Deprecated public Map<String,String> getParameters()
Deprecated.UsegetParametersMap()
instead.- Specified by:
getParameters
in interfaceLaunchTemplateParametersOrBuilder
-
getParametersMap
public Map<String,String> getParametersMap()
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
- Specified by:
getParametersMap
in interfaceLaunchTemplateParametersOrBuilder
-
getParametersOrDefault
public String getParametersOrDefault(String key, String defaultValue)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
- Specified by:
getParametersOrDefault
in interfaceLaunchTemplateParametersOrBuilder
-
getParametersOrThrow
public String getParametersOrThrow(String key)
The runtime parameters to pass to the job.
map<string, string> parameters = 2;
- Specified by:
getParametersOrThrow
in interfaceLaunchTemplateParametersOrBuilder
-
hasEnvironment
public boolean hasEnvironment()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
- Specified by:
hasEnvironment
in 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:
getEnvironment
in interfaceLaunchTemplateParametersOrBuilder
- Returns:
- The environment.
-
getEnvironmentOrBuilder
public RuntimeEnvironmentOrBuilder getEnvironmentOrBuilder()
The runtime environment for the job.
.google.dataflow.v1beta3.RuntimeEnvironment environment = 3;
- Specified by:
getEnvironmentOrBuilder
in 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:
getUpdate
in interfaceLaunchTemplateParametersOrBuilder
- Returns:
- The update.
-
getTransformNameMappingCount
public int getTransformNameMappingCount()
Description copied from interface:LaunchTemplateParametersOrBuilder
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:
getTransformNameMappingCount
in 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:
containsTransformNameMapping
in interfaceLaunchTemplateParametersOrBuilder
-
getTransformNameMapping
@Deprecated public Map<String,String> getTransformNameMapping()
Deprecated.UsegetTransformNameMappingMap()
instead.- Specified by:
getTransformNameMapping
in 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:
getTransformNameMappingMap
in 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:
getTransformNameMappingOrDefault
in 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:
getTransformNameMappingOrThrow
in interfaceLaunchTemplateParametersOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LaunchTemplateParameters.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LaunchTemplateParameters getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-