Struct google_api_proto::google::dataflow::v1beta3::WorkerSettings
source · pub struct WorkerSettings {
pub base_url: String,
pub reporting_enabled: bool,
pub service_path: String,
pub shuffle_service_path: String,
pub worker_id: String,
pub temp_storage_prefix: String,
}
Expand description
Provides data to pass through to the worker harness.
Fields§
§base_url: String
The base URL for accessing Google Cloud APIs.
When workers access Google Cloud APIs, they logically do so via relative URLs. If this field is specified, it supplies the base URL to use for resolving these relative URLs. The normative algorithm used is defined by RFC 1808, “Relative Uniform Resource Locators”.
If not specified, the default value is “http://www.googleapis.com/"
reporting_enabled: bool
Whether to send work progress updates to the service.
service_path: String
The Cloud Dataflow service path relative to the root URL, for example, “dataflow/v1b3/projects”.
shuffle_service_path: String
The Shuffle service path relative to the root URL, for example, “shuffle/v1beta1”.
worker_id: String
The ID of the worker running this pipeline.
temp_storage_prefix: String
The prefix of the resources the system should use for temporary storage.
The supported resource type is:
Google Cloud Storage:
storage.googleapis.com/{bucket}/{object} bucket.storage.googleapis.com/{object}
Trait Implementations§
source§impl Clone for WorkerSettings
impl Clone for WorkerSettings
source§fn clone(&self) -> WorkerSettings
fn clone(&self) -> WorkerSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WorkerSettings
impl Debug for WorkerSettings
source§impl Default for WorkerSettings
impl Default for WorkerSettings
source§impl Message for WorkerSettings
impl Message for WorkerSettings
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 WorkerSettings
impl PartialEq for WorkerSettings
source§fn eq(&self, other: &WorkerSettings) -> bool
fn eq(&self, other: &WorkerSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkerSettings
Auto Trait Implementations§
impl Freeze for WorkerSettings
impl RefUnwindSafe for WorkerSettings
impl Send for WorkerSettings
impl Sync for WorkerSettings
impl Unpin for WorkerSettings
impl UnwindSafe for WorkerSettings
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