Class EntityTypesGrpc.EntityTypesFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<EntityTypesGrpc.EntityTypesFutureStub>
-
- com.google.cloud.dialogflow.v2beta1.EntityTypesGrpc.EntityTypesFutureStub
-
- Enclosing class:
- EntityTypesGrpc
public static final class EntityTypesGrpc.EntityTypesFutureStub extends io.grpc.stub.AbstractFutureStub<EntityTypesGrpc.EntityTypesFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service EntityTypes.Service for managing [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
batchCreateEntities(BatchCreateEntitiesRequest request)
Creates multiple new entities in the specified entity type.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
batchDeleteEntities(BatchDeleteEntitiesRequest request)
Deletes entities in the specified entity type.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
batchDeleteEntityTypes(BatchDeleteEntityTypesRequest request)
Deletes entity types in the specified agent.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
batchUpdateEntities(BatchUpdateEntitiesRequest request)
Updates or creates multiple entities in the specified entity type.com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
batchUpdateEntityTypes(BatchUpdateEntityTypesRequest request)
Updates/Creates multiple entity types in the specified agent.protected EntityTypesGrpc.EntityTypesFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<EntityType>
createEntityType(CreateEntityTypeRequest request)
Creates an entity type in the specified agent.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteEntityType(DeleteEntityTypeRequest request)
Deletes the specified entity type.com.google.common.util.concurrent.ListenableFuture<EntityType>
getEntityType(GetEntityTypeRequest request)
Retrieves the specified entity type.com.google.common.util.concurrent.ListenableFuture<ListEntityTypesResponse>
listEntityTypes(ListEntityTypesRequest request)
Returns the list of all entity types in the specified agent.com.google.common.util.concurrent.ListenableFuture<EntityType>
updateEntityType(UpdateEntityTypeRequest request)
Updates the specified entity type.
-
-
-
Method Detail
-
build
protected EntityTypesGrpc.EntityTypesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<EntityTypesGrpc.EntityTypesFutureStub>
-
listEntityTypes
public com.google.common.util.concurrent.ListenableFuture<ListEntityTypesResponse> listEntityTypes(ListEntityTypesRequest request)
Returns the list of all entity types in the specified agent.
-
getEntityType
public com.google.common.util.concurrent.ListenableFuture<EntityType> getEntityType(GetEntityTypeRequest request)
Retrieves the specified entity type.
-
createEntityType
public com.google.common.util.concurrent.ListenableFuture<EntityType> createEntityType(CreateEntityTypeRequest request)
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 com.google.common.util.concurrent.ListenableFuture<EntityType> updateEntityType(UpdateEntityTypeRequest request)
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 com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteEntityType(DeleteEntityTypeRequest request)
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 com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> batchUpdateEntityTypes(BatchUpdateEntityTypesRequest request)
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.v2beta1.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 com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> batchDeleteEntityTypes(BatchDeleteEntityTypesRequest request)
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 com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> batchCreateEntities(BatchCreateEntitiesRequest request)
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 com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> batchUpdateEntities(BatchUpdateEntitiesRequest request)
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. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). 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)
-
batchDeleteEntities
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> batchDeleteEntities(BatchDeleteEntitiesRequest request)
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).
-
-