Class Environment.InfrastructureSpec.OsImageRuntime.Builder (1.49.0)

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

Software Runtime Configuration to run Analyze.

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

Static Methods

getDescriptor()

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

Methods

addAllJavaLibraries(Iterable<String> values)

public Environment.InfrastructureSpec.OsImageRuntime.Builder addAllJavaLibraries(Iterable<String> values)

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
values Iterable<String>

The javaLibraries to add.

Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

addAllPythonPackages(Iterable<String> values)

public Environment.InfrastructureSpec.OsImageRuntime.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
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

addJavaLibraries(String value)

public Environment.InfrastructureSpec.OsImageRuntime.Builder addJavaLibraries(String value)

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
value String

The javaLibraries to add.

Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

addJavaLibrariesBytes(ByteString value)

public Environment.InfrastructureSpec.OsImageRuntime.Builder addJavaLibrariesBytes(ByteString value)

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
value ByteString

The bytes of the javaLibraries to add.

Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

addPythonPackages(String value)

public Environment.InfrastructureSpec.OsImageRuntime.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
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

addPythonPackagesBytes(ByteString value)

public Environment.InfrastructureSpec.OsImageRuntime.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
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Environment.InfrastructureSpec.OsImageRuntime build()
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime

buildPartial()

public Environment.InfrastructureSpec.OsImageRuntime buildPartial()
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime

clear()

public Environment.InfrastructureSpec.OsImageRuntime.Builder clear()
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearImageVersion()

public Environment.InfrastructureSpec.OsImageRuntime.Builder clearImageVersion()

Required. Dataplex Image version.

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

Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

clearJavaLibraries()

public Environment.InfrastructureSpec.OsImageRuntime.Builder clearJavaLibraries()

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
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProperties()

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

clearPythonPackages()

public Environment.InfrastructureSpec.OsImageRuntime.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
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

clone()

public Environment.InfrastructureSpec.OsImageRuntime.Builder clone()
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder
Overrides

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

getDefaultInstanceForType()

public Environment.InfrastructureSpec.OsImageRuntime getDefaultInstanceForType()
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime

getDescriptorForType()

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

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.

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. 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.

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(Environment.InfrastructureSpec.OsImageRuntime other)

public Environment.InfrastructureSpec.OsImageRuntime.Builder mergeFrom(Environment.InfrastructureSpec.OsImageRuntime other)
Parameter
Name Description
other Environment.InfrastructureSpec.OsImageRuntime
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Environment.InfrastructureSpec.OsImageRuntime.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

putAllProperties(Map<String,String> values)

public Environment.InfrastructureSpec.OsImageRuntime.Builder putAllProperties(Map<String,String> values)

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
values Map<String,String>
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

putProperties(String key, String value)

public Environment.InfrastructureSpec.OsImageRuntime.Builder putProperties(String key, String value)

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
value String
Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

removeProperties(String key)

public Environment.InfrastructureSpec.OsImageRuntime.Builder removeProperties(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
Environment.InfrastructureSpec.OsImageRuntime.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setImageVersion(String value)

public Environment.InfrastructureSpec.OsImageRuntime.Builder setImageVersion(String value)

Required. Dataplex Image version.

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

Parameter
Name Description
value String

The imageVersion to set.

Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

setImageVersionBytes(ByteString value)

public Environment.InfrastructureSpec.OsImageRuntime.Builder setImageVersionBytes(ByteString value)

Required. Dataplex Image version.

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

Parameter
Name Description
value ByteString

The bytes for imageVersion to set.

Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

setJavaLibraries(int index, String value)

public Environment.InfrastructureSpec.OsImageRuntime.Builder setJavaLibraries(int index, String value)

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

Parameters
Name Description
index int

The index to set the value at.

value String

The javaLibraries to set.

Returns
Type Description
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

setPythonPackages(int index, String value)

public Environment.InfrastructureSpec.OsImageRuntime.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
Environment.InfrastructureSpec.OsImageRuntime.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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