public static final class KubernetesSoftwareConfig.Builder extends GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder> implements KubernetesSoftwareConfigOrBuilder
The software configuration for this Dataproc cluster running on Kubernetes.
Protobuf type google.cloud.dataproc.v1.KubernetesSoftwareConfig
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KubernetesSoftwareConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public KubernetesSoftwareConfig build()
Returns
buildPartial()
public KubernetesSoftwareConfig buildPartial()
Returns
clear()
public KubernetesSoftwareConfig.Builder clear()
Returns
Overrides
clearComponentVersion()
public KubernetesSoftwareConfig.Builder clearComponentVersion()
Returns
clearField(Descriptors.FieldDescriptor field)
public KubernetesSoftwareConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public KubernetesSoftwareConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProperties()
public KubernetesSoftwareConfig.Builder clearProperties()
Returns
clone()
public KubernetesSoftwareConfig.Builder clone()
Returns
Overrides
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
Returns
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:
map<string, string> properties = 2;
Parameter
Returns
getComponentVersion()
public Map<String,String> getComponentVersion()
Returns
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
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
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
Returns
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
Returns
getDefaultInstanceForType()
public KubernetesSoftwareConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMutableComponentVersion()
public Map<String,String> getMutableComponentVersion()
Use alternate mutation accessors instead.
Returns
getMutableProperties()
public Map<String,String> getMutableProperties()
Use alternate mutation accessors instead.
Returns
getProperties()
public Map<String,String> getProperties()
Returns
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:
map<string, string> properties = 2;
Returns
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:
map<string, string> properties = 2;
Returns
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:
map<string, string> properties = 2;
Parameters
Returns
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:
map<string, string> properties = 2;
Parameter
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(KubernetesSoftwareConfig other)
public KubernetesSoftwareConfig.Builder mergeFrom(KubernetesSoftwareConfig other)
Parameter
Returns
public KubernetesSoftwareConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public KubernetesSoftwareConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesSoftwareConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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:
map<string, string> properties = 2;
Parameter
Returns
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
Returns
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:
map<string, string> properties = 2;
Parameters
Returns
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
Returns
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:
map<string, string> properties = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public KubernetesSoftwareConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KubernetesSoftwareConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesSoftwareConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides