public interface SoftwareConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperties(String key)
Optional.
|
String |
getImageVersion()
Optional.
|
com.google.protobuf.ByteString |
getImageVersionBytes()
Optional.
|
Component |
getOptionalComponents(int index)
The set of optional components to activate on the cluster.
|
int |
getOptionalComponentsCount()
The set of optional components to activate on the cluster.
|
List<Component> |
getOptionalComponentsList()
The set of optional components to activate on the cluster.
|
int |
getOptionalComponentsValue(int index)
The set of optional components to activate on the cluster.
|
List<Integer> |
getOptionalComponentsValueList()
The set of optional components to activate on the cluster.
|
Map<String,String> |
getProperties()
Deprecated.
|
int |
getPropertiesCount()
Optional.
|
Map<String,String> |
getPropertiesMap()
Optional.
|
String |
getPropertiesOrDefault(String key,
String defaultValue)
Optional.
|
String |
getPropertiesOrThrow(String key)
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getImageVersion()
Optional. The version of software inside the cluster. It must be one of the supported [Cloud Dataproc Versions](/dataproc/docs/concepts/versioning/dataproc-versions#supported_cloud_dataproc_versions), such as "1.2" (including a subminor version, such as "1.2.29"), or the ["preview" version](/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version.
string image_version = 1;com.google.protobuf.ByteString getImageVersionBytes()
Optional. The version of software inside the cluster. It must be one of the supported [Cloud Dataproc Versions](/dataproc/docs/concepts/versioning/dataproc-versions#supported_cloud_dataproc_versions), such as "1.2" (including a subminor version, such as "1.2.29"), or the ["preview" version](/dataproc/docs/concepts/versioning/dataproc-versions#other_versions). If unspecified, it defaults to the latest Debian version.
string image_version = 1;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](/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;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](/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;@Deprecated Map<String,String> getProperties()
getPropertiesMap() instead.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](/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;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](/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;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](/dataproc/docs/concepts/cluster-properties).
map<string, string> properties = 2;List<Component> getOptionalComponentsList()
The set of optional components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3;int getOptionalComponentsCount()
The set of optional components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3;Component getOptionalComponents(int index)
The set of optional components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3;List<Integer> getOptionalComponentsValueList()
The set of optional components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3;int getOptionalComponentsValue(int index)
The set of optional components to activate on the cluster.
repeated .google.cloud.dataproc.v1.Component optional_components = 3;Copyright © 2019 Google LLC. All rights reserved.