public static final class EntityTypesGrpc.EntityTypesStub extends AbstractAsyncStub<EntityTypesGrpc.EntityTypesStub>
Service for managing [EntityTypes][google.cloud.dialogflow.v2beta1.EntityType].
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
void |
batchCreateEntities(BatchCreateEntitiesRequest request,
StreamObserver<Operation> responseObserver)
Creates multiple new entities in the specified entity type.
|
void |
batchDeleteEntities(BatchDeleteEntitiesRequest request,
StreamObserver<Operation> responseObserver)
Deletes entities in the specified entity type.
|
void |
batchDeleteEntityTypes(BatchDeleteEntityTypesRequest request,
StreamObserver<Operation> responseObserver)
Deletes entity types in the specified agent.
|
void |
batchUpdateEntities(BatchUpdateEntitiesRequest request,
StreamObserver<Operation> responseObserver)
Updates or creates multiple entities in the specified entity type.
|
void |
batchUpdateEntityTypes(BatchUpdateEntityTypesRequest request,
StreamObserver<Operation> responseObserver)
Updates/Creates multiple entity types in the specified agent.
|
protected EntityTypesGrpc.EntityTypesStub |
build(Channel channel,
CallOptions callOptions) |
void |
createEntityType(CreateEntityTypeRequest request,
StreamObserver<EntityType> responseObserver)
Creates an entity type in the specified agent.
|
void |
deleteEntityType(DeleteEntityTypeRequest request,
StreamObserver<Empty> responseObserver)
Deletes the specified entity type.
|
void |
getEntityType(GetEntityTypeRequest request,
StreamObserver<EntityType> responseObserver)
Retrieves the specified entity type.
|
void |
listEntityTypes(ListEntityTypesRequest request,
StreamObserver<ListEntityTypesResponse> responseObserver)
Returns the list of all entity types in the specified agent.
|
void |
updateEntityType(UpdateEntityTypeRequest request,
StreamObserver<EntityType> responseObserver)
Updates the specified entity type.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected EntityTypesGrpc.EntityTypesStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<EntityTypesGrpc.EntityTypesStub>
public void listEntityTypes(ListEntityTypesRequest request, StreamObserver<ListEntityTypesResponse> responseObserver)
Returns the list of all entity types in the specified agent.
public void getEntityType(GetEntityTypeRequest request, StreamObserver<EntityType> responseObserver)
Retrieves the specified entity type.
public void createEntityType(CreateEntityTypeRequest request, StreamObserver<EntityType> responseObserver)
Creates an entity type in the specified agent.
public void updateEntityType(UpdateEntityTypeRequest request, StreamObserver<EntityType> responseObserver)
Updates the specified entity type.
public void deleteEntityType(DeleteEntityTypeRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified entity type.
public void batchUpdateEntityTypes(BatchUpdateEntityTypesRequest request, StreamObserver<Operation> responseObserver)
Updates/Creates multiple entity types in the specified agent. Operation <response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse]>
public void batchDeleteEntityTypes(BatchDeleteEntityTypesRequest request, StreamObserver<Operation> responseObserver)
Deletes entity types in the specified agent. Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
public void batchCreateEntities(BatchCreateEntitiesRequest request, StreamObserver<Operation> responseObserver)
Creates multiple new entities in the specified entity type. Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
public void batchUpdateEntities(BatchUpdateEntitiesRequest request, 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. Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
public void batchDeleteEntities(BatchDeleteEntitiesRequest request, StreamObserver<Operation> responseObserver)
Deletes entities in the specified entity type. Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
Copyright © 2021 Google LLC. All rights reserved.