Class Task.InfrastructureSpec.ContainerImageRuntime (1.40.0)

public static final class Task.InfrastructureSpec.ContainerImageRuntime extends GeneratedMessageV3 implements Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder

Container Image Runtime Configuration used with Batch execution.

Protobuf type google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Task.InfrastructureSpec.ContainerImageRuntime

Static Fields

IMAGE_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER
Field Value
Type Description
int

JAVA_JARS_FIELD_NUMBER

public static final int JAVA_JARS_FIELD_NUMBER
Field Value
Type Description
int

PROPERTIES_FIELD_NUMBER

public static final int PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

PYTHON_PACKAGES_FIELD_NUMBER

public static final int PYTHON_PACKAGES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstance()
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Task.InfrastructureSpec.ContainerImageRuntime.Builder newBuilder()
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

newBuilder(Task.InfrastructureSpec.ContainerImageRuntime prototype)

public static Task.InfrastructureSpec.ContainerImageRuntime.Builder newBuilder(Task.InfrastructureSpec.ContainerImageRuntime prototype)
Parameter
Name Description
prototype Task.InfrastructureSpec.ContainerImageRuntime
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

parseDelimitedFrom(InputStream input)

public static Task.InfrastructureSpec.ContainerImageRuntime parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.ContainerImageRuntime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Task.InfrastructureSpec.ContainerImageRuntime> parser()
Returns
Type Description
Parser<ContainerImageRuntime>

Methods

containsProperties(String key)

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.

map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstanceForType()
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime

getImage()

public String getImage()

Optional. Container image to use.

string image = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The image.

getImageBytes()

public ByteString getImageBytes()

Optional. Container image to use.

string image = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for image.

getJavaJars(int index)

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The javaJars at the given index.

getJavaJarsBytes(int index)

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the javaJars at the given index.

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

Returns
Type Description
int

The count of javaJars.

getJavaJarsList()

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

Returns
Type Description
ProtocolStringList

A list containing the javaJars.

getParserForType()

public Parser<Task.InfrastructureSpec.ContainerImageRuntime> getParserForType()
Returns
Type Description
Parser<ContainerImageRuntime>
Overrides

getProperties() (deprecated)

public Map<String,String> getProperties()

Use #getPropertiesMap() instead.

Returns
Type Description
Map<String,String>

getPropertiesCount()

public int getPropertiesCount()

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.

map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

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.

map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getPropertiesOrDefault(String key, String defaultValue)

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.

map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getPropertiesOrThrow(String key)

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.

map<string, string> properties = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getPythonPackages(int index)

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The pythonPackages at the given index.

getPythonPackagesBytes(int index)

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the pythonPackages at the given index.

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

Returns
Type Description
int

The count of pythonPackages.

getPythonPackagesList()

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

Returns
Type Description
ProtocolStringList

A list containing the pythonPackages.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Task.InfrastructureSpec.ContainerImageRuntime.Builder newBuilderForType()
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Task.InfrastructureSpec.ContainerImageRuntime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Task.InfrastructureSpec.ContainerImageRuntime.Builder toBuilder()
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException