Interface KubernetesSoftwareConfigOrBuilder (4.37.0)

public interface KubernetesSoftwareConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsComponentVersion(String key)

public abstract boolean containsComponentVersion(String key)

The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.

map<string, string> component_version = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsProperties(String key)

public abstract boolean containsProperties(String key)

The properties to set on daemon config files.

Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings:

map<string, string> properties = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getComponentVersion() (deprecated)

public abstract Map<String,String> getComponentVersion()
Returns
TypeDescription
Map<String,String>

getComponentVersionCount()

public abstract int getComponentVersionCount()

The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.

map<string, string> component_version = 1;

Returns
TypeDescription
int

getComponentVersionMap()

public abstract Map<String,String> getComponentVersionMap()

The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.

map<string, string> component_version = 1;

Returns
TypeDescription
Map<String,String>

getComponentVersionOrDefault(String key, String defaultValue)

public abstract String getComponentVersionOrDefault(String key, String defaultValue)

The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.

map<string, string> component_version = 1;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getComponentVersionOrThrow(String key)

public abstract String getComponentVersionOrThrow(String key)

The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.

map<string, string> component_version = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getProperties() (deprecated)

public abstract Map<String,String> getProperties()

Use #getPropertiesMap() instead.

Returns
TypeDescription
Map<String,String>

getPropertiesCount()

public abstract int getPropertiesCount()

The properties to set on daemon config files.

Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings:

map<string, string> properties = 2;

Returns
TypeDescription
int

getPropertiesMap()

public abstract Map<String,String> getPropertiesMap()

The properties to set on daemon config files.

Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings:

map<string, string> properties = 2;

Returns
TypeDescription
Map<String,String>

getPropertiesOrDefault(String key, String defaultValue)

public abstract String getPropertiesOrDefault(String key, String defaultValue)

The properties to set on daemon config files.

Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings:

map<string, string> properties = 2;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getPropertiesOrThrow(String key)

public abstract String getPropertiesOrThrow(String key)

The properties to set on daemon config files.

Property keys are specified in prefix:property format, for example spark:spark.kubernetes.container.image. The following are supported prefixes and their mappings:

map<string, string> properties = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String