Class LaunchTemplateRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
      • clear

        public LaunchTemplateRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
      • getDefaultInstanceForType

        public LaunchTemplateRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public LaunchTemplateRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public LaunchTemplateRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public LaunchTemplateRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
      • clearField

        public LaunchTemplateRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
      • clearOneof

        public LaunchTemplateRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
      • setRepeatedField

        public LaunchTemplateRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
      • addRepeatedField

        public LaunchTemplateRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<LaunchTemplateRequest.Builder>
        Throws:
        IOException
      • 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:
        getProjectIdBytes in interface LaunchTemplateRequestOrBuilder
        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:
        getValidateOnly in interface LaunchTemplateRequestOrBuilder
        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:
        hasGcsPath in interface LaunchTemplateRequestOrBuilder
        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:
        getGcsPath in interface LaunchTemplateRequestOrBuilder
        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:
        getGcsPathBytes in interface LaunchTemplateRequestOrBuilder
        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:
        hasDynamicTemplate in interface LaunchTemplateRequestOrBuilder
        Returns:
        Whether the dynamicTemplate field is set.
      • 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;
      • 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:
        hasLaunchParameters in interface LaunchTemplateRequestOrBuilder
        Returns:
        Whether the launchParameters field is set.
      • 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;
      • 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;
      • 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:
        getLocation in interface LaunchTemplateRequestOrBuilder
        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:
        getLocationBytes in interface LaunchTemplateRequestOrBuilder
        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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>
      • mergeUnknownFields

        public final LaunchTemplateRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LaunchTemplateRequest.Builder>