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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder> implements LaunchTemplateRequestOrBuilder
A request to launch a template.
Protobuf typegoogle.dataflow.v1beta3.LaunchTemplateRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LaunchTemplateRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LaunchTemplateRequestbuild()LaunchTemplateRequestbuildPartial()LaunchTemplateRequest.Builderclear()LaunchTemplateRequest.BuilderclearDynamicTemplate()Params for launching a dynamic template.LaunchTemplateRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)LaunchTemplateRequest.BuilderclearGcsPath()A Cloud Storage path to the template from which to create the job.LaunchTemplateRequest.BuilderclearLaunchParameters()The parameters of the template to launch.LaunchTemplateRequest.BuilderclearLocation()The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.LaunchTemplateRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)LaunchTemplateRequest.BuilderclearProjectId()Required.LaunchTemplateRequest.BuilderclearTemplate()LaunchTemplateRequest.BuilderclearValidateOnly()If true, the request is validated but not actually executed.LaunchTemplateRequest.Builderclone()LaunchTemplateRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()DynamicTemplateLaunchParamsgetDynamicTemplate()Params for launching a dynamic template.DynamicTemplateLaunchParams.BuildergetDynamicTemplateBuilder()Params for launching a dynamic template.DynamicTemplateLaunchParamsOrBuildergetDynamicTemplateOrBuilder()Params for launching a dynamic template.StringgetGcsPath()A Cloud Storage path to the template from which to create the job.com.google.protobuf.ByteStringgetGcsPathBytes()A Cloud Storage path to the template from which to create the job.LaunchTemplateParametersgetLaunchParameters()The parameters of the template to launch.LaunchTemplateParameters.BuildergetLaunchParametersBuilder()The parameters of the template to launch.LaunchTemplateParametersOrBuildergetLaunchParametersOrBuilder()The parameters of the template to launch.StringgetLocation()The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.com.google.protobuf.ByteStringgetLocationBytes()The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.StringgetProjectId()Required.com.google.protobuf.ByteStringgetProjectIdBytes()Required.LaunchTemplateRequest.TemplateCasegetTemplateCase()booleangetValidateOnly()If true, the request is validated but not actually executed.booleanhasDynamicTemplate()Params for launching a dynamic template.booleanhasGcsPath()A Cloud Storage path to the template from which to create the job.booleanhasLaunchParameters()The parameters of the template to launch.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()LaunchTemplateRequest.BuildermergeDynamicTemplate(DynamicTemplateLaunchParams value)Params for launching a dynamic template.LaunchTemplateRequest.BuildermergeFrom(LaunchTemplateRequest other)LaunchTemplateRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)LaunchTemplateRequest.BuildermergeFrom(com.google.protobuf.Message other)LaunchTemplateRequest.BuildermergeLaunchParameters(LaunchTemplateParameters value)The parameters of the template to launch.LaunchTemplateRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LaunchTemplateRequest.BuildersetDynamicTemplate(DynamicTemplateLaunchParams value)Params for launching a dynamic template.LaunchTemplateRequest.BuildersetDynamicTemplate(DynamicTemplateLaunchParams.Builder builderForValue)Params for launching a dynamic template.LaunchTemplateRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LaunchTemplateRequest.BuildersetGcsPath(String value)A Cloud Storage path to the template from which to create the job.LaunchTemplateRequest.BuildersetGcsPathBytes(com.google.protobuf.ByteString value)A Cloud Storage path to the template from which to create the job.LaunchTemplateRequest.BuildersetLaunchParameters(LaunchTemplateParameters value)The parameters of the template to launch.LaunchTemplateRequest.BuildersetLaunchParameters(LaunchTemplateParameters.Builder builderForValue)The parameters of the template to launch.LaunchTemplateRequest.BuildersetLocation(String value)The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.LaunchTemplateRequest.BuildersetLocationBytes(com.google.protobuf.ByteString value)The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.LaunchTemplateRequest.BuildersetProjectId(String value)Required.LaunchTemplateRequest.BuildersetProjectIdBytes(com.google.protobuf.ByteString value)Required.LaunchTemplateRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)LaunchTemplateRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LaunchTemplateRequest.BuildersetValidateOnly(boolean value)If true, the request is validated but not actually executed.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
-
clear
public LaunchTemplateRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
-
getDefaultInstanceForType
public LaunchTemplateRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public LaunchTemplateRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LaunchTemplateRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LaunchTemplateRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
-
setField
public LaunchTemplateRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
-
clearField
public LaunchTemplateRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
-
clearOneof
public LaunchTemplateRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
-
setRepeatedField
public LaunchTemplateRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
-
addRepeatedField
public LaunchTemplateRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
-
mergeFrom
public LaunchTemplateRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LaunchTemplateRequest.Builder>
-
mergeFrom
public LaunchTemplateRequest.Builder mergeFrom(LaunchTemplateRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public LaunchTemplateRequest.TemplateCase getTemplateCase()
- Specified by:
getTemplateCasein interfaceLaunchTemplateRequestOrBuilder
-
clearTemplate
public LaunchTemplateRequest.Builder clearTemplate()
-
getProjectId
public String 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
public LaunchTemplateRequest.Builder setProjectId(String value)
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
public LaunchTemplateRequest.Builder clearProjectId()
Required. The ID of the Cloud Platform project that the job belongs to.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
public LaunchTemplateRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
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
public LaunchTemplateRequest.Builder setValidateOnly(boolean value)
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
public LaunchTemplateRequest.Builder 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 from which 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
public String getGcsPath()
A Cloud Storage path to the template from which 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 from which 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
public LaunchTemplateRequest.Builder setGcsPath(String value)
A Cloud Storage path to the template from which 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
public LaunchTemplateRequest.Builder clearGcsPath()
A Cloud Storage path to the template from which to create the job. Must be valid Cloud Storage URL, beginning with 'gs://'.
string gcs_path = 3;- Returns:
- This builder for chaining.
-
setGcsPathBytes
public LaunchTemplateRequest.Builder setGcsPathBytes(com.google.protobuf.ByteString value)
A Cloud Storage path to the template from which 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()
Params for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6;- Specified by:
hasDynamicTemplatein interfaceLaunchTemplateRequestOrBuilder- Returns:
- Whether the dynamicTemplate field is set.
-
getDynamicTemplate
public DynamicTemplateLaunchParams getDynamicTemplate()
Params for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6;- Specified by:
getDynamicTemplatein interfaceLaunchTemplateRequestOrBuilder- Returns:
- The dynamicTemplate.
-
setDynamicTemplate
public LaunchTemplateRequest.Builder setDynamicTemplate(DynamicTemplateLaunchParams value)
Params for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6;
-
setDynamicTemplate
public LaunchTemplateRequest.Builder setDynamicTemplate(DynamicTemplateLaunchParams.Builder builderForValue)
Params for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6;
-
mergeDynamicTemplate
public LaunchTemplateRequest.Builder mergeDynamicTemplate(DynamicTemplateLaunchParams value)
Params for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6;
-
clearDynamicTemplate
public LaunchTemplateRequest.Builder clearDynamicTemplate()
Params for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6;
-
getDynamicTemplateBuilder
public DynamicTemplateLaunchParams.Builder getDynamicTemplateBuilder()
Params for launching a dynamic template.
.google.dataflow.v1beta3.DynamicTemplateLaunchParams dynamic_template = 6;
-
getDynamicTemplateOrBuilder
public DynamicTemplateLaunchParamsOrBuilder getDynamicTemplateOrBuilder()
Params 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. This should be 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
public LaunchTemplateParameters getLaunchParameters()
The parameters of the template to launch. This should be part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4;- Specified by:
getLaunchParametersin interfaceLaunchTemplateRequestOrBuilder- Returns:
- The launchParameters.
-
setLaunchParameters
public LaunchTemplateRequest.Builder setLaunchParameters(LaunchTemplateParameters value)
The parameters of the template to launch. This should be 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. This should be part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4;
-
mergeLaunchParameters
public LaunchTemplateRequest.Builder mergeLaunchParameters(LaunchTemplateParameters value)
The parameters of the template to launch. This should be part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4;
-
clearLaunchParameters
public LaunchTemplateRequest.Builder clearLaunchParameters()
The parameters of the template to launch. This should be part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4;
-
getLaunchParametersBuilder
public LaunchTemplateParameters.Builder getLaunchParametersBuilder()
The parameters of the template to launch. This should be part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4;
-
getLaunchParametersOrBuilder
public LaunchTemplateParametersOrBuilder getLaunchParametersOrBuilder()
The parameters of the template to launch. This should be part of the body of the POST request.
.google.dataflow.v1beta3.LaunchTemplateParameters launch_parameters = 4;- Specified by:
getLaunchParametersOrBuilderin interfaceLaunchTemplateRequestOrBuilder
-
getLocation
public String 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
public LaunchTemplateRequest.Builder setLocation(String value)
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
public LaunchTemplateRequest.Builder 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
public LaunchTemplateRequest.Builder setLocationBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final LaunchTemplateRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
-
mergeUnknownFields
public final LaunchTemplateRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
-
-