Class Environment.InfrastructureSpec.OsImageRuntime.Builder (1.7.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
TypeDescription
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
NameDescription
valuesIterable<String>

The javaLibraries to add.

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

The pythonPackages to add.

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

The javaLibraries to add.

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

The bytes of the javaLibraries to add.

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

The pythonPackages to add.

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

The bytes of the pythonPackages to add.

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

build()

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

buildPartial()

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

clear()

public Environment.InfrastructureSpec.OsImageRuntime.Builder clear()
Returns
TypeDescription
Environment.InfrastructureSpec.OsImageRuntime.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProperties()

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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

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

public Environment.InfrastructureSpec.OsImageRuntime.Builder mergeFrom(Environment.InfrastructureSpec.OsImageRuntime other)
Parameter
NameDescription
otherEnvironment.InfrastructureSpec.OsImageRuntime
Returns
TypeDescription
Environment.InfrastructureSpec.OsImageRuntime.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Environment.InfrastructureSpec.OsImageRuntime.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Environment.InfrastructureSpec.OsImageRuntime.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The imageVersion to set.

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

The bytes for imageVersion to set.

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

The index to set the value at.

valueString

The javaLibraries to set.

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

The index to set the value at.

valueString

The pythonPackages to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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