Struct google_api_proto::google::cloud::dialogflow::cx::v3::ExportEntityTypesRequest
source · pub struct ExportEntityTypesRequest {
pub parent: String,
pub entity_types: Vec<String>,
pub data_format: i32,
pub language_code: String,
pub destination: Option<Destination>,
}
Expand description
The request message for [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes].
Fields§
§parent: String
Required. The name of the parent agent to export entity types.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
entity_types: Vec<String>
Required. The name of the entity types to export.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/entityTypes/<EntityType ID>
.
data_format: i32
Optional. The data format of the exported entity types. If not specified,
BLOB
is assumed.
language_code: String
Optional. The language to retrieve the entity type for. The following fields are language dependent:
EntityType.entities.value
EntityType.entities.synonyms
EntityType.excluded_phrases.value
If not specified, all language dependent fields will be retrieved. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
destination: Option<Destination>
The destination to export.
Implementations§
source§impl ExportEntityTypesRequest
impl ExportEntityTypesRequest
sourcepub fn data_format(&self) -> DataFormat
pub fn data_format(&self) -> DataFormat
Returns the enum value of data_format
, or the default if the field is set to an invalid enum value.
sourcepub fn set_data_format(&mut self, value: DataFormat)
pub fn set_data_format(&mut self, value: DataFormat)
Sets data_format
to the provided enum value.
Trait Implementations§
source§impl Clone for ExportEntityTypesRequest
impl Clone for ExportEntityTypesRequest
source§fn clone(&self) -> ExportEntityTypesRequest
fn clone(&self) -> ExportEntityTypesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExportEntityTypesRequest
impl Debug for ExportEntityTypesRequest
source§impl Default for ExportEntityTypesRequest
impl Default for ExportEntityTypesRequest
source§impl Message for ExportEntityTypesRequest
impl Message for ExportEntityTypesRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for ExportEntityTypesRequest
impl PartialEq for ExportEntityTypesRequest
source§fn eq(&self, other: &ExportEntityTypesRequest) -> bool
fn eq(&self, other: &ExportEntityTypesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportEntityTypesRequest
Auto Trait Implementations§
impl Freeze for ExportEntityTypesRequest
impl RefUnwindSafe for ExportEntityTypesRequest
impl Send for ExportEntityTypesRequest
impl Sync for ExportEntityTypesRequest
impl Unpin for ExportEntityTypesRequest
impl UnwindSafe for ExportEntityTypesRequest
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