Documentation ¶
Index ¶
- Variables
- func RegisterMerchantReviewsServiceServer(s *grpc.Server, srv MerchantReviewsServiceServer)
- func RegisterProductReviewsServiceServer(s *grpc.Server, srv ProductReviewsServiceServer)
- type DeleteMerchantReviewRequest
- func (*DeleteMerchantReviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMerchantReviewRequest) GetName() string
- func (*DeleteMerchantReviewRequest) ProtoMessage()
- func (x *DeleteMerchantReviewRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMerchantReviewRequest) Reset()
- func (x *DeleteMerchantReviewRequest) String() string
- type DeleteProductReviewRequest
- func (*DeleteProductReviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProductReviewRequest) GetName() string
- func (*DeleteProductReviewRequest) ProtoMessage()
- func (x *DeleteProductReviewRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProductReviewRequest) Reset()
- func (x *DeleteProductReviewRequest) String() string
- type GetMerchantReviewRequest
- func (*GetMerchantReviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMerchantReviewRequest) GetName() string
- func (*GetMerchantReviewRequest) ProtoMessage()
- func (x *GetMerchantReviewRequest) ProtoReflect() protoreflect.Message
- func (x *GetMerchantReviewRequest) Reset()
- func (x *GetMerchantReviewRequest) String() string
- type GetProductReviewRequest
- func (*GetProductReviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetProductReviewRequest) GetName() string
- func (*GetProductReviewRequest) ProtoMessage()
- func (x *GetProductReviewRequest) ProtoReflect() protoreflect.Message
- func (x *GetProductReviewRequest) Reset()
- func (x *GetProductReviewRequest) String() string
- type InsertMerchantReviewRequest
- func (*InsertMerchantReviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InsertMerchantReviewRequest) GetDataSource() string
- func (x *InsertMerchantReviewRequest) GetMerchantReview() *MerchantReview
- func (x *InsertMerchantReviewRequest) GetParent() string
- func (*InsertMerchantReviewRequest) ProtoMessage()
- func (x *InsertMerchantReviewRequest) ProtoReflect() protoreflect.Message
- func (x *InsertMerchantReviewRequest) Reset()
- func (x *InsertMerchantReviewRequest) String() string
- type InsertProductReviewRequest
- func (*InsertProductReviewRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InsertProductReviewRequest) GetDataSource() string
- func (x *InsertProductReviewRequest) GetParent() string
- func (x *InsertProductReviewRequest) GetProductReview() *ProductReview
- func (*InsertProductReviewRequest) ProtoMessage()
- func (x *InsertProductReviewRequest) ProtoReflect() protoreflect.Message
- func (x *InsertProductReviewRequest) Reset()
- func (x *InsertProductReviewRequest) String() string
- type ListMerchantReviewsRequest
- func (*ListMerchantReviewsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMerchantReviewsRequest) GetPageSize() int32
- func (x *ListMerchantReviewsRequest) GetPageToken() string
- func (x *ListMerchantReviewsRequest) GetParent() string
- func (*ListMerchantReviewsRequest) ProtoMessage()
- func (x *ListMerchantReviewsRequest) ProtoReflect() protoreflect.Message
- func (x *ListMerchantReviewsRequest) Reset()
- func (x *ListMerchantReviewsRequest) String() string
- type ListMerchantReviewsResponse
- func (*ListMerchantReviewsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMerchantReviewsResponse) GetMerchantReviews() []*MerchantReview
- func (x *ListMerchantReviewsResponse) GetNextPageToken() string
- func (*ListMerchantReviewsResponse) ProtoMessage()
- func (x *ListMerchantReviewsResponse) ProtoReflect() protoreflect.Message
- func (x *ListMerchantReviewsResponse) Reset()
- func (x *ListMerchantReviewsResponse) String() string
- type ListProductReviewsRequest
- func (*ListProductReviewsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductReviewsRequest) GetPageSize() int32
- func (x *ListProductReviewsRequest) GetPageToken() string
- func (x *ListProductReviewsRequest) GetParent() string
- func (*ListProductReviewsRequest) ProtoMessage()
- func (x *ListProductReviewsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProductReviewsRequest) Reset()
- func (x *ListProductReviewsRequest) String() string
- type ListProductReviewsResponse
- func (*ListProductReviewsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductReviewsResponse) GetNextPageToken() string
- func (x *ListProductReviewsResponse) GetProductReviews() []*ProductReview
- func (*ListProductReviewsResponse) ProtoMessage()
- func (x *ListProductReviewsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProductReviewsResponse) Reset()
- func (x *ListProductReviewsResponse) String() string
- type MerchantReview
- func (*MerchantReview) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantReview) GetAttributes() *MerchantReviewAttributes
- func (x *MerchantReview) GetCustomAttributes() []*typepb.CustomAttribute
- func (x *MerchantReview) GetDataSource() string
- func (x *MerchantReview) GetMerchantReviewId() string
- func (x *MerchantReview) GetMerchantReviewStatus() *MerchantReviewStatus
- func (x *MerchantReview) GetName() string
- func (*MerchantReview) ProtoMessage()
- func (x *MerchantReview) ProtoReflect() protoreflect.Message
- func (x *MerchantReview) Reset()
- func (x *MerchantReview) String() string
- type MerchantReviewAttributes
- func (*MerchantReviewAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantReviewAttributes) GetCollectionMethod() MerchantReviewAttributes_CollectionMethod
- func (x *MerchantReviewAttributes) GetContent() string
- func (x *MerchantReviewAttributes) GetIsAnonymous() bool
- func (x *MerchantReviewAttributes) GetMaxRating() int64
- func (x *MerchantReviewAttributes) GetMerchantDisplayName() string
- func (x *MerchantReviewAttributes) GetMerchantId() string
- func (x *MerchantReviewAttributes) GetMerchantLink() string
- func (x *MerchantReviewAttributes) GetMerchantRatingLink() string
- func (x *MerchantReviewAttributes) GetMinRating() int64
- func (x *MerchantReviewAttributes) GetRating() float64
- func (x *MerchantReviewAttributes) GetReviewCountry() string
- func (x *MerchantReviewAttributes) GetReviewLanguage() string
- func (x *MerchantReviewAttributes) GetReviewTime() *timestamppb.Timestamp
- func (x *MerchantReviewAttributes) GetReviewerId() string
- func (x *MerchantReviewAttributes) GetReviewerUsername() string
- func (x *MerchantReviewAttributes) GetTitle() string
- func (*MerchantReviewAttributes) ProtoMessage()
- func (x *MerchantReviewAttributes) ProtoReflect() protoreflect.Message
- func (x *MerchantReviewAttributes) Reset()
- func (x *MerchantReviewAttributes) String() string
- type MerchantReviewAttributes_CollectionMethod
- func (MerchantReviewAttributes_CollectionMethod) Descriptor() protoreflect.EnumDescriptor
- func (x MerchantReviewAttributes_CollectionMethod) Enum() *MerchantReviewAttributes_CollectionMethod
- func (MerchantReviewAttributes_CollectionMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x MerchantReviewAttributes_CollectionMethod) Number() protoreflect.EnumNumber
- func (x MerchantReviewAttributes_CollectionMethod) String() string
- func (MerchantReviewAttributes_CollectionMethod) Type() protoreflect.EnumType
- type MerchantReviewStatus
- func (*MerchantReviewStatus) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantReviewStatus) GetCreateTime() *timestamppb.Timestamp
- func (x *MerchantReviewStatus) GetDestinationStatuses() []*MerchantReviewStatus_MerchantReviewDestinationStatus
- func (x *MerchantReviewStatus) GetItemLevelIssues() []*MerchantReviewStatus_MerchantReviewItemLevelIssue
- func (x *MerchantReviewStatus) GetLastUpdateTime() *timestamppb.Timestamp
- func (*MerchantReviewStatus) ProtoMessage()
- func (x *MerchantReviewStatus) ProtoReflect() protoreflect.Message
- func (x *MerchantReviewStatus) Reset()
- func (x *MerchantReviewStatus) String() string
- type MerchantReviewStatus_MerchantReviewDestinationStatus
- func (*MerchantReviewStatus_MerchantReviewDestinationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantReviewStatus_MerchantReviewDestinationStatus) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
- func (*MerchantReviewStatus_MerchantReviewDestinationStatus) ProtoMessage()
- func (x *MerchantReviewStatus_MerchantReviewDestinationStatus) ProtoReflect() protoreflect.Message
- func (x *MerchantReviewStatus_MerchantReviewDestinationStatus) Reset()
- func (x *MerchantReviewStatus_MerchantReviewDestinationStatus) String() string
- type MerchantReviewStatus_MerchantReviewItemLevelIssue
- func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) Descriptor() ([]byte, []int)deprecated
- func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetAttribute() string
- func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetCode() string
- func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetDescription() string
- func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetDetail() string
- func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetDocumentation() string
- func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
- func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetResolution() string
- func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetSeverity() MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity
- func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) ProtoMessage()
- func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) ProtoReflect() protoreflect.Message
- func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) Reset()
- func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) String() string
- type MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity
- func (MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) Enum() *MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity
- func (MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) Number() protoreflect.EnumNumber
- func (x MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) String() string
- func (MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) Type() protoreflect.EnumType
- type MerchantReviewsServiceClient
- type MerchantReviewsServiceServer
- type ProductReview
- func (*ProductReview) Descriptor() ([]byte, []int)deprecated
- func (x *ProductReview) GetAttributes() *ProductReviewAttributes
- func (x *ProductReview) GetCustomAttributes() []*typepb.CustomAttribute
- func (x *ProductReview) GetDataSource() string
- func (x *ProductReview) GetName() string
- func (x *ProductReview) GetProductReviewId() string
- func (x *ProductReview) GetProductReviewStatus() *ProductReviewStatus
- func (*ProductReview) ProtoMessage()
- func (x *ProductReview) ProtoReflect() protoreflect.Message
- func (x *ProductReview) Reset()
- func (x *ProductReview) String() string
- type ProductReviewAttributes
- func (*ProductReviewAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *ProductReviewAttributes) GetAggregatorName() string
- func (x *ProductReviewAttributes) GetAsins() []string
- func (x *ProductReviewAttributes) GetBrands() []string
- func (x *ProductReviewAttributes) GetCollectionMethod() ProductReviewAttributes_CollectionMethod
- func (x *ProductReviewAttributes) GetCons() []string
- func (x *ProductReviewAttributes) GetContent() string
- func (x *ProductReviewAttributes) GetGtins() []string
- func (x *ProductReviewAttributes) GetIsSpam() bool
- func (x *ProductReviewAttributes) GetMaxRating() int64
- func (x *ProductReviewAttributes) GetMinRating() int64
- func (x *ProductReviewAttributes) GetMpns() []string
- func (x *ProductReviewAttributes) GetProductLinks() []string
- func (x *ProductReviewAttributes) GetProductNames() []string
- func (x *ProductReviewAttributes) GetPros() []string
- func (x *ProductReviewAttributes) GetPublisherFavicon() string
- func (x *ProductReviewAttributes) GetPublisherName() string
- func (x *ProductReviewAttributes) GetRating() float64
- func (x *ProductReviewAttributes) GetReviewCountry() string
- func (x *ProductReviewAttributes) GetReviewLanguage() string
- func (x *ProductReviewAttributes) GetReviewLink() *ProductReviewAttributes_ReviewLink
- func (x *ProductReviewAttributes) GetReviewTime() *timestamppb.Timestamp
- func (x *ProductReviewAttributes) GetReviewerId() string
- func (x *ProductReviewAttributes) GetReviewerImageLinks() []string
- func (x *ProductReviewAttributes) GetReviewerIsAnonymous() bool
- func (x *ProductReviewAttributes) GetReviewerUsername() string
- func (x *ProductReviewAttributes) GetSkus() []string
- func (x *ProductReviewAttributes) GetSubclientName() string
- func (x *ProductReviewAttributes) GetTitle() string
- func (x *ProductReviewAttributes) GetTransactionId() string
- func (*ProductReviewAttributes) ProtoMessage()
- func (x *ProductReviewAttributes) ProtoReflect() protoreflect.Message
- func (x *ProductReviewAttributes) Reset()
- func (x *ProductReviewAttributes) String() string
- type ProductReviewAttributes_CollectionMethod
- func (ProductReviewAttributes_CollectionMethod) Descriptor() protoreflect.EnumDescriptor
- func (x ProductReviewAttributes_CollectionMethod) Enum() *ProductReviewAttributes_CollectionMethod
- func (ProductReviewAttributes_CollectionMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProductReviewAttributes_CollectionMethod) Number() protoreflect.EnumNumber
- func (x ProductReviewAttributes_CollectionMethod) String() string
- func (ProductReviewAttributes_CollectionMethod) Type() protoreflect.EnumType
- type ProductReviewAttributes_ReviewLink
- func (*ProductReviewAttributes_ReviewLink) Descriptor() ([]byte, []int)deprecated
- func (x *ProductReviewAttributes_ReviewLink) GetLink() string
- func (x *ProductReviewAttributes_ReviewLink) GetType() ProductReviewAttributes_ReviewLink_Type
- func (*ProductReviewAttributes_ReviewLink) ProtoMessage()
- func (x *ProductReviewAttributes_ReviewLink) ProtoReflect() protoreflect.Message
- func (x *ProductReviewAttributes_ReviewLink) Reset()
- func (x *ProductReviewAttributes_ReviewLink) String() string
- type ProductReviewAttributes_ReviewLink_Type
- func (ProductReviewAttributes_ReviewLink_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ProductReviewAttributes_ReviewLink_Type) Enum() *ProductReviewAttributes_ReviewLink_Type
- func (ProductReviewAttributes_ReviewLink_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProductReviewAttributes_ReviewLink_Type) Number() protoreflect.EnumNumber
- func (x ProductReviewAttributes_ReviewLink_Type) String() string
- func (ProductReviewAttributes_ReviewLink_Type) Type() protoreflect.EnumType
- type ProductReviewStatus
- func (*ProductReviewStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ProductReviewStatus) GetCreateTime() *timestamppb.Timestamp
- func (x *ProductReviewStatus) GetDestinationStatuses() []*ProductReviewStatus_ProductReviewDestinationStatus
- func (x *ProductReviewStatus) GetItemLevelIssues() []*ProductReviewStatus_ProductReviewItemLevelIssue
- func (x *ProductReviewStatus) GetLastUpdateTime() *timestamppb.Timestamp
- func (*ProductReviewStatus) ProtoMessage()
- func (x *ProductReviewStatus) ProtoReflect() protoreflect.Message
- func (x *ProductReviewStatus) Reset()
- func (x *ProductReviewStatus) String() string
- type ProductReviewStatus_ProductReviewDestinationStatus
- func (*ProductReviewStatus_ProductReviewDestinationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ProductReviewStatus_ProductReviewDestinationStatus) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
- func (*ProductReviewStatus_ProductReviewDestinationStatus) ProtoMessage()
- func (x *ProductReviewStatus_ProductReviewDestinationStatus) ProtoReflect() protoreflect.Message
- func (x *ProductReviewStatus_ProductReviewDestinationStatus) Reset()
- func (x *ProductReviewStatus_ProductReviewDestinationStatus) String() string
- type ProductReviewStatus_ProductReviewItemLevelIssue
- func (*ProductReviewStatus_ProductReviewItemLevelIssue) Descriptor() ([]byte, []int)deprecated
- func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetAttribute() string
- func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetCode() string
- func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetDescription() string
- func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetDetail() string
- func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetDocumentation() string
- func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
- func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetResolution() string
- func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetSeverity() ProductReviewStatus_ProductReviewItemLevelIssue_Severity
- func (*ProductReviewStatus_ProductReviewItemLevelIssue) ProtoMessage()
- func (x *ProductReviewStatus_ProductReviewItemLevelIssue) ProtoReflect() protoreflect.Message
- func (x *ProductReviewStatus_ProductReviewItemLevelIssue) Reset()
- func (x *ProductReviewStatus_ProductReviewItemLevelIssue) String() string
- type ProductReviewStatus_ProductReviewItemLevelIssue_Severity
- func (ProductReviewStatus_ProductReviewItemLevelIssue_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x ProductReviewStatus_ProductReviewItemLevelIssue_Severity) Enum() *ProductReviewStatus_ProductReviewItemLevelIssue_Severity
- func (ProductReviewStatus_ProductReviewItemLevelIssue_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProductReviewStatus_ProductReviewItemLevelIssue_Severity) Number() protoreflect.EnumNumber
- func (x ProductReviewStatus_ProductReviewItemLevelIssue_Severity) String() string
- func (ProductReviewStatus_ProductReviewItemLevelIssue_Severity) Type() protoreflect.EnumType
- type ProductReviewsServiceClient
- type ProductReviewsServiceServer
- type UnimplementedMerchantReviewsServiceServer
- func (*UnimplementedMerchantReviewsServiceServer) DeleteMerchantReview(context.Context, *DeleteMerchantReviewRequest) (*emptypb.Empty, error)
- func (*UnimplementedMerchantReviewsServiceServer) GetMerchantReview(context.Context, *GetMerchantReviewRequest) (*MerchantReview, error)
- func (*UnimplementedMerchantReviewsServiceServer) InsertMerchantReview(context.Context, *InsertMerchantReviewRequest) (*MerchantReview, error)
- func (*UnimplementedMerchantReviewsServiceServer) ListMerchantReviews(context.Context, *ListMerchantReviewsRequest) (*ListMerchantReviewsResponse, error)
- type UnimplementedProductReviewsServiceServer
- func (*UnimplementedProductReviewsServiceServer) DeleteProductReview(context.Context, *DeleteProductReviewRequest) (*emptypb.Empty, error)
- func (*UnimplementedProductReviewsServiceServer) GetProductReview(context.Context, *GetProductReviewRequest) (*ProductReview, error)
- func (*UnimplementedProductReviewsServiceServer) InsertProductReview(context.Context, *InsertProductReviewRequest) (*ProductReview, error)
- func (*UnimplementedProductReviewsServiceServer) ListProductReviews(context.Context, *ListProductReviewsRequest) (*ListProductReviewsResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( MerchantReviewAttributes_CollectionMethod_name = map[int32]string{ 0: "COLLECTION_METHOD_UNSPECIFIED", 1: "MERCHANT_UNSOLICITED", 2: "POINT_OF_SALE", 3: "AFTER_FULFILLMENT", } MerchantReviewAttributes_CollectionMethod_value = map[string]int32{ "COLLECTION_METHOD_UNSPECIFIED": 0, "MERCHANT_UNSOLICITED": 1, "POINT_OF_SALE": 2, "AFTER_FULFILLMENT": 3, } )
Enum value maps for MerchantReviewAttributes_CollectionMethod.
var ( MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "NOT_IMPACTED", 2: "DISAPPROVED", } MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "NOT_IMPACTED": 1, "DISAPPROVED": 2, } )
Enum value maps for MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity.
var ( ProductReviewAttributes_CollectionMethod_name = map[int32]string{ 0: "COLLECTION_METHOD_UNSPECIFIED", 1: "UNSOLICITED", 2: "POST_FULFILLMENT", } ProductReviewAttributes_CollectionMethod_value = map[string]int32{ "COLLECTION_METHOD_UNSPECIFIED": 0, "UNSOLICITED": 1, "POST_FULFILLMENT": 2, } )
Enum value maps for ProductReviewAttributes_CollectionMethod.
var ( ProductReviewAttributes_ReviewLink_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "SINGLETON", 2: "GROUP", } ProductReviewAttributes_ReviewLink_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "SINGLETON": 1, "GROUP": 2, } )
Enum value maps for ProductReviewAttributes_ReviewLink_Type.
var ( ProductReviewStatus_ProductReviewItemLevelIssue_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "NOT_IMPACTED", 2: "DISAPPROVED", } ProductReviewStatus_ProductReviewItemLevelIssue_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "NOT_IMPACTED": 1, "DISAPPROVED": 2, } )
Enum value maps for ProductReviewStatus_ProductReviewItemLevelIssue_Severity.
var File_google_shopping_merchant_reviews_v1beta_merchantreviews_common_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_reviews_v1beta_merchantreviews_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_reviews_v1beta_productreviews_common_proto protoreflect.FileDescriptor
var File_google_shopping_merchant_reviews_v1beta_productreviews_proto protoreflect.FileDescriptor
Functions ¶
func RegisterMerchantReviewsServiceServer ¶
func RegisterMerchantReviewsServiceServer(s *grpc.Server, srv MerchantReviewsServiceServer)
func RegisterProductReviewsServiceServer ¶
func RegisterProductReviewsServiceServer(s *grpc.Server, srv ProductReviewsServiceServer)
Types ¶
type DeleteMerchantReviewRequest ¶
type DeleteMerchantReviewRequest struct { // Required. The ID of the merchant review. // Format: accounts/{account}/merchantReviews/{merchantReview} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `DeleteMerchantReview` method.
func (*DeleteMerchantReviewRequest) Descriptor
deprecated
func (*DeleteMerchantReviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMerchantReviewRequest.ProtoReflect.Descriptor instead.
func (*DeleteMerchantReviewRequest) GetName ¶
func (x *DeleteMerchantReviewRequest) GetName() string
func (*DeleteMerchantReviewRequest) ProtoMessage ¶
func (*DeleteMerchantReviewRequest) ProtoMessage()
func (*DeleteMerchantReviewRequest) ProtoReflect ¶
func (x *DeleteMerchantReviewRequest) ProtoReflect() protoreflect.Message
func (*DeleteMerchantReviewRequest) Reset ¶
func (x *DeleteMerchantReviewRequest) Reset()
func (*DeleteMerchantReviewRequest) String ¶
func (x *DeleteMerchantReviewRequest) String() string
type DeleteProductReviewRequest ¶
type DeleteProductReviewRequest struct { // Required. The ID of the Product review. // Format: accounts/{account}/productReviews/{productReview} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `DeleteProductReview` method.
func (*DeleteProductReviewRequest) Descriptor
deprecated
func (*DeleteProductReviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProductReviewRequest.ProtoReflect.Descriptor instead.
func (*DeleteProductReviewRequest) GetName ¶
func (x *DeleteProductReviewRequest) GetName() string
func (*DeleteProductReviewRequest) ProtoMessage ¶
func (*DeleteProductReviewRequest) ProtoMessage()
func (*DeleteProductReviewRequest) ProtoReflect ¶
func (x *DeleteProductReviewRequest) ProtoReflect() protoreflect.Message
func (*DeleteProductReviewRequest) Reset ¶
func (x *DeleteProductReviewRequest) Reset()
func (*DeleteProductReviewRequest) String ¶
func (x *DeleteProductReviewRequest) String() string
type GetMerchantReviewRequest ¶
type GetMerchantReviewRequest struct { // Required. The ID of the merchant review. // Format: accounts/{account}/merchantReviews/{merchantReview} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the `GetMerchantReview` method.
func (*GetMerchantReviewRequest) Descriptor
deprecated
func (*GetMerchantReviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMerchantReviewRequest.ProtoReflect.Descriptor instead.
func (*GetMerchantReviewRequest) GetName ¶
func (x *GetMerchantReviewRequest) GetName() string
func (*GetMerchantReviewRequest) ProtoMessage ¶
func (*GetMerchantReviewRequest) ProtoMessage()
func (*GetMerchantReviewRequest) ProtoReflect ¶
func (x *GetMerchantReviewRequest) ProtoReflect() protoreflect.Message
func (*GetMerchantReviewRequest) Reset ¶
func (x *GetMerchantReviewRequest) Reset()
func (*GetMerchantReviewRequest) String ¶
func (x *GetMerchantReviewRequest) String() string
type GetProductReviewRequest ¶
type GetProductReviewRequest struct { // Required. The ID of the merchant review. // Format: accounts/{account}/productReviews/{productReview} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for the GetProductReview method.
func (*GetProductReviewRequest) Descriptor
deprecated
func (*GetProductReviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetProductReviewRequest.ProtoReflect.Descriptor instead.
func (*GetProductReviewRequest) GetName ¶
func (x *GetProductReviewRequest) GetName() string
func (*GetProductReviewRequest) ProtoMessage ¶
func (*GetProductReviewRequest) ProtoMessage()
func (*GetProductReviewRequest) ProtoReflect ¶
func (x *GetProductReviewRequest) ProtoReflect() protoreflect.Message
func (*GetProductReviewRequest) Reset ¶
func (x *GetProductReviewRequest) Reset()
func (*GetProductReviewRequest) String ¶
func (x *GetProductReviewRequest) String() string
type InsertMerchantReviewRequest ¶
type InsertMerchantReviewRequest struct { // Required. The account where the merchant review will be inserted. // Format: accounts/{account} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The merchant review to insert. MerchantReview *MerchantReview `protobuf:"bytes,2,opt,name=merchant_review,json=merchantReview,proto3" json:"merchant_review,omitempty"` // Required. The data source of the // [merchantreview](https://support.google.com/merchants/answer/7045996?sjid=5253581244217581976-EU) // Format: // `accounts/{account}/dataSources/{datasource}`. DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // contains filtered or unexported fields }
Request message for the `InsertMerchantReview` method.
func (*InsertMerchantReviewRequest) Descriptor
deprecated
func (*InsertMerchantReviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use InsertMerchantReviewRequest.ProtoReflect.Descriptor instead.
func (*InsertMerchantReviewRequest) GetDataSource ¶
func (x *InsertMerchantReviewRequest) GetDataSource() string
func (*InsertMerchantReviewRequest) GetMerchantReview ¶
func (x *InsertMerchantReviewRequest) GetMerchantReview() *MerchantReview
func (*InsertMerchantReviewRequest) GetParent ¶
func (x *InsertMerchantReviewRequest) GetParent() string
func (*InsertMerchantReviewRequest) ProtoMessage ¶
func (*InsertMerchantReviewRequest) ProtoMessage()
func (*InsertMerchantReviewRequest) ProtoReflect ¶
func (x *InsertMerchantReviewRequest) ProtoReflect() protoreflect.Message
func (*InsertMerchantReviewRequest) Reset ¶
func (x *InsertMerchantReviewRequest) Reset()
func (*InsertMerchantReviewRequest) String ¶
func (x *InsertMerchantReviewRequest) String() string
type InsertProductReviewRequest ¶
type InsertProductReviewRequest struct { // Required. The account where the product review will be inserted. // Format: accounts/{account} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The product review to insert. ProductReview *ProductReview `protobuf:"bytes,2,opt,name=product_review,json=productReview,proto3" json:"product_review,omitempty"` // Required. Format: // `accounts/{account}/dataSources/{datasource}`. DataSource string `protobuf:"bytes,3,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // contains filtered or unexported fields }
Request message for the `InsertProductReview` method.
func (*InsertProductReviewRequest) Descriptor
deprecated
func (*InsertProductReviewRequest) Descriptor() ([]byte, []int)
Deprecated: Use InsertProductReviewRequest.ProtoReflect.Descriptor instead.
func (*InsertProductReviewRequest) GetDataSource ¶
func (x *InsertProductReviewRequest) GetDataSource() string
func (*InsertProductReviewRequest) GetParent ¶
func (x *InsertProductReviewRequest) GetParent() string
func (*InsertProductReviewRequest) GetProductReview ¶
func (x *InsertProductReviewRequest) GetProductReview() *ProductReview
func (*InsertProductReviewRequest) ProtoMessage ¶
func (*InsertProductReviewRequest) ProtoMessage()
func (*InsertProductReviewRequest) ProtoReflect ¶
func (x *InsertProductReviewRequest) ProtoReflect() protoreflect.Message
func (*InsertProductReviewRequest) Reset ¶
func (x *InsertProductReviewRequest) Reset()
func (*InsertProductReviewRequest) String ¶
func (x *InsertProductReviewRequest) String() string
type ListMerchantReviewsRequest ¶
type ListMerchantReviewsRequest struct { // Required. The account to list merchant reviews for. // Format: accounts/{account} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of merchant reviews to return. The service can // return fewer than this value. The maximum value is 1000; values above 1000 // are coerced to 1000. If unspecified, the maximum number of reviews is // returned. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A page token, received from a previous `ListMerchantReviews` // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListMerchantReviews` // must match the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for the `ListMerchantsReview` method.
func (*ListMerchantReviewsRequest) Descriptor
deprecated
func (*ListMerchantReviewsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMerchantReviewsRequest.ProtoReflect.Descriptor instead.
func (*ListMerchantReviewsRequest) GetPageSize ¶
func (x *ListMerchantReviewsRequest) GetPageSize() int32
func (*ListMerchantReviewsRequest) GetPageToken ¶
func (x *ListMerchantReviewsRequest) GetPageToken() string
func (*ListMerchantReviewsRequest) GetParent ¶
func (x *ListMerchantReviewsRequest) GetParent() string
func (*ListMerchantReviewsRequest) ProtoMessage ¶
func (*ListMerchantReviewsRequest) ProtoMessage()
func (*ListMerchantReviewsRequest) ProtoReflect ¶
func (x *ListMerchantReviewsRequest) ProtoReflect() protoreflect.Message
func (*ListMerchantReviewsRequest) Reset ¶
func (x *ListMerchantReviewsRequest) Reset()
func (*ListMerchantReviewsRequest) String ¶
func (x *ListMerchantReviewsRequest) String() string
type ListMerchantReviewsResponse ¶
type ListMerchantReviewsResponse struct { // The merchant review. MerchantReviews []*MerchantReview `protobuf:"bytes,1,rep,name=merchant_reviews,json=merchantReviews,proto3" json:"merchant_reviews,omitempty"` // The token to retrieve the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for the `ListMerchantsReview` method.
func (*ListMerchantReviewsResponse) Descriptor
deprecated
func (*ListMerchantReviewsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMerchantReviewsResponse.ProtoReflect.Descriptor instead.
func (*ListMerchantReviewsResponse) GetMerchantReviews ¶
func (x *ListMerchantReviewsResponse) GetMerchantReviews() []*MerchantReview
func (*ListMerchantReviewsResponse) GetNextPageToken ¶
func (x *ListMerchantReviewsResponse) GetNextPageToken() string
func (*ListMerchantReviewsResponse) ProtoMessage ¶
func (*ListMerchantReviewsResponse) ProtoMessage()
func (*ListMerchantReviewsResponse) ProtoReflect ¶
func (x *ListMerchantReviewsResponse) ProtoReflect() protoreflect.Message
func (*ListMerchantReviewsResponse) Reset ¶
func (x *ListMerchantReviewsResponse) Reset()
func (*ListMerchantReviewsResponse) String ¶
func (x *ListMerchantReviewsResponse) String() string
type ListProductReviewsRequest ¶
type ListProductReviewsRequest struct { // Required. The account to list product reviews for. // Format: accounts/{account} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of products to return. The service may return // fewer than this value. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A page token, received from a previous `ListProductReviews` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListProductReviews` // must match the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for the ListProductReviews method.
func (*ListProductReviewsRequest) Descriptor
deprecated
func (*ListProductReviewsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListProductReviewsRequest.ProtoReflect.Descriptor instead.
func (*ListProductReviewsRequest) GetPageSize ¶
func (x *ListProductReviewsRequest) GetPageSize() int32
func (*ListProductReviewsRequest) GetPageToken ¶
func (x *ListProductReviewsRequest) GetPageToken() string
func (*ListProductReviewsRequest) GetParent ¶
func (x *ListProductReviewsRequest) GetParent() string
func (*ListProductReviewsRequest) ProtoMessage ¶
func (*ListProductReviewsRequest) ProtoMessage()
func (*ListProductReviewsRequest) ProtoReflect ¶
func (x *ListProductReviewsRequest) ProtoReflect() protoreflect.Message
func (*ListProductReviewsRequest) Reset ¶
func (x *ListProductReviewsRequest) Reset()
func (*ListProductReviewsRequest) String ¶
func (x *ListProductReviewsRequest) String() string
type ListProductReviewsResponse ¶
type ListProductReviewsResponse struct { // The product review. ProductReviews []*ProductReview `protobuf:"bytes,1,rep,name=product_reviews,json=productReviews,proto3" json:"product_reviews,omitempty"` // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
response message for the ListProductReviews method.
func (*ListProductReviewsResponse) Descriptor
deprecated
func (*ListProductReviewsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListProductReviewsResponse.ProtoReflect.Descriptor instead.
func (*ListProductReviewsResponse) GetNextPageToken ¶
func (x *ListProductReviewsResponse) GetNextPageToken() string
func (*ListProductReviewsResponse) GetProductReviews ¶
func (x *ListProductReviewsResponse) GetProductReviews() []*ProductReview
func (*ListProductReviewsResponse) ProtoMessage ¶
func (*ListProductReviewsResponse) ProtoMessage()
func (*ListProductReviewsResponse) ProtoReflect ¶
func (x *ListProductReviewsResponse) ProtoReflect() protoreflect.Message
func (*ListProductReviewsResponse) Reset ¶
func (x *ListProductReviewsResponse) Reset()
func (*ListProductReviewsResponse) String ¶
func (x *ListProductReviewsResponse) String() string
type MerchantReview ¶
type MerchantReview struct { // Identifier. The name of the merchant review. // Format: // `"{merchantreview.name=accounts/{account}/merchantReviews/{merchantReview}}"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The user provided merchant review ID to uniquely identify the // merchant review. MerchantReviewId string `protobuf:"bytes,2,opt,name=merchant_review_id,json=merchantReviewId,proto3" json:"merchant_review_id,omitempty"` // Optional. A list of merchant review attributes. Attributes *MerchantReviewAttributes `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"` // Required. A list of custom (merchant-provided) attributes. It can also be // used for submitting any attribute of the data specification in its generic // form (for example, // `{ "name": "size type", "value": "regular" }`). // This is useful for submitting attributes not explicitly exposed by the // API, such as experimental attributes. // Maximum allowed number of characters for each // custom attribute is 10240 (represents sum of characters for name and // value). Maximum 2500 custom attributes can be set per product, with total // size of 102.4kB. Underscores in custom attribute names are replaced by // spaces upon insertion. CustomAttributes []*typepb.CustomAttribute `protobuf:"bytes,4,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty"` // Output only. The primary data source of the merchant review. DataSource string `protobuf:"bytes,5,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // Output only. The status of a merchant review, data validation issues, that // is, information about a merchant review computed asynchronously. MerchantReviewStatus *MerchantReviewStatus `protobuf:"bytes,6,opt,name=merchant_review_status,json=merchantReviewStatus,proto3" json:"merchant_review_status,omitempty"` // contains filtered or unexported fields }
A review for a merchant. For more information, see [Introduction to Merchant Review Feeds](https://developers.google.com/merchant-review-feeds)
func (*MerchantReview) Descriptor
deprecated
func (*MerchantReview) Descriptor() ([]byte, []int)
Deprecated: Use MerchantReview.ProtoReflect.Descriptor instead.
func (*MerchantReview) GetAttributes ¶
func (x *MerchantReview) GetAttributes() *MerchantReviewAttributes
func (*MerchantReview) GetCustomAttributes ¶
func (x *MerchantReview) GetCustomAttributes() []*typepb.CustomAttribute
func (*MerchantReview) GetDataSource ¶
func (x *MerchantReview) GetDataSource() string
func (*MerchantReview) GetMerchantReviewId ¶
func (x *MerchantReview) GetMerchantReviewId() string
func (*MerchantReview) GetMerchantReviewStatus ¶
func (x *MerchantReview) GetMerchantReviewStatus() *MerchantReviewStatus
func (*MerchantReview) GetName ¶
func (x *MerchantReview) GetName() string
func (*MerchantReview) ProtoMessage ¶
func (*MerchantReview) ProtoMessage()
func (*MerchantReview) ProtoReflect ¶
func (x *MerchantReview) ProtoReflect() protoreflect.Message
func (*MerchantReview) Reset ¶
func (x *MerchantReview) Reset()
func (*MerchantReview) String ¶
func (x *MerchantReview) String() string
type MerchantReviewAttributes ¶
type MerchantReviewAttributes struct { // Required. Must be unique and stable across all requests. In other words, if // a request today and another 90 days ago refer to the same merchant, they // must have the same id. MerchantId *string `protobuf:"bytes,1,opt,name=merchant_id,json=merchantId,proto3,oneof" json:"merchant_id,omitempty"` // Optional. Human-readable display name for the merchant. MerchantDisplayName *string `` /* 126-byte string literal not displayed */ // Optional. URL to the merchant's main website. Do not use a redirect URL for // this value. In other words, the value should point directly to the // merchant's site. MerchantLink *string `protobuf:"bytes,3,opt,name=merchant_link,json=merchantLink,proto3,oneof" json:"merchant_link,omitempty"` // Optional. URL to the landing page that hosts the reviews for this merchant. // Do not use a redirect URL. MerchantRatingLink *string `protobuf:"bytes,4,opt,name=merchant_rating_link,json=merchantRatingLink,proto3,oneof" json:"merchant_rating_link,omitempty"` // Optional. The minimum possible number for the rating. This should be the // worst possible rating and should not be a value for no rating. MinRating *int64 `protobuf:"varint,5,opt,name=min_rating,json=minRating,proto3,oneof" json:"min_rating,omitempty"` // Optional. The maximum possible number for the rating. The value of the max // rating must be greater than the value of the min rating. MaxRating *int64 `protobuf:"varint,6,opt,name=max_rating,json=maxRating,proto3,oneof" json:"max_rating,omitempty"` // Optional. The reviewer's overall rating of the merchant. Rating *float64 `protobuf:"fixed64,7,opt,name=rating,proto3,oneof" json:"rating,omitempty"` // Optional. The title of the review. Title *string `protobuf:"bytes,8,opt,name=title,proto3,oneof" json:"title,omitempty"` // Required. This should be any freeform text provided by the user and should // not be truncated. If multiple responses to different questions are // provided, all responses should be included, with the minimal context for // the responses to make sense. Context should not be provided if questions // were left unanswered. Content *string `protobuf:"bytes,9,opt,name=content,proto3,oneof" json:"content,omitempty"` // Optional. A permanent, unique identifier for the author of the review in // the publisher's system. ReviewerId *string `protobuf:"bytes,10,opt,name=reviewer_id,json=reviewerId,proto3,oneof" json:"reviewer_id,omitempty"` // Optional. Display name of the review author. ReviewerUsername *string `protobuf:"bytes,11,opt,name=reviewer_username,json=reviewerUsername,proto3,oneof" json:"reviewer_username,omitempty"` // Optional. Set to true if the reviewer should remain anonymous. IsAnonymous *bool `protobuf:"varint,12,opt,name=is_anonymous,json=isAnonymous,proto3,oneof" json:"is_anonymous,omitempty"` // Optional. The method used to collect the review. CollectionMethod *MerchantReviewAttributes_CollectionMethod `` /* 204-byte string literal not displayed */ // Required. The timestamp indicating when the review was written. ReviewTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=review_time,json=reviewTime,proto3,oneof" json:"review_time,omitempty"` // Required. The language of the review defined by BCP-47 language code. ReviewLanguage *string `protobuf:"bytes,15,opt,name=review_language,json=reviewLanguage,proto3,oneof" json:"review_language,omitempty"` // Optional. The country where the reviewer made the order defined by ISO // 3166-1 Alpha-2 Country Code. ReviewCountry *string `protobuf:"bytes,16,opt,name=review_country,json=reviewCountry,proto3,oneof" json:"review_country,omitempty"` // contains filtered or unexported fields }
Attributes.
func (*MerchantReviewAttributes) Descriptor
deprecated
func (*MerchantReviewAttributes) Descriptor() ([]byte, []int)
Deprecated: Use MerchantReviewAttributes.ProtoReflect.Descriptor instead.
func (*MerchantReviewAttributes) GetCollectionMethod ¶
func (x *MerchantReviewAttributes) GetCollectionMethod() MerchantReviewAttributes_CollectionMethod
func (*MerchantReviewAttributes) GetContent ¶
func (x *MerchantReviewAttributes) GetContent() string
func (*MerchantReviewAttributes) GetIsAnonymous ¶
func (x *MerchantReviewAttributes) GetIsAnonymous() bool
func (*MerchantReviewAttributes) GetMaxRating ¶
func (x *MerchantReviewAttributes) GetMaxRating() int64
func (*MerchantReviewAttributes) GetMerchantDisplayName ¶
func (x *MerchantReviewAttributes) GetMerchantDisplayName() string
func (*MerchantReviewAttributes) GetMerchantId ¶
func (x *MerchantReviewAttributes) GetMerchantId() string
func (*MerchantReviewAttributes) GetMerchantLink ¶
func (x *MerchantReviewAttributes) GetMerchantLink() string
func (*MerchantReviewAttributes) GetMerchantRatingLink ¶
func (x *MerchantReviewAttributes) GetMerchantRatingLink() string
func (*MerchantReviewAttributes) GetMinRating ¶
func (x *MerchantReviewAttributes) GetMinRating() int64
func (*MerchantReviewAttributes) GetRating ¶
func (x *MerchantReviewAttributes) GetRating() float64
func (*MerchantReviewAttributes) GetReviewCountry ¶
func (x *MerchantReviewAttributes) GetReviewCountry() string
func (*MerchantReviewAttributes) GetReviewLanguage ¶
func (x *MerchantReviewAttributes) GetReviewLanguage() string
func (*MerchantReviewAttributes) GetReviewTime ¶
func (x *MerchantReviewAttributes) GetReviewTime() *timestamppb.Timestamp
func (*MerchantReviewAttributes) GetReviewerId ¶
func (x *MerchantReviewAttributes) GetReviewerId() string
func (*MerchantReviewAttributes) GetReviewerUsername ¶
func (x *MerchantReviewAttributes) GetReviewerUsername() string
func (*MerchantReviewAttributes) GetTitle ¶
func (x *MerchantReviewAttributes) GetTitle() string
func (*MerchantReviewAttributes) ProtoMessage ¶
func (*MerchantReviewAttributes) ProtoMessage()
func (*MerchantReviewAttributes) ProtoReflect ¶
func (x *MerchantReviewAttributes) ProtoReflect() protoreflect.Message
func (*MerchantReviewAttributes) Reset ¶
func (x *MerchantReviewAttributes) Reset()
func (*MerchantReviewAttributes) String ¶
func (x *MerchantReviewAttributes) String() string
type MerchantReviewAttributes_CollectionMethod ¶
type MerchantReviewAttributes_CollectionMethod int32
The method used to collect the review.
const ( // Collection method unspecified. MerchantReviewAttributes_COLLECTION_METHOD_UNSPECIFIED MerchantReviewAttributes_CollectionMethod = 0 // The user was not responding to a specific solicitation when they // submitted the review. MerchantReviewAttributes_MERCHANT_UNSOLICITED MerchantReviewAttributes_CollectionMethod = 1 // The user submitted the review in response to a solicitation when the // user placed an order. MerchantReviewAttributes_POINT_OF_SALE MerchantReviewAttributes_CollectionMethod = 2 // The user submitted the review in response to a solicitation after // fulfillment of the user's order. MerchantReviewAttributes_AFTER_FULFILLMENT MerchantReviewAttributes_CollectionMethod = 3 )
func (MerchantReviewAttributes_CollectionMethod) Descriptor ¶
func (MerchantReviewAttributes_CollectionMethod) Descriptor() protoreflect.EnumDescriptor
func (MerchantReviewAttributes_CollectionMethod) EnumDescriptor
deprecated
func (MerchantReviewAttributes_CollectionMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use MerchantReviewAttributes_CollectionMethod.Descriptor instead.
func (MerchantReviewAttributes_CollectionMethod) Number ¶
func (x MerchantReviewAttributes_CollectionMethod) Number() protoreflect.EnumNumber
func (MerchantReviewAttributes_CollectionMethod) String ¶
func (x MerchantReviewAttributes_CollectionMethod) String() string
func (MerchantReviewAttributes_CollectionMethod) Type ¶
func (MerchantReviewAttributes_CollectionMethod) Type() protoreflect.EnumType
type MerchantReviewStatus ¶
type MerchantReviewStatus struct { // Output only. The intended destinations for the merchant review. DestinationStatuses []*MerchantReviewStatus_MerchantReviewDestinationStatus `protobuf:"bytes,3,rep,name=destination_statuses,json=destinationStatuses,proto3" json:"destination_statuses,omitempty"` // Output only. A list of all issues associated with the merchant review. ItemLevelIssues []*MerchantReviewStatus_MerchantReviewItemLevelIssue `protobuf:"bytes,4,rep,name=item_level_issues,json=itemLevelIssues,proto3" json:"item_level_issues,omitempty"` // Output only. Date on which the item has been created, in [ISO // 8601](http://en.wikipedia.org/wiki/ISO_8601) format. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Date on which the item has been last updated, in [ISO // 8601](http://en.wikipedia.org/wiki/ISO_8601) format. LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` // contains filtered or unexported fields }
The status of a merchant review, data validation issues, that is, information about a merchant review computed asynchronously.
func (*MerchantReviewStatus) Descriptor
deprecated
func (*MerchantReviewStatus) Descriptor() ([]byte, []int)
Deprecated: Use MerchantReviewStatus.ProtoReflect.Descriptor instead.
func (*MerchantReviewStatus) GetCreateTime ¶
func (x *MerchantReviewStatus) GetCreateTime() *timestamppb.Timestamp
func (*MerchantReviewStatus) GetDestinationStatuses ¶
func (x *MerchantReviewStatus) GetDestinationStatuses() []*MerchantReviewStatus_MerchantReviewDestinationStatus
func (*MerchantReviewStatus) GetItemLevelIssues ¶
func (x *MerchantReviewStatus) GetItemLevelIssues() []*MerchantReviewStatus_MerchantReviewItemLevelIssue
func (*MerchantReviewStatus) GetLastUpdateTime ¶
func (x *MerchantReviewStatus) GetLastUpdateTime() *timestamppb.Timestamp
func (*MerchantReviewStatus) ProtoMessage ¶
func (*MerchantReviewStatus) ProtoMessage()
func (*MerchantReviewStatus) ProtoReflect ¶
func (x *MerchantReviewStatus) ProtoReflect() protoreflect.Message
func (*MerchantReviewStatus) Reset ¶
func (x *MerchantReviewStatus) Reset()
func (*MerchantReviewStatus) String ¶
func (x *MerchantReviewStatus) String() string
type MerchantReviewStatus_MerchantReviewDestinationStatus ¶
type MerchantReviewStatus_MerchantReviewDestinationStatus struct { // Output only. The name of the reporting context. ReportingContext typepb.ReportingContext_ReportingContextEnum `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
The destination status of the merchant review status.
func (*MerchantReviewStatus_MerchantReviewDestinationStatus) Descriptor
deprecated
func (*MerchantReviewStatus_MerchantReviewDestinationStatus) Descriptor() ([]byte, []int)
Deprecated: Use MerchantReviewStatus_MerchantReviewDestinationStatus.ProtoReflect.Descriptor instead.
func (*MerchantReviewStatus_MerchantReviewDestinationStatus) GetReportingContext ¶
func (x *MerchantReviewStatus_MerchantReviewDestinationStatus) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
func (*MerchantReviewStatus_MerchantReviewDestinationStatus) ProtoMessage ¶
func (*MerchantReviewStatus_MerchantReviewDestinationStatus) ProtoMessage()
func (*MerchantReviewStatus_MerchantReviewDestinationStatus) ProtoReflect ¶
func (x *MerchantReviewStatus_MerchantReviewDestinationStatus) ProtoReflect() protoreflect.Message
func (*MerchantReviewStatus_MerchantReviewDestinationStatus) Reset ¶
func (x *MerchantReviewStatus_MerchantReviewDestinationStatus) Reset()
func (*MerchantReviewStatus_MerchantReviewDestinationStatus) String ¶
func (x *MerchantReviewStatus_MerchantReviewDestinationStatus) String() string
type MerchantReviewStatus_MerchantReviewItemLevelIssue ¶
type MerchantReviewStatus_MerchantReviewItemLevelIssue struct { // Output only. The error code of the issue. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // Output only. How this issue affects serving of the merchant review. Severity MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity `` /* 174-byte string literal not displayed */ // Output only. Whether the issue can be resolved by the merchant. Resolution string `protobuf:"bytes,3,opt,name=resolution,proto3" json:"resolution,omitempty"` // Output only. The attribute's name, if the issue is caused by a single // attribute. Attribute string `protobuf:"bytes,4,opt,name=attribute,proto3" json:"attribute,omitempty"` // Output only. The reporting context the issue applies to. ReportingContext typepb.ReportingContext_ReportingContextEnum `` /* 174-byte string literal not displayed */ // Output only. A short issue description in English. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // Output only. A detailed issue description in English. Detail string `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"` // Output only. The URL of a web page to help with resolving this issue. Documentation string `protobuf:"bytes,8,opt,name=documentation,proto3" json:"documentation,omitempty"` // contains filtered or unexported fields }
The ItemLevelIssue of the merchant review status.
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) Descriptor
deprecated
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) Descriptor() ([]byte, []int)
Deprecated: Use MerchantReviewStatus_MerchantReviewItemLevelIssue.ProtoReflect.Descriptor instead.
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) GetAttribute ¶
func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetAttribute() string
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) GetCode ¶
func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetCode() string
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) GetDescription ¶
func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetDescription() string
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) GetDetail ¶
func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetDetail() string
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) GetDocumentation ¶
func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetDocumentation() string
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) GetReportingContext ¶
func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) GetResolution ¶
func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) GetResolution() string
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) GetSeverity ¶
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) ProtoMessage ¶
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) ProtoMessage()
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) ProtoReflect ¶
func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) ProtoReflect() protoreflect.Message
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) Reset ¶
func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) Reset()
func (*MerchantReviewStatus_MerchantReviewItemLevelIssue) String ¶
func (x *MerchantReviewStatus_MerchantReviewItemLevelIssue) String() string
type MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity ¶
type MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity int32
How the issue affects the serving of the merchant review.
const ( // Not specified. MerchantReviewStatus_MerchantReviewItemLevelIssue_SEVERITY_UNSPECIFIED MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity = 0 // This issue represents a warning and does not have a direct affect // on the merchant review. MerchantReviewStatus_MerchantReviewItemLevelIssue_NOT_IMPACTED MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity = 1 // Issue disapproves the merchant review. MerchantReviewStatus_MerchantReviewItemLevelIssue_DISAPPROVED MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity = 2 )
func (MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) Descriptor ¶
func (MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) Descriptor() protoreflect.EnumDescriptor
func (MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) EnumDescriptor
deprecated
func (MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity.Descriptor instead.
func (MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) Number ¶
func (x MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) Number() protoreflect.EnumNumber
func (MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) String ¶
func (x MerchantReviewStatus_MerchantReviewItemLevelIssue_Severity) String() string
type MerchantReviewsServiceClient ¶
type MerchantReviewsServiceClient interface { // Gets a merchant review. GetMerchantReview(ctx context.Context, in *GetMerchantReviewRequest, opts ...grpc.CallOption) (*MerchantReview, error) // Lists merchant reviews. ListMerchantReviews(ctx context.Context, in *ListMerchantReviewsRequest, opts ...grpc.CallOption) (*ListMerchantReviewsResponse, error) // Inserts a review for your Merchant Center account. If the review // already exists, then the review is replaced with the new instance. InsertMerchantReview(ctx context.Context, in *InsertMerchantReviewRequest, opts ...grpc.CallOption) (*MerchantReview, error) // Deletes merchant review. DeleteMerchantReview(ctx context.Context, in *DeleteMerchantReviewRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
MerchantReviewsServiceClient is the client API for MerchantReviewsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMerchantReviewsServiceClient ¶
func NewMerchantReviewsServiceClient(cc grpc.ClientConnInterface) MerchantReviewsServiceClient
type MerchantReviewsServiceServer ¶
type MerchantReviewsServiceServer interface { // Gets a merchant review. GetMerchantReview(context.Context, *GetMerchantReviewRequest) (*MerchantReview, error) // Lists merchant reviews. ListMerchantReviews(context.Context, *ListMerchantReviewsRequest) (*ListMerchantReviewsResponse, error) // Inserts a review for your Merchant Center account. If the review // already exists, then the review is replaced with the new instance. InsertMerchantReview(context.Context, *InsertMerchantReviewRequest) (*MerchantReview, error) // Deletes merchant review. DeleteMerchantReview(context.Context, *DeleteMerchantReviewRequest) (*emptypb.Empty, error) }
MerchantReviewsServiceServer is the server API for MerchantReviewsService service.
type ProductReview ¶
type ProductReview struct { // Identifier. The name of the product review. // Format: // `"{productreview.name=accounts/{account}/productReviews/{productReview}}"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The permanent, unique identifier for the product review in the // publisher’s system. ProductReviewId string `protobuf:"bytes,2,opt,name=product_review_id,json=productReviewId,proto3" json:"product_review_id,omitempty"` // Optional. A list of product review attributes. Attributes *ProductReviewAttributes `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"` // Optional. A list of custom (merchant-provided) attributes. CustomAttributes []*typepb.CustomAttribute `protobuf:"bytes,4,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty"` // Output only. The primary data source of the product review. DataSource string `protobuf:"bytes,5,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` // Output only. The status of a product review, data validation issues, that // is, information about a product review computed asynchronously. ProductReviewStatus *ProductReviewStatus `protobuf:"bytes,6,opt,name=product_review_status,json=productReviewStatus,proto3" json:"product_review_status,omitempty"` // contains filtered or unexported fields }
A review for a product. For more information, see [Introduction to Product Review Feeds](https://developers.google.com/product-review-feeds)
func (*ProductReview) Descriptor
deprecated
func (*ProductReview) Descriptor() ([]byte, []int)
Deprecated: Use ProductReview.ProtoReflect.Descriptor instead.
func (*ProductReview) GetAttributes ¶
func (x *ProductReview) GetAttributes() *ProductReviewAttributes
func (*ProductReview) GetCustomAttributes ¶
func (x *ProductReview) GetCustomAttributes() []*typepb.CustomAttribute
func (*ProductReview) GetDataSource ¶
func (x *ProductReview) GetDataSource() string
func (*ProductReview) GetName ¶
func (x *ProductReview) GetName() string
func (*ProductReview) GetProductReviewId ¶
func (x *ProductReview) GetProductReviewId() string
func (*ProductReview) GetProductReviewStatus ¶
func (x *ProductReview) GetProductReviewStatus() *ProductReviewStatus
func (*ProductReview) ProtoMessage ¶
func (*ProductReview) ProtoMessage()
func (*ProductReview) ProtoReflect ¶
func (x *ProductReview) ProtoReflect() protoreflect.Message
func (*ProductReview) Reset ¶
func (x *ProductReview) Reset()
func (*ProductReview) String ¶
func (x *ProductReview) String() string
type ProductReviewAttributes ¶
type ProductReviewAttributes struct { // Optional. The name of the aggregator of the product reviews. // // A publisher may use a reviews aggregator to manage reviews and provide // the feeds. This element indicates the use of an aggregator and contains // information about the aggregator. AggregatorName *string `protobuf:"bytes,1,opt,name=aggregator_name,json=aggregatorName,proto3,oneof" json:"aggregator_name,omitempty"` // Optional. The name of the subclient of the product reviews. // // The subclient is an identifier of the product review source. // It should be equivalent to the directory provided in the file data source // path. SubclientName *string `protobuf:"bytes,2,opt,name=subclient_name,json=subclientName,proto3,oneof" json:"subclient_name,omitempty"` // Optional. The name of the publisher of the product reviews. // // The information about the publisher, which may be a retailer, // manufacturer, reviews service company, or any entity that publishes // product reviews. PublisherName *string `protobuf:"bytes,3,opt,name=publisher_name,json=publisherName,proto3,oneof" json:"publisher_name,omitempty"` // Optional. A link to the company favicon of the publisher. The image // dimensions should be favicon size: 16x16 pixels. The image format should be // GIF, JPG or PNG. PublisherFavicon *string `protobuf:"bytes,4,opt,name=publisher_favicon,json=publisherFavicon,proto3,oneof" json:"publisher_favicon,omitempty"` // Optional. The author of the product review. // // A permanent, unique identifier for the author of the review in the // publisher's system. ReviewerId *string `protobuf:"bytes,5,opt,name=reviewer_id,json=reviewerId,proto3,oneof" json:"reviewer_id,omitempty"` // Optional. Set to true if the reviewer should remain anonymous. ReviewerIsAnonymous *bool `` /* 127-byte string literal not displayed */ // Optional. The name of the reviewer of the product review. ReviewerUsername *string `protobuf:"bytes,7,opt,name=reviewer_username,json=reviewerUsername,proto3,oneof" json:"reviewer_username,omitempty"` // Optional. The language of the review defined by BCP-47 language code. ReviewLanguage *string `protobuf:"bytes,8,opt,name=review_language,json=reviewLanguage,proto3,oneof" json:"review_language,omitempty"` // Optional. The country of the review defined by ISO 3166-1 Alpha-2 Country // Code. ReviewCountry *string `protobuf:"bytes,9,opt,name=review_country,json=reviewCountry,proto3,oneof" json:"review_country,omitempty"` // Required. The timestamp indicating when the review was written. ReviewTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=review_time,json=reviewTime,proto3" json:"review_time,omitempty"` // Optional. The title of the review. Title *string `protobuf:"bytes,11,opt,name=title,proto3,oneof" json:"title,omitempty"` // Required. The content of the review. Content *string `protobuf:"bytes,12,opt,name=content,proto3,oneof" json:"content,omitempty"` // Optional. Contains the advantages based on the opinion of the reviewer. // Omit boilerplate text like "pro:" unless it was written by the reviewer. Pros []string `protobuf:"bytes,13,rep,name=pros,proto3" json:"pros,omitempty"` // Optional. Contains the disadvantages based on the opinion of the reviewer. // Omit boilerplate text like "con:" unless it was written by the reviewer. Cons []string `protobuf:"bytes,14,rep,name=cons,proto3" json:"cons,omitempty"` // Optional. The URI of the review landing page. ReviewLink *ProductReviewAttributes_ReviewLink `protobuf:"bytes,15,opt,name=review_link,json=reviewLink,proto3" json:"review_link,omitempty"` // Optional. A URI to an image of the reviewed product created by the review // author. The URI does not have to end with an image file extension. ReviewerImageLinks []string `protobuf:"bytes,16,rep,name=reviewer_image_links,json=reviewerImageLinks,proto3" json:"reviewer_image_links,omitempty"` // Optional. Contains the ratings associated with the review. // The minimum possible number for the rating. This should be the worst // possible rating and should not be a value for no rating. MinRating *int64 `protobuf:"varint,17,opt,name=min_rating,json=minRating,proto3,oneof" json:"min_rating,omitempty"` // Optional. The maximum possible number for the rating. The value of the max // rating must be greater than the value of the min attribute. MaxRating *int64 `protobuf:"varint,18,opt,name=max_rating,json=maxRating,proto3,oneof" json:"max_rating,omitempty"` // Optional. The reviewer's overall rating of the product. Rating *float64 `protobuf:"fixed64,19,opt,name=rating,proto3,oneof" json:"rating,omitempty"` // Optional. Descriptive name of a product. ProductNames []string `protobuf:"bytes,20,rep,name=product_names,json=productNames,proto3" json:"product_names,omitempty"` // Optional. The URI of the product. This URI can have the same value as the // `review_link` element, if the review URI and the product URI are the // same. ProductLinks []string `protobuf:"bytes,21,rep,name=product_links,json=productLinks,proto3" json:"product_links,omitempty"` // Optional. Contains ASINs (Amazon Standard Identification Numbers) // associated with a product. Asins []string `protobuf:"bytes,22,rep,name=asins,proto3" json:"asins,omitempty"` // Optional. Contains GTINs (global trade item numbers) associated with a // product. Sub-types of GTINs (e.g. UPC, EAN, ISBN, JAN) are supported. Gtins []string `protobuf:"bytes,23,rep,name=gtins,proto3" json:"gtins,omitempty"` // Optional. Contains MPNs (manufacturer part numbers) associated with a // product. Mpns []string `protobuf:"bytes,24,rep,name=mpns,proto3" json:"mpns,omitempty"` // Optional. Contains SKUs (stock keeping units) associated with a product. // Often this matches the product Offer Id in the product feed. Skus []string `protobuf:"bytes,25,rep,name=skus,proto3" json:"skus,omitempty"` // Optional. Contains brand names associated with a product. Brands []string `protobuf:"bytes,26,rep,name=brands,proto3" json:"brands,omitempty"` // Optional. Indicates whether the review is marked as spam in the publisher's // system. IsSpam *bool `protobuf:"varint,27,opt,name=is_spam,json=isSpam,proto3,oneof" json:"is_spam,omitempty"` // Optional. The method used to collect the review. CollectionMethod ProductReviewAttributes_CollectionMethod `` /* 197-byte string literal not displayed */ // Optional. A permanent, unique identifier for the transaction associated // with the review in the publisher's system. This ID can be used to indicate // that multiple reviews are associated with the same transaction. TransactionId string `protobuf:"bytes,29,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // contains filtered or unexported fields }
Attributes.
func (*ProductReviewAttributes) Descriptor
deprecated
func (*ProductReviewAttributes) Descriptor() ([]byte, []int)
Deprecated: Use ProductReviewAttributes.ProtoReflect.Descriptor instead.
func (*ProductReviewAttributes) GetAggregatorName ¶
func (x *ProductReviewAttributes) GetAggregatorName() string
func (*ProductReviewAttributes) GetAsins ¶
func (x *ProductReviewAttributes) GetAsins() []string
func (*ProductReviewAttributes) GetBrands ¶
func (x *ProductReviewAttributes) GetBrands() []string
func (*ProductReviewAttributes) GetCollectionMethod ¶
func (x *ProductReviewAttributes) GetCollectionMethod() ProductReviewAttributes_CollectionMethod
func (*ProductReviewAttributes) GetCons ¶
func (x *ProductReviewAttributes) GetCons() []string
func (*ProductReviewAttributes) GetContent ¶
func (x *ProductReviewAttributes) GetContent() string
func (*ProductReviewAttributes) GetGtins ¶
func (x *ProductReviewAttributes) GetGtins() []string
func (*ProductReviewAttributes) GetIsSpam ¶
func (x *ProductReviewAttributes) GetIsSpam() bool
func (*ProductReviewAttributes) GetMaxRating ¶
func (x *ProductReviewAttributes) GetMaxRating() int64
func (*ProductReviewAttributes) GetMinRating ¶
func (x *ProductReviewAttributes) GetMinRating() int64
func (*ProductReviewAttributes) GetMpns ¶
func (x *ProductReviewAttributes) GetMpns() []string
func (*ProductReviewAttributes) GetProductLinks ¶
func (x *ProductReviewAttributes) GetProductLinks() []string
func (*ProductReviewAttributes) GetProductNames ¶
func (x *ProductReviewAttributes) GetProductNames() []string
func (*ProductReviewAttributes) GetPros ¶
func (x *ProductReviewAttributes) GetPros() []string
func (*ProductReviewAttributes) GetPublisherFavicon ¶
func (x *ProductReviewAttributes) GetPublisherFavicon() string
func (*ProductReviewAttributes) GetPublisherName ¶
func (x *ProductReviewAttributes) GetPublisherName() string
func (*ProductReviewAttributes) GetRating ¶
func (x *ProductReviewAttributes) GetRating() float64
func (*ProductReviewAttributes) GetReviewCountry ¶
func (x *ProductReviewAttributes) GetReviewCountry() string
func (*ProductReviewAttributes) GetReviewLanguage ¶
func (x *ProductReviewAttributes) GetReviewLanguage() string
func (*ProductReviewAttributes) GetReviewLink ¶
func (x *ProductReviewAttributes) GetReviewLink() *ProductReviewAttributes_ReviewLink
func (*ProductReviewAttributes) GetReviewTime ¶
func (x *ProductReviewAttributes) GetReviewTime() *timestamppb.Timestamp
func (*ProductReviewAttributes) GetReviewerId ¶
func (x *ProductReviewAttributes) GetReviewerId() string
func (*ProductReviewAttributes) GetReviewerImageLinks ¶
func (x *ProductReviewAttributes) GetReviewerImageLinks() []string
func (*ProductReviewAttributes) GetReviewerIsAnonymous ¶
func (x *ProductReviewAttributes) GetReviewerIsAnonymous() bool
func (*ProductReviewAttributes) GetReviewerUsername ¶
func (x *ProductReviewAttributes) GetReviewerUsername() string
func (*ProductReviewAttributes) GetSkus ¶
func (x *ProductReviewAttributes) GetSkus() []string
func (*ProductReviewAttributes) GetSubclientName ¶
func (x *ProductReviewAttributes) GetSubclientName() string
func (*ProductReviewAttributes) GetTitle ¶
func (x *ProductReviewAttributes) GetTitle() string
func (*ProductReviewAttributes) GetTransactionId ¶
func (x *ProductReviewAttributes) GetTransactionId() string
func (*ProductReviewAttributes) ProtoMessage ¶
func (*ProductReviewAttributes) ProtoMessage()
func (*ProductReviewAttributes) ProtoReflect ¶
func (x *ProductReviewAttributes) ProtoReflect() protoreflect.Message
func (*ProductReviewAttributes) Reset ¶
func (x *ProductReviewAttributes) Reset()
func (*ProductReviewAttributes) String ¶
func (x *ProductReviewAttributes) String() string
type ProductReviewAttributes_CollectionMethod ¶
type ProductReviewAttributes_CollectionMethod int32
The method used to collect the review.
const ( // Collection method unspecified. ProductReviewAttributes_COLLECTION_METHOD_UNSPECIFIED ProductReviewAttributes_CollectionMethod = 0 // The user was not responding to a specific solicitation when they // submitted the review. ProductReviewAttributes_UNSOLICITED ProductReviewAttributes_CollectionMethod = 1 // The user submitted the review in response to a solicitation after // fulfillment of the user's order. ProductReviewAttributes_POST_FULFILLMENT ProductReviewAttributes_CollectionMethod = 2 )
func (ProductReviewAttributes_CollectionMethod) Descriptor ¶
func (ProductReviewAttributes_CollectionMethod) Descriptor() protoreflect.EnumDescriptor
func (ProductReviewAttributes_CollectionMethod) EnumDescriptor
deprecated
func (ProductReviewAttributes_CollectionMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProductReviewAttributes_CollectionMethod.Descriptor instead.
func (ProductReviewAttributes_CollectionMethod) Number ¶
func (x ProductReviewAttributes_CollectionMethod) Number() protoreflect.EnumNumber
func (ProductReviewAttributes_CollectionMethod) String ¶
func (x ProductReviewAttributes_CollectionMethod) String() string
func (ProductReviewAttributes_CollectionMethod) Type ¶
func (ProductReviewAttributes_CollectionMethod) Type() protoreflect.EnumType
type ProductReviewAttributes_ReviewLink ¶
type ProductReviewAttributes_ReviewLink struct { // Optional. Type of the review URI. Type ProductReviewAttributes_ReviewLink_Type `` /* 147-byte string literal not displayed */ // Optional. The URI of the review landing page. // For example: `http://www.example.com/review_5.html`. Link string `protobuf:"bytes,2,opt,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }
The URI of the review landing page.
func (*ProductReviewAttributes_ReviewLink) Descriptor
deprecated
func (*ProductReviewAttributes_ReviewLink) Descriptor() ([]byte, []int)
Deprecated: Use ProductReviewAttributes_ReviewLink.ProtoReflect.Descriptor instead.
func (*ProductReviewAttributes_ReviewLink) GetLink ¶
func (x *ProductReviewAttributes_ReviewLink) GetLink() string
func (*ProductReviewAttributes_ReviewLink) GetType ¶
func (x *ProductReviewAttributes_ReviewLink) GetType() ProductReviewAttributes_ReviewLink_Type
func (*ProductReviewAttributes_ReviewLink) ProtoMessage ¶
func (*ProductReviewAttributes_ReviewLink) ProtoMessage()
func (*ProductReviewAttributes_ReviewLink) ProtoReflect ¶
func (x *ProductReviewAttributes_ReviewLink) ProtoReflect() protoreflect.Message
func (*ProductReviewAttributes_ReviewLink) Reset ¶
func (x *ProductReviewAttributes_ReviewLink) Reset()
func (*ProductReviewAttributes_ReviewLink) String ¶
func (x *ProductReviewAttributes_ReviewLink) String() string
type ProductReviewAttributes_ReviewLink_Type ¶
type ProductReviewAttributes_ReviewLink_Type int32
Type of the review URI.
const ( // Type unspecified. ProductReviewAttributes_ReviewLink_TYPE_UNSPECIFIED ProductReviewAttributes_ReviewLink_Type = 0 // The review page contains only this single review. ProductReviewAttributes_ReviewLink_SINGLETON ProductReviewAttributes_ReviewLink_Type = 1 // The review page contains a group of reviews including this review. ProductReviewAttributes_ReviewLink_GROUP ProductReviewAttributes_ReviewLink_Type = 2 )
func (ProductReviewAttributes_ReviewLink_Type) Descriptor ¶
func (ProductReviewAttributes_ReviewLink_Type) Descriptor() protoreflect.EnumDescriptor
func (ProductReviewAttributes_ReviewLink_Type) EnumDescriptor
deprecated
func (ProductReviewAttributes_ReviewLink_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProductReviewAttributes_ReviewLink_Type.Descriptor instead.
func (ProductReviewAttributes_ReviewLink_Type) Number ¶
func (x ProductReviewAttributes_ReviewLink_Type) Number() protoreflect.EnumNumber
func (ProductReviewAttributes_ReviewLink_Type) String ¶
func (x ProductReviewAttributes_ReviewLink_Type) String() string
func (ProductReviewAttributes_ReviewLink_Type) Type ¶
func (ProductReviewAttributes_ReviewLink_Type) Type() protoreflect.EnumType
type ProductReviewStatus ¶
type ProductReviewStatus struct { // Output only. The intended destinations for the product review. DestinationStatuses []*ProductReviewStatus_ProductReviewDestinationStatus `protobuf:"bytes,3,rep,name=destination_statuses,json=destinationStatuses,proto3" json:"destination_statuses,omitempty"` // Output only. A list of all issues associated with the product review. ItemLevelIssues []*ProductReviewStatus_ProductReviewItemLevelIssue `protobuf:"bytes,4,rep,name=item_level_issues,json=itemLevelIssues,proto3" json:"item_level_issues,omitempty"` // Output only. Date on which the item has been created, in [ISO // 8601](http://en.wikipedia.org/wiki/ISO_8601) format. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Date on which the item has been last updated, in [ISO // 8601](http://en.wikipedia.org/wiki/ISO_8601) format. LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"` // contains filtered or unexported fields }
Product review status.
func (*ProductReviewStatus) Descriptor
deprecated
func (*ProductReviewStatus) Descriptor() ([]byte, []int)
Deprecated: Use ProductReviewStatus.ProtoReflect.Descriptor instead.
func (*ProductReviewStatus) GetCreateTime ¶
func (x *ProductReviewStatus) GetCreateTime() *timestamppb.Timestamp
func (*ProductReviewStatus) GetDestinationStatuses ¶
func (x *ProductReviewStatus) GetDestinationStatuses() []*ProductReviewStatus_ProductReviewDestinationStatus
func (*ProductReviewStatus) GetItemLevelIssues ¶
func (x *ProductReviewStatus) GetItemLevelIssues() []*ProductReviewStatus_ProductReviewItemLevelIssue
func (*ProductReviewStatus) GetLastUpdateTime ¶
func (x *ProductReviewStatus) GetLastUpdateTime() *timestamppb.Timestamp
func (*ProductReviewStatus) ProtoMessage ¶
func (*ProductReviewStatus) ProtoMessage()
func (*ProductReviewStatus) ProtoReflect ¶
func (x *ProductReviewStatus) ProtoReflect() protoreflect.Message
func (*ProductReviewStatus) Reset ¶
func (x *ProductReviewStatus) Reset()
func (*ProductReviewStatus) String ¶
func (x *ProductReviewStatus) String() string
type ProductReviewStatus_ProductReviewDestinationStatus ¶
type ProductReviewStatus_ProductReviewDestinationStatus struct { // Output only. The name of the reporting context. ReportingContext typepb.ReportingContext_ReportingContextEnum `` /* 174-byte string literal not displayed */ // contains filtered or unexported fields }
The destination status of the product review status.
func (*ProductReviewStatus_ProductReviewDestinationStatus) Descriptor
deprecated
func (*ProductReviewStatus_ProductReviewDestinationStatus) Descriptor() ([]byte, []int)
Deprecated: Use ProductReviewStatus_ProductReviewDestinationStatus.ProtoReflect.Descriptor instead.
func (*ProductReviewStatus_ProductReviewDestinationStatus) GetReportingContext ¶
func (x *ProductReviewStatus_ProductReviewDestinationStatus) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
func (*ProductReviewStatus_ProductReviewDestinationStatus) ProtoMessage ¶
func (*ProductReviewStatus_ProductReviewDestinationStatus) ProtoMessage()
func (*ProductReviewStatus_ProductReviewDestinationStatus) ProtoReflect ¶
func (x *ProductReviewStatus_ProductReviewDestinationStatus) ProtoReflect() protoreflect.Message
func (*ProductReviewStatus_ProductReviewDestinationStatus) Reset ¶
func (x *ProductReviewStatus_ProductReviewDestinationStatus) Reset()
func (*ProductReviewStatus_ProductReviewDestinationStatus) String ¶
func (x *ProductReviewStatus_ProductReviewDestinationStatus) String() string
type ProductReviewStatus_ProductReviewItemLevelIssue ¶
type ProductReviewStatus_ProductReviewItemLevelIssue struct { // Output only. The error code of the issue. Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` // Output only. How this issue affects serving of the product review. Severity ProductReviewStatus_ProductReviewItemLevelIssue_Severity `` /* 172-byte string literal not displayed */ // Output only. Whether the issue can be resolved by the merchant. Resolution string `protobuf:"bytes,3,opt,name=resolution,proto3" json:"resolution,omitempty"` // Output only. The attribute's name, if the issue is caused by a single // attribute. Attribute string `protobuf:"bytes,4,opt,name=attribute,proto3" json:"attribute,omitempty"` // Output only. The reporting context the issue applies to. ReportingContext typepb.ReportingContext_ReportingContextEnum `` /* 174-byte string literal not displayed */ // Output only. A short issue description in English. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // Output only. A detailed issue description in English. Detail string `protobuf:"bytes,7,opt,name=detail,proto3" json:"detail,omitempty"` // Output only. The URL of a web page to help with resolving this issue. Documentation string `protobuf:"bytes,8,opt,name=documentation,proto3" json:"documentation,omitempty"` // contains filtered or unexported fields }
The ItemLevelIssue of the product review status.
func (*ProductReviewStatus_ProductReviewItemLevelIssue) Descriptor
deprecated
func (*ProductReviewStatus_ProductReviewItemLevelIssue) Descriptor() ([]byte, []int)
Deprecated: Use ProductReviewStatus_ProductReviewItemLevelIssue.ProtoReflect.Descriptor instead.
func (*ProductReviewStatus_ProductReviewItemLevelIssue) GetAttribute ¶
func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetAttribute() string
func (*ProductReviewStatus_ProductReviewItemLevelIssue) GetCode ¶
func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetCode() string
func (*ProductReviewStatus_ProductReviewItemLevelIssue) GetDescription ¶
func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetDescription() string
func (*ProductReviewStatus_ProductReviewItemLevelIssue) GetDetail ¶
func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetDetail() string
func (*ProductReviewStatus_ProductReviewItemLevelIssue) GetDocumentation ¶
func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetDocumentation() string
func (*ProductReviewStatus_ProductReviewItemLevelIssue) GetReportingContext ¶
func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
func (*ProductReviewStatus_ProductReviewItemLevelIssue) GetResolution ¶
func (x *ProductReviewStatus_ProductReviewItemLevelIssue) GetResolution() string
func (*ProductReviewStatus_ProductReviewItemLevelIssue) GetSeverity ¶
func (*ProductReviewStatus_ProductReviewItemLevelIssue) ProtoMessage ¶
func (*ProductReviewStatus_ProductReviewItemLevelIssue) ProtoMessage()
func (*ProductReviewStatus_ProductReviewItemLevelIssue) ProtoReflect ¶
func (x *ProductReviewStatus_ProductReviewItemLevelIssue) ProtoReflect() protoreflect.Message
func (*ProductReviewStatus_ProductReviewItemLevelIssue) Reset ¶
func (x *ProductReviewStatus_ProductReviewItemLevelIssue) Reset()
func (*ProductReviewStatus_ProductReviewItemLevelIssue) String ¶
func (x *ProductReviewStatus_ProductReviewItemLevelIssue) String() string
type ProductReviewStatus_ProductReviewItemLevelIssue_Severity ¶
type ProductReviewStatus_ProductReviewItemLevelIssue_Severity int32
How the issue affects the serving of the product review.
const ( // Not specified. ProductReviewStatus_ProductReviewItemLevelIssue_SEVERITY_UNSPECIFIED ProductReviewStatus_ProductReviewItemLevelIssue_Severity = 0 // This issue represents a warning and does not have a direct affect // on the product review. ProductReviewStatus_ProductReviewItemLevelIssue_NOT_IMPACTED ProductReviewStatus_ProductReviewItemLevelIssue_Severity = 1 // Issue disapproves the product review. ProductReviewStatus_ProductReviewItemLevelIssue_DISAPPROVED ProductReviewStatus_ProductReviewItemLevelIssue_Severity = 2 )
func (ProductReviewStatus_ProductReviewItemLevelIssue_Severity) Descriptor ¶
func (ProductReviewStatus_ProductReviewItemLevelIssue_Severity) Descriptor() protoreflect.EnumDescriptor
func (ProductReviewStatus_ProductReviewItemLevelIssue_Severity) EnumDescriptor
deprecated
func (ProductReviewStatus_ProductReviewItemLevelIssue_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProductReviewStatus_ProductReviewItemLevelIssue_Severity.Descriptor instead.
func (ProductReviewStatus_ProductReviewItemLevelIssue_Severity) Number ¶
func (x ProductReviewStatus_ProductReviewItemLevelIssue_Severity) Number() protoreflect.EnumNumber
func (ProductReviewStatus_ProductReviewItemLevelIssue_Severity) String ¶
func (x ProductReviewStatus_ProductReviewItemLevelIssue_Severity) String() string
type ProductReviewsServiceClient ¶
type ProductReviewsServiceClient interface { // Gets a product review. GetProductReview(ctx context.Context, in *GetProductReviewRequest, opts ...grpc.CallOption) (*ProductReview, error) // Lists product reviews. ListProductReviews(ctx context.Context, in *ListProductReviewsRequest, opts ...grpc.CallOption) (*ListProductReviewsResponse, error) // Inserts a product review. InsertProductReview(ctx context.Context, in *InsertProductReviewRequest, opts ...grpc.CallOption) (*ProductReview, error) // Deletes a product review. DeleteProductReview(ctx context.Context, in *DeleteProductReviewRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ProductReviewsServiceClient is the client API for ProductReviewsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProductReviewsServiceClient ¶
func NewProductReviewsServiceClient(cc grpc.ClientConnInterface) ProductReviewsServiceClient
type ProductReviewsServiceServer ¶
type ProductReviewsServiceServer interface { // Gets a product review. GetProductReview(context.Context, *GetProductReviewRequest) (*ProductReview, error) // Lists product reviews. ListProductReviews(context.Context, *ListProductReviewsRequest) (*ListProductReviewsResponse, error) // Inserts a product review. InsertProductReview(context.Context, *InsertProductReviewRequest) (*ProductReview, error) // Deletes a product review. DeleteProductReview(context.Context, *DeleteProductReviewRequest) (*emptypb.Empty, error) }
ProductReviewsServiceServer is the server API for ProductReviewsService service.
type UnimplementedMerchantReviewsServiceServer ¶
type UnimplementedMerchantReviewsServiceServer struct { }
UnimplementedMerchantReviewsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMerchantReviewsServiceServer) DeleteMerchantReview ¶
func (*UnimplementedMerchantReviewsServiceServer) DeleteMerchantReview(context.Context, *DeleteMerchantReviewRequest) (*emptypb.Empty, error)
func (*UnimplementedMerchantReviewsServiceServer) GetMerchantReview ¶
func (*UnimplementedMerchantReviewsServiceServer) GetMerchantReview(context.Context, *GetMerchantReviewRequest) (*MerchantReview, error)
func (*UnimplementedMerchantReviewsServiceServer) InsertMerchantReview ¶
func (*UnimplementedMerchantReviewsServiceServer) InsertMerchantReview(context.Context, *InsertMerchantReviewRequest) (*MerchantReview, error)
func (*UnimplementedMerchantReviewsServiceServer) ListMerchantReviews ¶
func (*UnimplementedMerchantReviewsServiceServer) ListMerchantReviews(context.Context, *ListMerchantReviewsRequest) (*ListMerchantReviewsResponse, error)
type UnimplementedProductReviewsServiceServer ¶
type UnimplementedProductReviewsServiceServer struct { }
UnimplementedProductReviewsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProductReviewsServiceServer) DeleteProductReview ¶
func (*UnimplementedProductReviewsServiceServer) DeleteProductReview(context.Context, *DeleteProductReviewRequest) (*emptypb.Empty, error)
func (*UnimplementedProductReviewsServiceServer) GetProductReview ¶
func (*UnimplementedProductReviewsServiceServer) GetProductReview(context.Context, *GetProductReviewRequest) (*ProductReview, error)
func (*UnimplementedProductReviewsServiceServer) InsertProductReview ¶
func (*UnimplementedProductReviewsServiceServer) InsertProductReview(context.Context, *InsertProductReviewRequest) (*ProductReview, error)
func (*UnimplementedProductReviewsServiceServer) ListProductReviews ¶
func (*UnimplementedProductReviewsServiceServer) ListProductReviews(context.Context, *ListProductReviewsRequest) (*ListProductReviewsResponse, error)