Send feedback
Class SoftwareConfig (4.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.10.0 keyboard_arrow_down
public final class SoftwareConfig extends GeneratedMessageV3 implements SoftwareConfigOrBuilder
Specifies the selection and config of software inside the cluster.
Protobuf type google.cloud.dataproc.v1.SoftwareConfig
Static Fields
IMAGE_VERSION_FIELD_NUMBER
public static final int IMAGE_VERSION_FIELD_NUMBER
Field Value Type Description int
OPTIONAL_COMPONENTS_FIELD_NUMBER
public static final int OPTIONAL_COMPONENTS_FIELD_NUMBER
Field Value Type Description int
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static SoftwareConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static SoftwareConfig . Builder newBuilder ()
newBuilder(SoftwareConfig prototype)
public static SoftwareConfig . Builder newBuilder ( SoftwareConfig prototype )
public static SoftwareConfig parseDelimitedFrom ( InputStream input )
public static SoftwareConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static SoftwareConfig parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SoftwareConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static SoftwareConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SoftwareConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SoftwareConfig parseFrom ( CodedInputStream input )
public static SoftwareConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SoftwareConfig parseFrom ( InputStream input )
public static SoftwareConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static SoftwareConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SoftwareConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<SoftwareConfig> parser ()
Methods
containsProperties(String key)
public boolean containsProperties ( String key )
Optional. The properties to set on daemon config files.
Property keys are specified in prefix:property
format, for example
core:hadoop.tmp.dir
. The following are supported prefixes
and their mappings:
capacity-scheduler: capacity-scheduler.xml
core: core-site.xml
distcp: distcp-default.xml
hdfs: hdfs-site.xml
hive: hive-site.xml
mapred: mapred-site.xml
pig: pig.properties
spark: spark-defaults.conf
yarn: yarn-site.xml
For more information, see Cluster
properties .
map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description key
String
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public SoftwareConfig getDefaultInstanceForType ()
getImageVersion()
public String getImageVersion ()
Optional. The version of software inside the cluster. It must be one of the
supported Dataproc
Versions ,
such as "1.2" (including a subminor version, such as "1.2.29"), or the
"preview"
version .
If unspecified, it defaults to the latest Debian version.
string image_version = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description String
The imageVersion.
getImageVersionBytes()
public ByteString getImageVersionBytes ()
Optional. The version of software inside the cluster. It must be one of the
supported Dataproc
Versions ,
such as "1.2" (including a subminor version, such as "1.2.29"), or the
"preview"
version .
If unspecified, it defaults to the latest Debian version.
string image_version = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description ByteString
The bytes for imageVersion.
getOptionalComponents(int index)
public Component getOptionalComponents ( int index )
Optional. The set of components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description index
int
The index of the element to return.
Returns Type Description Component
The optionalComponents at the given index.
getOptionalComponentsCount()
public int getOptionalComponentsCount ()
Optional. The set of components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description int
The count of optionalComponents.
getOptionalComponentsList()
public List<Component> getOptionalComponentsList ()
Optional. The set of components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description List <Component >
A list containing the optionalComponents.
getOptionalComponentsValue(int index)
public int getOptionalComponentsValue ( int index )
Optional. The set of components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description index
int
The index of the value to return.
Returns Type Description int
The enum numeric value on the wire of optionalComponents at the given index.
getOptionalComponentsValueList()
public List<Integer> getOptionalComponentsValueList ()
Optional. The set of components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description List <Integer >
A list containing the enum numeric values on the wire for optionalComponents.
getParserForType()
public Parser<SoftwareConfig> getParserForType ()
Overrides
getProperties()
public Map<String , String > getProperties ()
getPropertiesCount()
public int getPropertiesCount ()
Optional. The properties to set on daemon config files.
Property keys are specified in prefix:property
format, for example
core:hadoop.tmp.dir
. The following are supported prefixes
and their mappings:
capacity-scheduler: capacity-scheduler.xml
core: core-site.xml
distcp: distcp-default.xml
hdfs: hdfs-site.xml
hive: hive-site.xml
mapred: mapred-site.xml
pig: pig.properties
spark: spark-defaults.conf
yarn: yarn-site.xml
For more information, see Cluster
properties .
map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description int
getPropertiesMap()
public Map<String , String > getPropertiesMap ()
Optional. The properties to set on daemon config files.
Property keys are specified in prefix:property
format, for example
core:hadoop.tmp.dir
. The following are supported prefixes
and their mappings:
capacity-scheduler: capacity-scheduler.xml
core: core-site.xml
distcp: distcp-default.xml
hdfs: hdfs-site.xml
hive: hive-site.xml
mapred: mapred-site.xml
pig: pig.properties
spark: spark-defaults.conf
yarn: yarn-site.xml
For more information, see Cluster
properties .
map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
getPropertiesOrDefault(String key, String defaultValue)
public String getPropertiesOrDefault ( String key , String defaultValue )
Optional. The properties to set on daemon config files.
Property keys are specified in prefix:property
format, for example
core:hadoop.tmp.dir
. The following are supported prefixes
and their mappings:
capacity-scheduler: capacity-scheduler.xml
core: core-site.xml
distcp: distcp-default.xml
hdfs: hdfs-site.xml
hive: hive-site.xml
mapred: mapred-site.xml
pig: pig.properties
spark: spark-defaults.conf
yarn: yarn-site.xml
For more information, see Cluster
properties .
map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
getPropertiesOrThrow(String key)
public String getPropertiesOrThrow ( String key )
Optional. The properties to set on daemon config files.
Property keys are specified in prefix:property
format, for example
core:hadoop.tmp.dir
. The following are supported prefixes
and their mappings:
capacity-scheduler: capacity-scheduler.xml
core: core-site.xml
distcp: distcp-default.xml
hdfs: hdfs-site.xml
hive: hive-site.xml
mapred: mapred-site.xml
pig: pig.properties
spark: spark-defaults.conf
yarn: yarn-site.xml
For more information, see Cluster
properties .
map<string, string> properties = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description key
String
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter Name Description number
int
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public SoftwareConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SoftwareConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public SoftwareConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]