public static final class EntityTypesGrpc.EntityTypesStub extends io.grpc.stub.AbstractAsyncStub<EntityTypesGrpc.EntityTypesStub>
Service for managing [EntityTypes][google.cloud.dialogflow.cx.v3.EntityType].
| Modifier and Type | Method and Description |
|---|---|
protected EntityTypesGrpc.EntityTypesStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createEntityType(CreateEntityTypeRequest request,
io.grpc.stub.StreamObserver<EntityType> responseObserver)
Creates an entity type in the specified agent.
|
void |
deleteEntityType(DeleteEntityTypeRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified entity type.
|
void |
getEntityType(GetEntityTypeRequest request,
io.grpc.stub.StreamObserver<EntityType> responseObserver)
Retrieves the specified entity type.
|
void |
listEntityTypes(ListEntityTypesRequest request,
io.grpc.stub.StreamObserver<ListEntityTypesResponse> responseObserver)
Returns the list of all entity types in the specified agent.
|
void |
updateEntityType(UpdateEntityTypeRequest request,
io.grpc.stub.StreamObserver<EntityType> responseObserver)
Updates the specified entity type.
|
protected EntityTypesGrpc.EntityTypesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<EntityTypesGrpc.EntityTypesStub>public void listEntityTypes(ListEntityTypesRequest request, io.grpc.stub.StreamObserver<ListEntityTypesResponse> responseObserver)
Returns the list of all entity types in the specified agent.
public void getEntityType(GetEntityTypeRequest request, io.grpc.stub.StreamObserver<EntityType> responseObserver)
Retrieves the specified entity type.
public void createEntityType(CreateEntityTypeRequest request, io.grpc.stub.StreamObserver<EntityType> responseObserver)
Creates an entity type in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
public void updateEntityType(UpdateEntityTypeRequest request, io.grpc.stub.StreamObserver<EntityType> responseObserver)
Updates the specified entity type. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
public void deleteEntityType(DeleteEntityTypeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified entity type. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
Copyright © 2023 Google LLC. All rights reserved.