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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KubernetesSoftwareConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public KubernetesSoftwareConfig build()
buildPartial()
public KubernetesSoftwareConfig buildPartial()
clear()
public KubernetesSoftwareConfig.Builder clear()
Overrides
clearComponentVersion()
public KubernetesSoftwareConfig.Builder clearComponentVersion()
clearField(Descriptors.FieldDescriptor field)
public KubernetesSoftwareConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public KubernetesSoftwareConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProperties()
public KubernetesSoftwareConfig.Builder clearProperties()
clone()
public KubernetesSoftwareConfig.Builder clone()
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 |
---|
Name | Description |
key | String
|
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 |
---|
Name | Description |
key | String
|
getComponentVersion() (deprecated)
public Map<String,String> getComponentVersion()
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;
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;
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
|
getDefaultInstanceForType()
public KubernetesSoftwareConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableComponentVersion() (deprecated)
public Map<String,String> getMutableComponentVersion()
Use alternate mutation accessors instead.
getMutableProperties() (deprecated)
public Map<String,String> getMutableProperties()
Use alternate mutation accessors instead.
getProperties() (deprecated)
public Map<String,String> getProperties()
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 |
---|
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:
map<string, string> properties = 2;
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;
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 |
---|
Name | Description |
key | String
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(KubernetesSoftwareConfig other)
public KubernetesSoftwareConfig.Builder mergeFrom(KubernetesSoftwareConfig other)
public KubernetesSoftwareConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public KubernetesSoftwareConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesSoftwareConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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;
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;
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
|
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 |
---|
Name | Description |
key | String
|
setField(Descriptors.FieldDescriptor field, Object value)
public KubernetesSoftwareConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KubernetesSoftwareConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final KubernetesSoftwareConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides