Enum google_api_proto::google::cloud::dialogflow::cx::v3::import_entity_types_request::EntityTypes
source · pub enum EntityTypes {
EntityTypesUri(String),
EntityTypesContent(InlineSource),
}
Expand description
Required. The entity types to import.
Variants§
EntityTypesUri(String)
The Google Cloud Storage URI
to import entity types from. The format of this URI must be
gs://<bucket-name>/<object-name>
.
Dialogflow performs a read operation for the Cloud Storage object on the caller’s behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
EntityTypesContent(InlineSource)
Uncompressed byte content of entity types.
Implementations§
source§impl EntityTypes
impl EntityTypes
sourcepub fn merge<B>(
field: &mut Option<EntityTypes>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<EntityTypes>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for EntityTypes
impl Clone for EntityTypes
source§fn clone(&self) -> EntityTypes
fn clone(&self) -> EntityTypes
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 EntityTypes
impl Debug for EntityTypes
source§impl PartialEq for EntityTypes
impl PartialEq for EntityTypes
source§fn eq(&self, other: &EntityTypes) -> bool
fn eq(&self, other: &EntityTypes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EntityTypes
Auto Trait Implementations§
impl !Freeze for EntityTypes
impl RefUnwindSafe for EntityTypes
impl Send for EntityTypes
impl Sync for EntityTypes
impl Unpin for EntityTypes
impl UnwindSafe for EntityTypes
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