public static final class KubernetesSoftwareConfig.Builder extends GeneratedMessage.Builder<KubernetesSoftwareConfig.Builder> implements KubernetesSoftwareConfigOrBuilderThe software configuration for this Dataproc cluster running on Kubernetes.
Protobuf type google.cloud.dataproc.v1.KubernetesSoftwareConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > KubernetesSoftwareConfig.BuilderImplements
KubernetesSoftwareConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public KubernetesSoftwareConfig build()| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig |
|
buildPartial()
public KubernetesSoftwareConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig |
|
clear()
public KubernetesSoftwareConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|
clearComponentVersion()
public KubernetesSoftwareConfig.Builder clearComponentVersion()| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|
clearProperties()
public KubernetesSoftwareConfig.Builder clearProperties()| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|
containsComponentVersion(String key)
public 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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsProperties(String key)
public 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:
spark:
spark-defaults.confFor more information, see Cluster properties.
map<string, string> properties = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getComponentVersion() (deprecated)
public Map<String,String> getComponentVersion()Use #getComponentVersionMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getComponentVersionCount()
public 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 | |
|---|---|
| Type | Description |
int |
|
getComponentVersionMap()
public 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 | |
|---|---|
| Type | Description |
Map<String,String> |
|
getComponentVersionOrDefault(String key, String defaultValue)
public 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 | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getComponentVersionOrThrow(String key)
public 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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getDefaultInstanceForType()
public KubernetesSoftwareConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMutableComponentVersion() (deprecated)
public Map<String,String> getMutableComponentVersion()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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()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:
spark:
spark-defaults.confFor more information, see Cluster properties.
map<string, string> properties = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getPropertiesMap()
public 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:
spark:
spark-defaults.confFor more information, see Cluster properties.
map<string, string> properties = 2;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getPropertiesOrDefault(String key, String defaultValue)
public 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:
spark:
spark-defaults.confFor more information, see Cluster properties.
map<string, string> properties = 2;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getPropertiesOrThrow(String key)
public 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:
spark:
spark-defaults.confFor more information, see Cluster properties.
map<string, string> properties = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(KubernetesSoftwareConfig other)
public KubernetesSoftwareConfig.Builder mergeFrom(KubernetesSoftwareConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
KubernetesSoftwareConfig |
| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public KubernetesSoftwareConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public KubernetesSoftwareConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|
putAllComponentVersion(Map<String,String> values)
public KubernetesSoftwareConfig.Builder putAllComponentVersion(Map<String,String> values)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 | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|
putAllProperties(Map<String,String> values)
public KubernetesSoftwareConfig.Builder putAllProperties(Map<String,String> values)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:
spark:
spark-defaults.confFor more information, see Cluster properties.
map<string, string> properties = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|
putComponentVersion(String key, String value)
public KubernetesSoftwareConfig.Builder putComponentVersion(String key, String value)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 | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|
putProperties(String key, String value)
public KubernetesSoftwareConfig.Builder putProperties(String key, String value)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:
spark:
spark-defaults.confFor more information, see Cluster properties.
map<string, string> properties = 2;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|
removeComponentVersion(String key)
public KubernetesSoftwareConfig.Builder removeComponentVersion(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 | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|
removeProperties(String key)
public KubernetesSoftwareConfig.Builder removeProperties(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:
spark:
spark-defaults.confFor more information, see Cluster properties.
map<string, string> properties = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
KubernetesSoftwareConfig.Builder |
|