Package com.google.cloud.vision.v1
Class ProductSearchGrpc
- java.lang.Object
-
- com.google.cloud.vision.v1.ProductSearchGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/vision/v1/product_search_service.proto") public final class ProductSearchGrpc extends Object
Manages Products and ProductSets of reference images for use in product search. It uses the following resource model: - The API has a collection of [ProductSet][google.cloud.vision.v1.ProductSet] resources, named `projects/*/locations/*/productSets/*`, which acts as a way to put different products into groups to limit identification. In parallel, - The API has a collection of [Product][google.cloud.vision.v1.Product] resources, named `projects/*/locations/*/products/*` - Each [Product][google.cloud.vision.v1.Product] has a collection of [ReferenceImage][google.cloud.vision.v1.ReferenceImage] resources, named `projects/*/locations/*/products/*/referenceImages/*`
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ProductSearchGrpc.AsyncService
Manages Products and ProductSets of reference images for use in product search.static class
ProductSearchGrpc.ProductSearchBlockingStub
A stub to allow clients to do synchronous rpc calls to service ProductSearch.static class
ProductSearchGrpc.ProductSearchFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service ProductSearch.static class
ProductSearchGrpc.ProductSearchImplBase
Base class for the server implementation of the service ProductSearch.static class
ProductSearchGrpc.ProductSearchStub
A stub to allow clients to do asynchronous rpc calls to service ProductSearch.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(ProductSearchGrpc.AsyncService service)
static io.grpc.MethodDescriptor<AddProductToProductSetRequest,com.google.protobuf.Empty>
getAddProductToProductSetMethod()
static io.grpc.MethodDescriptor<CreateProductRequest,Product>
getCreateProductMethod()
static io.grpc.MethodDescriptor<CreateProductSetRequest,ProductSet>
getCreateProductSetMethod()
static io.grpc.MethodDescriptor<CreateReferenceImageRequest,ReferenceImage>
getCreateReferenceImageMethod()
static io.grpc.MethodDescriptor<DeleteProductRequest,com.google.protobuf.Empty>
getDeleteProductMethod()
static io.grpc.MethodDescriptor<DeleteProductSetRequest,com.google.protobuf.Empty>
getDeleteProductSetMethod()
static io.grpc.MethodDescriptor<DeleteReferenceImageRequest,com.google.protobuf.Empty>
getDeleteReferenceImageMethod()
static io.grpc.MethodDescriptor<GetProductRequest,Product>
getGetProductMethod()
static io.grpc.MethodDescriptor<GetProductSetRequest,ProductSet>
getGetProductSetMethod()
static io.grpc.MethodDescriptor<GetReferenceImageRequest,ReferenceImage>
getGetReferenceImageMethod()
static io.grpc.MethodDescriptor<ImportProductSetsRequest,com.google.longrunning.Operation>
getImportProductSetsMethod()
static io.grpc.MethodDescriptor<ListProductSetsRequest,ListProductSetsResponse>
getListProductSetsMethod()
static io.grpc.MethodDescriptor<ListProductsInProductSetRequest,ListProductsInProductSetResponse>
getListProductsInProductSetMethod()
static io.grpc.MethodDescriptor<ListProductsRequest,ListProductsResponse>
getListProductsMethod()
static io.grpc.MethodDescriptor<ListReferenceImagesRequest,ListReferenceImagesResponse>
getListReferenceImagesMethod()
static io.grpc.MethodDescriptor<PurgeProductsRequest,com.google.longrunning.Operation>
getPurgeProductsMethod()
static io.grpc.MethodDescriptor<RemoveProductFromProductSetRequest,com.google.protobuf.Empty>
getRemoveProductFromProductSetMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static io.grpc.MethodDescriptor<UpdateProductRequest,Product>
getUpdateProductMethod()
static io.grpc.MethodDescriptor<UpdateProductSetRequest,ProductSet>
getUpdateProductSetMethod()
static ProductSearchGrpc.ProductSearchBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic ProductSearchGrpc.ProductSearchFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ProductSearchGrpc.ProductSearchStub
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreateProductSetMethod
public static io.grpc.MethodDescriptor<CreateProductSetRequest,ProductSet> getCreateProductSetMethod()
-
getListProductSetsMethod
public static io.grpc.MethodDescriptor<ListProductSetsRequest,ListProductSetsResponse> getListProductSetsMethod()
-
getGetProductSetMethod
public static io.grpc.MethodDescriptor<GetProductSetRequest,ProductSet> getGetProductSetMethod()
-
getUpdateProductSetMethod
public static io.grpc.MethodDescriptor<UpdateProductSetRequest,ProductSet> getUpdateProductSetMethod()
-
getDeleteProductSetMethod
public static io.grpc.MethodDescriptor<DeleteProductSetRequest,com.google.protobuf.Empty> getDeleteProductSetMethod()
-
getCreateProductMethod
public static io.grpc.MethodDescriptor<CreateProductRequest,Product> getCreateProductMethod()
-
getListProductsMethod
public static io.grpc.MethodDescriptor<ListProductsRequest,ListProductsResponse> getListProductsMethod()
-
getGetProductMethod
public static io.grpc.MethodDescriptor<GetProductRequest,Product> getGetProductMethod()
-
getUpdateProductMethod
public static io.grpc.MethodDescriptor<UpdateProductRequest,Product> getUpdateProductMethod()
-
getDeleteProductMethod
public static io.grpc.MethodDescriptor<DeleteProductRequest,com.google.protobuf.Empty> getDeleteProductMethod()
-
getCreateReferenceImageMethod
public static io.grpc.MethodDescriptor<CreateReferenceImageRequest,ReferenceImage> getCreateReferenceImageMethod()
-
getDeleteReferenceImageMethod
public static io.grpc.MethodDescriptor<DeleteReferenceImageRequest,com.google.protobuf.Empty> getDeleteReferenceImageMethod()
-
getListReferenceImagesMethod
public static io.grpc.MethodDescriptor<ListReferenceImagesRequest,ListReferenceImagesResponse> getListReferenceImagesMethod()
-
getGetReferenceImageMethod
public static io.grpc.MethodDescriptor<GetReferenceImageRequest,ReferenceImage> getGetReferenceImageMethod()
-
getAddProductToProductSetMethod
public static io.grpc.MethodDescriptor<AddProductToProductSetRequest,com.google.protobuf.Empty> getAddProductToProductSetMethod()
-
getRemoveProductFromProductSetMethod
public static io.grpc.MethodDescriptor<RemoveProductFromProductSetRequest,com.google.protobuf.Empty> getRemoveProductFromProductSetMethod()
-
getListProductsInProductSetMethod
public static io.grpc.MethodDescriptor<ListProductsInProductSetRequest,ListProductsInProductSetResponse> getListProductsInProductSetMethod()
-
getImportProductSetsMethod
public static io.grpc.MethodDescriptor<ImportProductSetsRequest,com.google.longrunning.Operation> getImportProductSetsMethod()
-
getPurgeProductsMethod
public static io.grpc.MethodDescriptor<PurgeProductsRequest,com.google.longrunning.Operation> getPurgeProductsMethod()
-
newStub
public static ProductSearchGrpc.ProductSearchStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static ProductSearchGrpc.ProductSearchBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static ProductSearchGrpc.ProductSearchFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(ProductSearchGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-