Package com.google.dataflow.v1beta3
Class LaunchTemplateRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LaunchTemplateRequest.Builder>
com.google.dataflow.v1beta3.LaunchTemplateRequest.Builder
- All Implemented Interfaces:
LaunchTemplateRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LaunchTemplateRequest
public static final class LaunchTemplateRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LaunchTemplateRequest.Builder>
implements LaunchTemplateRequestOrBuilder
A request to launch a template.Protobuf type
google.dataflow.v1beta3.LaunchTemplateRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Parameters for launching a dynamic template.A Cloud Storage path to the template to use to create the job.The parameters of the template to launch.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.Required.If true, the request is validated but not actually executed.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorParameters for launching a dynamic template.Parameters for launching a dynamic template.Parameters for launching a dynamic template.A Cloud Storage path to the template to use to create the job.com.google.protobuf.ByteStringA Cloud Storage path to the template to use to create the job.The parameters of the template to launch.The parameters of the template to launch.The parameters of the template to launch.The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.com.google.protobuf.ByteStringThe [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.Required.com.google.protobuf.ByteStringRequired.booleanIf true, the request is validated but not actually executed.booleanParameters for launching a dynamic template.booleanA Cloud Storage path to the template to use to create the job.booleanThe parameters of the template to launch.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanParameters for launching a dynamic template.mergeFrom(LaunchTemplateRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The parameters of the template to launch.Parameters for launching a dynamic template.setDynamicTemplate(DynamicTemplateLaunchParams.Builder builderForValue) Parameters for launching a dynamic template.setGcsPath(String value) A Cloud Storage path to the template to use to create the job.setGcsPathBytes(com.google.protobuf.ByteString value) A Cloud Storage path to the template to use to create the job.The parameters of the template to launch.setLaunchParameters(LaunchTemplateParameters.Builder builderForValue) The parameters of the template to launch.setLocation(String value) The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.setLocationBytes(com.google.protobuf.ByteString value) The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.setProjectId(String value) Required.setProjectIdBytes(com.google.protobuf.ByteString value) Required.setValidateOnly(boolean value) If true, the request is validated but not actually executed.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LaunchTemplateRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LaunchTemplateRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LaunchTemplateRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LaunchTemplateRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LaunchTemplateRequest.Builder>
-
mergeFrom
public LaunchTemplateRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LaunchTemplateRequest.Builder>- Throws:
IOException
-
getTemplateCase
- Specified by:
getTemplateCasein interfaceLaunchTemplateRequestOrBuilder
-
clearTemplate
-
getProjectId
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdin interfaceLaunchTemplateRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceLaunchTemplateRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getValidateOnly
public boolean getValidateOnly()If true, the request is validated but not actually executed. Defaults to false.
bool validate_only = 2;- Specified by:
getValidateOnlyin interfaceLaunchTemplateRequestOrBuilder- Returns:
- The validateOnly.
-
setValidateOnly
If true, the request is validated but not actually executed. Defaults to false.
bool validate_only = 2;- Parameters:
value- The validateOnly to set.- Returns:
- This builder for chaining.
-
clearValidateOnly
If true, the request is validated but not actually executed. Defaults to false.
bool validate_only = 2;- Returns:
- This builder for chaining.
-
hasGcsPath
public boolean hasGcsPath()A Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 3;- Specified by:
hasGcsPathin interfaceLaunchTemplateRequestOrBuilder- Returns:
- Whether the gcsPath field is set.
-
getGcsPath
A Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 3;- Specified by:
getGcsPathin interfaceLaunchTemplateRequestOrBuilder- Returns:
- The gcsPath.
-
getGcsPathBytes
public com.google.protobuf.ByteString getGcsPathBytes()A Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 3;- Specified by:
getGcsPathBytesin interfaceLaunchTemplateRequestOrBuilder- Returns:
- The bytes for gcsPath.
-
setGcsPath
A Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 3;- Parameters:
value- The gcsPath to set.- Returns:
- This builder for chaining.
-
clearGcsPath
A Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 3;- Returns:
- This builder for chaining.
-
setGcsPathBytes
A Cloud Storage path to the template to use to create the job. Must be valid Cloud Storage URL, beginning with `gs://`.
string gcs_path = 3;- Parameters:
value- The bytes for gcsPath to set.- Returns:
- This builder for chaining.
-
hasDynamicTemplate
public boolean hasDynamicTemplate()Parameters for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6;- Specified by:
hasDynamicTemplatein interfaceLaunchTemplateRequestOrBuilder- Returns:
- Whether the dynamicTemplate field is set.
-
getDynamicTemplate
Parameters for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6;- Specified by:
getDynamicTemplatein interfaceLaunchTemplateRequestOrBuilder- Returns:
- The dynamicTemplate.
-
setDynamicTemplate
Parameters for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6; -
setDynamicTemplate
public LaunchTemplateRequest.Builder setDynamicTemplate(DynamicTemplateLaunchParams.Builder builderForValue) Parameters for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6; -
mergeDynamicTemplate
Parameters for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6; -
clearDynamicTemplate
Parameters for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6; -
getDynamicTemplateBuilder
Parameters for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6; -
getDynamicTemplateOrBuilder
Parameters for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6;- Specified by:
getDynamicTemplateOrBuilderin interfaceLaunchTemplateRequestOrBuilder
-
hasLaunchParameters
public boolean hasLaunchParameters()The parameters of the template to launch. Part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4;- Specified by:
hasLaunchParametersin interfaceLaunchTemplateRequestOrBuilder- Returns:
- Whether the launchParameters field is set.
-
getLaunchParameters
The parameters of the template to launch. Part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4;- Specified by:
getLaunchParametersin interfaceLaunchTemplateRequestOrBuilder- Returns:
- The launchParameters.
-
setLaunchParameters
The parameters of the template to launch. Part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4; -
setLaunchParameters
public LaunchTemplateRequest.Builder setLaunchParameters(LaunchTemplateParameters.Builder builderForValue) The parameters of the template to launch. Part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4; -
mergeLaunchParameters
The parameters of the template to launch. Part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4; -
clearLaunchParameters
The parameters of the template to launch. Part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4; -
getLaunchParametersBuilder
The parameters of the template to launch. Part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4; -
getLaunchParametersOrBuilder
The parameters of the template to launch. Part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4;- Specified by:
getLaunchParametersOrBuilderin interfaceLaunchTemplateRequestOrBuilder
-
getLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 5;- Specified by:
getLocationin interfaceLaunchTemplateRequestOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 5;- Specified by:
getLocationBytesin interfaceLaunchTemplateRequestOrBuilder- Returns:
- The bytes for location.
-
setLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 5;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 5;- Returns:
- This builder for chaining.
-
setLocationBytes
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
string location = 5;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-