Class Task.InfrastructureSpec.ContainerImageRuntime

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime
All Implemented Interfaces:
Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Task.InfrastructureSpec

public static final class Task.InfrastructureSpec.ContainerImageRuntime extends com.google.protobuf.GeneratedMessage implements Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
 Container Image Runtime Configuration used with Batch execution.
 
Protobuf type google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime
See Also:
  • Field Details

    • IMAGE_FIELD_NUMBER

      public static final int IMAGE_FIELD_NUMBER
      See Also:
    • JAVA_JARS_FIELD_NUMBER

      public static final int JAVA_JARS_FIELD_NUMBER
      See Also:
    • PYTHON_PACKAGES_FIELD_NUMBER

      public static final int PYTHON_PACKAGES_FIELD_NUMBER
      See Also:
    • PROPERTIES_FIELD_NUMBER

      public static final int PROPERTIES_FIELD_NUMBER
      See Also:
  • 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
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getImage

      public String getImage()
       Optional. Container image to use.
       
      string image = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getImage in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
      Returns:
      The image.
    • getImageBytes

      public com.google.protobuf.ByteString getImageBytes()
       Optional. Container image to use.
       
      string image = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getImageBytes in interface Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder
      Returns:
      The bytes for image.
    • 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.
    • 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.
    • 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
    • getProperties

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

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 Task.InfrastructureSpec.ContainerImageRuntime parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      Throws:
      IOException
    • parseFrom

      public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Task.InfrastructureSpec.ContainerImageRuntime parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Task.InfrastructureSpec.ContainerImageRuntime parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Task.InfrastructureSpec.ContainerImageRuntime.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Task.InfrastructureSpec.ContainerImageRuntime> parser()
    • getParserForType

      public com.google.protobuf.Parser<Task.InfrastructureSpec.ContainerImageRuntime> 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.GeneratedMessage
    • getDefaultInstanceForType

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