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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
public KubernetesSoftwareConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
public KubernetesSoftwareConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public KubernetesSoftwareConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public KubernetesSoftwareConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public KubernetesSoftwareConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
public KubernetesSoftwareConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
public KubernetesSoftwareConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
public KubernetesSoftwareConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
public KubernetesSoftwareConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
public KubernetesSoftwareConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
public KubernetesSoftwareConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<KubernetesSoftwareConfig.Builder>
public KubernetesSoftwareConfig.Builder mergeFrom(KubernetesSoftwareConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
public KubernetesSoftwareConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<KubernetesSoftwareConfig.Builder>
IOException
public int getComponentVersionCount()
KubernetesSoftwareConfigOrBuilder
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;
getComponentVersionCount
in interface KubernetesSoftwareConfigOrBuilder
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;
containsComponentVersion
in interface KubernetesSoftwareConfigOrBuilder
@Deprecated public Map<String,String> getComponentVersion()
getComponentVersionMap()
instead.getComponentVersion
in interface KubernetesSoftwareConfigOrBuilder
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;
getComponentVersionMap
in interface KubernetesSoftwareConfigOrBuilder
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;
getComponentVersionOrDefault
in interface KubernetesSoftwareConfigOrBuilder
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;
getComponentVersionOrThrow
in interface KubernetesSoftwareConfigOrBuilder
public KubernetesSoftwareConfig.Builder clearComponentVersion()
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;
@Deprecated public Map<String,String> getMutableComponentVersion()
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;
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;
public int getPropertiesCount()
KubernetesSoftwareConfigOrBuilder
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.conf` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;
getPropertiesCount
in interface KubernetesSoftwareConfigOrBuilder
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.conf` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;
containsProperties
in interface KubernetesSoftwareConfigOrBuilder
@Deprecated public Map<String,String> getProperties()
getPropertiesMap()
instead.getProperties
in interface KubernetesSoftwareConfigOrBuilder
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.conf` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;
getPropertiesMap
in interface KubernetesSoftwareConfigOrBuilder
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.conf` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;
getPropertiesOrDefault
in interface KubernetesSoftwareConfigOrBuilder
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.conf` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;
getPropertiesOrThrow
in interface KubernetesSoftwareConfigOrBuilder
public KubernetesSoftwareConfig.Builder clearProperties()
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.conf` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;
@Deprecated public Map<String,String> getMutableProperties()
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.conf` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;
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.conf` For more information, see [Cluster properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;
public final KubernetesSoftwareConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
public final KubernetesSoftwareConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
Copyright © 2022 Google LLC. All rights reserved.