Class Environment.InfrastructureSpec.OsImageRuntime (1.40.0)

public static final class Environment.InfrastructureSpec.OsImageRuntime extends GeneratedMessageV3 implements Environment.InfrastructureSpec.OsImageRuntimeOrBuilder

Software Runtime Configuration to run Analyze.

Protobuf type google.cloud.dataplex.v1.Environment.InfrastructureSpec.OsImageRuntime

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Environment.InfrastructureSpec.OsImageRuntime

Static Fields

IMAGE_VERSION_FIELD_NUMBER

public static final int IMAGE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

JAVA_LIBRARIES_FIELD_NUMBER

public static final int JAVA_LIBRARIES_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 Environment.InfrastructureSpec.OsImageRuntime getDefaultInstance()
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime

getDescriptor()

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

newBuilder()

public static Environment.InfrastructureSpec.OsImageRuntime.Builder newBuilder()
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

newBuilder(Environment.InfrastructureSpec.OsImageRuntime prototype)

public static Environment.InfrastructureSpec.OsImageRuntime.Builder newBuilder(Environment.InfrastructureSpec.OsImageRuntime prototype)
Parameter
Name Description
prototype Environment.InfrastructureSpec.OsImageRuntime
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Environment.InfrastructureSpec.OsImageRuntime> parser()
Returns
Type Description
Parser<OsImageRuntime>

Methods

containsProperties(String key)

public boolean containsProperties(String key)

Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in prefix:property format. The prefix must be "spark".

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 Environment.InfrastructureSpec.OsImageRuntime getDefaultInstanceForType()
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime

getImageVersion()

public String getImageVersion()

Required. Dataplex Image version.

string image_version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The imageVersion.

getImageVersionBytes()

public ByteString getImageVersionBytes()

Required. Dataplex Image version.

string image_version = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for imageVersion.

getJavaLibraries(int index)

public String getJavaLibraries(int index)

Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar

repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The javaLibraries at the given index.

getJavaLibrariesBytes(int index)

public ByteString getJavaLibrariesBytes(int index)

Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar

repeated string java_libraries = 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 javaLibraries at the given index.

getJavaLibrariesCount()

public int getJavaLibrariesCount()

Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar

repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of javaLibraries.

getJavaLibrariesList()

public ProtocolStringList getJavaLibrariesList()

Optional. List of Java jars to be included in the runtime environment. Valid input includes Cloud Storage URIs to Jar binaries. For example, gs://bucket-name/my/path/to/file.jar

repeated string java_libraries = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the javaLibraries.

getParserForType()

public Parser<Environment.InfrastructureSpec.OsImageRuntime> getParserForType()
Returns
Type Description
Parser<OsImageRuntime>
Overrides

getProperties() (deprecated)

public Map<String,String> getProperties()

Use #getPropertiesMap() instead.

Returns
Type Description
Map<String,String>

getPropertiesCount()

public int getPropertiesCount()

Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in prefix:property format. The prefix must be "spark".

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

Returns
Type Description
int

getPropertiesMap()

public Map<String,String> getPropertiesMap()

Optional. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in prefix:property format. The prefix must be "spark".

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. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in prefix:property format. The prefix must be "spark".

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. Spark properties to provide configuration for use in sessions created for this environment. The properties to set on daemon config files. Property keys are specified in prefix:property format. The prefix must be "spark".

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 Environment.InfrastructureSpec.OsImageRuntime.Builder newBuilderForType()
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Environment.InfrastructureSpec.OsImageRuntime.Builder toBuilder()
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

writeTo(CodedOutputStream output)

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