Class Task.InfrastructureSpec.ContainerImageRuntime (1.3.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
TypeDescription
int

JAVA_JARS_FIELD_NUMBER

public static final int JAVA_JARS_FIELD_NUMBER
Field Value
TypeDescription
int

PROPERTIES_FIELD_NUMBER

public static final int PROPERTIES_FIELD_NUMBER
Field Value
TypeDescription
int

PYTHON_PACKAGES_FIELD_NUMBER

public static final int PYTHON_PACKAGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Task.InfrastructureSpec.ContainerImageRuntime getDefaultInstance()
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Task.InfrastructureSpec.ContainerImageRuntime.Builder newBuilder()
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder

newBuilder(Task.InfrastructureSpec.ContainerImageRuntime prototype)

public static Task.InfrastructureSpec.ContainerImageRuntime.Builder newBuilder(Task.InfrastructureSpec.ContainerImageRuntime prototype)
Parameter
NameDescription
prototypeTask.InfrastructureSpec.ContainerImageRuntime
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder

parseDelimitedFrom(InputStream input)

public static Task.InfrastructureSpec.ContainerImageRuntime parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.ContainerImageRuntime parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.ContainerImageRuntime parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Task.InfrastructureSpec.ContainerImageRuntime.Builder newBuilderForType()
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Task.InfrastructureSpec.ContainerImageRuntime.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Task.InfrastructureSpec.ContainerImageRuntime.Builder toBuilder()
Returns
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntime.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException