Package com.google.cloud.dialogflow.v2
Class EntityTypesGrpc.EntityTypesStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<EntityTypesGrpc.EntityTypesStub>
com.google.cloud.dialogflow.v2.EntityTypesGrpc.EntityTypesStub
- Enclosing class:
- EntityTypesGrpc
public static final class EntityTypesGrpc.EntityTypesStub
extends io.grpc.stub.AbstractAsyncStub<EntityTypesGrpc.EntityTypesStub>
A stub to allow clients to do asynchronous rpc calls to service EntityTypes.
Service for managing [EntityTypes][google.cloud.dialogflow.v2.EntityType].
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionvoidbatchCreateEntities(BatchCreateEntitiesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates multiple new entities in the specified entity type.voidbatchDeleteEntities(BatchDeleteEntitiesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes entities in the specified entity type.voidbatchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes entity types in the specified agent.voidbatchUpdateEntities(BatchUpdateEntitiesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates or creates multiple entities in the specified entity type.voidbatchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates/Creates multiple entity types in the specified agent.protected EntityTypesGrpc.EntityTypesStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateEntityType(CreateEntityTypeRequest request, io.grpc.stub.StreamObserver<EntityType> responseObserver) Creates an entity type in the specified agent.voiddeleteEntityType(DeleteEntityTypeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified entity type.voidgetEntityType(GetEntityTypeRequest request, io.grpc.stub.StreamObserver<EntityType> responseObserver) Retrieves the specified entity type.voidlistEntityTypes(ListEntityTypesRequest request, io.grpc.stub.StreamObserver<ListEntityTypesResponse> responseObserver) Returns the list of all entity types in the specified agent.voidupdateEntityType(UpdateEntityTypeRequest request, io.grpc.stub.StreamObserver<EntityType> responseObserver) Updates the specified entity type.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected EntityTypesGrpc.EntityTypesStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EntityTypesGrpc.EntityTypesStub>
-
listEntityTypes
public void listEntityTypes(ListEntityTypesRequest request, io.grpc.stub.StreamObserver<ListEntityTypesResponse> responseObserver) Returns the list of all entity types in the specified agent.
-
getEntityType
public void getEntityType(GetEntityTypeRequest request, io.grpc.stub.StreamObserver<EntityType> responseObserver) Retrieves the specified entity type.
-
createEntityType
public void createEntityType(CreateEntityTypeRequest request, io.grpc.stub.StreamObserver<EntityType> responseObserver) Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
updateEntityType
public void updateEntityType(UpdateEntityTypeRequest request, io.grpc.stub.StreamObserver<EntityType> responseObserver) Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
deleteEntityType
public void deleteEntityType(DeleteEntityTypeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
batchUpdateEntityTypes
public void batchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates/Creates multiple entity types in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse] Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
batchDeleteEntityTypes
public void batchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes entity types in the specified agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
batchCreateEntities
public void batchCreateEntities(BatchCreateEntitiesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates multiple new entities in the specified entity type. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
batchUpdateEntities
public void batchUpdateEntities(BatchUpdateEntitiesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-
batchDeleteEntities
public void batchDeleteEntities(BatchDeleteEntitiesRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes entities in the specified entity type. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).
-