Class Environment.InfrastructureSpec.OsImageRuntime (1.31.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
TypeDescription
int

JAVA_LIBRARIES_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

public static Environment.InfrastructureSpec.OsImageRuntime.Builder newBuilder()
Returns
TypeDescription
Environment.InfrastructureSpec.OsImageRuntime.Builder

newBuilder(Environment.InfrastructureSpec.OsImageRuntime prototype)

public static Environment.InfrastructureSpec.OsImageRuntime.Builder newBuilder(Environment.InfrastructureSpec.OsImageRuntime prototype)
Parameter
NameDescription
prototypeEnvironment.InfrastructureSpec.OsImageRuntime
Returns
TypeDescription
Environment.InfrastructureSpec.OsImageRuntime.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

equals(Object obj)

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

getDefaultInstanceForType()

public Environment.InfrastructureSpec.OsImageRuntime getDefaultInstanceForType()
Returns
TypeDescription
Environment.InfrastructureSpec.OsImageRuntime

getImageVersion()

public String getImageVersion()

Required. Dataplex Image version.

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

Returns
TypeDescription
String

The imageVersion.

getImageVersionBytes()

public ByteString getImageVersionBytes()

Required. Dataplex Image version.

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

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the javaLibraries.

getParserForType()

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

getProperties() (deprecated)

public Map<String,String> getProperties()

Use #getPropertiesMap() instead.

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Environment.InfrastructureSpec.OsImageRuntime.Builder toBuilder()
Returns
TypeDescription
Environment.InfrastructureSpec.OsImageRuntime.Builder

writeTo(CodedOutputStream output)

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