Struct google_api_proto::google::dataflow::v1beta3::GetTemplateResponse
source · pub struct GetTemplateResponse {
pub status: Option<Status>,
pub metadata: Option<TemplateMetadata>,
pub template_type: i32,
pub runtime_metadata: Option<RuntimeMetadata>,
}
Expand description
The response to a GetTemplate request.
Fields§
§status: Option<Status>
The status of the get template request. Any problems with the request will be indicated in the error_details.
metadata: Option<TemplateMetadata>
The template metadata describing the template name, available parameters, etc.
template_type: i32
Template Type.
runtime_metadata: Option<RuntimeMetadata>
Describes the runtime metadata with SDKInfo and available parameters.
Implementations§
source§impl GetTemplateResponse
impl GetTemplateResponse
sourcepub fn template_type(&self) -> TemplateType
pub fn template_type(&self) -> TemplateType
Returns the enum value of template_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_template_type(&mut self, value: TemplateType)
pub fn set_template_type(&mut self, value: TemplateType)
Sets template_type
to the provided enum value.
Trait Implementations§
source§impl Clone for GetTemplateResponse
impl Clone for GetTemplateResponse
source§fn clone(&self) -> GetTemplateResponse
fn clone(&self) -> GetTemplateResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetTemplateResponse
impl Debug for GetTemplateResponse
source§impl Default for GetTemplateResponse
impl Default for GetTemplateResponse
source§impl Message for GetTemplateResponse
impl Message for GetTemplateResponse
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl PartialEq for GetTemplateResponse
impl PartialEq for GetTemplateResponse
source§fn eq(&self, other: &GetTemplateResponse) -> bool
fn eq(&self, other: &GetTemplateResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetTemplateResponse
Auto Trait Implementations§
impl Freeze for GetTemplateResponse
impl RefUnwindSafe for GetTemplateResponse
impl Send for GetTemplateResponse
impl Sync for GetTemplateResponse
impl Unpin for GetTemplateResponse
impl UnwindSafe for GetTemplateResponse
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request