Class Task.InfrastructureSpec.ContainerImageRuntime.Builder (1.20.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
TypeDescription
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
NameDescription
valuesIterable<String>

The javaJars to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The pythonPackages to add.

Returns
TypeDescription
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
NameDescription
valueString

The javaJars to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the javaJars to add.

Returns
TypeDescription
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
NameDescription
valueString

The pythonPackages to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the pythonPackages to add.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

build()

public Task.InfrastructureSpec.ContainerImageRuntime build()
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime

buildPartial()

public Task.InfrastructureSpec.ContainerImageRuntime buildPartial()
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime

clear()

public Task.InfrastructureSpec.ContainerImageRuntime.Builder clear()
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

clearProperties()

public Task.InfrastructureSpec.ContainerImageRuntime.Builder clearProperties()
Returns
TypeDescription
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
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder

This builder for chaining.

clone()

public Task.InfrastructureSpec.ContainerImageRuntime.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getDefaultInstanceForType()

public Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstanceForType()
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImage()

public String getImage()

Optional. Container image to use.

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

Returns
TypeDescription
String

The image.

getImageBytes()

public ByteString getImageBytes()

Optional. Container image to use.

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

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the javaJars.

getMutableProperties()

public Map<String,String> getMutableProperties()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getProperties()

public Map<String,String> getProperties()

Use #getPropertiesMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the pythonPackages.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Task.InfrastructureSpec.ContainerImageRuntime other)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder mergeFrom(Task.InfrastructureSpec.ContainerImageRuntime other)
Parameter
NameDescription
otherTask.InfrastructureSpec.ContainerImageRuntime
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Task.InfrastructureSpec.ContainerImageRuntime.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Task.InfrastructureSpec.ContainerImageRuntime.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The image to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for image to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The javaJars to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The pythonPackages to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Task.InfrastructureSpec.ContainerImageRuntime.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides