Interface DocumentSchemaServiceGrpc.AsyncService
-
- All Known Implementing Classes:
DocumentSchemaServiceGrpc.DocumentSchemaServiceImplBase
- Enclosing class:
- DocumentSchemaServiceGrpc
public static interface DocumentSchemaServiceGrpc.AsyncService
This service lets you manage document schema.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
createDocumentSchema(CreateDocumentSchemaRequest request, io.grpc.stub.StreamObserver<DocumentSchema> responseObserver)
Creates a document schema.default void
deleteDocumentSchema(DeleteDocumentSchemaRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a document schema.default void
getDocumentSchema(GetDocumentSchemaRequest request, io.grpc.stub.StreamObserver<DocumentSchema> responseObserver)
Gets a document schema.default void
listDocumentSchemas(ListDocumentSchemasRequest request, io.grpc.stub.StreamObserver<ListDocumentSchemasResponse> responseObserver)
Lists document schemas.default void
updateDocumentSchema(UpdateDocumentSchemaRequest request, io.grpc.stub.StreamObserver<DocumentSchema> responseObserver)
Updates a Document Schema.
-
-
-
Method Detail
-
createDocumentSchema
default void createDocumentSchema(CreateDocumentSchemaRequest request, io.grpc.stub.StreamObserver<DocumentSchema> responseObserver)
Creates a document schema.
-
updateDocumentSchema
default void updateDocumentSchema(UpdateDocumentSchemaRequest request, io.grpc.stub.StreamObserver<DocumentSchema> responseObserver)
Updates a Document Schema. Returns INVALID_ARGUMENT if the name of the Document Schema is non-empty and does not equal the existing name. Supports only appending new properties, adding new ENUM possible values, and updating the [EnumTypeOptions.validation_check_disabled][google.cloud.contentwarehouse.v1.EnumTypeOptions.validation_check_disabled] flag for ENUM possible values. Updating existing properties will result into INVALID_ARGUMENT.
-
getDocumentSchema
default void getDocumentSchema(GetDocumentSchemaRequest request, io.grpc.stub.StreamObserver<DocumentSchema> responseObserver)
Gets a document schema. Returns NOT_FOUND if the document schema does not exist.
-
deleteDocumentSchema
default void deleteDocumentSchema(DeleteDocumentSchemaRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a document schema. Returns NOT_FOUND if the document schema does not exist. Returns BAD_REQUEST if the document schema has documents depending on it.
-
listDocumentSchemas
default void listDocumentSchemas(ListDocumentSchemasRequest request, io.grpc.stub.StreamObserver<ListDocumentSchemasResponse> responseObserver)
Lists document schemas.
-
-