Class LaunchFlexTemplateRequest.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<LaunchFlexTemplateRequest.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<LaunchFlexTemplateRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public LaunchFlexTemplateRequest.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<LaunchFlexTemplateRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LaunchFlexTemplateRequest.Builder>
      • mergeFrom

        public LaunchFlexTemplateRequest.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<LaunchFlexTemplateRequest.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 LaunchFlexTemplateRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        public LaunchFlexTemplateRequest.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 LaunchFlexTemplateRequest.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 LaunchFlexTemplateRequest.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.
      • hasLaunchParameter

        public boolean hasLaunchParameter()
         Required. Parameter to launch a job form Flex Template.
         
        .google.dataflow.v1beta3.LaunchFlexTemplateParameter launch_parameter = 2;
        Specified by:
        hasLaunchParameter in interface LaunchFlexTemplateRequestOrBuilder
        Returns:
        Whether the launchParameter field is set.
      • clearLaunchParameter

        public LaunchFlexTemplateRequest.Builder clearLaunchParameter()
         Required. Parameter to launch a job form Flex Template.
         
        .google.dataflow.v1beta3.LaunchFlexTemplateParameter launch_parameter = 2;
      • getLaunchParameterBuilder

        public LaunchFlexTemplateParameter.Builder getLaunchParameterBuilder()
         Required. Parameter to launch a job form Flex Template.
         
        .google.dataflow.v1beta3.LaunchFlexTemplateParameter launch_parameter = 2;
      • getLocation

        public String getLocation()
         Required. The [regional endpoint]
         (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
         which to direct the request. E.g., us-central1, us-west1.
         
        string location = 3;
        Specified by:
        getLocation in interface LaunchFlexTemplateRequestOrBuilder
        Returns:
        The location.
      • getLocationBytes

        public com.google.protobuf.ByteString getLocationBytes()
         Required. The [regional endpoint]
         (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
         which to direct the request. E.g., us-central1, us-west1.
         
        string location = 3;
        Specified by:
        getLocationBytes in interface LaunchFlexTemplateRequestOrBuilder
        Returns:
        The bytes for location.
      • setLocation

        public LaunchFlexTemplateRequest.Builder setLocation​(String value)
         Required. The [regional endpoint]
         (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
         which to direct the request. E.g., us-central1, us-west1.
         
        string location = 3;
        Parameters:
        value - The location to set.
        Returns:
        This builder for chaining.
      • clearLocation

        public LaunchFlexTemplateRequest.Builder clearLocation()
         Required. The [regional endpoint]
         (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
         which to direct the request. E.g., us-central1, us-west1.
         
        string location = 3;
        Returns:
        This builder for chaining.
      • setLocationBytes

        public LaunchFlexTemplateRequest.Builder setLocationBytes​(com.google.protobuf.ByteString value)
         Required. The [regional endpoint]
         (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
         which to direct the request. E.g., us-central1, us-west1.
         
        string location = 3;
        Parameters:
        value - The bytes for location 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 = 4;
        Specified by:
        getValidateOnly in interface LaunchFlexTemplateRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public LaunchFlexTemplateRequest.Builder setValidateOnly​(boolean value)
         If true, the request is validated but not actually executed.
         Defaults to false.
         
        bool validate_only = 4;
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public LaunchFlexTemplateRequest.Builder clearValidateOnly()
         If true, the request is validated but not actually executed.
         Defaults to false.
         
        bool validate_only = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final LaunchFlexTemplateRequest.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<LaunchFlexTemplateRequest.Builder>
      • mergeUnknownFields

        public final LaunchFlexTemplateRequest.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<LaunchFlexTemplateRequest.Builder>