Class Task.InfrastructureSpec.ContainerImageRuntime.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<Task.InfrastructureSpec.ContainerImageRuntime.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<Task.InfrastructureSpec.ContainerImageRuntime.Builder>
      • getDefaultInstanceForType

        public Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • buildPartial

        public Task.InfrastructureSpec.ContainerImageRuntime buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.ContainerImageRuntime.Builder>
      • setImageBytes

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder setImageBytes​(com.google.protobuf.ByteString value)
         Optional. Container image to use.
         
        string image = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for image to set.
        Returns:
        This builder for chaining.
      • getJavaJarsList

        public com.google.protobuf.ProtocolStringList getJavaJarsList()
         Optional. A list of Java JARS to add to the classpath.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getJavaJarsList in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
        Returns:
        A list containing the javaJars.
      • getJavaJarsCount

        public int getJavaJarsCount()
         Optional. A list of Java JARS to add to the classpath.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getJavaJarsCount in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
        Returns:
        The count of javaJars.
      • getJavaJars

        public String getJavaJars​(int index)
         Optional. A list of Java JARS to add to the classpath.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getJavaJars in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The javaJars at the given index.
      • getJavaJarsBytes

        public com.google.protobuf.ByteString getJavaJarsBytes​(int index)
         Optional. A list of Java JARS to add to the classpath.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getJavaJarsBytes in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the javaJars at the given index.
      • setJavaJars

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder setJavaJars​(int index,
                                                                                 String value)
         Optional. A list of Java JARS to add to the classpath.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index to set the value at.
        value - The javaJars to set.
        Returns:
        This builder for chaining.
      • addJavaJars

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder addJavaJars​(String value)
         Optional. A list of Java JARS to add to the classpath.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The javaJars to add.
        Returns:
        This builder for chaining.
      • addAllJavaJars

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder addAllJavaJars​(Iterable<String> values)
         Optional. A list of Java JARS to add to the classpath.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        values - The javaJars to add.
        Returns:
        This builder for chaining.
      • clearJavaJars

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder clearJavaJars()
         Optional. A list of Java JARS to add to the classpath.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • addJavaJarsBytes

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder addJavaJarsBytes​(com.google.protobuf.ByteString value)
         Optional. A list of Java JARS to add to the classpath.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_jars = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes of the javaJars to add.
        Returns:
        This builder for chaining.
      • getPythonPackagesList

        public com.google.protobuf.ProtocolStringList getPythonPackagesList()
         Optional. A list of python packages to be installed.
         Valid formats include Cloud Storage URI to a PIP installable library.
         For example, gs://bucket-name/my/path/to/lib.tar.gz
         
        repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPythonPackagesList in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
        Returns:
        A list containing the pythonPackages.
      • getPythonPackagesCount

        public int getPythonPackagesCount()
         Optional. A list of python packages to be installed.
         Valid formats include Cloud Storage URI to a PIP installable library.
         For example, gs://bucket-name/my/path/to/lib.tar.gz
         
        repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPythonPackagesCount in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
        Returns:
        The count of pythonPackages.
      • getPythonPackages

        public String getPythonPackages​(int index)
         Optional. A list of python packages to be installed.
         Valid formats include Cloud Storage URI to a PIP installable library.
         For example, gs://bucket-name/my/path/to/lib.tar.gz
         
        repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPythonPackages in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The pythonPackages at the given index.
      • getPythonPackagesBytes

        public com.google.protobuf.ByteString getPythonPackagesBytes​(int index)
         Optional. A list of python packages to be installed.
         Valid formats include Cloud Storage URI to a PIP installable library.
         For example, gs://bucket-name/my/path/to/lib.tar.gz
         
        repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPythonPackagesBytes in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the pythonPackages at the given index.
      • setPythonPackages

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder setPythonPackages​(int index,
                                                                                       String value)
         Optional. A list of python packages to be installed.
         Valid formats include Cloud Storage URI to a PIP installable library.
         For example, gs://bucket-name/my/path/to/lib.tar.gz
         
        repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index to set the value at.
        value - The pythonPackages to set.
        Returns:
        This builder for chaining.
      • addPythonPackages

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder addPythonPackages​(String value)
         Optional. A list of python packages to be installed.
         Valid formats include Cloud Storage URI to a PIP installable library.
         For example, gs://bucket-name/my/path/to/lib.tar.gz
         
        repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The pythonPackages to add.
        Returns:
        This builder for chaining.
      • addAllPythonPackages

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder addAllPythonPackages​(Iterable<String> values)
         Optional. A list of python packages to be installed.
         Valid formats include Cloud Storage URI to a PIP installable library.
         For example, gs://bucket-name/my/path/to/lib.tar.gz
         
        repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        values - The pythonPackages to add.
        Returns:
        This builder for chaining.
      • clearPythonPackages

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder clearPythonPackages()
         Optional. A list of python packages to be installed.
         Valid formats include Cloud Storage URI to a PIP installable library.
         For example, gs://bucket-name/my/path/to/lib.tar.gz
         
        repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • addPythonPackagesBytes

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder addPythonPackagesBytes​(com.google.protobuf.ByteString value)
         Optional. A list of python packages to be installed.
         Valid formats include Cloud Storage URI to a PIP installable library.
         For example, gs://bucket-name/my/path/to/lib.tar.gz
         
        repeated string python_packages = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes of the pythonPackages to add.
        Returns:
        This builder for chaining.
      • getPropertiesCount

        public int getPropertiesCount()
        Description copied from interface: Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
         Optional. Override to common configuration of open source components
         installed on the Dataproc cluster. The properties to set on daemon
         config files. Property keys are specified in `prefix:property` format,
         for example `core:hadoop.tmp.dir`. For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPropertiesCount in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
      • containsProperties

        public boolean containsProperties​(String key)
         Optional. Override to common configuration of open source components
         installed on the Dataproc cluster. The properties to set on daemon
         config files. Property keys are specified in `prefix:property` format,
         for example `core:hadoop.tmp.dir`. For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsProperties in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
      • getPropertiesMap

        public Map<String,​String> getPropertiesMap()
         Optional. Override to common configuration of open source components
         installed on the Dataproc cluster. The properties to set on daemon
         config files. Property keys are specified in `prefix:property` format,
         for example `core:hadoop.tmp.dir`. For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPropertiesMap in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
      • getPropertiesOrDefault

        public String getPropertiesOrDefault​(String key,
                                             String defaultValue)
         Optional. Override to common configuration of open source components
         installed on the Dataproc cluster. The properties to set on daemon
         config files. Property keys are specified in `prefix:property` format,
         for example `core:hadoop.tmp.dir`. For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPropertiesOrDefault in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
      • getPropertiesOrThrow

        public String getPropertiesOrThrow​(String key)
         Optional. Override to common configuration of open source components
         installed on the Dataproc cluster. The properties to set on daemon
         config files. Property keys are specified in `prefix:property` format,
         for example `core:hadoop.tmp.dir`. For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPropertiesOrThrow in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
      • removeProperties

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder removeProperties​(String key)
         Optional. Override to common configuration of open source components
         installed on the Dataproc cluster. The properties to set on daemon
         config files. Property keys are specified in `prefix:property` format,
         for example `core:hadoop.tmp.dir`. For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getMutableProperties

        @Deprecated
        public Map<String,​String> getMutableProperties()
        Deprecated.
        Use alternate mutation accessors instead.
      • putProperties

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder putProperties​(String key,
                                                                                   String value)
         Optional. Override to common configuration of open source components
         installed on the Dataproc cluster. The properties to set on daemon
         config files. Property keys are specified in `prefix:property` format,
         for example `core:hadoop.tmp.dir`. For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
      • putAllProperties

        public Task.InfrastructureSpec.ContainerImageRuntime.Builder putAllProperties​(Map<String,​String> values)
         Optional. Override to common configuration of open source components
         installed on the Dataproc cluster. The properties to set on daemon
         config files. Property keys are specified in `prefix:property` format,
         for example `core:hadoop.tmp.dir`. For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];