Class Environment.InfrastructureSpec.OsImageRuntime

    • Field Detail

      • IMAGE_VERSION_FIELD_NUMBER

        public static final int IMAGE_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • JAVA_LIBRARIES_FIELD_NUMBER

        public static final int JAVA_LIBRARIES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PYTHON_PACKAGES_FIELD_NUMBER

        public static final int PYTHON_PACKAGES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PROPERTIES_FIELD_NUMBER

        public static final int PROPERTIES_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getJavaLibrariesList

        public com.google.protobuf.ProtocolStringList getJavaLibrariesList()
         Optional. List of Java jars to be included in the runtime environment.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getJavaLibrariesList in interface Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
        Returns:
        A list containing the javaLibraries.
      • getJavaLibrariesCount

        public int getJavaLibrariesCount()
         Optional. List of Java jars to be included in the runtime environment.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getJavaLibrariesCount in interface Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
        Returns:
        The count of javaLibraries.
      • getJavaLibraries

        public String getJavaLibraries​(int index)
         Optional. List of Java jars to be included in the runtime environment.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getJavaLibraries in interface Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The javaLibraries at the given index.
      • getJavaLibrariesBytes

        public com.google.protobuf.ByteString getJavaLibrariesBytes​(int index)
         Optional. List of Java jars to be included in the runtime environment.
         Valid input includes Cloud Storage URIs to Jar binaries.
         For example, gs://bucket-name/my/path/to/file.jar
         
        repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getJavaLibrariesBytes in interface Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the javaLibraries at the given index.
      • 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 Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
        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 Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
        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 Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
        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 Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the pythonPackages at the given index.
      • containsProperties

        public boolean containsProperties​(String key)
         Optional. Spark properties to provide configuration for use in sessions
         created for this environment. The properties to set on daemon config
         files. Property keys are specified in `prefix:property` format. The
         prefix must be "spark".
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        containsProperties in interface Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
      • getPropertiesMap

        public Map<String,​String> getPropertiesMap()
         Optional. Spark properties to provide configuration for use in sessions
         created for this environment. The properties to set on daemon config
         files. Property keys are specified in `prefix:property` format. The
         prefix must be "spark".
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPropertiesMap in interface Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
      • getPropertiesOrDefault

        public String getPropertiesOrDefault​(String key,
                                             String defaultValue)
         Optional. Spark properties to provide configuration for use in sessions
         created for this environment. The properties to set on daemon config
         files. Property keys are specified in `prefix:property` format. The
         prefix must be "spark".
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPropertiesOrDefault in interface Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
      • getPropertiesOrThrow

        public String getPropertiesOrThrow​(String key)
         Optional. Spark properties to provide configuration for use in sessions
         created for this environment. The properties to set on daemon config
         files. Property keys are specified in `prefix:property` format. The
         prefix must be "spark".
         
        map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPropertiesOrThrow in interface Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Environment.InfrastructureSpec.OsImageRuntime parseFrom​(ByteBuffer data,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Environment.InfrastructureSpec.OsImageRuntime parseFrom​(com.google.protobuf.ByteString data)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Environment.InfrastructureSpec.OsImageRuntime parseFrom​(com.google.protobuf.ByteString data,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Environment.InfrastructureSpec.OsImageRuntime parseFrom​(byte[] data,
                                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • getParserForType

        public com.google.protobuf.Parser<Environment.InfrastructureSpec.OsImageRuntime> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Environment.InfrastructureSpec.OsImageRuntime getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder