Class Environment.InfrastructureSpec.OsImageRuntime.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
com.google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime.Builder
All Implemented Interfaces:
Environment.InfrastructureSpec.OsImageRuntimeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Environment.InfrastructureSpec.OsImageRuntime

public static final class Environment.InfrastructureSpec.OsImageRuntime.Builder extends com.google.protobuf.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder> implements Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
 Software Runtime Configuration to run Analyze.
 
Protobuf type google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.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.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.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.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Environment.InfrastructureSpec.OsImageRuntime.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Environment.InfrastructureSpec.OsImageRuntime.Builder>
    • mergeFrom

      public Environment.InfrastructureSpec.OsImageRuntime.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<Environment.InfrastructureSpec.OsImageRuntime.Builder>
      Throws:
      IOException
    • getImageVersion

      public String getImageVersion()
       Required. Dataplex Universal Catalog Image version.
       
      string image_version = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getImageVersion in interface Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
      Returns:
      The imageVersion.
    • getImageVersionBytes

      public com.google.protobuf.ByteString getImageVersionBytes()
       Required. Dataplex Universal Catalog Image version.
       
      string image_version = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getImageVersionBytes in interface Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
      Returns:
      The bytes for imageVersion.
    • setImageVersion

       Required. Dataplex Universal Catalog Image version.
       
      string image_version = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The imageVersion to set.
      Returns:
      This builder for chaining.
    • clearImageVersion

       Required. Dataplex Universal Catalog Image version.
       
      string image_version = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setImageVersionBytes

      public Environment.InfrastructureSpec.OsImageRuntime.Builder setImageVersionBytes(com.google.protobuf.ByteString value)
       Required. Dataplex Universal Catalog Image version.
       
      string image_version = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for imageVersion to set.
      Returns:
      This builder for chaining.
    • 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.
    • setJavaLibraries

      public Environment.InfrastructureSpec.OsImageRuntime.Builder setJavaLibraries(int index, String value)
       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];
      Parameters:
      index - The index to set the value at.
      value - The javaLibraries to set.
      Returns:
      This builder for chaining.
    • addJavaLibraries

       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];
      Parameters:
      value - The javaLibraries to add.
      Returns:
      This builder for chaining.
    • addAllJavaLibraries

       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];
      Parameters:
      values - The javaLibraries to add.
      Returns:
      This builder for chaining.
    • clearJavaLibraries

       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];
      Returns:
      This builder for chaining.
    • addJavaLibrariesBytes

      public Environment.InfrastructureSpec.OsImageRuntime.Builder addJavaLibrariesBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes of the javaLibraries 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 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.
    • setPythonPackages

      public Environment.InfrastructureSpec.OsImageRuntime.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

       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

       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

       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 Environment.InfrastructureSpec.OsImageRuntime.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: Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
       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:
      getPropertiesCount in interface Environment.InfrastructureSpec.OsImageRuntimeOrBuilder
    • 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
    • getProperties

      @Deprecated public Map<String,String> getProperties()
      Deprecated.
      Use getPropertiesMap() instead.
      Specified by:
      getProperties 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
    • clearProperties

    • removeProperties

       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];
    • getMutableProperties

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

       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];
    • putAllProperties

       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];