Class Task.InfrastructureSpec.ContainerImageRuntime.Builder (1.43.0)

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

Container Image Runtime Configuration used with Batch execution.

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

Static Methods

getDescriptor()

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

Methods

addAllJavaJars(Iterable<String> values)

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

Parameter
Name Description
values Iterable<String>

The javaJars to add.

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

addAllPythonPackages(Iterable<String> values)

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

Parameter
Name Description
values Iterable<String>

The pythonPackages to add.

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

addJavaJars(String value)

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

Parameter
Name Description
value String

The javaJars to add.

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

addJavaJarsBytes(ByteString value)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder addJavaJarsBytes(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];

Parameter
Name Description
value ByteString

The bytes of the javaJars to add.

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

addPythonPackages(String value)

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

Parameter
Name Description
value String

The pythonPackages to add.

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

addPythonPackagesBytes(ByteString value)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder addPythonPackagesBytes(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];

Parameter
Name Description
value ByteString

The bytes of the pythonPackages to add.

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Task.InfrastructureSpec.ContainerImageRuntime.Builder clear()
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

clearImage()

public Task.InfrastructureSpec.ContainerImageRuntime.Builder clearImage()

Optional. Container image to use.

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

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

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
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

clearProperties()

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

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
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

clone()

public Task.InfrastructureSpec.ContainerImageRuntime.Builder clone()
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getMutableProperties() (deprecated)

public Map<String,String> getMutableProperties()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

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.

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.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Task.InfrastructureSpec.ContainerImageRuntime other)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder mergeFrom(Task.InfrastructureSpec.ContainerImageRuntime other)
Parameter
Name Description
other Task.InfrastructureSpec.ContainerImageRuntime
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Task.InfrastructureSpec.ContainerImageRuntime.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

putAllProperties(Map<String,String> values)

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.

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

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

putProperties(String key, String value)

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.

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

Parameters
Name Description
key String
value String
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

removeProperties(String key)

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.

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

Parameter
Name Description
key String
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

setImage(String value)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder setImage(String value)

Optional. Container image to use.

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

Parameter
Name Description
value String

The image to set.

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

setImageBytes(ByteString value)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder setImageBytes(ByteString value)

Optional. Container image to use.

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

Parameter
Name Description
value ByteString

The bytes for image to set.

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

setJavaJars(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The javaJars to set.

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

setPythonPackages(int index, String value)

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
Name Description
index int

The index to set the value at.

value String

The pythonPackages to set.

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Task.InfrastructureSpec.ContainerImageRuntime.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides