Package com.google.cloud.dialogflow.v2
Class EntityTypesGrpc.EntityTypesBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<EntityTypesGrpc.EntityTypesBlockingV2Stub>
com.google.cloud.dialogflow.v2.EntityTypesGrpc.EntityTypesBlockingV2Stub
- Enclosing class:
- EntityTypesGrpc
public static final class EntityTypesGrpc.EntityTypesBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<EntityTypesGrpc.EntityTypesBlockingV2Stub>
A stub to allow clients to do synchronous 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 TypeMethodDescriptionCreates multiple new entities in the specified entity type.Deletes entities in the specified entity type.Deletes entity types in the specified agent.Updates or creates multiple entities in the specified entity type.Updates/Creates multiple entity types in the specified agent.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createEntityType(CreateEntityTypeRequest request) Creates an entity type in the specified agent.com.google.protobuf.EmptydeleteEntityType(DeleteEntityTypeRequest request) Deletes the specified entity type.getEntityType(GetEntityTypeRequest request) Retrieves the specified entity type.listEntityTypes(ListEntityTypesRequest request) Returns the list of all entity types in the specified agent.updateEntityType(UpdateEntityTypeRequest request) Updates the specified entity type.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.EntityTypesBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EntityTypesGrpc.EntityTypesBlockingV2Stub>
-
listEntityTypes
public ListEntityTypesResponse listEntityTypes(ListEntityTypesRequest request) throws io.grpc.StatusException Returns the list of all entity types in the specified agent.
- Throws:
io.grpc.StatusException
-
getEntityType
Retrieves the specified entity type.
- Throws:
io.grpc.StatusException
-
createEntityType
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).
- Throws:
io.grpc.StatusException
-
updateEntityType
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).
- Throws:
io.grpc.StatusException
-
deleteEntityType
public com.google.protobuf.Empty deleteEntityType(DeleteEntityTypeRequest request) throws io.grpc.StatusException 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).
- Throws:
io.grpc.StatusException
-
batchUpdateEntityTypes
public Operation batchUpdateEntityTypes(BatchUpdateEntityTypesRequest request) throws io.grpc.StatusException 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).
- Throws:
io.grpc.StatusException
-
batchDeleteEntityTypes
public Operation batchDeleteEntityTypes(BatchDeleteEntityTypesRequest request) throws io.grpc.StatusException 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).
- Throws:
io.grpc.StatusException
-
batchCreateEntities
public Operation batchCreateEntities(BatchCreateEntitiesRequest request) throws io.grpc.StatusException 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).
- Throws:
io.grpc.StatusException
-
batchUpdateEntities
public Operation batchUpdateEntities(BatchUpdateEntitiesRequest request) throws io.grpc.StatusException 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).
- Throws:
io.grpc.StatusException
-
batchDeleteEntities
public Operation batchDeleteEntities(BatchDeleteEntitiesRequest request) throws io.grpc.StatusException 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).
- Throws:
io.grpc.StatusException
-