Struct google_api_proto::google::cloud::dataproc::v1::SoftwareConfig
source · pub struct SoftwareConfig {
pub image_version: String,
pub properties: BTreeMap<String, String>,
pub optional_components: Vec<i32>,
}
Expand description
Specifies the selection and config of software inside the cluster.
Fields§
§image_version: String
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.
properties: BTreeMap<String, String>
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.
optional_components: Vec<i32>
Optional. The set of components to activate on the cluster.
Implementations§
source§impl SoftwareConfig
impl SoftwareConfig
sourcepub fn optional_components(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<Component>>
pub fn optional_components( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<Component>>
Returns an iterator which yields the valid enum values contained in optional_components
.
sourcepub fn push_optional_components(&mut self, value: Component)
pub fn push_optional_components(&mut self, value: Component)
Appends the provided enum value to optional_components
.
Trait Implementations§
source§impl Clone for SoftwareConfig
impl Clone for SoftwareConfig
source§fn clone(&self) -> SoftwareConfig
fn clone(&self) -> SoftwareConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SoftwareConfig
impl Debug for SoftwareConfig
source§impl Default for SoftwareConfig
impl Default for SoftwareConfig
source§impl Message for SoftwareConfig
impl Message for SoftwareConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for SoftwareConfig
impl PartialEq for SoftwareConfig
source§fn eq(&self, other: &SoftwareConfig) -> bool
fn eq(&self, other: &SoftwareConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SoftwareConfig
Auto Trait Implementations§
impl Freeze for SoftwareConfig
impl RefUnwindSafe for SoftwareConfig
impl Send for SoftwareConfig
impl Sync for SoftwareConfig
impl Unpin for SoftwareConfig
impl UnwindSafe for SoftwareConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request