Enum googapis::google::cloud::dialogflow::v2::batch_update_entity_types_request::EntityTypeBatch [−][src]
pub enum EntityTypeBatch {
EntityTypeBatchUri(String),
EntityTypeBatchInline(EntityTypeBatch),
}
Expand description
The source of the entity type batch.
For each entity type in the batch:
- If
name
is specified, we update an existing entity type. - If
name
is not specified, we create a new entity type.
Variants
EntityTypeBatchUri(String)
The URI to a Google Cloud Storage file containing entity types to update or create. The file format can either be a serialized proto (of EntityBatch type) or a JSON object. Note: The URI must start with “gs://”.
Tuple Fields of EntityTypeBatchUri
0: String
EntityTypeBatchInline(EntityTypeBatch)
The collection of entity types to update or create.
Tuple Fields of EntityTypeBatchInline
Implementations
pub fn merge<B>(
field: &mut Option<EntityTypeBatch>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EntityTypeBatch
impl Send for EntityTypeBatch
impl Sync for EntityTypeBatch
impl Unpin for EntityTypeBatch
impl UnwindSafe for EntityTypeBatch
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more