Documentation
¶
Index ¶
- Variables
- func RegisterCatalogServiceServer(s *grpc.Server, srv CatalogServiceServer)
- func RegisterCompletionServiceServer(s *grpc.Server, srv CompletionServiceServer)
- func RegisterControlServiceServer(s *grpc.Server, srv ControlServiceServer)
- func RegisterModelServiceServer(s *grpc.Server, srv ModelServiceServer)
- func RegisterPredictionServiceServer(s *grpc.Server, srv PredictionServiceServer)
- func RegisterProductServiceServer(s *grpc.Server, srv ProductServiceServer)
- func RegisterSearchServiceServer(s *grpc.Server, srv SearchServiceServer)
- func RegisterServingConfigServiceServer(s *grpc.Server, srv ServingConfigServiceServer)
- func RegisterUserEventServiceServer(s *grpc.Server, srv UserEventServiceServer)
- type AddCatalogAttributeRequest
- func (*AddCatalogAttributeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddCatalogAttributeRequest) GetAttributesConfig() string
- func (x *AddCatalogAttributeRequest) GetCatalogAttribute() *CatalogAttribute
- func (*AddCatalogAttributeRequest) ProtoMessage()
- func (x *AddCatalogAttributeRequest) ProtoReflect() protoreflect.Message
- func (x *AddCatalogAttributeRequest) Reset()
- func (x *AddCatalogAttributeRequest) String() string
- type AddControlRequest
- func (*AddControlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddControlRequest) GetControlId() string
- func (x *AddControlRequest) GetServingConfig() string
- func (*AddControlRequest) ProtoMessage()
- func (x *AddControlRequest) ProtoReflect() protoreflect.Message
- func (x *AddControlRequest) Reset()
- func (x *AddControlRequest) String() string
- type AddFulfillmentPlacesMetadata
- func (*AddFulfillmentPlacesMetadata) Descriptor() ([]byte, []int)deprecated
- func (*AddFulfillmentPlacesMetadata) ProtoMessage()
- func (x *AddFulfillmentPlacesMetadata) ProtoReflect() protoreflect.Message
- func (x *AddFulfillmentPlacesMetadata) Reset()
- func (x *AddFulfillmentPlacesMetadata) String() string
- type AddFulfillmentPlacesRequest
- func (*AddFulfillmentPlacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddFulfillmentPlacesRequest) GetAddTime() *timestamppb.Timestamp
- func (x *AddFulfillmentPlacesRequest) GetAllowMissing() bool
- func (x *AddFulfillmentPlacesRequest) GetPlaceIds() []string
- func (x *AddFulfillmentPlacesRequest) GetProduct() string
- func (x *AddFulfillmentPlacesRequest) GetType() string
- func (*AddFulfillmentPlacesRequest) ProtoMessage()
- func (x *AddFulfillmentPlacesRequest) ProtoReflect() protoreflect.Message
- func (x *AddFulfillmentPlacesRequest) Reset()
- func (x *AddFulfillmentPlacesRequest) String() string
- type AddFulfillmentPlacesResponse
- func (*AddFulfillmentPlacesResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddFulfillmentPlacesResponse) ProtoMessage()
- func (x *AddFulfillmentPlacesResponse) ProtoReflect() protoreflect.Message
- func (x *AddFulfillmentPlacesResponse) Reset()
- func (x *AddFulfillmentPlacesResponse) String() string
- type AddLocalInventoriesMetadata
- type AddLocalInventoriesRequest
- func (*AddLocalInventoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddLocalInventoriesRequest) GetAddMask() *fieldmaskpb.FieldMask
- func (x *AddLocalInventoriesRequest) GetAddTime() *timestamppb.Timestamp
- func (x *AddLocalInventoriesRequest) GetAllowMissing() bool
- func (x *AddLocalInventoriesRequest) GetLocalInventories() []*LocalInventory
- func (x *AddLocalInventoriesRequest) GetProduct() string
- func (*AddLocalInventoriesRequest) ProtoMessage()
- func (x *AddLocalInventoriesRequest) ProtoReflect() protoreflect.Message
- func (x *AddLocalInventoriesRequest) Reset()
- func (x *AddLocalInventoriesRequest) String() string
- type AddLocalInventoriesResponse
- type AttributeConfigLevel
- func (AttributeConfigLevel) Descriptor() protoreflect.EnumDescriptor
- func (x AttributeConfigLevel) Enum() *AttributeConfigLevel
- func (AttributeConfigLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x AttributeConfigLevel) Number() protoreflect.EnumNumber
- func (x AttributeConfigLevel) String() string
- func (AttributeConfigLevel) Type() protoreflect.EnumType
- type AttributesConfig
- func (*AttributesConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AttributesConfig) GetAttributeConfigLevel() AttributeConfigLevel
- func (x *AttributesConfig) GetCatalogAttributes() map[string]*CatalogAttribute
- func (x *AttributesConfig) GetName() string
- func (*AttributesConfig) ProtoMessage()
- func (x *AttributesConfig) ProtoReflect() protoreflect.Message
- func (x *AttributesConfig) Reset()
- func (x *AttributesConfig) String() string
- type Audience
- type BigQuerySource
- func (*BigQuerySource) Descriptor() ([]byte, []int)deprecated
- func (x *BigQuerySource) GetDataSchema() string
- func (x *BigQuerySource) GetDatasetId() string
- func (x *BigQuerySource) GetGcsStagingDir() string
- func (m *BigQuerySource) GetPartition() isBigQuerySource_Partition
- func (x *BigQuerySource) GetPartitionDate() *date.Date
- func (x *BigQuerySource) GetProjectId() string
- func (x *BigQuerySource) GetTableId() string
- func (*BigQuerySource) ProtoMessage()
- func (x *BigQuerySource) ProtoReflect() protoreflect.Message
- func (x *BigQuerySource) Reset()
- func (x *BigQuerySource) String() string
- type BigQuerySource_PartitionDate
- type Catalog
- func (*Catalog) Descriptor() ([]byte, []int)deprecated
- func (x *Catalog) GetDisplayName() string
- func (x *Catalog) GetName() string
- func (x *Catalog) GetProductLevelConfig() *ProductLevelConfig
- func (*Catalog) ProtoMessage()
- func (x *Catalog) ProtoReflect() protoreflect.Message
- func (x *Catalog) Reset()
- func (x *Catalog) String() string
- type CatalogAttribute
- func (*CatalogAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *CatalogAttribute) GetDynamicFacetableOption() CatalogAttribute_DynamicFacetableOption
- func (x *CatalogAttribute) GetExactSearchableOption() CatalogAttribute_ExactSearchableOption
- func (x *CatalogAttribute) GetInUse() bool
- func (x *CatalogAttribute) GetIndexableOption() CatalogAttribute_IndexableOption
- func (x *CatalogAttribute) GetKey() string
- func (x *CatalogAttribute) GetRetrievableOption() CatalogAttribute_RetrievableOption
- func (x *CatalogAttribute) GetSearchableOption() CatalogAttribute_SearchableOption
- func (x *CatalogAttribute) GetType() CatalogAttribute_AttributeType
- func (*CatalogAttribute) ProtoMessage()
- func (x *CatalogAttribute) ProtoReflect() protoreflect.Message
- func (x *CatalogAttribute) Reset()
- func (x *CatalogAttribute) String() string
- type CatalogAttribute_AttributeType
- func (CatalogAttribute_AttributeType) Descriptor() protoreflect.EnumDescriptor
- func (x CatalogAttribute_AttributeType) Enum() *CatalogAttribute_AttributeType
- func (CatalogAttribute_AttributeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CatalogAttribute_AttributeType) Number() protoreflect.EnumNumber
- func (x CatalogAttribute_AttributeType) String() string
- func (CatalogAttribute_AttributeType) Type() protoreflect.EnumType
- type CatalogAttribute_DynamicFacetableOption
- func (CatalogAttribute_DynamicFacetableOption) Descriptor() protoreflect.EnumDescriptor
- func (x CatalogAttribute_DynamicFacetableOption) Enum() *CatalogAttribute_DynamicFacetableOption
- func (CatalogAttribute_DynamicFacetableOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x CatalogAttribute_DynamicFacetableOption) Number() protoreflect.EnumNumber
- func (x CatalogAttribute_DynamicFacetableOption) String() string
- func (CatalogAttribute_DynamicFacetableOption) Type() protoreflect.EnumType
- type CatalogAttribute_ExactSearchableOption
- func (CatalogAttribute_ExactSearchableOption) Descriptor() protoreflect.EnumDescriptor
- func (x CatalogAttribute_ExactSearchableOption) Enum() *CatalogAttribute_ExactSearchableOption
- func (CatalogAttribute_ExactSearchableOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x CatalogAttribute_ExactSearchableOption) Number() protoreflect.EnumNumber
- func (x CatalogAttribute_ExactSearchableOption) String() string
- func (CatalogAttribute_ExactSearchableOption) Type() protoreflect.EnumType
- type CatalogAttribute_IndexableOption
- func (CatalogAttribute_IndexableOption) Descriptor() protoreflect.EnumDescriptor
- func (x CatalogAttribute_IndexableOption) Enum() *CatalogAttribute_IndexableOption
- func (CatalogAttribute_IndexableOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x CatalogAttribute_IndexableOption) Number() protoreflect.EnumNumber
- func (x CatalogAttribute_IndexableOption) String() string
- func (CatalogAttribute_IndexableOption) Type() protoreflect.EnumType
- type CatalogAttribute_RetrievableOption
- func (CatalogAttribute_RetrievableOption) Descriptor() protoreflect.EnumDescriptor
- func (x CatalogAttribute_RetrievableOption) Enum() *CatalogAttribute_RetrievableOption
- func (CatalogAttribute_RetrievableOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x CatalogAttribute_RetrievableOption) Number() protoreflect.EnumNumber
- func (x CatalogAttribute_RetrievableOption) String() string
- func (CatalogAttribute_RetrievableOption) Type() protoreflect.EnumType
- type CatalogAttribute_SearchableOption
- func (CatalogAttribute_SearchableOption) Descriptor() protoreflect.EnumDescriptor
- func (x CatalogAttribute_SearchableOption) Enum() *CatalogAttribute_SearchableOption
- func (CatalogAttribute_SearchableOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x CatalogAttribute_SearchableOption) Number() protoreflect.EnumNumber
- func (x CatalogAttribute_SearchableOption) String() string
- func (CatalogAttribute_SearchableOption) Type() protoreflect.EnumType
- type CatalogServiceClient
- type CatalogServiceServer
- type CollectUserEventRequest
- func (*CollectUserEventRequest) Descriptor() ([]byte, []int)deprecated
- func (m *CollectUserEventRequest) GetConversionRule() isCollectUserEventRequest_ConversionRule
- func (x *CollectUserEventRequest) GetEts() int64
- func (x *CollectUserEventRequest) GetParent() string
- func (x *CollectUserEventRequest) GetPrebuiltRule() string
- func (x *CollectUserEventRequest) GetRawJson() string
- func (x *CollectUserEventRequest) GetUri() string
- func (x *CollectUserEventRequest) GetUserEvent() string
- func (*CollectUserEventRequest) ProtoMessage()
- func (x *CollectUserEventRequest) ProtoReflect() protoreflect.Message
- func (x *CollectUserEventRequest) Reset()
- func (x *CollectUserEventRequest) String() string
- type CollectUserEventRequest_PrebuiltRule
- type ColorInfo
- type CompleteQueryRequest
- func (*CompleteQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteQueryRequest) GetCatalog() string
- func (x *CompleteQueryRequest) GetDataset() string
- func (x *CompleteQueryRequest) GetDeviceType() string
- func (x *CompleteQueryRequest) GetEntity() string
- func (x *CompleteQueryRequest) GetLanguageCodes() []string
- func (x *CompleteQueryRequest) GetMaxSuggestions() int32
- func (x *CompleteQueryRequest) GetQuery() string
- func (x *CompleteQueryRequest) GetVisitorId() string
- func (*CompleteQueryRequest) ProtoMessage()
- func (x *CompleteQueryRequest) ProtoReflect() protoreflect.Message
- func (x *CompleteQueryRequest) Reset()
- func (x *CompleteQueryRequest) String() string
- type CompleteQueryResponse
- func (*CompleteQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteQueryResponse) GetAttributionToken() string
- func (x *CompleteQueryResponse) GetCompletionResults() []*CompleteQueryResponse_CompletionResult
- func (x *CompleteQueryResponse) GetRecentSearchResults() []*CompleteQueryResponse_RecentSearchResult
- func (*CompleteQueryResponse) ProtoMessage()
- func (x *CompleteQueryResponse) ProtoReflect() protoreflect.Message
- func (x *CompleteQueryResponse) Reset()
- func (x *CompleteQueryResponse) String() string
- type CompleteQueryResponse_CompletionResult
- func (*CompleteQueryResponse_CompletionResult) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteQueryResponse_CompletionResult) GetAttributes() map[string]*CustomAttribute
- func (x *CompleteQueryResponse_CompletionResult) GetSuggestion() string
- func (*CompleteQueryResponse_CompletionResult) ProtoMessage()
- func (x *CompleteQueryResponse_CompletionResult) ProtoReflect() protoreflect.Message
- func (x *CompleteQueryResponse_CompletionResult) Reset()
- func (x *CompleteQueryResponse_CompletionResult) String() string
- type CompleteQueryResponse_RecentSearchResult
- func (*CompleteQueryResponse_RecentSearchResult) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteQueryResponse_RecentSearchResult) GetRecentSearch() string
- func (*CompleteQueryResponse_RecentSearchResult) ProtoMessage()
- func (x *CompleteQueryResponse_RecentSearchResult) ProtoReflect() protoreflect.Message
- func (x *CompleteQueryResponse_RecentSearchResult) Reset()
- func (x *CompleteQueryResponse_RecentSearchResult) String() string
- type CompletionConfig
- func (*CompletionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionConfig) GetAllowlistInputConfig() *CompletionDataInputConfig
- func (x *CompletionConfig) GetAutoLearning() bool
- func (x *CompletionConfig) GetDenylistInputConfig() *CompletionDataInputConfig
- func (x *CompletionConfig) GetLastAllowlistImportOperation() string
- func (x *CompletionConfig) GetLastDenylistImportOperation() string
- func (x *CompletionConfig) GetLastSuggestionsImportOperation() string
- func (x *CompletionConfig) GetMatchingOrder() string
- func (x *CompletionConfig) GetMaxSuggestions() int32
- func (x *CompletionConfig) GetMinPrefixLength() int32
- func (x *CompletionConfig) GetName() string
- func (x *CompletionConfig) GetSuggestionsInputConfig() *CompletionDataInputConfig
- func (*CompletionConfig) ProtoMessage()
- func (x *CompletionConfig) ProtoReflect() protoreflect.Message
- func (x *CompletionConfig) Reset()
- func (x *CompletionConfig) String() string
- type CompletionDataInputConfig
- func (*CompletionDataInputConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionDataInputConfig) GetBigQuerySource() *BigQuerySource
- func (m *CompletionDataInputConfig) GetSource() isCompletionDataInputConfig_Source
- func (*CompletionDataInputConfig) ProtoMessage()
- func (x *CompletionDataInputConfig) ProtoReflect() protoreflect.Message
- func (x *CompletionDataInputConfig) Reset()
- func (x *CompletionDataInputConfig) String() string
- type CompletionDataInputConfig_BigQuerySource
- type CompletionDetail
- func (*CompletionDetail) Descriptor() ([]byte, []int)deprecated
- func (x *CompletionDetail) GetCompletionAttributionToken() string
- func (x *CompletionDetail) GetSelectedPosition() int32
- func (x *CompletionDetail) GetSelectedSuggestion() string
- func (*CompletionDetail) ProtoMessage()
- func (x *CompletionDetail) ProtoReflect() protoreflect.Message
- func (x *CompletionDetail) Reset()
- func (x *CompletionDetail) String() string
- type CompletionServiceClient
- type CompletionServiceServer
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetActiveTimeRange() []*Condition_TimeRange
- func (x *Condition) GetQueryTerms() []*Condition_QueryTerm
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- type Condition_QueryTerm
- func (*Condition_QueryTerm) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_QueryTerm) GetFullMatch() bool
- func (x *Condition_QueryTerm) GetValue() string
- func (*Condition_QueryTerm) ProtoMessage()
- func (x *Condition_QueryTerm) ProtoReflect() protoreflect.Message
- func (x *Condition_QueryTerm) Reset()
- func (x *Condition_QueryTerm) String() string
- type Condition_TimeRange
- func (*Condition_TimeRange) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_TimeRange) GetEndTime() *timestamppb.Timestamp
- func (x *Condition_TimeRange) GetStartTime() *timestamppb.Timestamp
- func (*Condition_TimeRange) ProtoMessage()
- func (x *Condition_TimeRange) ProtoReflect() protoreflect.Message
- func (x *Condition_TimeRange) Reset()
- func (x *Condition_TimeRange) String() string
- type Control
- func (*Control) Descriptor() ([]byte, []int)deprecated
- func (x *Control) GetAssociatedServingConfigIds() []string
- func (m *Control) GetControl() isControl_Control
- func (x *Control) GetDisplayName() string
- func (x *Control) GetName() string
- func (x *Control) GetRule() *Rule
- func (x *Control) GetSearchSolutionUseCase() []SearchSolutionUseCase
- func (x *Control) GetSolutionTypes() []SolutionType
- func (*Control) ProtoMessage()
- func (x *Control) ProtoReflect() protoreflect.Message
- func (x *Control) Reset()
- func (x *Control) String() string
- type ControlServiceClient
- type ControlServiceServer
- type Control_Rule
- type CreateControlRequest
- func (*CreateControlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateControlRequest) GetControl() *Control
- func (x *CreateControlRequest) GetControlId() string
- func (x *CreateControlRequest) GetParent() string
- func (*CreateControlRequest) ProtoMessage()
- func (x *CreateControlRequest) ProtoReflect() protoreflect.Message
- func (x *CreateControlRequest) Reset()
- func (x *CreateControlRequest) String() string
- type CreateModelMetadata
- func (*CreateModelMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelMetadata) GetModel() string
- func (*CreateModelMetadata) ProtoMessage()
- func (x *CreateModelMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateModelMetadata) Reset()
- func (x *CreateModelMetadata) String() string
- type CreateModelRequest
- func (*CreateModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateModelRequest) GetDryRun() bool
- func (x *CreateModelRequest) GetModel() *Model
- func (x *CreateModelRequest) GetParent() string
- func (*CreateModelRequest) ProtoMessage()
- func (x *CreateModelRequest) ProtoReflect() protoreflect.Message
- func (x *CreateModelRequest) Reset()
- func (x *CreateModelRequest) String() string
- type CreateProductRequest
- func (*CreateProductRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProductRequest) GetParent() string
- func (x *CreateProductRequest) GetProduct() *Product
- func (x *CreateProductRequest) GetProductId() string
- func (*CreateProductRequest) ProtoMessage()
- func (x *CreateProductRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProductRequest) Reset()
- func (x *CreateProductRequest) String() string
- type CreateServingConfigRequest
- func (*CreateServingConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServingConfigRequest) GetParent() string
- func (x *CreateServingConfigRequest) GetServingConfig() *ServingConfig
- func (x *CreateServingConfigRequest) GetServingConfigId() string
- func (*CreateServingConfigRequest) ProtoMessage()
- func (x *CreateServingConfigRequest) ProtoReflect() protoreflect.Message
- func (x *CreateServingConfigRequest) Reset()
- func (x *CreateServingConfigRequest) String() string
- type CustomAttribute
- func (*CustomAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *CustomAttribute) GetIndexable() booldeprecated
- func (x *CustomAttribute) GetNumbers() []float64
- func (x *CustomAttribute) GetSearchable() booldeprecated
- func (x *CustomAttribute) GetText() []string
- func (*CustomAttribute) ProtoMessage()
- func (x *CustomAttribute) ProtoReflect() protoreflect.Message
- func (x *CustomAttribute) Reset()
- func (x *CustomAttribute) String() string
- type DeleteControlRequest
- func (*DeleteControlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteControlRequest) GetName() string
- func (*DeleteControlRequest) ProtoMessage()
- func (x *DeleteControlRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteControlRequest) Reset()
- func (x *DeleteControlRequest) String() string
- type DeleteModelRequest
- func (*DeleteModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteModelRequest) GetName() string
- func (*DeleteModelRequest) ProtoMessage()
- func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteModelRequest) Reset()
- func (x *DeleteModelRequest) String() string
- type DeleteProductRequest
- func (*DeleteProductRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProductRequest) GetName() string
- func (*DeleteProductRequest) ProtoMessage()
- func (x *DeleteProductRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProductRequest) Reset()
- func (x *DeleteProductRequest) String() string
- type DeleteServingConfigRequest
- func (*DeleteServingConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServingConfigRequest) GetName() string
- func (*DeleteServingConfigRequest) ProtoMessage()
- func (x *DeleteServingConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServingConfigRequest) Reset()
- func (x *DeleteServingConfigRequest) String() string
- type ExperimentInfo
- func (*ExperimentInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ExperimentInfo) GetExperiment() string
- func (m *ExperimentInfo) GetExperimentMetadata() isExperimentInfo_ExperimentMetadata
- func (x *ExperimentInfo) GetServingConfigExperiment() *ExperimentInfo_ServingConfigExperiment
- func (*ExperimentInfo) ProtoMessage()
- func (x *ExperimentInfo) ProtoReflect() protoreflect.Message
- func (x *ExperimentInfo) Reset()
- func (x *ExperimentInfo) String() string
- type ExperimentInfo_ServingConfigExperiment
- func (*ExperimentInfo_ServingConfigExperiment) Descriptor() ([]byte, []int)deprecated
- func (x *ExperimentInfo_ServingConfigExperiment) GetExperimentServingConfig() string
- func (x *ExperimentInfo_ServingConfigExperiment) GetOriginalServingConfig() string
- func (*ExperimentInfo_ServingConfigExperiment) ProtoMessage()
- func (x *ExperimentInfo_ServingConfigExperiment) ProtoReflect() protoreflect.Message
- func (x *ExperimentInfo_ServingConfigExperiment) Reset()
- func (x *ExperimentInfo_ServingConfigExperiment) String() string
- type ExperimentInfo_ServingConfigExperiment_
- type FulfillmentInfo
- func (*FulfillmentInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FulfillmentInfo) GetPlaceIds() []string
- func (x *FulfillmentInfo) GetType() string
- func (*FulfillmentInfo) ProtoMessage()
- func (x *FulfillmentInfo) ProtoReflect() protoreflect.Message
- func (x *FulfillmentInfo) Reset()
- func (x *FulfillmentInfo) String() string
- type GcsSource
- type GetAttributesConfigRequest
- func (*GetAttributesConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttributesConfigRequest) GetName() string
- func (*GetAttributesConfigRequest) ProtoMessage()
- func (x *GetAttributesConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetAttributesConfigRequest) Reset()
- func (x *GetAttributesConfigRequest) String() string
- type GetCompletionConfigRequest
- func (*GetCompletionConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompletionConfigRequest) GetName() string
- func (*GetCompletionConfigRequest) ProtoMessage()
- func (x *GetCompletionConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetCompletionConfigRequest) Reset()
- func (x *GetCompletionConfigRequest) String() string
- type GetControlRequest
- type GetDefaultBranchRequest
- func (*GetDefaultBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefaultBranchRequest) GetCatalog() string
- func (*GetDefaultBranchRequest) ProtoMessage()
- func (x *GetDefaultBranchRequest) ProtoReflect() protoreflect.Message
- func (x *GetDefaultBranchRequest) Reset()
- func (x *GetDefaultBranchRequest) String() string
- type GetDefaultBranchResponse
- func (*GetDefaultBranchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefaultBranchResponse) GetBranch() string
- func (x *GetDefaultBranchResponse) GetNote() string
- func (x *GetDefaultBranchResponse) GetSetTime() *timestamppb.Timestamp
- func (*GetDefaultBranchResponse) ProtoMessage()
- func (x *GetDefaultBranchResponse) ProtoReflect() protoreflect.Message
- func (x *GetDefaultBranchResponse) Reset()
- func (x *GetDefaultBranchResponse) String() string
- type GetModelRequest
- type GetProductRequest
- type GetServingConfigRequest
- func (*GetServingConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServingConfigRequest) GetName() string
- func (*GetServingConfigRequest) ProtoMessage()
- func (x *GetServingConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetServingConfigRequest) Reset()
- func (x *GetServingConfigRequest) String() string
- type Image
- type ImportCompletionDataRequest
- func (*ImportCompletionDataRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportCompletionDataRequest) GetInputConfig() *CompletionDataInputConfig
- func (x *ImportCompletionDataRequest) GetNotificationPubsubTopic() string
- func (x *ImportCompletionDataRequest) GetParent() string
- func (*ImportCompletionDataRequest) ProtoMessage()
- func (x *ImportCompletionDataRequest) ProtoReflect() protoreflect.Message
- func (x *ImportCompletionDataRequest) Reset()
- func (x *ImportCompletionDataRequest) String() string
- type ImportCompletionDataResponse
- func (*ImportCompletionDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportCompletionDataResponse) GetErrorSamples() []*status.Status
- func (*ImportCompletionDataResponse) ProtoMessage()
- func (x *ImportCompletionDataResponse) ProtoReflect() protoreflect.Message
- func (x *ImportCompletionDataResponse) Reset()
- func (x *ImportCompletionDataResponse) String() string
- type ImportErrorsConfig
- func (*ImportErrorsConfig) Descriptor() ([]byte, []int)deprecated
- func (m *ImportErrorsConfig) GetDestination() isImportErrorsConfig_Destination
- func (x *ImportErrorsConfig) GetGcsPrefix() string
- func (*ImportErrorsConfig) ProtoMessage()
- func (x *ImportErrorsConfig) ProtoReflect() protoreflect.Message
- func (x *ImportErrorsConfig) Reset()
- func (x *ImportErrorsConfig) String() string
- type ImportErrorsConfig_GcsPrefix
- type ImportMetadata
- func (*ImportMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ImportMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *ImportMetadata) GetFailureCount() int64
- func (x *ImportMetadata) GetNotificationPubsubTopic() string
- func (x *ImportMetadata) GetRequestId() stringdeprecated
- func (x *ImportMetadata) GetSuccessCount() int64
- func (x *ImportMetadata) GetUpdateTime() *timestamppb.Timestamp
- func (*ImportMetadata) ProtoMessage()
- func (x *ImportMetadata) ProtoReflect() protoreflect.Message
- func (x *ImportMetadata) Reset()
- func (x *ImportMetadata) String() string
- type ImportProductsRequest
- func (*ImportProductsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportProductsRequest) GetErrorsConfig() *ImportErrorsConfig
- func (x *ImportProductsRequest) GetInputConfig() *ProductInputConfig
- func (x *ImportProductsRequest) GetNotificationPubsubTopic() string
- func (x *ImportProductsRequest) GetParent() string
- func (x *ImportProductsRequest) GetReconciliationMode() ImportProductsRequest_ReconciliationMode
- func (x *ImportProductsRequest) GetRequestId() stringdeprecated
- func (x *ImportProductsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*ImportProductsRequest) ProtoMessage()
- func (x *ImportProductsRequest) ProtoReflect() protoreflect.Message
- func (x *ImportProductsRequest) Reset()
- func (x *ImportProductsRequest) String() string
- type ImportProductsRequest_ReconciliationMode
- func (ImportProductsRequest_ReconciliationMode) Descriptor() protoreflect.EnumDescriptor
- func (x ImportProductsRequest_ReconciliationMode) Enum() *ImportProductsRequest_ReconciliationMode
- func (ImportProductsRequest_ReconciliationMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ImportProductsRequest_ReconciliationMode) Number() protoreflect.EnumNumber
- func (x ImportProductsRequest_ReconciliationMode) String() string
- func (ImportProductsRequest_ReconciliationMode) Type() protoreflect.EnumType
- type ImportProductsResponse
- func (*ImportProductsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportProductsResponse) GetErrorSamples() []*status.Status
- func (x *ImportProductsResponse) GetErrorsConfig() *ImportErrorsConfig
- func (*ImportProductsResponse) ProtoMessage()
- func (x *ImportProductsResponse) ProtoReflect() protoreflect.Message
- func (x *ImportProductsResponse) Reset()
- func (x *ImportProductsResponse) String() string
- type ImportUserEventsRequest
- func (*ImportUserEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportUserEventsRequest) GetErrorsConfig() *ImportErrorsConfig
- func (x *ImportUserEventsRequest) GetInputConfig() *UserEventInputConfig
- func (x *ImportUserEventsRequest) GetParent() string
- func (*ImportUserEventsRequest) ProtoMessage()
- func (x *ImportUserEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ImportUserEventsRequest) Reset()
- func (x *ImportUserEventsRequest) String() string
- type ImportUserEventsResponse
- func (*ImportUserEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ImportUserEventsResponse) GetErrorSamples() []*status.Status
- func (x *ImportUserEventsResponse) GetErrorsConfig() *ImportErrorsConfig
- func (x *ImportUserEventsResponse) GetImportSummary() *UserEventImportSummary
- func (*ImportUserEventsResponse) ProtoMessage()
- func (x *ImportUserEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ImportUserEventsResponse) Reset()
- func (x *ImportUserEventsResponse) String() string
- type Interval
- func (*Interval) Descriptor() ([]byte, []int)deprecated
- func (x *Interval) GetExclusiveMaximum() float64
- func (x *Interval) GetExclusiveMinimum() float64
- func (m *Interval) GetMax() isInterval_Max
- func (x *Interval) GetMaximum() float64
- func (m *Interval) GetMin() isInterval_Min
- func (x *Interval) GetMinimum() float64
- func (*Interval) ProtoMessage()
- func (x *Interval) ProtoReflect() protoreflect.Message
- func (x *Interval) Reset()
- func (x *Interval) String() string
- type Interval_ExclusiveMaximum
- type Interval_ExclusiveMinimum
- type Interval_Maximum
- type Interval_Minimum
- type ListCatalogsRequest
- func (*ListCatalogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCatalogsRequest) GetPageSize() int32
- func (x *ListCatalogsRequest) GetPageToken() string
- func (x *ListCatalogsRequest) GetParent() string
- func (*ListCatalogsRequest) ProtoMessage()
- func (x *ListCatalogsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCatalogsRequest) Reset()
- func (x *ListCatalogsRequest) String() string
- type ListCatalogsResponse
- func (*ListCatalogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCatalogsResponse) GetCatalogs() []*Catalog
- func (x *ListCatalogsResponse) GetNextPageToken() string
- func (*ListCatalogsResponse) ProtoMessage()
- func (x *ListCatalogsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCatalogsResponse) Reset()
- func (x *ListCatalogsResponse) String() string
- type ListControlsRequest
- func (*ListControlsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListControlsRequest) GetFilter() string
- func (x *ListControlsRequest) GetPageSize() int32
- func (x *ListControlsRequest) GetPageToken() string
- func (x *ListControlsRequest) GetParent() string
- func (*ListControlsRequest) ProtoMessage()
- func (x *ListControlsRequest) ProtoReflect() protoreflect.Message
- func (x *ListControlsRequest) Reset()
- func (x *ListControlsRequest) String() string
- type ListControlsResponse
- func (*ListControlsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListControlsResponse) GetControls() []*Control
- func (x *ListControlsResponse) GetNextPageToken() string
- func (*ListControlsResponse) ProtoMessage()
- func (x *ListControlsResponse) ProtoReflect() protoreflect.Message
- func (x *ListControlsResponse) Reset()
- func (x *ListControlsResponse) String() string
- type ListModelsRequest
- func (*ListModelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelsRequest) GetPageSize() int32
- func (x *ListModelsRequest) GetPageToken() string
- func (x *ListModelsRequest) GetParent() string
- func (*ListModelsRequest) ProtoMessage()
- func (x *ListModelsRequest) ProtoReflect() protoreflect.Message
- func (x *ListModelsRequest) Reset()
- func (x *ListModelsRequest) String() string
- type ListModelsResponse
- func (*ListModelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListModelsResponse) GetModels() []*Model
- func (x *ListModelsResponse) GetNextPageToken() string
- func (*ListModelsResponse) ProtoMessage()
- func (x *ListModelsResponse) ProtoReflect() protoreflect.Message
- func (x *ListModelsResponse) Reset()
- func (x *ListModelsResponse) String() string
- type ListProductsRequest
- func (*ListProductsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductsRequest) GetFilter() string
- func (x *ListProductsRequest) GetPageSize() int32
- func (x *ListProductsRequest) GetPageToken() string
- func (x *ListProductsRequest) GetParent() string
- func (x *ListProductsRequest) GetReadMask() *fieldmaskpb.FieldMask
- func (*ListProductsRequest) ProtoMessage()
- func (x *ListProductsRequest) ProtoReflect() protoreflect.Message
- func (x *ListProductsRequest) Reset()
- func (x *ListProductsRequest) String() string
- type ListProductsResponse
- func (*ListProductsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductsResponse) GetNextPageToken() string
- func (x *ListProductsResponse) GetProducts() []*Product
- func (*ListProductsResponse) ProtoMessage()
- func (x *ListProductsResponse) ProtoReflect() protoreflect.Message
- func (x *ListProductsResponse) Reset()
- func (x *ListProductsResponse) String() string
- type ListServingConfigsRequest
- func (*ListServingConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServingConfigsRequest) GetPageSize() int32
- func (x *ListServingConfigsRequest) GetPageToken() string
- func (x *ListServingConfigsRequest) GetParent() string
- func (*ListServingConfigsRequest) ProtoMessage()
- func (x *ListServingConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListServingConfigsRequest) Reset()
- func (x *ListServingConfigsRequest) String() string
- type ListServingConfigsResponse
- func (*ListServingConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServingConfigsResponse) GetNextPageToken() string
- func (x *ListServingConfigsResponse) GetServingConfigs() []*ServingConfig
- func (*ListServingConfigsResponse) ProtoMessage()
- func (x *ListServingConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListServingConfigsResponse) Reset()
- func (x *ListServingConfigsResponse) String() string
- type LocalInventory
- func (*LocalInventory) Descriptor() ([]byte, []int)deprecated
- func (x *LocalInventory) GetAttributes() map[string]*CustomAttribute
- func (x *LocalInventory) GetFulfillmentTypes() []string
- func (x *LocalInventory) GetPlaceId() string
- func (x *LocalInventory) GetPriceInfo() *PriceInfo
- func (*LocalInventory) ProtoMessage()
- func (x *LocalInventory) ProtoReflect() protoreflect.Message
- func (x *LocalInventory) Reset()
- func (x *LocalInventory) String() string
- type Model
- func (*Model) Descriptor() ([]byte, []int)deprecated
- func (x *Model) GetCreateTime() *timestamppb.Timestamp
- func (x *Model) GetDataState() Model_DataState
- func (x *Model) GetDisplayName() string
- func (x *Model) GetFilteringOption() RecommendationsFilteringOption
- func (x *Model) GetLastTuneTime() *timestamppb.Timestamp
- func (x *Model) GetName() string
- func (x *Model) GetOptimizationObjective() string
- func (x *Model) GetPeriodicTuningState() Model_PeriodicTuningState
- func (x *Model) GetServingConfigLists() []*Model_ServingConfigList
- func (x *Model) GetServingState() Model_ServingState
- func (x *Model) GetTrainingState() Model_TrainingState
- func (x *Model) GetTuningOperation() string
- func (x *Model) GetType() string
- func (x *Model) GetUpdateTime() *timestamppb.Timestamp
- func (*Model) ProtoMessage()
- func (x *Model) ProtoReflect() protoreflect.Message
- func (x *Model) Reset()
- func (x *Model) String() string
- type ModelServiceClient
- type ModelServiceServer
- type Model_DataState
- func (Model_DataState) Descriptor() protoreflect.EnumDescriptor
- func (x Model_DataState) Enum() *Model_DataState
- func (Model_DataState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Model_DataState) Number() protoreflect.EnumNumber
- func (x Model_DataState) String() string
- func (Model_DataState) Type() protoreflect.EnumType
- type Model_PeriodicTuningState
- func (Model_PeriodicTuningState) Descriptor() protoreflect.EnumDescriptor
- func (x Model_PeriodicTuningState) Enum() *Model_PeriodicTuningState
- func (Model_PeriodicTuningState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Model_PeriodicTuningState) Number() protoreflect.EnumNumber
- func (x Model_PeriodicTuningState) String() string
- func (Model_PeriodicTuningState) Type() protoreflect.EnumType
- type Model_ServingConfigList
- func (*Model_ServingConfigList) Descriptor() ([]byte, []int)deprecated
- func (x *Model_ServingConfigList) GetServingConfigIds() []string
- func (*Model_ServingConfigList) ProtoMessage()
- func (x *Model_ServingConfigList) ProtoReflect() protoreflect.Message
- func (x *Model_ServingConfigList) Reset()
- func (x *Model_ServingConfigList) String() string
- type Model_ServingState
- func (Model_ServingState) Descriptor() protoreflect.EnumDescriptor
- func (x Model_ServingState) Enum() *Model_ServingState
- func (Model_ServingState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Model_ServingState) Number() protoreflect.EnumNumber
- func (x Model_ServingState) String() string
- func (Model_ServingState) Type() protoreflect.EnumType
- type Model_TrainingState
- func (Model_TrainingState) Descriptor() protoreflect.EnumDescriptor
- func (x Model_TrainingState) Enum() *Model_TrainingState
- func (Model_TrainingState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Model_TrainingState) Number() protoreflect.EnumNumber
- func (x Model_TrainingState) String() string
- func (Model_TrainingState) Type() protoreflect.EnumType
- type PauseModelRequest
- type PredictRequest
- func (*PredictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PredictRequest) GetFilter() string
- func (x *PredictRequest) GetLabels() map[string]string
- func (x *PredictRequest) GetPageSize() int32
- func (x *PredictRequest) GetPageToken() stringdeprecated
- func (x *PredictRequest) GetParams() map[string]*structpb.Value
- func (x *PredictRequest) GetPlacement() string
- func (x *PredictRequest) GetUserEvent() *UserEvent
- func (x *PredictRequest) GetValidateOnly() bool
- func (*PredictRequest) ProtoMessage()
- func (x *PredictRequest) ProtoReflect() protoreflect.Message
- func (x *PredictRequest) Reset()
- func (x *PredictRequest) String() string
- type PredictResponse
- func (*PredictResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PredictResponse) GetAttributionToken() string
- func (x *PredictResponse) GetMissingIds() []string
- func (x *PredictResponse) GetResults() []*PredictResponse_PredictionResult
- func (x *PredictResponse) GetValidateOnly() bool
- func (*PredictResponse) ProtoMessage()
- func (x *PredictResponse) ProtoReflect() protoreflect.Message
- func (x *PredictResponse) Reset()
- func (x *PredictResponse) String() string
- type PredictResponse_PredictionResult
- func (*PredictResponse_PredictionResult) Descriptor() ([]byte, []int)deprecated
- func (x *PredictResponse_PredictionResult) GetId() string
- func (x *PredictResponse_PredictionResult) GetMetadata() map[string]*structpb.Value
- func (*PredictResponse_PredictionResult) ProtoMessage()
- func (x *PredictResponse_PredictionResult) ProtoReflect() protoreflect.Message
- func (x *PredictResponse_PredictionResult) Reset()
- func (x *PredictResponse_PredictionResult) String() string
- type PredictionServiceClient
- type PredictionServiceServer
- type PriceInfo
- func (*PriceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PriceInfo) GetCost() float32
- func (x *PriceInfo) GetCurrencyCode() string
- func (x *PriceInfo) GetOriginalPrice() float32
- func (x *PriceInfo) GetPrice() float32
- func (x *PriceInfo) GetPriceEffectiveTime() *timestamppb.Timestamp
- func (x *PriceInfo) GetPriceExpireTime() *timestamppb.Timestamp
- func (x *PriceInfo) GetPriceRange() *PriceInfo_PriceRange
- func (*PriceInfo) ProtoMessage()
- func (x *PriceInfo) ProtoReflect() protoreflect.Message
- func (x *PriceInfo) Reset()
- func (x *PriceInfo) String() string
- type PriceInfo_PriceRange
- func (*PriceInfo_PriceRange) Descriptor() ([]byte, []int)deprecated
- func (x *PriceInfo_PriceRange) GetOriginalPrice() *Interval
- func (x *PriceInfo_PriceRange) GetPrice() *Interval
- func (*PriceInfo_PriceRange) ProtoMessage()
- func (x *PriceInfo_PriceRange) ProtoReflect() protoreflect.Message
- func (x *PriceInfo_PriceRange) Reset()
- func (x *PriceInfo_PriceRange) String() string
- type Product
- func (*Product) Descriptor() ([]byte, []int)deprecated
- func (x *Product) GetAttributes() map[string]*CustomAttribute
- func (x *Product) GetAudience() *Audience
- func (x *Product) GetAvailability() Product_Availability
- func (x *Product) GetAvailableQuantity() *wrapperspb.Int32Value
- func (x *Product) GetAvailableTime() *timestamppb.Timestamp
- func (x *Product) GetBrands() []string
- func (x *Product) GetCategories() []string
- func (x *Product) GetCollectionMemberIds() []string
- func (x *Product) GetColorInfo() *ColorInfo
- func (x *Product) GetConditions() []string
- func (x *Product) GetDescription() string
- func (m *Product) GetExpiration() isProduct_Expiration
- func (x *Product) GetExpireTime() *timestamppb.Timestamp
- func (x *Product) GetFulfillmentInfo() []*FulfillmentInfo
- func (x *Product) GetGtin() string
- func (x *Product) GetId() string
- func (x *Product) GetImages() []*Image
- func (x *Product) GetLanguageCode() string
- func (x *Product) GetLocalInventories() []*LocalInventory
- func (x *Product) GetMaterials() []string
- func (x *Product) GetName() string
- func (x *Product) GetPatterns() []string
- func (x *Product) GetPriceInfo() *PriceInfo
- func (x *Product) GetPrimaryProductId() string
- func (x *Product) GetPromotions() []*Promotion
- func (x *Product) GetPublishTime() *timestamppb.Timestamp
- func (x *Product) GetRating() *Rating
- func (x *Product) GetRetrievableFields() *fieldmaskpb.FieldMaskdeprecated
- func (x *Product) GetSizes() []string
- func (x *Product) GetTags() []string
- func (x *Product) GetTitle() string
- func (x *Product) GetTtl() *durationpb.Duration
- func (x *Product) GetType() Product_Type
- func (x *Product) GetUri() string
- func (x *Product) GetVariants() []*Product
- func (*Product) ProtoMessage()
- func (x *Product) ProtoReflect() protoreflect.Message
- func (x *Product) Reset()
- func (x *Product) String() string
- type ProductDetail
- func (*ProductDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ProductDetail) GetProduct() *Product
- func (x *ProductDetail) GetQuantity() *wrapperspb.Int32Value
- func (*ProductDetail) ProtoMessage()
- func (x *ProductDetail) ProtoReflect() protoreflect.Message
- func (x *ProductDetail) Reset()
- func (x *ProductDetail) String() string
- type ProductInlineSource
- func (*ProductInlineSource) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInlineSource) GetProducts() []*Product
- func (*ProductInlineSource) ProtoMessage()
- func (x *ProductInlineSource) ProtoReflect() protoreflect.Message
- func (x *ProductInlineSource) Reset()
- func (x *ProductInlineSource) String() string
- type ProductInputConfig
- func (*ProductInputConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInputConfig) GetBigQuerySource() *BigQuerySource
- func (x *ProductInputConfig) GetGcsSource() *GcsSource
- func (x *ProductInputConfig) GetProductInlineSource() *ProductInlineSource
- func (m *ProductInputConfig) GetSource() isProductInputConfig_Source
- func (*ProductInputConfig) ProtoMessage()
- func (x *ProductInputConfig) ProtoReflect() protoreflect.Message
- func (x *ProductInputConfig) Reset()
- func (x *ProductInputConfig) String() string
- type ProductInputConfig_BigQuerySource
- type ProductInputConfig_GcsSource
- type ProductInputConfig_ProductInlineSource
- type ProductLevelConfig
- func (*ProductLevelConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ProductLevelConfig) GetIngestionProductType() string
- func (x *ProductLevelConfig) GetMerchantCenterProductIdField() string
- func (*ProductLevelConfig) ProtoMessage()
- func (x *ProductLevelConfig) ProtoReflect() protoreflect.Message
- func (x *ProductLevelConfig) Reset()
- func (x *ProductLevelConfig) String() string
- type ProductServiceClient
- type ProductServiceServer
- type Product_Availability
- func (Product_Availability) Descriptor() protoreflect.EnumDescriptor
- func (x Product_Availability) Enum() *Product_Availability
- func (Product_Availability) EnumDescriptor() ([]byte, []int)deprecated
- func (x Product_Availability) Number() protoreflect.EnumNumber
- func (x Product_Availability) String() string
- func (Product_Availability) Type() protoreflect.EnumType
- type Product_ExpireTime
- type Product_Ttl
- type Product_Type
- func (Product_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Product_Type) Enum() *Product_Type
- func (Product_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Product_Type) Number() protoreflect.EnumNumber
- func (x Product_Type) String() string
- func (Product_Type) Type() protoreflect.EnumType
- type Promotion
- type PurchaseTransaction
- func (*PurchaseTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *PurchaseTransaction) GetCost() float32
- func (x *PurchaseTransaction) GetCurrencyCode() string
- func (x *PurchaseTransaction) GetId() string
- func (x *PurchaseTransaction) GetRevenue() float32
- func (x *PurchaseTransaction) GetTax() float32
- func (*PurchaseTransaction) ProtoMessage()
- func (x *PurchaseTransaction) ProtoReflect() protoreflect.Message
- func (x *PurchaseTransaction) Reset()
- func (x *PurchaseTransaction) String() string
- type PurgeMetadata
- type PurgeUserEventsRequest
- func (*PurgeUserEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeUserEventsRequest) GetFilter() string
- func (x *PurgeUserEventsRequest) GetForce() bool
- func (x *PurgeUserEventsRequest) GetParent() string
- func (*PurgeUserEventsRequest) ProtoMessage()
- func (x *PurgeUserEventsRequest) ProtoReflect() protoreflect.Message
- func (x *PurgeUserEventsRequest) Reset()
- func (x *PurgeUserEventsRequest) String() string
- type PurgeUserEventsResponse
- func (*PurgeUserEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PurgeUserEventsResponse) GetPurgedEventsCount() int64
- func (*PurgeUserEventsResponse) ProtoMessage()
- func (x *PurgeUserEventsResponse) ProtoReflect() protoreflect.Message
- func (x *PurgeUserEventsResponse) Reset()
- func (x *PurgeUserEventsResponse) String() string
- type Rating
- func (*Rating) Descriptor() ([]byte, []int)deprecated
- func (x *Rating) GetAverageRating() float32
- func (x *Rating) GetRatingCount() int32
- func (x *Rating) GetRatingHistogram() []int32
- func (*Rating) ProtoMessage()
- func (x *Rating) ProtoReflect() protoreflect.Message
- func (x *Rating) Reset()
- func (x *Rating) String() string
- type RecommendationsFilteringOption
- func (RecommendationsFilteringOption) Descriptor() protoreflect.EnumDescriptor
- func (x RecommendationsFilteringOption) Enum() *RecommendationsFilteringOption
- func (RecommendationsFilteringOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x RecommendationsFilteringOption) Number() protoreflect.EnumNumber
- func (x RecommendationsFilteringOption) String() string
- func (RecommendationsFilteringOption) Type() protoreflect.EnumType
- type RejoinUserEventsMetadata
- type RejoinUserEventsRequest
- func (*RejoinUserEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RejoinUserEventsRequest) GetParent() string
- func (x *RejoinUserEventsRequest) GetUserEventRejoinScope() RejoinUserEventsRequest_UserEventRejoinScope
- func (*RejoinUserEventsRequest) ProtoMessage()
- func (x *RejoinUserEventsRequest) ProtoReflect() protoreflect.Message
- func (x *RejoinUserEventsRequest) Reset()
- func (x *RejoinUserEventsRequest) String() string
- type RejoinUserEventsRequest_UserEventRejoinScope
- func (RejoinUserEventsRequest_UserEventRejoinScope) Descriptor() protoreflect.EnumDescriptor
- func (x RejoinUserEventsRequest_UserEventRejoinScope) Enum() *RejoinUserEventsRequest_UserEventRejoinScope
- func (RejoinUserEventsRequest_UserEventRejoinScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x RejoinUserEventsRequest_UserEventRejoinScope) Number() protoreflect.EnumNumber
- func (x RejoinUserEventsRequest_UserEventRejoinScope) String() string
- func (RejoinUserEventsRequest_UserEventRejoinScope) Type() protoreflect.EnumType
- type RejoinUserEventsResponse
- func (*RejoinUserEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RejoinUserEventsResponse) GetRejoinedUserEventsCount() int64
- func (*RejoinUserEventsResponse) ProtoMessage()
- func (x *RejoinUserEventsResponse) ProtoReflect() protoreflect.Message
- func (x *RejoinUserEventsResponse) Reset()
- func (x *RejoinUserEventsResponse) String() string
- type RemoveCatalogAttributeRequest
- func (*RemoveCatalogAttributeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveCatalogAttributeRequest) GetAttributesConfig() string
- func (x *RemoveCatalogAttributeRequest) GetKey() string
- func (*RemoveCatalogAttributeRequest) ProtoMessage()
- func (x *RemoveCatalogAttributeRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveCatalogAttributeRequest) Reset()
- func (x *RemoveCatalogAttributeRequest) String() string
- type RemoveControlRequest
- func (*RemoveControlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveControlRequest) GetControlId() string
- func (x *RemoveControlRequest) GetServingConfig() string
- func (*RemoveControlRequest) ProtoMessage()
- func (x *RemoveControlRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveControlRequest) Reset()
- func (x *RemoveControlRequest) String() string
- type RemoveFulfillmentPlacesMetadata
- func (*RemoveFulfillmentPlacesMetadata) Descriptor() ([]byte, []int)deprecated
- func (*RemoveFulfillmentPlacesMetadata) ProtoMessage()
- func (x *RemoveFulfillmentPlacesMetadata) ProtoReflect() protoreflect.Message
- func (x *RemoveFulfillmentPlacesMetadata) Reset()
- func (x *RemoveFulfillmentPlacesMetadata) String() string
- type RemoveFulfillmentPlacesRequest
- func (*RemoveFulfillmentPlacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFulfillmentPlacesRequest) GetAllowMissing() bool
- func (x *RemoveFulfillmentPlacesRequest) GetPlaceIds() []string
- func (x *RemoveFulfillmentPlacesRequest) GetProduct() string
- func (x *RemoveFulfillmentPlacesRequest) GetRemoveTime() *timestamppb.Timestamp
- func (x *RemoveFulfillmentPlacesRequest) GetType() string
- func (*RemoveFulfillmentPlacesRequest) ProtoMessage()
- func (x *RemoveFulfillmentPlacesRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveFulfillmentPlacesRequest) Reset()
- func (x *RemoveFulfillmentPlacesRequest) String() string
- type RemoveFulfillmentPlacesResponse
- func (*RemoveFulfillmentPlacesResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveFulfillmentPlacesResponse) ProtoMessage()
- func (x *RemoveFulfillmentPlacesResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveFulfillmentPlacesResponse) Reset()
- func (x *RemoveFulfillmentPlacesResponse) String() string
- type RemoveLocalInventoriesMetadata
- func (*RemoveLocalInventoriesMetadata) Descriptor() ([]byte, []int)deprecated
- func (*RemoveLocalInventoriesMetadata) ProtoMessage()
- func (x *RemoveLocalInventoriesMetadata) ProtoReflect() protoreflect.Message
- func (x *RemoveLocalInventoriesMetadata) Reset()
- func (x *RemoveLocalInventoriesMetadata) String() string
- type RemoveLocalInventoriesRequest
- func (*RemoveLocalInventoriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveLocalInventoriesRequest) GetAllowMissing() bool
- func (x *RemoveLocalInventoriesRequest) GetPlaceIds() []string
- func (x *RemoveLocalInventoriesRequest) GetProduct() string
- func (x *RemoveLocalInventoriesRequest) GetRemoveTime() *timestamppb.Timestamp
- func (*RemoveLocalInventoriesRequest) ProtoMessage()
- func (x *RemoveLocalInventoriesRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveLocalInventoriesRequest) Reset()
- func (x *RemoveLocalInventoriesRequest) String() string
- type RemoveLocalInventoriesResponse
- func (*RemoveLocalInventoriesResponse) Descriptor() ([]byte, []int)deprecated
- func (*RemoveLocalInventoriesResponse) ProtoMessage()
- func (x *RemoveLocalInventoriesResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveLocalInventoriesResponse) Reset()
- func (x *RemoveLocalInventoriesResponse) String() string
- type ReplaceCatalogAttributeRequest
- func (*ReplaceCatalogAttributeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReplaceCatalogAttributeRequest) GetAttributesConfig() string
- func (x *ReplaceCatalogAttributeRequest) GetCatalogAttribute() *CatalogAttribute
- func (x *ReplaceCatalogAttributeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*ReplaceCatalogAttributeRequest) ProtoMessage()
- func (x *ReplaceCatalogAttributeRequest) ProtoReflect() protoreflect.Message
- func (x *ReplaceCatalogAttributeRequest) Reset()
- func (x *ReplaceCatalogAttributeRequest) String() string
- type ResumeModelRequest
- func (*ResumeModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeModelRequest) GetName() string
- func (*ResumeModelRequest) ProtoMessage()
- func (x *ResumeModelRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeModelRequest) Reset()
- func (x *ResumeModelRequest) String() string
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (m *Rule) GetAction() isRule_Action
- func (x *Rule) GetBoostAction() *Rule_BoostAction
- func (x *Rule) GetCondition() *Condition
- func (x *Rule) GetDoNotAssociateAction() *Rule_DoNotAssociateAction
- func (x *Rule) GetFilterAction() *Rule_FilterAction
- func (x *Rule) GetIgnoreAction() *Rule_IgnoreAction
- func (x *Rule) GetOnewaySynonymsAction() *Rule_OnewaySynonymsAction
- func (x *Rule) GetRedirectAction() *Rule_RedirectAction
- func (x *Rule) GetReplacementAction() *Rule_ReplacementAction
- func (x *Rule) GetTwowaySynonymsAction() *Rule_TwowaySynonymsAction
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- type Rule_BoostAction
- func (*Rule_BoostAction) Descriptor() ([]byte, []int)deprecated
- func (x *Rule_BoostAction) GetBoost() float32
- func (x *Rule_BoostAction) GetProductsFilter() string
- func (*Rule_BoostAction) ProtoMessage()
- func (x *Rule_BoostAction) ProtoReflect() protoreflect.Message
- func (x *Rule_BoostAction) Reset()
- func (x *Rule_BoostAction) String() string
- type Rule_BoostAction_
- type Rule_DoNotAssociateAction
- func (*Rule_DoNotAssociateAction) Descriptor() ([]byte, []int)deprecated
- func (x *Rule_DoNotAssociateAction) GetDoNotAssociateTerms() []string
- func (x *Rule_DoNotAssociateAction) GetQueryTerms() []string
- func (x *Rule_DoNotAssociateAction) GetTerms() []string
- func (*Rule_DoNotAssociateAction) ProtoMessage()
- func (x *Rule_DoNotAssociateAction) ProtoReflect() protoreflect.Message
- func (x *Rule_DoNotAssociateAction) Reset()
- func (x *Rule_DoNotAssociateAction) String() string
- type Rule_DoNotAssociateAction_
- type Rule_FilterAction
- type Rule_FilterAction_
- type Rule_IgnoreAction
- func (*Rule_IgnoreAction) Descriptor() ([]byte, []int)deprecated
- func (x *Rule_IgnoreAction) GetIgnoreTerms() []string
- func (*Rule_IgnoreAction) ProtoMessage()
- func (x *Rule_IgnoreAction) ProtoReflect() protoreflect.Message
- func (x *Rule_IgnoreAction) Reset()
- func (x *Rule_IgnoreAction) String() string
- type Rule_IgnoreAction_
- type Rule_OnewaySynonymsAction
- func (*Rule_OnewaySynonymsAction) Descriptor() ([]byte, []int)deprecated
- func (x *Rule_OnewaySynonymsAction) GetOnewayTerms() []string
- func (x *Rule_OnewaySynonymsAction) GetQueryTerms() []string
- func (x *Rule_OnewaySynonymsAction) GetSynonyms() []string
- func (*Rule_OnewaySynonymsAction) ProtoMessage()
- func (x *Rule_OnewaySynonymsAction) ProtoReflect() protoreflect.Message
- func (x *Rule_OnewaySynonymsAction) Reset()
- func (x *Rule_OnewaySynonymsAction) String() string
- type Rule_OnewaySynonymsAction_
- type Rule_RedirectAction
- func (*Rule_RedirectAction) Descriptor() ([]byte, []int)deprecated
- func (x *Rule_RedirectAction) GetRedirectUri() string
- func (*Rule_RedirectAction) ProtoMessage()
- func (x *Rule_RedirectAction) ProtoReflect() protoreflect.Message
- func (x *Rule_RedirectAction) Reset()
- func (x *Rule_RedirectAction) String() string
- type Rule_RedirectAction_
- type Rule_ReplacementAction
- func (*Rule_ReplacementAction) Descriptor() ([]byte, []int)deprecated
- func (x *Rule_ReplacementAction) GetQueryTerms() []string
- func (x *Rule_ReplacementAction) GetReplacementTerm() string
- func (x *Rule_ReplacementAction) GetTerm() string
- func (*Rule_ReplacementAction) ProtoMessage()
- func (x *Rule_ReplacementAction) ProtoReflect() protoreflect.Message
- func (x *Rule_ReplacementAction) Reset()
- func (x *Rule_ReplacementAction) String() string
- type Rule_ReplacementAction_
- type Rule_TwowaySynonymsAction
- func (*Rule_TwowaySynonymsAction) Descriptor() ([]byte, []int)deprecated
- func (x *Rule_TwowaySynonymsAction) GetSynonyms() []string
- func (*Rule_TwowaySynonymsAction) ProtoMessage()
- func (x *Rule_TwowaySynonymsAction) ProtoReflect() protoreflect.Message
- func (x *Rule_TwowaySynonymsAction) Reset()
- func (x *Rule_TwowaySynonymsAction) String() string
- type Rule_TwowaySynonymsAction_
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetBoostSpec() *SearchRequest_BoostSpec
- func (x *SearchRequest) GetBranch() string
- func (x *SearchRequest) GetCanonicalFilter() string
- func (x *SearchRequest) GetDynamicFacetSpec() *SearchRequest_DynamicFacetSpecdeprecated
- func (x *SearchRequest) GetEntity() string
- func (x *SearchRequest) GetFacetSpecs() []*SearchRequest_FacetSpec
- func (x *SearchRequest) GetFilter() string
- func (x *SearchRequest) GetLabels() map[string]string
- func (x *SearchRequest) GetOffset() int32
- func (x *SearchRequest) GetOrderBy() string
- func (x *SearchRequest) GetPageCategories() []string
- func (x *SearchRequest) GetPageSize() int32
- func (x *SearchRequest) GetPageToken() string
- func (x *SearchRequest) GetPersonalizationSpec() *SearchRequest_PersonalizationSpec
- func (x *SearchRequest) GetPlacement() string
- func (x *SearchRequest) GetQuery() string
- func (x *SearchRequest) GetQueryExpansionSpec() *SearchRequest_QueryExpansionSpec
- func (x *SearchRequest) GetSearchMode() SearchRequest_SearchMode
- func (x *SearchRequest) GetSpellCorrectionSpec() *SearchRequest_SpellCorrectionSpec
- func (x *SearchRequest) GetUserInfo() *UserInfo
- func (x *SearchRequest) GetVariantRollupKeys() []string
- func (x *SearchRequest) GetVisitorId() string
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- type SearchRequest_BoostSpec
- func (*SearchRequest_BoostSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest_BoostSpec) GetConditionBoostSpecs() []*SearchRequest_BoostSpec_ConditionBoostSpec
- func (x *SearchRequest_BoostSpec) GetSkipBoostSpecValidation() bool
- func (*SearchRequest_BoostSpec) ProtoMessage()
- func (x *SearchRequest_BoostSpec) ProtoReflect() protoreflect.Message
- func (x *SearchRequest_BoostSpec) Reset()
- func (x *SearchRequest_BoostSpec) String() string
- type SearchRequest_BoostSpec_ConditionBoostSpec
- func (*SearchRequest_BoostSpec_ConditionBoostSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest_BoostSpec_ConditionBoostSpec) GetBoost() float32
- func (x *SearchRequest_BoostSpec_ConditionBoostSpec) GetCondition() string
- func (*SearchRequest_BoostSpec_ConditionBoostSpec) ProtoMessage()
- func (x *SearchRequest_BoostSpec_ConditionBoostSpec) ProtoReflect() protoreflect.Message
- func (x *SearchRequest_BoostSpec_ConditionBoostSpec) Reset()
- func (x *SearchRequest_BoostSpec_ConditionBoostSpec) String() string
- type SearchRequest_DynamicFacetSpec
- func (*SearchRequest_DynamicFacetSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest_DynamicFacetSpec) GetMode() SearchRequest_DynamicFacetSpec_Mode
- func (*SearchRequest_DynamicFacetSpec) ProtoMessage()
- func (x *SearchRequest_DynamicFacetSpec) ProtoReflect() protoreflect.Message
- func (x *SearchRequest_DynamicFacetSpec) Reset()
- func (x *SearchRequest_DynamicFacetSpec) String() string
- type SearchRequest_DynamicFacetSpec_Mode
- func (SearchRequest_DynamicFacetSpec_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x SearchRequest_DynamicFacetSpec_Mode) Enum() *SearchRequest_DynamicFacetSpec_Mode
- func (SearchRequest_DynamicFacetSpec_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SearchRequest_DynamicFacetSpec_Mode) Number() protoreflect.EnumNumber
- func (x SearchRequest_DynamicFacetSpec_Mode) String() string
- func (SearchRequest_DynamicFacetSpec_Mode) Type() protoreflect.EnumType
- type SearchRequest_FacetSpec
- func (*SearchRequest_FacetSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest_FacetSpec) GetEnableDynamicPosition() bool
- func (x *SearchRequest_FacetSpec) GetExcludedFilterKeys() []string
- func (x *SearchRequest_FacetSpec) GetFacetKey() *SearchRequest_FacetSpec_FacetKey
- func (x *SearchRequest_FacetSpec) GetLimit() int32
- func (*SearchRequest_FacetSpec) ProtoMessage()
- func (x *SearchRequest_FacetSpec) ProtoReflect() protoreflect.Message
- func (x *SearchRequest_FacetSpec) Reset()
- func (x *SearchRequest_FacetSpec) String() string
- type SearchRequest_FacetSpec_FacetKey
- func (*SearchRequest_FacetSpec_FacetKey) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest_FacetSpec_FacetKey) GetCaseInsensitive() bool
- func (x *SearchRequest_FacetSpec_FacetKey) GetContains() []string
- func (x *SearchRequest_FacetSpec_FacetKey) GetIntervals() []*Interval
- func (x *SearchRequest_FacetSpec_FacetKey) GetKey() string
- func (x *SearchRequest_FacetSpec_FacetKey) GetOrderBy() string
- func (x *SearchRequest_FacetSpec_FacetKey) GetPrefixes() []string
- func (x *SearchRequest_FacetSpec_FacetKey) GetQuery() string
- func (x *SearchRequest_FacetSpec_FacetKey) GetRestrictedValues() []string
- func (x *SearchRequest_FacetSpec_FacetKey) GetReturnMinMax() bool
- func (*SearchRequest_FacetSpec_FacetKey) ProtoMessage()
- func (x *SearchRequest_FacetSpec_FacetKey) ProtoReflect() protoreflect.Message
- func (x *SearchRequest_FacetSpec_FacetKey) Reset()
- func (x *SearchRequest_FacetSpec_FacetKey) String() string
- type SearchRequest_PersonalizationSpec
- func (*SearchRequest_PersonalizationSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest_PersonalizationSpec) GetMode() SearchRequest_PersonalizationSpec_Mode
- func (*SearchRequest_PersonalizationSpec) ProtoMessage()
- func (x *SearchRequest_PersonalizationSpec) ProtoReflect() protoreflect.Message
- func (x *SearchRequest_PersonalizationSpec) Reset()
- func (x *SearchRequest_PersonalizationSpec) String() string
- type SearchRequest_PersonalizationSpec_Mode
- func (SearchRequest_PersonalizationSpec_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x SearchRequest_PersonalizationSpec_Mode) Enum() *SearchRequest_PersonalizationSpec_Mode
- func (SearchRequest_PersonalizationSpec_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SearchRequest_PersonalizationSpec_Mode) Number() protoreflect.EnumNumber
- func (x SearchRequest_PersonalizationSpec_Mode) String() string
- func (SearchRequest_PersonalizationSpec_Mode) Type() protoreflect.EnumType
- type SearchRequest_QueryExpansionSpec
- func (*SearchRequest_QueryExpansionSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest_QueryExpansionSpec) GetCondition() SearchRequest_QueryExpansionSpec_Condition
- func (x *SearchRequest_QueryExpansionSpec) GetPinUnexpandedResults() bool
- func (*SearchRequest_QueryExpansionSpec) ProtoMessage()
- func (x *SearchRequest_QueryExpansionSpec) ProtoReflect() protoreflect.Message
- func (x *SearchRequest_QueryExpansionSpec) Reset()
- func (x *SearchRequest_QueryExpansionSpec) String() string
- type SearchRequest_QueryExpansionSpec_Condition
- func (SearchRequest_QueryExpansionSpec_Condition) Descriptor() protoreflect.EnumDescriptor
- func (x SearchRequest_QueryExpansionSpec_Condition) Enum() *SearchRequest_QueryExpansionSpec_Condition
- func (SearchRequest_QueryExpansionSpec_Condition) EnumDescriptor() ([]byte, []int)deprecated
- func (x SearchRequest_QueryExpansionSpec_Condition) Number() protoreflect.EnumNumber
- func (x SearchRequest_QueryExpansionSpec_Condition) String() string
- func (SearchRequest_QueryExpansionSpec_Condition) Type() protoreflect.EnumType
- type SearchRequest_SearchMode
- func (SearchRequest_SearchMode) Descriptor() protoreflect.EnumDescriptor
- func (x SearchRequest_SearchMode) Enum() *SearchRequest_SearchMode
- func (SearchRequest_SearchMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SearchRequest_SearchMode) Number() protoreflect.EnumNumber
- func (x SearchRequest_SearchMode) String() string
- func (SearchRequest_SearchMode) Type() protoreflect.EnumType
- type SearchRequest_SpellCorrectionSpec
- func (*SearchRequest_SpellCorrectionSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest_SpellCorrectionSpec) GetMode() SearchRequest_SpellCorrectionSpec_Mode
- func (*SearchRequest_SpellCorrectionSpec) ProtoMessage()
- func (x *SearchRequest_SpellCorrectionSpec) ProtoReflect() protoreflect.Message
- func (x *SearchRequest_SpellCorrectionSpec) Reset()
- func (x *SearchRequest_SpellCorrectionSpec) String() string
- type SearchRequest_SpellCorrectionSpec_Mode
- func (SearchRequest_SpellCorrectionSpec_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x SearchRequest_SpellCorrectionSpec_Mode) Enum() *SearchRequest_SpellCorrectionSpec_Mode
- func (SearchRequest_SpellCorrectionSpec_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x SearchRequest_SpellCorrectionSpec_Mode) Number() protoreflect.EnumNumber
- func (x SearchRequest_SpellCorrectionSpec_Mode) String() string
- func (SearchRequest_SpellCorrectionSpec_Mode) Type() protoreflect.EnumType
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse) GetAppliedControls() []string
- func (x *SearchResponse) GetAttributionToken() string
- func (x *SearchResponse) GetCorrectedQuery() string
- func (x *SearchResponse) GetExperimentInfo() []*ExperimentInfo
- func (x *SearchResponse) GetFacets() []*SearchResponse_Facet
- func (x *SearchResponse) GetInvalidConditionBoostSpecs() []*SearchRequest_BoostSpec_ConditionBoostSpec
- func (x *SearchResponse) GetNextPageToken() string
- func (x *SearchResponse) GetQueryExpansionInfo() *SearchResponse_QueryExpansionInfo
- func (x *SearchResponse) GetRedirectUri() string
- func (x *SearchResponse) GetResults() []*SearchResponse_SearchResult
- func (x *SearchResponse) GetTotalSize() int32
- func (*SearchResponse) ProtoMessage()
- func (x *SearchResponse) ProtoReflect() protoreflect.Message
- func (x *SearchResponse) Reset()
- func (x *SearchResponse) String() string
- type SearchResponse_Facet
- func (*SearchResponse_Facet) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_Facet) GetDynamicFacet() bool
- func (x *SearchResponse_Facet) GetKey() string
- func (x *SearchResponse_Facet) GetValues() []*SearchResponse_Facet_FacetValue
- func (*SearchResponse_Facet) ProtoMessage()
- func (x *SearchResponse_Facet) ProtoReflect() protoreflect.Message
- func (x *SearchResponse_Facet) Reset()
- func (x *SearchResponse_Facet) String() string
- type SearchResponse_Facet_FacetValue
- func (*SearchResponse_Facet_FacetValue) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_Facet_FacetValue) GetCount() int64
- func (m *SearchResponse_Facet_FacetValue) GetFacetValue() isSearchResponse_Facet_FacetValue_FacetValue
- func (x *SearchResponse_Facet_FacetValue) GetInterval() *Interval
- func (x *SearchResponse_Facet_FacetValue) GetMaxValue() float64
- func (x *SearchResponse_Facet_FacetValue) GetMinValue() float64
- func (x *SearchResponse_Facet_FacetValue) GetValue() string
- func (*SearchResponse_Facet_FacetValue) ProtoMessage()
- func (x *SearchResponse_Facet_FacetValue) ProtoReflect() protoreflect.Message
- func (x *SearchResponse_Facet_FacetValue) Reset()
- func (x *SearchResponse_Facet_FacetValue) String() string
- type SearchResponse_Facet_FacetValue_Interval
- type SearchResponse_Facet_FacetValue_Value
- type SearchResponse_QueryExpansionInfo
- func (*SearchResponse_QueryExpansionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_QueryExpansionInfo) GetExpandedQuery() bool
- func (x *SearchResponse_QueryExpansionInfo) GetPinnedResultCount() int64
- func (*SearchResponse_QueryExpansionInfo) ProtoMessage()
- func (x *SearchResponse_QueryExpansionInfo) ProtoReflect() protoreflect.Message
- func (x *SearchResponse_QueryExpansionInfo) Reset()
- func (x *SearchResponse_QueryExpansionInfo) String() string
- type SearchResponse_SearchResult
- func (*SearchResponse_SearchResult) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse_SearchResult) GetId() string
- func (x *SearchResponse_SearchResult) GetMatchingVariantCount() int32
- func (x *SearchResponse_SearchResult) GetMatchingVariantFields() map[string]*fieldmaskpb.FieldMask
- func (x *SearchResponse_SearchResult) GetPersonalLabels() []string
- func (x *SearchResponse_SearchResult) GetProduct() *Product
- func (x *SearchResponse_SearchResult) GetVariantRollupValues() map[string]*structpb.Value
- func (*SearchResponse_SearchResult) ProtoMessage()
- func (x *SearchResponse_SearchResult) ProtoReflect() protoreflect.Message
- func (x *SearchResponse_SearchResult) Reset()
- func (x *SearchResponse_SearchResult) String() string
- type SearchServiceClient
- type SearchServiceServer
- type SearchSolutionUseCase
- func (SearchSolutionUseCase) Descriptor() protoreflect.EnumDescriptor
- func (x SearchSolutionUseCase) Enum() *SearchSolutionUseCase
- func (SearchSolutionUseCase) EnumDescriptor() ([]byte, []int)deprecated
- func (x SearchSolutionUseCase) Number() protoreflect.EnumNumber
- func (x SearchSolutionUseCase) String() string
- func (SearchSolutionUseCase) Type() protoreflect.EnumType
- type ServingConfig
- func (*ServingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ServingConfig) GetBoostControlIds() []string
- func (x *ServingConfig) GetDisplayName() string
- func (x *ServingConfig) GetDiversityLevel() string
- func (x *ServingConfig) GetDiversityType() ServingConfig_DiversityType
- func (x *ServingConfig) GetDoNotAssociateControlIds() []string
- func (x *ServingConfig) GetDynamicFacetSpec() *SearchRequest_DynamicFacetSpec
- func (x *ServingConfig) GetEnableCategoryFilterLevel() string
- func (x *ServingConfig) GetFacetControlIds() []string
- func (x *ServingConfig) GetFilterControlIds() []string
- func (x *ServingConfig) GetIgnoreControlIds() []string
- func (x *ServingConfig) GetModelId() string
- func (x *ServingConfig) GetName() string
- func (x *ServingConfig) GetOnewaySynonymsControlIds() []string
- func (x *ServingConfig) GetPersonalizationSpec() *SearchRequest_PersonalizationSpec
- func (x *ServingConfig) GetPriceRerankingLevel() string
- func (x *ServingConfig) GetRedirectControlIds() []string
- func (x *ServingConfig) GetReplacementControlIds() []string
- func (x *ServingConfig) GetSolutionTypes() []SolutionType
- func (x *ServingConfig) GetTwowaySynonymsControlIds() []string
- func (*ServingConfig) ProtoMessage()
- func (x *ServingConfig) ProtoReflect() protoreflect.Message
- func (x *ServingConfig) Reset()
- func (x *ServingConfig) String() string
- type ServingConfigServiceClient
- type ServingConfigServiceServer
- type ServingConfig_DiversityType
- func (ServingConfig_DiversityType) Descriptor() protoreflect.EnumDescriptor
- func (x ServingConfig_DiversityType) Enum() *ServingConfig_DiversityType
- func (ServingConfig_DiversityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServingConfig_DiversityType) Number() protoreflect.EnumNumber
- func (x ServingConfig_DiversityType) String() string
- func (ServingConfig_DiversityType) Type() protoreflect.EnumType
- type SetDefaultBranchRequest
- func (*SetDefaultBranchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDefaultBranchRequest) GetBranchId() string
- func (x *SetDefaultBranchRequest) GetCatalog() string
- func (x *SetDefaultBranchRequest) GetForce() bool
- func (x *SetDefaultBranchRequest) GetNote() string
- func (*SetDefaultBranchRequest) ProtoMessage()
- func (x *SetDefaultBranchRequest) ProtoReflect() protoreflect.Message
- func (x *SetDefaultBranchRequest) Reset()
- func (x *SetDefaultBranchRequest) String() string
- type SetInventoryMetadata
- type SetInventoryRequest
- func (*SetInventoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetInventoryRequest) GetAllowMissing() bool
- func (x *SetInventoryRequest) GetInventory() *Product
- func (x *SetInventoryRequest) GetSetMask() *fieldmaskpb.FieldMask
- func (x *SetInventoryRequest) GetSetTime() *timestamppb.Timestamp
- func (*SetInventoryRequest) ProtoMessage()
- func (x *SetInventoryRequest) ProtoReflect() protoreflect.Message
- func (x *SetInventoryRequest) Reset()
- func (x *SetInventoryRequest) String() string
- type SetInventoryResponse
- type SolutionType
- func (SolutionType) Descriptor() protoreflect.EnumDescriptor
- func (x SolutionType) Enum() *SolutionType
- func (SolutionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SolutionType) Number() protoreflect.EnumNumber
- func (x SolutionType) String() string
- func (SolutionType) Type() protoreflect.EnumType
- type TuneModelMetadata
- type TuneModelRequest
- type TuneModelResponse
- type UnimplementedCatalogServiceServer
- func (*UnimplementedCatalogServiceServer) AddCatalogAttribute(context.Context, *AddCatalogAttributeRequest) (*AttributesConfig, error)
- func (*UnimplementedCatalogServiceServer) GetAttributesConfig(context.Context, *GetAttributesConfigRequest) (*AttributesConfig, error)
- func (*UnimplementedCatalogServiceServer) GetCompletionConfig(context.Context, *GetCompletionConfigRequest) (*CompletionConfig, error)
- func (*UnimplementedCatalogServiceServer) GetDefaultBranch(context.Context, *GetDefaultBranchRequest) (*GetDefaultBranchResponse, error)
- func (*UnimplementedCatalogServiceServer) ListCatalogs(context.Context, *ListCatalogsRequest) (*ListCatalogsResponse, error)
- func (*UnimplementedCatalogServiceServer) RemoveCatalogAttribute(context.Context, *RemoveCatalogAttributeRequest) (*AttributesConfig, error)
- func (*UnimplementedCatalogServiceServer) ReplaceCatalogAttribute(context.Context, *ReplaceCatalogAttributeRequest) (*AttributesConfig, error)
- func (*UnimplementedCatalogServiceServer) SetDefaultBranch(context.Context, *SetDefaultBranchRequest) (*emptypb.Empty, error)
- func (*UnimplementedCatalogServiceServer) UpdateAttributesConfig(context.Context, *UpdateAttributesConfigRequest) (*AttributesConfig, error)
- func (*UnimplementedCatalogServiceServer) UpdateCatalog(context.Context, *UpdateCatalogRequest) (*Catalog, error)
- func (*UnimplementedCatalogServiceServer) UpdateCompletionConfig(context.Context, *UpdateCompletionConfigRequest) (*CompletionConfig, error)
- type UnimplementedCompletionServiceServer
- type UnimplementedControlServiceServer
- func (*UnimplementedControlServiceServer) CreateControl(context.Context, *CreateControlRequest) (*Control, error)
- func (*UnimplementedControlServiceServer) DeleteControl(context.Context, *DeleteControlRequest) (*emptypb.Empty, error)
- func (*UnimplementedControlServiceServer) GetControl(context.Context, *GetControlRequest) (*Control, error)
- func (*UnimplementedControlServiceServer) ListControls(context.Context, *ListControlsRequest) (*ListControlsResponse, error)
- func (*UnimplementedControlServiceServer) UpdateControl(context.Context, *UpdateControlRequest) (*Control, error)
- type UnimplementedModelServiceServer
- func (*UnimplementedModelServiceServer) CreateModel(context.Context, *CreateModelRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*emptypb.Empty, error)
- func (*UnimplementedModelServiceServer) GetModel(context.Context, *GetModelRequest) (*Model, error)
- func (*UnimplementedModelServiceServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
- func (*UnimplementedModelServiceServer) PauseModel(context.Context, *PauseModelRequest) (*Model, error)
- func (*UnimplementedModelServiceServer) ResumeModel(context.Context, *ResumeModelRequest) (*Model, error)
- func (*UnimplementedModelServiceServer) TuneModel(context.Context, *TuneModelRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedModelServiceServer) UpdateModel(context.Context, *UpdateModelRequest) (*Model, error)
- type UnimplementedPredictionServiceServer
- type UnimplementedProductServiceServer
- func (*UnimplementedProductServiceServer) AddFulfillmentPlaces(context.Context, *AddFulfillmentPlacesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedProductServiceServer) AddLocalInventories(context.Context, *AddLocalInventoriesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedProductServiceServer) CreateProduct(context.Context, *CreateProductRequest) (*Product, error)
- func (*UnimplementedProductServiceServer) DeleteProduct(context.Context, *DeleteProductRequest) (*emptypb.Empty, error)
- func (*UnimplementedProductServiceServer) GetProduct(context.Context, *GetProductRequest) (*Product, error)
- func (*UnimplementedProductServiceServer) ImportProducts(context.Context, *ImportProductsRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedProductServiceServer) ListProducts(context.Context, *ListProductsRequest) (*ListProductsResponse, error)
- func (*UnimplementedProductServiceServer) RemoveFulfillmentPlaces(context.Context, *RemoveFulfillmentPlacesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedProductServiceServer) RemoveLocalInventories(context.Context, *RemoveLocalInventoriesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedProductServiceServer) SetInventory(context.Context, *SetInventoryRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedProductServiceServer) UpdateProduct(context.Context, *UpdateProductRequest) (*Product, error)
- type UnimplementedSearchServiceServer
- type UnimplementedServingConfigServiceServer
- func (*UnimplementedServingConfigServiceServer) AddControl(context.Context, *AddControlRequest) (*ServingConfig, error)
- func (*UnimplementedServingConfigServiceServer) CreateServingConfig(context.Context, *CreateServingConfigRequest) (*ServingConfig, error)
- func (*UnimplementedServingConfigServiceServer) DeleteServingConfig(context.Context, *DeleteServingConfigRequest) (*emptypb.Empty, error)
- func (*UnimplementedServingConfigServiceServer) GetServingConfig(context.Context, *GetServingConfigRequest) (*ServingConfig, error)
- func (*UnimplementedServingConfigServiceServer) ListServingConfigs(context.Context, *ListServingConfigsRequest) (*ListServingConfigsResponse, error)
- func (*UnimplementedServingConfigServiceServer) RemoveControl(context.Context, *RemoveControlRequest) (*ServingConfig, error)
- func (*UnimplementedServingConfigServiceServer) UpdateServingConfig(context.Context, *UpdateServingConfigRequest) (*ServingConfig, error)
- type UnimplementedUserEventServiceServer
- func (*UnimplementedUserEventServiceServer) CollectUserEvent(context.Context, *CollectUserEventRequest) (*httpbody.HttpBody, error)
- func (*UnimplementedUserEventServiceServer) ImportUserEvents(context.Context, *ImportUserEventsRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedUserEventServiceServer) PurgeUserEvents(context.Context, *PurgeUserEventsRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedUserEventServiceServer) RejoinUserEvents(context.Context, *RejoinUserEventsRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedUserEventServiceServer) WriteUserEvent(context.Context, *WriteUserEventRequest) (*UserEvent, error)
- type UpdateAttributesConfigRequest
- func (*UpdateAttributesConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAttributesConfigRequest) GetAttributesConfig() *AttributesConfig
- func (x *UpdateAttributesConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAttributesConfigRequest) ProtoMessage()
- func (x *UpdateAttributesConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAttributesConfigRequest) Reset()
- func (x *UpdateAttributesConfigRequest) String() string
- type UpdateCatalogRequest
- func (*UpdateCatalogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCatalogRequest) GetCatalog() *Catalog
- func (x *UpdateCatalogRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateCatalogRequest) ProtoMessage()
- func (x *UpdateCatalogRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCatalogRequest) Reset()
- func (x *UpdateCatalogRequest) String() string
- type UpdateCompletionConfigRequest
- func (*UpdateCompletionConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCompletionConfigRequest) GetCompletionConfig() *CompletionConfig
- func (x *UpdateCompletionConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateCompletionConfigRequest) ProtoMessage()
- func (x *UpdateCompletionConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCompletionConfigRequest) Reset()
- func (x *UpdateCompletionConfigRequest) String() string
- type UpdateControlRequest
- func (*UpdateControlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateControlRequest) GetControl() *Control
- func (x *UpdateControlRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateControlRequest) ProtoMessage()
- func (x *UpdateControlRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateControlRequest) Reset()
- func (x *UpdateControlRequest) String() string
- type UpdateModelRequest
- func (*UpdateModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateModelRequest) GetModel() *Model
- func (x *UpdateModelRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateModelRequest) ProtoMessage()
- func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateModelRequest) Reset()
- func (x *UpdateModelRequest) String() string
- type UpdateProductRequest
- func (*UpdateProductRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProductRequest) GetAllowMissing() bool
- func (x *UpdateProductRequest) GetProduct() *Product
- func (x *UpdateProductRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateProductRequest) ProtoMessage()
- func (x *UpdateProductRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProductRequest) Reset()
- func (x *UpdateProductRequest) String() string
- type UpdateServingConfigRequest
- func (*UpdateServingConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServingConfigRequest) GetServingConfig() *ServingConfig
- func (x *UpdateServingConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateServingConfigRequest) ProtoMessage()
- func (x *UpdateServingConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateServingConfigRequest) Reset()
- func (x *UpdateServingConfigRequest) String() string
- type UserEvent
- func (*UserEvent) Descriptor() ([]byte, []int)deprecated
- func (x *UserEvent) GetAttributes() map[string]*CustomAttribute
- func (x *UserEvent) GetAttributionToken() string
- func (x *UserEvent) GetCartId() string
- func (x *UserEvent) GetCompletionDetail() *CompletionDetail
- func (x *UserEvent) GetEntity() string
- func (x *UserEvent) GetEventTime() *timestamppb.Timestamp
- func (x *UserEvent) GetEventType() string
- func (x *UserEvent) GetExperimentIds() []string
- func (x *UserEvent) GetFilter() string
- func (x *UserEvent) GetOffset() int32
- func (x *UserEvent) GetOrderBy() string
- func (x *UserEvent) GetPageCategories() []string
- func (x *UserEvent) GetPageViewId() string
- func (x *UserEvent) GetProductDetails() []*ProductDetail
- func (x *UserEvent) GetPurchaseTransaction() *PurchaseTransaction
- func (x *UserEvent) GetReferrerUri() string
- func (x *UserEvent) GetSearchQuery() string
- func (x *UserEvent) GetSessionId() string
- func (x *UserEvent) GetUri() string
- func (x *UserEvent) GetUserInfo() *UserInfo
- func (x *UserEvent) GetVisitorId() string
- func (*UserEvent) ProtoMessage()
- func (x *UserEvent) ProtoReflect() protoreflect.Message
- func (x *UserEvent) Reset()
- func (x *UserEvent) String() string
- type UserEventImportSummary
- func (*UserEventImportSummary) Descriptor() ([]byte, []int)deprecated
- func (x *UserEventImportSummary) GetJoinedEventsCount() int64
- func (x *UserEventImportSummary) GetUnjoinedEventsCount() int64
- func (*UserEventImportSummary) ProtoMessage()
- func (x *UserEventImportSummary) ProtoReflect() protoreflect.Message
- func (x *UserEventImportSummary) Reset()
- func (x *UserEventImportSummary) String() string
- type UserEventInlineSource
- func (*UserEventInlineSource) Descriptor() ([]byte, []int)deprecated
- func (x *UserEventInlineSource) GetUserEvents() []*UserEvent
- func (*UserEventInlineSource) ProtoMessage()
- func (x *UserEventInlineSource) ProtoReflect() protoreflect.Message
- func (x *UserEventInlineSource) Reset()
- func (x *UserEventInlineSource) String() string
- type UserEventInputConfig
- func (*UserEventInputConfig) Descriptor() ([]byte, []int)deprecated
- func (x *UserEventInputConfig) GetBigQuerySource() *BigQuerySource
- func (x *UserEventInputConfig) GetGcsSource() *GcsSource
- func (m *UserEventInputConfig) GetSource() isUserEventInputConfig_Source
- func (x *UserEventInputConfig) GetUserEventInlineSource() *UserEventInlineSource
- func (*UserEventInputConfig) ProtoMessage()
- func (x *UserEventInputConfig) ProtoReflect() protoreflect.Message
- func (x *UserEventInputConfig) Reset()
- func (x *UserEventInputConfig) String() string
- type UserEventInputConfig_BigQuerySource
- type UserEventInputConfig_GcsSource
- type UserEventInputConfig_UserEventInlineSource
- type UserEventServiceClient
- type UserEventServiceServer
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UserInfo) GetDirectUserRequest() bool
- func (x *UserInfo) GetIpAddress() string
- func (x *UserInfo) GetUserAgent() string
- func (x *UserInfo) GetUserId() string
- func (*UserInfo) ProtoMessage()
- func (x *UserInfo) ProtoReflect() protoreflect.Message
- func (x *UserInfo) Reset()
- func (x *UserInfo) String() string
- type WriteUserEventRequest
- func (*WriteUserEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteUserEventRequest) GetParent() string
- func (x *WriteUserEventRequest) GetUserEvent() *UserEvent
- func (x *WriteUserEventRequest) GetWriteAsync() bool
- func (*WriteUserEventRequest) ProtoMessage()
- func (x *WriteUserEventRequest) ProtoReflect() protoreflect.Message
- func (x *WriteUserEventRequest) Reset()
- func (x *WriteUserEventRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( CatalogAttribute_AttributeType_name = map[int32]string{ 0: "UNKNOWN", 1: "TEXTUAL", 2: "NUMERICAL", } CatalogAttribute_AttributeType_value = map[string]int32{ "UNKNOWN": 0, "TEXTUAL": 1, "NUMERICAL": 2, } )
Enum value maps for CatalogAttribute_AttributeType.
var ( CatalogAttribute_IndexableOption_name = map[int32]string{ 0: "INDEXABLE_OPTION_UNSPECIFIED", 1: "INDEXABLE_ENABLED", 2: "INDEXABLE_DISABLED", } CatalogAttribute_IndexableOption_value = map[string]int32{ "INDEXABLE_OPTION_UNSPECIFIED": 0, "INDEXABLE_ENABLED": 1, "INDEXABLE_DISABLED": 2, } )
Enum value maps for CatalogAttribute_IndexableOption.
var ( CatalogAttribute_DynamicFacetableOption_name = map[int32]string{ 0: "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED", 1: "DYNAMIC_FACETABLE_ENABLED", 2: "DYNAMIC_FACETABLE_DISABLED", } CatalogAttribute_DynamicFacetableOption_value = map[string]int32{ "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED": 0, "DYNAMIC_FACETABLE_ENABLED": 1, "DYNAMIC_FACETABLE_DISABLED": 2, } )
Enum value maps for CatalogAttribute_DynamicFacetableOption.
var ( CatalogAttribute_SearchableOption_name = map[int32]string{ 0: "SEARCHABLE_OPTION_UNSPECIFIED", 1: "SEARCHABLE_ENABLED", 2: "SEARCHABLE_DISABLED", } CatalogAttribute_SearchableOption_value = map[string]int32{ "SEARCHABLE_OPTION_UNSPECIFIED": 0, "SEARCHABLE_ENABLED": 1, "SEARCHABLE_DISABLED": 2, } )
Enum value maps for CatalogAttribute_SearchableOption.
var ( CatalogAttribute_ExactSearchableOption_name = map[int32]string{ 0: "EXACT_SEARCHABLE_OPTION_UNSPECIFIED", 1: "EXACT_SEARCHABLE_ENABLED", 2: "EXACT_SEARCHABLE_DISABLED", } CatalogAttribute_ExactSearchableOption_value = map[string]int32{ "EXACT_SEARCHABLE_OPTION_UNSPECIFIED": 0, "EXACT_SEARCHABLE_ENABLED": 1, "EXACT_SEARCHABLE_DISABLED": 2, } )
Enum value maps for CatalogAttribute_ExactSearchableOption.
var ( CatalogAttribute_RetrievableOption_name = map[int32]string{ 0: "RETRIEVABLE_OPTION_UNSPECIFIED", 1: "RETRIEVABLE_ENABLED", 2: "RETRIEVABLE_DISABLED", } CatalogAttribute_RetrievableOption_value = map[string]int32{ "RETRIEVABLE_OPTION_UNSPECIFIED": 0, "RETRIEVABLE_ENABLED": 1, "RETRIEVABLE_DISABLED": 2, } )
Enum value maps for CatalogAttribute_RetrievableOption.
var ( AttributeConfigLevel_name = map[int32]string{ 0: "ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED", 1: "PRODUCT_LEVEL_ATTRIBUTE_CONFIG", 2: "CATALOG_LEVEL_ATTRIBUTE_CONFIG", } AttributeConfigLevel_value = map[string]int32{ "ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED": 0, "PRODUCT_LEVEL_ATTRIBUTE_CONFIG": 1, "CATALOG_LEVEL_ATTRIBUTE_CONFIG": 2, } )
Enum value maps for AttributeConfigLevel.
var ( SolutionType_name = map[int32]string{ 0: "SOLUTION_TYPE_UNSPECIFIED", 1: "SOLUTION_TYPE_RECOMMENDATION", 2: "SOLUTION_TYPE_SEARCH", } SolutionType_value = map[string]int32{ "SOLUTION_TYPE_UNSPECIFIED": 0, "SOLUTION_TYPE_RECOMMENDATION": 1, "SOLUTION_TYPE_SEARCH": 2, } )
Enum value maps for SolutionType.
var ( RecommendationsFilteringOption_name = map[int32]string{ 0: "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED", 1: "RECOMMENDATIONS_FILTERING_DISABLED", 3: "RECOMMENDATIONS_FILTERING_ENABLED", } RecommendationsFilteringOption_value = map[string]int32{ "RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED": 0, "RECOMMENDATIONS_FILTERING_DISABLED": 1, "RECOMMENDATIONS_FILTERING_ENABLED": 3, } )
Enum value maps for RecommendationsFilteringOption.
var ( SearchSolutionUseCase_name = map[int32]string{ 0: "SEARCH_SOLUTION_USE_CASE_UNSPECIFIED", 1: "SEARCH_SOLUTION_USE_CASE_SEARCH", 2: "SEARCH_SOLUTION_USE_CASE_BROWSE", } SearchSolutionUseCase_value = map[string]int32{ "SEARCH_SOLUTION_USE_CASE_UNSPECIFIED": 0, "SEARCH_SOLUTION_USE_CASE_SEARCH": 1, "SEARCH_SOLUTION_USE_CASE_BROWSE": 2, } )
Enum value maps for SearchSolutionUseCase.
var ( ImportProductsRequest_ReconciliationMode_name = map[int32]string{ 0: "RECONCILIATION_MODE_UNSPECIFIED", 1: "INCREMENTAL", 2: "FULL", } ImportProductsRequest_ReconciliationMode_value = map[string]int32{ "RECONCILIATION_MODE_UNSPECIFIED": 0, "INCREMENTAL": 1, "FULL": 2, } )
Enum value maps for ImportProductsRequest_ReconciliationMode.
var ( Model_ServingState_name = map[int32]string{ 0: "SERVING_STATE_UNSPECIFIED", 1: "INACTIVE", 2: "ACTIVE", 3: "TUNED", } Model_ServingState_value = map[string]int32{ "SERVING_STATE_UNSPECIFIED": 0, "INACTIVE": 1, "ACTIVE": 2, "TUNED": 3, } )
Enum value maps for Model_ServingState.
var ( Model_TrainingState_name = map[int32]string{ 0: "TRAINING_STATE_UNSPECIFIED", 1: "PAUSED", 2: "TRAINING", } Model_TrainingState_value = map[string]int32{ "TRAINING_STATE_UNSPECIFIED": 0, "PAUSED": 1, "TRAINING": 2, } )
Enum value maps for Model_TrainingState.
var ( Model_PeriodicTuningState_name = map[int32]string{ 0: "PERIODIC_TUNING_STATE_UNSPECIFIED", 1: "PERIODIC_TUNING_DISABLED", 3: "ALL_TUNING_DISABLED", 2: "PERIODIC_TUNING_ENABLED", } Model_PeriodicTuningState_value = map[string]int32{ "PERIODIC_TUNING_STATE_UNSPECIFIED": 0, "PERIODIC_TUNING_DISABLED": 1, "ALL_TUNING_DISABLED": 3, "PERIODIC_TUNING_ENABLED": 2, } )
Enum value maps for Model_PeriodicTuningState.
var ( Model_DataState_name = map[int32]string{ 0: "DATA_STATE_UNSPECIFIED", 1: "DATA_OK", 2: "DATA_ERROR", } Model_DataState_value = map[string]int32{ "DATA_STATE_UNSPECIFIED": 0, "DATA_OK": 1, "DATA_ERROR": 2, } )
Enum value maps for Model_DataState.
var ( Product_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "PRIMARY", 2: "VARIANT", 3: "COLLECTION", } Product_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "PRIMARY": 1, "VARIANT": 2, "COLLECTION": 3, } )
Enum value maps for Product_Type.
var ( Product_Availability_name = map[int32]string{ 0: "AVAILABILITY_UNSPECIFIED", 1: "IN_STOCK", 2: "OUT_OF_STOCK", 3: "PREORDER", 4: "BACKORDER", } Product_Availability_value = map[string]int32{ "AVAILABILITY_UNSPECIFIED": 0, "IN_STOCK": 1, "OUT_OF_STOCK": 2, "PREORDER": 3, "BACKORDER": 4, } )
Enum value maps for Product_Availability.
var ( SearchRequest_SearchMode_name = map[int32]string{ 0: "SEARCH_MODE_UNSPECIFIED", 1: "PRODUCT_SEARCH_ONLY", 2: "FACETED_SEARCH_ONLY", } SearchRequest_SearchMode_value = map[string]int32{ "SEARCH_MODE_UNSPECIFIED": 0, "PRODUCT_SEARCH_ONLY": 1, "FACETED_SEARCH_ONLY": 2, } )
Enum value maps for SearchRequest_SearchMode.
var ( SearchRequest_DynamicFacetSpec_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "DISABLED", 2: "ENABLED", } SearchRequest_DynamicFacetSpec_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "DISABLED": 1, "ENABLED": 2, } )
Enum value maps for SearchRequest_DynamicFacetSpec_Mode.
var ( SearchRequest_QueryExpansionSpec_Condition_name = map[int32]string{ 0: "CONDITION_UNSPECIFIED", 1: "DISABLED", 3: "AUTO", } SearchRequest_QueryExpansionSpec_Condition_value = map[string]int32{ "CONDITION_UNSPECIFIED": 0, "DISABLED": 1, "AUTO": 3, } )
Enum value maps for SearchRequest_QueryExpansionSpec_Condition.
var ( SearchRequest_PersonalizationSpec_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "AUTO", 2: "DISABLED", } SearchRequest_PersonalizationSpec_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "AUTO": 1, "DISABLED": 2, } )
Enum value maps for SearchRequest_PersonalizationSpec_Mode.
var ( SearchRequest_SpellCorrectionSpec_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "SUGGESTION_ONLY", 2: "AUTO", } SearchRequest_SpellCorrectionSpec_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "SUGGESTION_ONLY": 1, "AUTO": 2, } )
Enum value maps for SearchRequest_SpellCorrectionSpec_Mode.
var ( ServingConfig_DiversityType_name = map[int32]string{ 0: "DIVERSITY_TYPE_UNSPECIFIED", 2: "RULE_BASED_DIVERSITY", 3: "DATA_DRIVEN_DIVERSITY", } ServingConfig_DiversityType_value = map[string]int32{ "DIVERSITY_TYPE_UNSPECIFIED": 0, "RULE_BASED_DIVERSITY": 2, "DATA_DRIVEN_DIVERSITY": 3, } )
Enum value maps for ServingConfig_DiversityType.
var ( RejoinUserEventsRequest_UserEventRejoinScope_name = map[int32]string{ 0: "USER_EVENT_REJOIN_SCOPE_UNSPECIFIED", 1: "JOINED_EVENTS", 2: "UNJOINED_EVENTS", } RejoinUserEventsRequest_UserEventRejoinScope_value = map[string]int32{ "USER_EVENT_REJOIN_SCOPE_UNSPECIFIED": 0, "JOINED_EVENTS": 1, "UNJOINED_EVENTS": 2, } )
Enum value maps for RejoinUserEventsRequest_UserEventRejoinScope.
var File_google_cloud_retail_v2_catalog_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_catalog_service_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_common_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_completion_service_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_control_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_control_service_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_import_config_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_model_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_model_service_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_prediction_service_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_product_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_product_service_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_promotion_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_purge_config_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_search_service_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_serving_config_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_serving_config_service_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_user_event_proto protoreflect.FileDescriptor
var File_google_cloud_retail_v2_user_event_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCatalogServiceServer ¶
func RegisterCatalogServiceServer(s *grpc.Server, srv CatalogServiceServer)
func RegisterCompletionServiceServer ¶
func RegisterCompletionServiceServer(s *grpc.Server, srv CompletionServiceServer)
func RegisterControlServiceServer ¶
func RegisterControlServiceServer(s *grpc.Server, srv ControlServiceServer)
func RegisterModelServiceServer ¶ added in v1.13.0
func RegisterModelServiceServer(s *grpc.Server, srv ModelServiceServer)
func RegisterPredictionServiceServer ¶
func RegisterPredictionServiceServer(s *grpc.Server, srv PredictionServiceServer)
func RegisterProductServiceServer ¶
func RegisterProductServiceServer(s *grpc.Server, srv ProductServiceServer)
func RegisterSearchServiceServer ¶
func RegisterSearchServiceServer(s *grpc.Server, srv SearchServiceServer)
func RegisterServingConfigServiceServer ¶
func RegisterServingConfigServiceServer(s *grpc.Server, srv ServingConfigServiceServer)
func RegisterUserEventServiceServer ¶
func RegisterUserEventServiceServer(s *grpc.Server, srv UserEventServiceServer)
Types ¶
type AddCatalogAttributeRequest ¶
type AddCatalogAttributeRequest struct { // Required. Full AttributesConfig resource name. Format: // `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` AttributesConfig string `protobuf:"bytes,1,opt,name=attributes_config,json=attributesConfig,proto3" json:"attributes_config,omitempty"` // Required. The [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] // to add. CatalogAttribute *CatalogAttribute `protobuf:"bytes,2,opt,name=catalog_attribute,json=catalogAttribute,proto3" json:"catalog_attribute,omitempty"` // contains filtered or unexported fields }
Request for [CatalogService.AddCatalogAttribute][google.cloud.retail.v2.CatalogService.AddCatalogAttribute] method.
func (*AddCatalogAttributeRequest) Descriptor
deprecated
func (*AddCatalogAttributeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddCatalogAttributeRequest.ProtoReflect.Descriptor instead.
func (*AddCatalogAttributeRequest) GetAttributesConfig ¶
func (x *AddCatalogAttributeRequest) GetAttributesConfig() string
func (*AddCatalogAttributeRequest) GetCatalogAttribute ¶
func (x *AddCatalogAttributeRequest) GetCatalogAttribute() *CatalogAttribute
func (*AddCatalogAttributeRequest) ProtoMessage ¶
func (*AddCatalogAttributeRequest) ProtoMessage()
func (*AddCatalogAttributeRequest) ProtoReflect ¶
func (x *AddCatalogAttributeRequest) ProtoReflect() protoreflect.Message
func (*AddCatalogAttributeRequest) Reset ¶
func (x *AddCatalogAttributeRequest) Reset()
func (*AddCatalogAttributeRequest) String ¶
func (x *AddCatalogAttributeRequest) String() string
type AddControlRequest ¶
type AddControlRequest struct { // Required. The source ServingConfig resource name . Format: // `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/servingConfigs/{serving_config_id}` ServingConfig string `protobuf:"bytes,1,opt,name=serving_config,json=servingConfig,proto3" json:"serving_config,omitempty"` // Required. The id of the control to apply. Assumed to be in the same catalog // as the serving config - if id is not found a NOT_FOUND error is returned. ControlId string `protobuf:"bytes,2,opt,name=control_id,json=controlId,proto3" json:"control_id,omitempty"` // contains filtered or unexported fields }
Request for AddControl method.
func (*AddControlRequest) Descriptor
deprecated
func (*AddControlRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddControlRequest.ProtoReflect.Descriptor instead.
func (*AddControlRequest) GetControlId ¶
func (x *AddControlRequest) GetControlId() string
func (*AddControlRequest) GetServingConfig ¶
func (x *AddControlRequest) GetServingConfig() string
func (*AddControlRequest) ProtoMessage ¶
func (*AddControlRequest) ProtoMessage()
func (*AddControlRequest) ProtoReflect ¶
func (x *AddControlRequest) ProtoReflect() protoreflect.Message
func (*AddControlRequest) Reset ¶
func (x *AddControlRequest) Reset()
func (*AddControlRequest) String ¶
func (x *AddControlRequest) String() string
type AddFulfillmentPlacesMetadata ¶
type AddFulfillmentPlacesMetadata struct {
// contains filtered or unexported fields
}
Metadata related to the progress of the AddFulfillmentPlaces operation. Currently empty because there is no meaningful metadata populated from the [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces] method.
func (*AddFulfillmentPlacesMetadata) Descriptor
deprecated
func (*AddFulfillmentPlacesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AddFulfillmentPlacesMetadata.ProtoReflect.Descriptor instead.
func (*AddFulfillmentPlacesMetadata) ProtoMessage ¶
func (*AddFulfillmentPlacesMetadata) ProtoMessage()
func (*AddFulfillmentPlacesMetadata) ProtoReflect ¶
func (x *AddFulfillmentPlacesMetadata) ProtoReflect() protoreflect.Message
func (*AddFulfillmentPlacesMetadata) Reset ¶
func (x *AddFulfillmentPlacesMetadata) Reset()
func (*AddFulfillmentPlacesMetadata) String ¶
func (x *AddFulfillmentPlacesMetadata) String() string
type AddFulfillmentPlacesRequest ¶
type AddFulfillmentPlacesRequest struct { // Required. Full resource name of [Product][google.cloud.retail.v2.Product], // such as // `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. // // If the caller does not have permission to access the // [Product][google.cloud.retail.v2.Product], regardless of whether or not it // exists, a PERMISSION_DENIED error is returned. Product string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` // Required. The fulfillment type, including commonly used types (such as // pickup in store and same day delivery), and custom types. // // Supported values: // // * "pickup-in-store" // * "ship-to-store" // * "same-day-delivery" // * "next-day-delivery" // * "custom-type-1" // * "custom-type-2" // * "custom-type-3" // * "custom-type-4" // * "custom-type-5" // // If this field is set to an invalid value other than these, an // INVALID_ARGUMENT error is returned. // // This field directly corresponds to // [Product.fulfillment_info.type][google.cloud.retail.v2.FulfillmentInfo.type]. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // Required. The IDs for this // [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type], such as // the store IDs for "pickup-in-store" or the region IDs for // "same-day-delivery" to be added for this // [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type]. Duplicate // IDs will be automatically ignored. // // At least 1 value is required, and a maximum of 2000 values are allowed. // Each value must be a string with a length limit of 10 characters, matching // the pattern `[a-zA-Z0-9_-]+`, such as "store1" or "REGION-2". Otherwise, an // INVALID_ARGUMENT error is returned. // // If the total number of place IDs exceeds 2000 for this // [type][google.cloud.retail.v2.AddFulfillmentPlacesRequest.type] after // adding, then the update will be rejected. PlaceIds []string `protobuf:"bytes,3,rep,name=place_ids,json=placeIds,proto3" json:"place_ids,omitempty"` // The time when the fulfillment updates are issued, used to prevent // out-of-order updates on fulfillment information. If not provided, the // internal system time will be used. AddTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=add_time,json=addTime,proto3" json:"add_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2.Product] is not // found, the fulfillment information will still be processed and retained for // at most 1 day and processed once the // [Product][google.cloud.retail.v2.Product] is created. If set to false, a // NOT_FOUND error is returned if the // [Product][google.cloud.retail.v2.Product] is not found. AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
Request message for [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces] method.
func (*AddFulfillmentPlacesRequest) Descriptor
deprecated
func (*AddFulfillmentPlacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddFulfillmentPlacesRequest.ProtoReflect.Descriptor instead.
func (*AddFulfillmentPlacesRequest) GetAddTime ¶
func (x *AddFulfillmentPlacesRequest) GetAddTime() *timestamppb.Timestamp
func (*AddFulfillmentPlacesRequest) GetAllowMissing ¶
func (x *AddFulfillmentPlacesRequest) GetAllowMissing() bool
func (*AddFulfillmentPlacesRequest) GetPlaceIds ¶
func (x *AddFulfillmentPlacesRequest) GetPlaceIds() []string
func (*AddFulfillmentPlacesRequest) GetProduct ¶
func (x *AddFulfillmentPlacesRequest) GetProduct() string
func (*AddFulfillmentPlacesRequest) GetType ¶
func (x *AddFulfillmentPlacesRequest) GetType() string
func (*AddFulfillmentPlacesRequest) ProtoMessage ¶
func (*AddFulfillmentPlacesRequest) ProtoMessage()
func (*AddFulfillmentPlacesRequest) ProtoReflect ¶
func (x *AddFulfillmentPlacesRequest) ProtoReflect() protoreflect.Message
func (*AddFulfillmentPlacesRequest) Reset ¶
func (x *AddFulfillmentPlacesRequest) Reset()
func (*AddFulfillmentPlacesRequest) String ¶
func (x *AddFulfillmentPlacesRequest) String() string
type AddFulfillmentPlacesResponse ¶
type AddFulfillmentPlacesResponse struct {
// contains filtered or unexported fields
}
Response of the AddFulfillmentPlacesRequest. Currently empty because there is no meaningful response populated from the [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces] method.
func (*AddFulfillmentPlacesResponse) Descriptor
deprecated
func (*AddFulfillmentPlacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddFulfillmentPlacesResponse.ProtoReflect.Descriptor instead.
func (*AddFulfillmentPlacesResponse) ProtoMessage ¶
func (*AddFulfillmentPlacesResponse) ProtoMessage()
func (*AddFulfillmentPlacesResponse) ProtoReflect ¶
func (x *AddFulfillmentPlacesResponse) ProtoReflect() protoreflect.Message
func (*AddFulfillmentPlacesResponse) Reset ¶
func (x *AddFulfillmentPlacesResponse) Reset()
func (*AddFulfillmentPlacesResponse) String ¶
func (x *AddFulfillmentPlacesResponse) String() string
type AddLocalInventoriesMetadata ¶
type AddLocalInventoriesMetadata struct {
// contains filtered or unexported fields
}
Metadata related to the progress of the AddLocalInventories operation. Currently empty because there is no meaningful metadata populated from the [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] method.
func (*AddLocalInventoriesMetadata) Descriptor
deprecated
func (*AddLocalInventoriesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AddLocalInventoriesMetadata.ProtoReflect.Descriptor instead.
func (*AddLocalInventoriesMetadata) ProtoMessage ¶
func (*AddLocalInventoriesMetadata) ProtoMessage()
func (*AddLocalInventoriesMetadata) ProtoReflect ¶
func (x *AddLocalInventoriesMetadata) ProtoReflect() protoreflect.Message
func (*AddLocalInventoriesMetadata) Reset ¶
func (x *AddLocalInventoriesMetadata) Reset()
func (*AddLocalInventoriesMetadata) String ¶
func (x *AddLocalInventoriesMetadata) String() string
type AddLocalInventoriesRequest ¶
type AddLocalInventoriesRequest struct { // Required. Full resource name of [Product][google.cloud.retail.v2.Product], // such as // `projects/*/locations/global/catalogs/default_catalog/branches/default_branch/products/some_product_id`. // // If the caller does not have permission to access the // [Product][google.cloud.retail.v2.Product], regardless of whether or not it // exists, a PERMISSION_DENIED error is returned. Product string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` // Required. A list of inventory information at difference places. Each place // is identified by its place ID. At most 3000 inventories are allowed per // request. LocalInventories []*LocalInventory `protobuf:"bytes,2,rep,name=local_inventories,json=localInventories,proto3" json:"local_inventories,omitempty"` // Indicates which inventory fields in the provided list of // [LocalInventory][google.cloud.retail.v2.LocalInventory] to update. The // field is updated to the provided value. // // If a field is set while the place does not have a previous local inventory, // the local inventory at that store is created. // // If a field is set while the value of that field is not provided, the // original field value, if it exists, is deleted. // // If the mask is not set or set with empty paths, all inventory fields will // be updated. // // If an unsupported or unknown field is provided, an INVALID_ARGUMENT error // is returned and the entire update will be ignored. AddMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=add_mask,json=addMask,proto3" json:"add_mask,omitempty"` // The time when the inventory updates are issued. Used to prevent // out-of-order updates on local inventory fields. If not provided, the // internal system time will be used. AddTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=add_time,json=addTime,proto3" json:"add_time,omitempty"` // If set to true, and the [Product][google.cloud.retail.v2.Product] is not // found, the local inventory will still be processed and retained for at most // 1 day and processed once the [Product][google.cloud.retail.v2.Product] is // created. If set to false, a NOT_FOUND error is returned if the // [Product][google.cloud.retail.v2.Product] is not found. AllowMissing bool `protobuf:"varint,6,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
Request message for [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] method.
func (*AddLocalInventoriesRequest) Descriptor
deprecated
func (*AddLocalInventoriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddLocalInventoriesRequest.ProtoReflect.Descriptor instead.
func (*AddLocalInventoriesRequest) GetAddMask ¶
func (x *AddLocalInventoriesRequest) GetAddMask() *fieldmaskpb.FieldMask
func (*AddLocalInventoriesRequest) GetAddTime ¶
func (x *AddLocalInventoriesRequest) GetAddTime() *timestamppb.Timestamp
func (*AddLocalInventoriesRequest) GetAllowMissing ¶
func (x *AddLocalInventoriesRequest) GetAllowMissing() bool
func (*AddLocalInventoriesRequest) GetLocalInventories ¶
func (x *AddLocalInventoriesRequest) GetLocalInventories() []*LocalInventory
func (*AddLocalInventoriesRequest) GetProduct ¶
func (x *AddLocalInventoriesRequest) GetProduct() string
func (*AddLocalInventoriesRequest) ProtoMessage ¶
func (*AddLocalInventoriesRequest) ProtoMessage()
func (*AddLocalInventoriesRequest) ProtoReflect ¶
func (x *AddLocalInventoriesRequest) ProtoReflect() protoreflect.Message
func (*AddLocalInventoriesRequest) Reset ¶
func (x *AddLocalInventoriesRequest) Reset()
func (*AddLocalInventoriesRequest) String ¶
func (x *AddLocalInventoriesRequest) String() string
type AddLocalInventoriesResponse ¶
type AddLocalInventoriesResponse struct {
// contains filtered or unexported fields
}
Response of the [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] API. Currently empty because there is no meaningful response populated from the [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] method.
func (*AddLocalInventoriesResponse) Descriptor
deprecated
func (*AddLocalInventoriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddLocalInventoriesResponse.ProtoReflect.Descriptor instead.
func (*AddLocalInventoriesResponse) ProtoMessage ¶
func (*AddLocalInventoriesResponse) ProtoMessage()
func (*AddLocalInventoriesResponse) ProtoReflect ¶
func (x *AddLocalInventoriesResponse) ProtoReflect() protoreflect.Message
func (*AddLocalInventoriesResponse) Reset ¶
func (x *AddLocalInventoriesResponse) Reset()
func (*AddLocalInventoriesResponse) String ¶
func (x *AddLocalInventoriesResponse) String() string
type AttributeConfigLevel ¶
type AttributeConfigLevel int32
At which level we offer configuration for attributes.
const ( // Value used when unset. In this case, server behavior defaults to // [CATALOG_LEVEL_ATTRIBUTE_CONFIG][google.cloud.retail.v2.AttributeConfigLevel.CATALOG_LEVEL_ATTRIBUTE_CONFIG]. AttributeConfigLevel_ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED AttributeConfigLevel = 0 // At this level, we honor the attribute configurations set in // [Product.attributes][google.cloud.retail.v2.Product.attributes]. AttributeConfigLevel_PRODUCT_LEVEL_ATTRIBUTE_CONFIG AttributeConfigLevel = 1 // At this level, we honor the attribute configurations set in // [CatalogConfig.attribute_configs][]. AttributeConfigLevel_CATALOG_LEVEL_ATTRIBUTE_CONFIG AttributeConfigLevel = 2 )
func (AttributeConfigLevel) Descriptor ¶
func (AttributeConfigLevel) Descriptor() protoreflect.EnumDescriptor
func (AttributeConfigLevel) Enum ¶
func (x AttributeConfigLevel) Enum() *AttributeConfigLevel
func (AttributeConfigLevel) EnumDescriptor
deprecated
func (AttributeConfigLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttributeConfigLevel.Descriptor instead.
func (AttributeConfigLevel) Number ¶
func (x AttributeConfigLevel) Number() protoreflect.EnumNumber
func (AttributeConfigLevel) String ¶
func (x AttributeConfigLevel) String() string
func (AttributeConfigLevel) Type ¶
func (AttributeConfigLevel) Type() protoreflect.EnumType
type AttributesConfig ¶
type AttributesConfig struct { // Required. Immutable. The fully qualified resource name of the attribute // config. Format: `projects/*/locations/*/catalogs/*/attributesConfig` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Enable attribute(s) config at catalog level. // For example, indexable, dynamic_facetable, or searchable for each // attribute. // // The key is catalog attribute's name. // For example: `color`, `brands`, `attributes.custom_attribute`, such as // `attributes.xyz`. // // The maximum number of catalog attributes allowed in a request is 1000. CatalogAttributes map[string]*CatalogAttribute `` /* 200-byte string literal not displayed */ // Output only. The // [AttributeConfigLevel][google.cloud.retail.v2.AttributeConfigLevel] used // for this catalog. AttributeConfigLevel AttributeConfigLevel `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
Catalog level attribute config.
func (*AttributesConfig) Descriptor
deprecated
func (*AttributesConfig) Descriptor() ([]byte, []int)
Deprecated: Use AttributesConfig.ProtoReflect.Descriptor instead.
func (*AttributesConfig) GetAttributeConfigLevel ¶
func (x *AttributesConfig) GetAttributeConfigLevel() AttributeConfigLevel
func (*AttributesConfig) GetCatalogAttributes ¶
func (x *AttributesConfig) GetCatalogAttributes() map[string]*CatalogAttribute
func (*AttributesConfig) GetName ¶
func (x *AttributesConfig) GetName() string
func (*AttributesConfig) ProtoMessage ¶
func (*AttributesConfig) ProtoMessage()
func (*AttributesConfig) ProtoReflect ¶
func (x *AttributesConfig) ProtoReflect() protoreflect.Message
func (*AttributesConfig) Reset ¶
func (x *AttributesConfig) Reset()
func (*AttributesConfig) String ¶
func (x *AttributesConfig) String() string
type Audience ¶
type Audience struct { // The genders of the audience. Strongly encouraged to use the standard // values: "male", "female", "unisex". // // At most 5 values are allowed. Each value must be a UTF-8 encoded string // with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error // is returned. // // Google Merchant Center property // [gender](https://support.google.com/merchants/answer/6324479). Schema.org // property // [Product.audience.suggestedGender](https://schema.org/suggestedGender). Genders []string `protobuf:"bytes,1,rep,name=genders,proto3" json:"genders,omitempty"` // The age groups of the audience. Strongly encouraged to use the standard // values: "newborn" (up to 3 months old), "infant" (3–12 months old), // "toddler" (1–5 years old), "kids" (5–13 years old), "adult" (typically // teens or older). // // At most 5 values are allowed. Each value must be a UTF-8 encoded string // with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error // is returned. // // Google Merchant Center property // [age_group](https://support.google.com/merchants/answer/6324463). // Schema.org property // [Product.audience.suggestedMinAge](https://schema.org/suggestedMinAge) and // [Product.audience.suggestedMaxAge](https://schema.org/suggestedMaxAge). AgeGroups []string `protobuf:"bytes,2,rep,name=age_groups,json=ageGroups,proto3" json:"age_groups,omitempty"` // contains filtered or unexported fields }
An intended audience of the Product[google.cloud.retail.v2.Product] for whom it's sold.
func (*Audience) Descriptor
deprecated
func (*Audience) GetAgeGroups ¶
func (*Audience) GetGenders ¶
func (*Audience) ProtoMessage ¶
func (*Audience) ProtoMessage()
func (*Audience) ProtoReflect ¶
func (x *Audience) ProtoReflect() protoreflect.Message
type BigQuerySource ¶
type BigQuerySource struct { // BigQuery table partition info. Leave this empty if the BigQuery table // is not partitioned. // // Types that are assignable to Partition: // *BigQuerySource_PartitionDate Partition isBigQuerySource_Partition `protobuf_oneof:"partition"` // The project ID (can be project # or ID) that the BigQuery source is in with // a length limit of 128 characters. If not specified, inherits the project // ID from the parent request. ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. The BigQuery data set to copy the data from with a length limit // of 1,024 characters. DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // Required. The BigQuery table to copy the data from with a length limit of // 1,024 characters. TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"` // Intermediate Cloud Storage directory used for the import with a length // limit of 2,000 characters. Can be specified if one wants to have the // BigQuery export to a specific Cloud Storage directory. GcsStagingDir string `protobuf:"bytes,3,opt,name=gcs_staging_dir,json=gcsStagingDir,proto3" json:"gcs_staging_dir,omitempty"` // The schema to use when parsing the data from the source. // // Supported values for product imports: // // * `product` (default): One JSON [Product][google.cloud.retail.v2.Product] // per line. Each product must // have a valid [Product.id][google.cloud.retail.v2.Product.id]. // * `product_merchant_center`: See [Importing catalog data from Merchant // Center](https://cloud.google.com/retail/recommendations-ai/docs/upload-catalog#mc). // // Supported values for user events imports: // // * `user_event` (default): One JSON // [UserEvent][google.cloud.retail.v2.UserEvent] per line. // * `user_event_ga360`: // The schema is available here: // https://support.google.com/analytics/answer/3437719. // * `user_event_ga4`: // The schema is available here: // https://support.google.com/analytics/answer/7029846. // // Supported values for autocomplete imports: // // * `suggestions` (default): One JSON completion suggestion per line. // * `denylist`: One JSON deny suggestion per line. // * `allowlist`: One JSON allow suggestion per line. DataSchema string `protobuf:"bytes,4,opt,name=data_schema,json=dataSchema,proto3" json:"data_schema,omitempty"` // contains filtered or unexported fields }
BigQuery source import data from.
func (*BigQuerySource) Descriptor
deprecated
func (*BigQuerySource) Descriptor() ([]byte, []int)
Deprecated: Use BigQuerySource.ProtoReflect.Descriptor instead.
func (*BigQuerySource) GetDataSchema ¶
func (x *BigQuerySource) GetDataSchema() string
func (*BigQuerySource) GetDatasetId ¶
func (x *BigQuerySource) GetDatasetId() string
func (*BigQuerySource) GetGcsStagingDir ¶
func (x *BigQuerySource) GetGcsStagingDir() string
func (*BigQuerySource) GetPartition ¶
func (m *BigQuerySource) GetPartition() isBigQuerySource_Partition
func (*BigQuerySource) GetPartitionDate ¶
func (x *BigQuerySource) GetPartitionDate() *date.Date
func (*BigQuerySource) GetProjectId ¶
func (x *BigQuerySource) GetProjectId() string
func (*BigQuerySource) GetTableId ¶
func (x *BigQuerySource) GetTableId() string
func (*BigQuerySource) ProtoMessage ¶
func (*BigQuerySource) ProtoMessage()
func (*BigQuerySource) ProtoReflect ¶
func (x *BigQuerySource) ProtoReflect() protoreflect.Message
func (*BigQuerySource) Reset ¶
func (x *BigQuerySource) Reset()
func (*BigQuerySource) String ¶
func (x *BigQuerySource) String() string
type BigQuerySource_PartitionDate ¶
type BigQuerySource_PartitionDate struct { // BigQuery time partitioned table's _PARTITIONDATE in YYYY-MM-DD format. // // Only supported in // [ImportProductsRequest][google.cloud.retail.v2.ImportProductsRequest]. PartitionDate *date.Date `protobuf:"bytes,6,opt,name=partition_date,json=partitionDate,proto3,oneof"` }
type Catalog ¶
type Catalog struct { // Required. Immutable. The fully qualified resource name of the catalog. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Immutable. The catalog display name. // // This field must be a UTF-8 encoded string with a length limit of 128 // characters. Otherwise, an INVALID_ARGUMENT error is returned. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. The product level configuration. ProductLevelConfig *ProductLevelConfig `protobuf:"bytes,4,opt,name=product_level_config,json=productLevelConfig,proto3" json:"product_level_config,omitempty"` // contains filtered or unexported fields }
The catalog configuration.
func (*Catalog) Descriptor
deprecated
func (*Catalog) GetDisplayName ¶
func (*Catalog) GetProductLevelConfig ¶
func (x *Catalog) GetProductLevelConfig() *ProductLevelConfig
func (*Catalog) ProtoMessage ¶
func (*Catalog) ProtoMessage()
func (*Catalog) ProtoReflect ¶
func (x *Catalog) ProtoReflect() protoreflect.Message
type CatalogAttribute ¶
type CatalogAttribute struct { // Required. Attribute name. // For example: `color`, `brands`, `attributes.custom_attribute`, such as // `attributes.xyz`. // To be indexable, the attribute name can contain only alpha-numeric // characters and underscores. For example, an attribute named // `attributes.abc_xyz` can be indexed, but an attribute named // `attributes.abc-xyz` cannot be indexed. // // If the attribute key starts with `attributes.`, then the attribute is a // custom attribute. Attributes such as `brands`, `patterns`, and `title` are // built-in and called system attributes. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Output only. Indicates whether this attribute has been used by any // products. `True` if at least one [Product][google.cloud.retail.v2.Product] // is using this attribute in // [Product.attributes][google.cloud.retail.v2.Product.attributes]. Otherwise, // this field is `False`. // // [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] can be // pre-loaded by using // [CatalogService.AddCatalogAttribute][google.cloud.retail.v2.CatalogService.AddCatalogAttribute], // [CatalogService.ImportCatalogAttributes][], or // [CatalogService.UpdateAttributesConfig][google.cloud.retail.v2.CatalogService.UpdateAttributesConfig] // APIs. This field is `False` for pre-loaded // [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute]s. // // Only pre-loaded [catalog // attributes][google.cloud.retail.v2.CatalogAttribute] that are neither in // use by products nor predefined can be deleted. [Catalog // attributes][google.cloud.retail.v2.CatalogAttribute] that are // either in use by products or are predefined attributes cannot be deleted; // however, their configuration properties will reset to default values upon // removal request. // // After catalog changes, it takes about 10 minutes for this field to update. InUse bool `protobuf:"varint,9,opt,name=in_use,json=inUse,proto3" json:"in_use,omitempty"` // Output only. The type of this attribute. This is derived from the attribute // in [Product.attributes][google.cloud.retail.v2.Product.attributes]. Type CatalogAttribute_AttributeType `protobuf:"varint,10,opt,name=type,proto3,enum=google.cloud.retail.v2.CatalogAttribute_AttributeType" json:"type,omitempty"` // When // [AttributesConfig.attribute_config_level][google.cloud.retail.v2.AttributesConfig.attribute_config_level] // is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if INDEXABLE_ENABLED attribute values // are indexed so that it can be filtered, faceted, or boosted in // [SearchService.Search][google.cloud.retail.v2.SearchService.Search]. // // Must be specified, otherwise throws INVALID_FORMAT error. IndexableOption CatalogAttribute_IndexableOption `` /* 168-byte string literal not displayed */ // If DYNAMIC_FACETABLE_ENABLED, attribute values are available for dynamic // facet. Could only be DYNAMIC_FACETABLE_DISABLED if // [CatalogAttribute.indexable_option][google.cloud.retail.v2.CatalogAttribute.indexable_option] // is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned. // // Must be specified, otherwise throws INVALID_FORMAT error. DynamicFacetableOption CatalogAttribute_DynamicFacetableOption `` /* 198-byte string literal not displayed */ // When // [AttributesConfig.attribute_config_level][google.cloud.retail.v2.AttributesConfig.attribute_config_level] // is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if SEARCHABLE_ENABLED, attribute values // are searchable by text queries in // [SearchService.Search][google.cloud.retail.v2.SearchService.Search]. // // If SEARCHABLE_ENABLED but attribute type is numerical, attribute values // will not be searchable by text queries in // [SearchService.Search][google.cloud.retail.v2.SearchService.Search], as // there are no text values associated to numerical attributes. // // Must be specified, otherwise throws INVALID_FORMAT error. SearchableOption CatalogAttribute_SearchableOption `` /* 172-byte string literal not displayed */ // If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. // This property only applies to textual custom attributes and requires // indexable set to enabled to enable exact-searchable. If unset, the server // behavior defaults to // [EXACT_SEARCHABLE_DISABLED][google.cloud.retail.v2.CatalogAttribute.ExactSearchableOption.EXACT_SEARCHABLE_DISABLED]. ExactSearchableOption CatalogAttribute_ExactSearchableOption `` /* 195-byte string literal not displayed */ // If RETRIEVABLE_ENABLED, attribute values are retrievable in the search // results. If unset, the server behavior defaults to // [RETRIEVABLE_DISABLED][google.cloud.retail.v2.CatalogAttribute.RetrievableOption.RETRIEVABLE_DISABLED]. RetrievableOption CatalogAttribute_RetrievableOption `` /* 177-byte string literal not displayed */ // contains filtered or unexported fields }
Catalog level attribute config for an attribute. For example, if customers want to enable/disable facet for a specific attribute.
func (*CatalogAttribute) Descriptor
deprecated
func (*CatalogAttribute) Descriptor() ([]byte, []int)
Deprecated: Use CatalogAttribute.ProtoReflect.Descriptor instead.
func (*CatalogAttribute) GetDynamicFacetableOption ¶
func (x *CatalogAttribute) GetDynamicFacetableOption() CatalogAttribute_DynamicFacetableOption
func (*CatalogAttribute) GetExactSearchableOption ¶ added in v1.12.0
func (x *CatalogAttribute) GetExactSearchableOption() CatalogAttribute_ExactSearchableOption
func (*CatalogAttribute) GetInUse ¶
func (x *CatalogAttribute) GetInUse() bool
func (*CatalogAttribute) GetIndexableOption ¶
func (x *CatalogAttribute) GetIndexableOption() CatalogAttribute_IndexableOption
func (*CatalogAttribute) GetKey ¶
func (x *CatalogAttribute) GetKey() string
func (*CatalogAttribute) GetRetrievableOption ¶ added in v1.12.0
func (x *CatalogAttribute) GetRetrievableOption() CatalogAttribute_RetrievableOption
func (*CatalogAttribute) GetSearchableOption ¶
func (x *CatalogAttribute) GetSearchableOption() CatalogAttribute_SearchableOption
func (*CatalogAttribute) GetType ¶
func (x *CatalogAttribute) GetType() CatalogAttribute_AttributeType
func (*CatalogAttribute) ProtoMessage ¶
func (*CatalogAttribute) ProtoMessage()
func (*CatalogAttribute) ProtoReflect ¶
func (x *CatalogAttribute) ProtoReflect() protoreflect.Message
func (*CatalogAttribute) Reset ¶
func (x *CatalogAttribute) Reset()
func (*CatalogAttribute) String ¶
func (x *CatalogAttribute) String() string
type CatalogAttribute_AttributeType ¶
type CatalogAttribute_AttributeType int32
The type of an attribute.
const ( // The type of the attribute is unknown. // // Used when type cannot be derived from attribute that is not // [in_use][google.cloud.retail.v2.CatalogAttribute.in_use]. CatalogAttribute_UNKNOWN CatalogAttribute_AttributeType = 0 // Textual attribute. CatalogAttribute_TEXTUAL CatalogAttribute_AttributeType = 1 // Numerical attribute. CatalogAttribute_NUMERICAL CatalogAttribute_AttributeType = 2 )
func (CatalogAttribute_AttributeType) Descriptor ¶
func (CatalogAttribute_AttributeType) Descriptor() protoreflect.EnumDescriptor
func (CatalogAttribute_AttributeType) Enum ¶
func (x CatalogAttribute_AttributeType) Enum() *CatalogAttribute_AttributeType
func (CatalogAttribute_AttributeType) EnumDescriptor
deprecated
func (CatalogAttribute_AttributeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CatalogAttribute_AttributeType.Descriptor instead.
func (CatalogAttribute_AttributeType) Number ¶
func (x CatalogAttribute_AttributeType) Number() protoreflect.EnumNumber
func (CatalogAttribute_AttributeType) String ¶
func (x CatalogAttribute_AttributeType) String() string
func (CatalogAttribute_AttributeType) Type ¶
func (CatalogAttribute_AttributeType) Type() protoreflect.EnumType
type CatalogAttribute_DynamicFacetableOption ¶
type CatalogAttribute_DynamicFacetableOption int32
The status of the dynamic facetable option of a catalog attribute.
const ( // Value used when unset. CatalogAttribute_DYNAMIC_FACETABLE_OPTION_UNSPECIFIED CatalogAttribute_DynamicFacetableOption = 0 // Dynamic facetable option enabled for an attribute. CatalogAttribute_DYNAMIC_FACETABLE_ENABLED CatalogAttribute_DynamicFacetableOption = 1 // Dynamic facetable option disabled for an attribute. CatalogAttribute_DYNAMIC_FACETABLE_DISABLED CatalogAttribute_DynamicFacetableOption = 2 )
func (CatalogAttribute_DynamicFacetableOption) Descriptor ¶
func (CatalogAttribute_DynamicFacetableOption) Descriptor() protoreflect.EnumDescriptor
func (CatalogAttribute_DynamicFacetableOption) EnumDescriptor
deprecated
func (CatalogAttribute_DynamicFacetableOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use CatalogAttribute_DynamicFacetableOption.Descriptor instead.
func (CatalogAttribute_DynamicFacetableOption) Number ¶
func (x CatalogAttribute_DynamicFacetableOption) Number() protoreflect.EnumNumber
func (CatalogAttribute_DynamicFacetableOption) String ¶
func (x CatalogAttribute_DynamicFacetableOption) String() string
func (CatalogAttribute_DynamicFacetableOption) Type ¶
func (CatalogAttribute_DynamicFacetableOption) Type() protoreflect.EnumType
type CatalogAttribute_ExactSearchableOption ¶ added in v1.12.0
type CatalogAttribute_ExactSearchableOption int32
The status of the exact-searchable option of a catalog attribute.
const ( // Value used when unset. CatalogAttribute_EXACT_SEARCHABLE_OPTION_UNSPECIFIED CatalogAttribute_ExactSearchableOption = 0 // Exact searchable option enabled for an attribute. CatalogAttribute_EXACT_SEARCHABLE_ENABLED CatalogAttribute_ExactSearchableOption = 1 // Exact searchable option disabled for an attribute. CatalogAttribute_EXACT_SEARCHABLE_DISABLED CatalogAttribute_ExactSearchableOption = 2 )
func (CatalogAttribute_ExactSearchableOption) Descriptor ¶ added in v1.12.0
func (CatalogAttribute_ExactSearchableOption) Descriptor() protoreflect.EnumDescriptor
func (CatalogAttribute_ExactSearchableOption) EnumDescriptor
deprecated
added in
v1.12.0
func (CatalogAttribute_ExactSearchableOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use CatalogAttribute_ExactSearchableOption.Descriptor instead.
func (CatalogAttribute_ExactSearchableOption) Number ¶ added in v1.12.0
func (x CatalogAttribute_ExactSearchableOption) Number() protoreflect.EnumNumber
func (CatalogAttribute_ExactSearchableOption) String ¶ added in v1.12.0
func (x CatalogAttribute_ExactSearchableOption) String() string
func (CatalogAttribute_ExactSearchableOption) Type ¶ added in v1.12.0
func (CatalogAttribute_ExactSearchableOption) Type() protoreflect.EnumType
type CatalogAttribute_IndexableOption ¶
type CatalogAttribute_IndexableOption int32
The status of the indexable option of a catalog attribute.
const ( // Value used when unset. CatalogAttribute_INDEXABLE_OPTION_UNSPECIFIED CatalogAttribute_IndexableOption = 0 // Indexable option enabled for an attribute. CatalogAttribute_INDEXABLE_ENABLED CatalogAttribute_IndexableOption = 1 // Indexable option disabled for an attribute. CatalogAttribute_INDEXABLE_DISABLED CatalogAttribute_IndexableOption = 2 )
func (CatalogAttribute_IndexableOption) Descriptor ¶
func (CatalogAttribute_IndexableOption) Descriptor() protoreflect.EnumDescriptor
func (CatalogAttribute_IndexableOption) Enum ¶
func (x CatalogAttribute_IndexableOption) Enum() *CatalogAttribute_IndexableOption
func (CatalogAttribute_IndexableOption) EnumDescriptor
deprecated
func (CatalogAttribute_IndexableOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use CatalogAttribute_IndexableOption.Descriptor instead.
func (CatalogAttribute_IndexableOption) Number ¶
func (x CatalogAttribute_IndexableOption) Number() protoreflect.EnumNumber
func (CatalogAttribute_IndexableOption) String ¶
func (x CatalogAttribute_IndexableOption) String() string
func (CatalogAttribute_IndexableOption) Type ¶
func (CatalogAttribute_IndexableOption) Type() protoreflect.EnumType
type CatalogAttribute_RetrievableOption ¶ added in v1.12.0
type CatalogAttribute_RetrievableOption int32
The status of the retrievable option of a catalog attribute.
const ( // Value used when unset. CatalogAttribute_RETRIEVABLE_OPTION_UNSPECIFIED CatalogAttribute_RetrievableOption = 0 // Retrievable option enabled for an attribute. CatalogAttribute_RETRIEVABLE_ENABLED CatalogAttribute_RetrievableOption = 1 // Retrievable option disabled for an attribute. CatalogAttribute_RETRIEVABLE_DISABLED CatalogAttribute_RetrievableOption = 2 )
func (CatalogAttribute_RetrievableOption) Descriptor ¶ added in v1.12.0
func (CatalogAttribute_RetrievableOption) Descriptor() protoreflect.EnumDescriptor
func (CatalogAttribute_RetrievableOption) Enum ¶ added in v1.12.0
func (x CatalogAttribute_RetrievableOption) Enum() *CatalogAttribute_RetrievableOption
func (CatalogAttribute_RetrievableOption) EnumDescriptor
deprecated
added in
v1.12.0
func (CatalogAttribute_RetrievableOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use CatalogAttribute_RetrievableOption.Descriptor instead.
func (CatalogAttribute_RetrievableOption) Number ¶ added in v1.12.0
func (x CatalogAttribute_RetrievableOption) Number() protoreflect.EnumNumber
func (CatalogAttribute_RetrievableOption) String ¶ added in v1.12.0
func (x CatalogAttribute_RetrievableOption) String() string
func (CatalogAttribute_RetrievableOption) Type ¶ added in v1.12.0
func (CatalogAttribute_RetrievableOption) Type() protoreflect.EnumType
type CatalogAttribute_SearchableOption ¶
type CatalogAttribute_SearchableOption int32
The status of the searchable option of a catalog attribute.
const ( // Value used when unset. CatalogAttribute_SEARCHABLE_OPTION_UNSPECIFIED CatalogAttribute_SearchableOption = 0 // Searchable option enabled for an attribute. CatalogAttribute_SEARCHABLE_ENABLED CatalogAttribute_SearchableOption = 1 // Searchable option disabled for an attribute. CatalogAttribute_SEARCHABLE_DISABLED CatalogAttribute_SearchableOption = 2 )
func (CatalogAttribute_SearchableOption) Descriptor ¶
func (CatalogAttribute_SearchableOption) Descriptor() protoreflect.EnumDescriptor
func (CatalogAttribute_SearchableOption) Enum ¶
func (x CatalogAttribute_SearchableOption) Enum() *CatalogAttribute_SearchableOption
func (CatalogAttribute_SearchableOption) EnumDescriptor
deprecated
func (CatalogAttribute_SearchableOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use CatalogAttribute_SearchableOption.Descriptor instead.
func (CatalogAttribute_SearchableOption) Number ¶
func (x CatalogAttribute_SearchableOption) Number() protoreflect.EnumNumber
func (CatalogAttribute_SearchableOption) String ¶
func (x CatalogAttribute_SearchableOption) String() string
func (CatalogAttribute_SearchableOption) Type ¶
func (CatalogAttribute_SearchableOption) Type() protoreflect.EnumType
type CatalogServiceClient ¶
type CatalogServiceClient interface { // Lists all the [Catalog][google.cloud.retail.v2.Catalog]s associated with // the project. ListCatalogs(ctx context.Context, in *ListCatalogsRequest, opts ...grpc.CallOption) (*ListCatalogsResponse, error) // Updates the [Catalog][google.cloud.retail.v2.Catalog]s. UpdateCatalog(ctx context.Context, in *UpdateCatalogRequest, opts ...grpc.CallOption) (*Catalog, error) // Set a specified branch id as default branch. API methods such as // [SearchService.Search][google.cloud.retail.v2.SearchService.Search], // [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct], // [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts] // will treat requests using "default_branch" to the actual branch id set as // default. // // For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as // default, setting // [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to // `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent // to setting // [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to // `projects/*/locations/*/catalogs/*/branches/1`. // // Using multiple branches can be useful when developers would like // to have a staging branch to test and verify for future usage. When it // becomes ready, developers switch on the staging branch using this API while // keeping using `projects/*/locations/*/catalogs/*/branches/default_branch` // as [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to // route the traffic to this staging branch. // // CAUTION: If you have live predict/search traffic, switching the default // branch could potentially cause outages if the ID space of the new branch is // very different from the old one. // // More specifically: // // * PredictionService will only return product IDs from branch {newBranch}. // * SearchService will only return product IDs from branch {newBranch} // (if branch is not explicitly set). // * UserEventService will only join events with products from branch // {newBranch}. SetDefaultBranch(ctx context.Context, in *SetDefaultBranchRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Get which branch is currently default branch set by // [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch] // method under a specified parent catalog. GetDefaultBranch(ctx context.Context, in *GetDefaultBranchRequest, opts ...grpc.CallOption) (*GetDefaultBranchResponse, error) // Gets a [CompletionConfig][google.cloud.retail.v2.CompletionConfig]. GetCompletionConfig(ctx context.Context, in *GetCompletionConfigRequest, opts ...grpc.CallOption) (*CompletionConfig, error) // Updates the [CompletionConfig][google.cloud.retail.v2.CompletionConfig]s. UpdateCompletionConfig(ctx context.Context, in *UpdateCompletionConfigRequest, opts ...grpc.CallOption) (*CompletionConfig, error) // Gets an [AttributesConfig][google.cloud.retail.v2.AttributesConfig]. GetAttributesConfig(ctx context.Context, in *GetAttributesConfigRequest, opts ...grpc.CallOption) (*AttributesConfig, error) // Updates the [AttributesConfig][google.cloud.retail.v2.AttributesConfig]. // // The catalog attributes in the request will be updated in the catalog, or // inserted if they do not exist. Existing catalog attributes not included in // the request will remain unchanged. Attributes that are assigned to // products, but do not exist at the catalog level, are always included in the // response. The product attribute is assigned default values for missing // catalog attribute fields, e.g., searchable and dynamic facetable options. UpdateAttributesConfig(ctx context.Context, in *UpdateAttributesConfigRequest, opts ...grpc.CallOption) (*AttributesConfig, error) // Adds the specified // [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to the // [AttributesConfig][google.cloud.retail.v2.AttributesConfig]. // // If the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to add // already exists, an ALREADY_EXISTS error is returned. AddCatalogAttribute(ctx context.Context, in *AddCatalogAttributeRequest, opts ...grpc.CallOption) (*AttributesConfig, error) // Removes the specified // [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] from the // [AttributesConfig][google.cloud.retail.v2.AttributesConfig]. // // If the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to // remove does not exist, a NOT_FOUND error is returned. RemoveCatalogAttribute(ctx context.Context, in *RemoveCatalogAttributeRequest, opts ...grpc.CallOption) (*AttributesConfig, error) // Replaces the specified // [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] in the // [AttributesConfig][google.cloud.retail.v2.AttributesConfig] by updating the // catalog attribute with the same // [CatalogAttribute.key][google.cloud.retail.v2.CatalogAttribute.key]. // // If the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to // replace does not exist, a NOT_FOUND error is returned. ReplaceCatalogAttribute(ctx context.Context, in *ReplaceCatalogAttributeRequest, opts ...grpc.CallOption) (*AttributesConfig, error) }
CatalogServiceClient is the client API for CatalogService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCatalogServiceClient ¶
func NewCatalogServiceClient(cc grpc.ClientConnInterface) CatalogServiceClient
type CatalogServiceServer ¶
type CatalogServiceServer interface { // Lists all the [Catalog][google.cloud.retail.v2.Catalog]s associated with // the project. ListCatalogs(context.Context, *ListCatalogsRequest) (*ListCatalogsResponse, error) // Updates the [Catalog][google.cloud.retail.v2.Catalog]s. UpdateCatalog(context.Context, *UpdateCatalogRequest) (*Catalog, error) // Set a specified branch id as default branch. API methods such as // [SearchService.Search][google.cloud.retail.v2.SearchService.Search], // [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct], // [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts] // will treat requests using "default_branch" to the actual branch id set as // default. // // For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as // default, setting // [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to // `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent // to setting // [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to // `projects/*/locations/*/catalogs/*/branches/1`. // // Using multiple branches can be useful when developers would like // to have a staging branch to test and verify for future usage. When it // becomes ready, developers switch on the staging branch using this API while // keeping using `projects/*/locations/*/catalogs/*/branches/default_branch` // as [SearchRequest.branch][google.cloud.retail.v2.SearchRequest.branch] to // route the traffic to this staging branch. // // CAUTION: If you have live predict/search traffic, switching the default // branch could potentially cause outages if the ID space of the new branch is // very different from the old one. // // More specifically: // // * PredictionService will only return product IDs from branch {newBranch}. // * SearchService will only return product IDs from branch {newBranch} // (if branch is not explicitly set). // * UserEventService will only join events with products from branch // {newBranch}. SetDefaultBranch(context.Context, *SetDefaultBranchRequest) (*emptypb.Empty, error) // Get which branch is currently default branch set by // [CatalogService.SetDefaultBranch][google.cloud.retail.v2.CatalogService.SetDefaultBranch] // method under a specified parent catalog. GetDefaultBranch(context.Context, *GetDefaultBranchRequest) (*GetDefaultBranchResponse, error) // Gets a [CompletionConfig][google.cloud.retail.v2.CompletionConfig]. GetCompletionConfig(context.Context, *GetCompletionConfigRequest) (*CompletionConfig, error) // Updates the [CompletionConfig][google.cloud.retail.v2.CompletionConfig]s. UpdateCompletionConfig(context.Context, *UpdateCompletionConfigRequest) (*CompletionConfig, error) // Gets an [AttributesConfig][google.cloud.retail.v2.AttributesConfig]. GetAttributesConfig(context.Context, *GetAttributesConfigRequest) (*AttributesConfig, error) // Updates the [AttributesConfig][google.cloud.retail.v2.AttributesConfig]. // // The catalog attributes in the request will be updated in the catalog, or // inserted if they do not exist. Existing catalog attributes not included in // the request will remain unchanged. Attributes that are assigned to // products, but do not exist at the catalog level, are always included in the // response. The product attribute is assigned default values for missing // catalog attribute fields, e.g., searchable and dynamic facetable options. UpdateAttributesConfig(context.Context, *UpdateAttributesConfigRequest) (*AttributesConfig, error) // Adds the specified // [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to the // [AttributesConfig][google.cloud.retail.v2.AttributesConfig]. // // If the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to add // already exists, an ALREADY_EXISTS error is returned. AddCatalogAttribute(context.Context, *AddCatalogAttributeRequest) (*AttributesConfig, error) // Removes the specified // [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] from the // [AttributesConfig][google.cloud.retail.v2.AttributesConfig]. // // If the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to // remove does not exist, a NOT_FOUND error is returned. RemoveCatalogAttribute(context.Context, *RemoveCatalogAttributeRequest) (*AttributesConfig, error) // Replaces the specified // [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] in the // [AttributesConfig][google.cloud.retail.v2.AttributesConfig] by updating the // catalog attribute with the same // [CatalogAttribute.key][google.cloud.retail.v2.CatalogAttribute.key]. // // If the [CatalogAttribute][google.cloud.retail.v2.CatalogAttribute] to // replace does not exist, a NOT_FOUND error is returned. ReplaceCatalogAttribute(context.Context, *ReplaceCatalogAttributeRequest) (*AttributesConfig, error) }
CatalogServiceServer is the server API for CatalogService service.
type CollectUserEventRequest ¶
type CollectUserEventRequest struct { // The rule that can convert the raw_json to a user event. It is needed // only when the raw_json is set. // // Types that are assignable to ConversionRule: // *CollectUserEventRequest_PrebuiltRule ConversionRule isCollectUserEventRequest_ConversionRule `protobuf_oneof:"conversion_rule"` // Required. The parent catalog name, such as // `projects/1234/locations/global/catalogs/default_catalog`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. URL encoded UserEvent proto with a length limit of 2,000,000 // characters. UserEvent string `protobuf:"bytes,2,opt,name=user_event,json=userEvent,proto3" json:"user_event,omitempty"` // The URL including cgi-parameters but excluding the hash fragment with a // length limit of 5,000 characters. This is often more useful than the // referer URL, because many browsers only send the domain for 3rd party // requests. Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` // The event timestamp in milliseconds. This prevents browser caching of // otherwise identical get requests. The name is abbreviated to reduce the // payload bytes. Ets int64 `protobuf:"varint,4,opt,name=ets,proto3" json:"ets,omitempty"` // An arbitrary serialized JSON string that contains necessary information // that can comprise a user event. When this field is specified, the // user_event field will be ignored. Note: line-delimited JSON is not // supported, a single JSON only. RawJson string `protobuf:"bytes,5,opt,name=raw_json,json=rawJson,proto3" json:"raw_json,omitempty"` // contains filtered or unexported fields }
Request message for CollectUserEvent method.
func (*CollectUserEventRequest) Descriptor
deprecated
func (*CollectUserEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectUserEventRequest.ProtoReflect.Descriptor instead.
func (*CollectUserEventRequest) GetConversionRule ¶ added in v1.12.0
func (m *CollectUserEventRequest) GetConversionRule() isCollectUserEventRequest_ConversionRule
func (*CollectUserEventRequest) GetEts ¶
func (x *CollectUserEventRequest) GetEts() int64
func (*CollectUserEventRequest) GetParent ¶
func (x *CollectUserEventRequest) GetParent() string
func (*CollectUserEventRequest) GetPrebuiltRule ¶ added in v1.12.0
func (x *CollectUserEventRequest) GetPrebuiltRule() string
func (*CollectUserEventRequest) GetRawJson ¶ added in v1.12.0
func (x *CollectUserEventRequest) GetRawJson() string
func (*CollectUserEventRequest) GetUri ¶
func (x *CollectUserEventRequest) GetUri() string
func (*CollectUserEventRequest) GetUserEvent ¶
func (x *CollectUserEventRequest) GetUserEvent() string
func (*CollectUserEventRequest) ProtoMessage ¶
func (*CollectUserEventRequest) ProtoMessage()
func (*CollectUserEventRequest) ProtoReflect ¶
func (x *CollectUserEventRequest) ProtoReflect() protoreflect.Message
func (*CollectUserEventRequest) Reset ¶
func (x *CollectUserEventRequest) Reset()
func (*CollectUserEventRequest) String ¶
func (x *CollectUserEventRequest) String() string
type CollectUserEventRequest_PrebuiltRule ¶ added in v1.12.0
type CollectUserEventRequest_PrebuiltRule struct { // The prebuilt rule name that can convert a specific type of raw_json. // For example: "ga4_bq" rule for the GA4 user event schema. PrebuiltRule string `protobuf:"bytes,6,opt,name=prebuilt_rule,json=prebuiltRule,proto3,oneof"` }
type ColorInfo ¶
type ColorInfo struct { // The standard color families. Strongly recommended to use the following // standard color groups: "Red", "Pink", "Orange", "Yellow", "Purple", // "Green", "Cyan", "Blue", "Brown", "White", "Gray", "Black" and // "Mixed". Normally it is expected to have only 1 color family. May consider // using single "Mixed" instead of multiple values. // // A maximum of 5 values are allowed. Each value must be a UTF-8 encoded // string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. // // Google Merchant Center property // [color](https://support.google.com/merchants/answer/6324487). Schema.org // property [Product.color](https://schema.org/color). ColorFamilies []string `protobuf:"bytes,1,rep,name=color_families,json=colorFamilies,proto3" json:"color_families,omitempty"` // The color display names, which may be different from standard color family // names, such as the color aliases used in the website frontend. Normally // it is expected to have only 1 color. May consider using single "Mixed" // instead of multiple values. // // A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded // string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. // // Google Merchant Center property // [color](https://support.google.com/merchants/answer/6324487). Schema.org // property [Product.color](https://schema.org/color). Colors []string `protobuf:"bytes,2,rep,name=colors,proto3" json:"colors,omitempty"` // contains filtered or unexported fields }
The color information of a Product[google.cloud.retail.v2.Product].
func (*ColorInfo) Descriptor
deprecated
func (*ColorInfo) GetColorFamilies ¶
func (*ColorInfo) ProtoMessage ¶
func (*ColorInfo) ProtoMessage()
func (*ColorInfo) ProtoReflect ¶
func (x *ColorInfo) ProtoReflect() protoreflect.Message
type CompleteQueryRequest ¶
type CompleteQueryRequest struct { // Required. Catalog for which the completion is performed. // // Full resource name of catalog, such as // `projects/*/locations/global/catalogs/default_catalog`. Catalog string `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"` // Required. The query used to generate suggestions. // // The maximum number of allowed characters is 255. Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // Required field. A unique identifier for tracking visitors. For example, // this could be implemented with an HTTP cookie, which should be able to // uniquely identify a visitor on a single device. This unique identifier // should not change if the visitor logs in or out of the website. // // The field must be a UTF-8 encoded string with a length limit of 128 // characters. Otherwise, an INVALID_ARGUMENT error is returned. VisitorId string `protobuf:"bytes,7,opt,name=visitor_id,json=visitorId,proto3" json:"visitor_id,omitempty"` // Note that this field applies for `user-data` dataset only. For requests // with `cloud-retail` dataset, setting this field has no effect. // // The language filters applied to the output suggestions. If set, it should // contain the language of the query. If not set, suggestions are returned // without considering language restrictions. This is the BCP-47 language // code, such as "en-US" or "sr-Latn". For more information, see [Tags for // Identifying Languages](https://tools.ietf.org/html/bcp47). The maximum // number of language codes is 3. LanguageCodes []string `protobuf:"bytes,3,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"` // The device type context for completion suggestions. We recommend that you // leave this field empty. // // It can apply different suggestions on different device types, e.g. // `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across all device // types. // // Supported formats: // // * `UNKNOWN_DEVICE_TYPE` // // * `DESKTOP` // // * `MOBILE` // // * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`. DeviceType string `protobuf:"bytes,4,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` // Determines which dataset to use for fetching completion. "user-data" will // use the imported dataset through // [CompletionService.ImportCompletionData][google.cloud.retail.v2.CompletionService.ImportCompletionData]. // "cloud-retail" will use the dataset generated by cloud retail based on user // events. If leave empty, it will use the "user-data". // // Current supported values: // // * user-data // // * cloud-retail: // This option requires enabling auto-learning function first. See // [guidelines](https://cloud.google.com/retail/docs/completion-overview#generated-completion-dataset). Dataset string `protobuf:"bytes,6,opt,name=dataset,proto3" json:"dataset,omitempty"` // Completion max suggestions. If left unset or set to 0, then will fallback // to the configured value // [CompletionConfig.max_suggestions][google.cloud.retail.v2.CompletionConfig.max_suggestions]. // // The maximum allowed max suggestions is 20. If it is set higher, it will be // capped by 20. MaxSuggestions int32 `protobuf:"varint,5,opt,name=max_suggestions,json=maxSuggestions,proto3" json:"max_suggestions,omitempty"` // The entity for customers that may run multiple different entities, domains, // sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, // `google.com`, `youtube.com`, etc. // If this is set, it should be exactly matched with // [UserEvent.entity][google.cloud.retail.v2.UserEvent.entity] to get // per-entity autocomplete results. Entity string `protobuf:"bytes,10,opt,name=entity,proto3" json:"entity,omitempty"` // contains filtered or unexported fields }
Autocomplete parameters.
func (*CompleteQueryRequest) Descriptor
deprecated
func (*CompleteQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteQueryRequest.ProtoReflect.Descriptor instead.
func (*CompleteQueryRequest) GetCatalog ¶
func (x *CompleteQueryRequest) GetCatalog() string
func (*CompleteQueryRequest) GetDataset ¶
func (x *CompleteQueryRequest) GetDataset() string
func (*CompleteQueryRequest) GetDeviceType ¶
func (x *CompleteQueryRequest) GetDeviceType() string
func (*CompleteQueryRequest) GetEntity ¶ added in v1.13.0
func (x *CompleteQueryRequest) GetEntity() string
func (*CompleteQueryRequest) GetLanguageCodes ¶
func (x *CompleteQueryRequest) GetLanguageCodes() []string
func (*CompleteQueryRequest) GetMaxSuggestions ¶
func (x *CompleteQueryRequest) GetMaxSuggestions() int32
func (*CompleteQueryRequest) GetQuery ¶
func (x *CompleteQueryRequest) GetQuery() string
func (*CompleteQueryRequest) GetVisitorId ¶
func (x *CompleteQueryRequest) GetVisitorId() string
func (*CompleteQueryRequest) ProtoMessage ¶
func (*CompleteQueryRequest) ProtoMessage()
func (*CompleteQueryRequest) ProtoReflect ¶
func (x *CompleteQueryRequest) ProtoReflect() protoreflect.Message
func (*CompleteQueryRequest) Reset ¶
func (x *CompleteQueryRequest) Reset()
func (*CompleteQueryRequest) String ¶
func (x *CompleteQueryRequest) String() string
type CompleteQueryResponse ¶
type CompleteQueryResponse struct { // Results of the matching suggestions. The result list is ordered and the // first result is top suggestion. CompletionResults []*CompleteQueryResponse_CompletionResult `protobuf:"bytes,1,rep,name=completion_results,json=completionResults,proto3" json:"completion_results,omitempty"` // A unique complete token. This should be included in the // [UserEvent.completion_detail][google.cloud.retail.v2.UserEvent.completion_detail] // for search events resulting from this completion, which enables accurate // attribution of complete model performance. AttributionToken string `protobuf:"bytes,2,opt,name=attribution_token,json=attributionToken,proto3" json:"attribution_token,omitempty"` // Matched recent searches of this user. The maximum number of recent searches // is 10. This field is a restricted feature. Contact Retail Search support // team if you are interested in enabling it. // // This feature is only available when // [CompleteQueryRequest.visitor_id][google.cloud.retail.v2.CompleteQueryRequest.visitor_id] // field is set and [UserEvent][google.cloud.retail.v2.UserEvent] is imported. // The recent searches satisfy the follow rules: // // * They are ordered from latest to oldest. // // * They are matched with // [CompleteQueryRequest.query][google.cloud.retail.v2.CompleteQueryRequest.query] // case insensitively. // // * They are transformed to lower case. // // * They are UTF-8 safe. // // Recent searches are deduplicated. More recent searches will be reserved // when duplication happens. RecentSearchResults []*CompleteQueryResponse_RecentSearchResult `protobuf:"bytes,3,rep,name=recent_search_results,json=recentSearchResults,proto3" json:"recent_search_results,omitempty"` // contains filtered or unexported fields }
Response of the autocomplete query.
func (*CompleteQueryResponse) Descriptor
deprecated
func (*CompleteQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompleteQueryResponse.ProtoReflect.Descriptor instead.
func (*CompleteQueryResponse) GetAttributionToken ¶
func (x *CompleteQueryResponse) GetAttributionToken() string
func (*CompleteQueryResponse) GetCompletionResults ¶
func (x *CompleteQueryResponse) GetCompletionResults() []*CompleteQueryResponse_CompletionResult
func (*CompleteQueryResponse) GetRecentSearchResults ¶
func (x *CompleteQueryResponse) GetRecentSearchResults() []*CompleteQueryResponse_RecentSearchResult
func (*CompleteQueryResponse) ProtoMessage ¶
func (*CompleteQueryResponse) ProtoMessage()
func (*CompleteQueryResponse) ProtoReflect ¶
func (x *CompleteQueryResponse) ProtoReflect() protoreflect.Message
func (*CompleteQueryResponse) Reset ¶
func (x *CompleteQueryResponse) Reset()
func (*CompleteQueryResponse) String ¶
func (x *CompleteQueryResponse) String() string
type CompleteQueryResponse_CompletionResult ¶
type CompleteQueryResponse_CompletionResult struct { // The suggestion for the query. Suggestion string `protobuf:"bytes,1,opt,name=suggestion,proto3" json:"suggestion,omitempty"` // Custom attributes for the suggestion term. // // * For "user-data", the attributes are additional custom attributes // ingested through BigQuery. // // * For "cloud-retail", the attributes are product attributes generated // by Cloud Retail. It requires // [UserEvent.product_details][google.cloud.retail.v2.UserEvent.product_details] // is imported properly. Attributes map[string]*CustomAttribute `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
Resource that represents completion results.
func (*CompleteQueryResponse_CompletionResult) Descriptor
deprecated
func (*CompleteQueryResponse_CompletionResult) Descriptor() ([]byte, []int)
Deprecated: Use CompleteQueryResponse_CompletionResult.ProtoReflect.Descriptor instead.
func (*CompleteQueryResponse_CompletionResult) GetAttributes ¶
func (x *CompleteQueryResponse_CompletionResult) GetAttributes() map[string]*CustomAttribute
func (*CompleteQueryResponse_CompletionResult) GetSuggestion ¶
func (x *CompleteQueryResponse_CompletionResult) GetSuggestion() string
func (*CompleteQueryResponse_CompletionResult) ProtoMessage ¶
func (*CompleteQueryResponse_CompletionResult) ProtoMessage()
func (*CompleteQueryResponse_CompletionResult) ProtoReflect ¶
func (x *CompleteQueryResponse_CompletionResult) ProtoReflect() protoreflect.Message
func (*CompleteQueryResponse_CompletionResult) Reset ¶
func (x *CompleteQueryResponse_CompletionResult) Reset()
func (*CompleteQueryResponse_CompletionResult) String ¶
func (x *CompleteQueryResponse_CompletionResult) String() string
type CompleteQueryResponse_RecentSearchResult ¶
type CompleteQueryResponse_RecentSearchResult struct { // The recent search query. RecentSearch string `protobuf:"bytes,1,opt,name=recent_search,json=recentSearch,proto3" json:"recent_search,omitempty"` // contains filtered or unexported fields }
Recent search of this user.
func (*CompleteQueryResponse_RecentSearchResult) Descriptor
deprecated
func (*CompleteQueryResponse_RecentSearchResult) Descriptor() ([]byte,