@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/vision/v1p4beta1/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.v1p4beta1.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.v1p4beta1.Product] resources, named `projects/*/locations/*/products/*` - Each [Product][google.cloud.vision.v1p4beta1.Product] has a collection of [ReferenceImage][google.cloud.vision.v1p4beta1.ReferenceImage] resources, named `projects/*/locations/*/products/*/referenceImages/*`
| Modifier and Type | Class and Description |
|---|---|
static class |
ProductSearchGrpc.ProductSearchBlockingStub
Manages Products and ProductSets of reference images for use in product
search.
|
static class |
ProductSearchGrpc.ProductSearchFutureStub
Manages Products and ProductSets of reference images for use in product
search.
|
static class |
ProductSearchGrpc.ProductSearchImplBase
Manages Products and ProductSets of reference images for use in product
search.
|
static class |
ProductSearchGrpc.ProductSearchStub
Manages Products and ProductSets of reference images for use in product
search.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
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 service
|
static ProductSearchGrpc.ProductSearchFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static ProductSearchGrpc.ProductSearchStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static final String SERVICE_NAME
public static io.grpc.MethodDescriptor<CreateProductSetRequest,ProductSet> getCreateProductSetMethod()
public static io.grpc.MethodDescriptor<ListProductSetsRequest,ListProductSetsResponse> getListProductSetsMethod()
public static io.grpc.MethodDescriptor<GetProductSetRequest,ProductSet> getGetProductSetMethod()
public static io.grpc.MethodDescriptor<UpdateProductSetRequest,ProductSet> getUpdateProductSetMethod()
public static io.grpc.MethodDescriptor<DeleteProductSetRequest,com.google.protobuf.Empty> getDeleteProductSetMethod()
public static io.grpc.MethodDescriptor<CreateProductRequest,Product> getCreateProductMethod()
public static io.grpc.MethodDescriptor<ListProductsRequest,ListProductsResponse> getListProductsMethod()
public static io.grpc.MethodDescriptor<GetProductRequest,Product> getGetProductMethod()
public static io.grpc.MethodDescriptor<UpdateProductRequest,Product> getUpdateProductMethod()
public static io.grpc.MethodDescriptor<DeleteProductRequest,com.google.protobuf.Empty> getDeleteProductMethod()
public static io.grpc.MethodDescriptor<CreateReferenceImageRequest,ReferenceImage> getCreateReferenceImageMethod()
public static io.grpc.MethodDescriptor<DeleteReferenceImageRequest,com.google.protobuf.Empty> getDeleteReferenceImageMethod()
public static io.grpc.MethodDescriptor<ListReferenceImagesRequest,ListReferenceImagesResponse> getListReferenceImagesMethod()
public static io.grpc.MethodDescriptor<GetReferenceImageRequest,ReferenceImage> getGetReferenceImageMethod()
public static io.grpc.MethodDescriptor<AddProductToProductSetRequest,com.google.protobuf.Empty> getAddProductToProductSetMethod()
public static io.grpc.MethodDescriptor<RemoveProductFromProductSetRequest,com.google.protobuf.Empty> getRemoveProductFromProductSetMethod()
public static io.grpc.MethodDescriptor<ListProductsInProductSetRequest,ListProductsInProductSetResponse> getListProductsInProductSetMethod()
public static io.grpc.MethodDescriptor<ImportProductSetsRequest,com.google.longrunning.Operation> getImportProductSetsMethod()
public static io.grpc.MethodDescriptor<PurgeProductsRequest,com.google.longrunning.Operation> getPurgeProductsMethod()
public static ProductSearchGrpc.ProductSearchStub newStub(io.grpc.Channel channel)
public static ProductSearchGrpc.ProductSearchBlockingStub newBlockingStub(io.grpc.Channel channel)
public static ProductSearchGrpc.ProductSearchFutureStub newFutureStub(io.grpc.Channel channel)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
Copyright © 2020 Google LLC. All rights reserved.