...

Source file src/google.golang.org/genproto/googleapis/cloud/retail/v2/alias.go

Documentation: google.golang.org/genproto/googleapis/cloud/retail/v2

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by aliasgen. DO NOT EDIT.
    16  
    17  // Package retail aliases all exported identifiers in package
    18  // "cloud.google.com/go/retail/apiv2/retailpb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package retail
    24  
    25  import (
    26  	src "cloud.google.com/go/retail/apiv2/retailpb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/retail/apiv2/retailpb
    31  const (
    32  	AttributeConfigLevel_ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED     = src.AttributeConfigLevel_ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED
    33  	AttributeConfigLevel_CATALOG_LEVEL_ATTRIBUTE_CONFIG         = src.AttributeConfigLevel_CATALOG_LEVEL_ATTRIBUTE_CONFIG
    34  	AttributeConfigLevel_PRODUCT_LEVEL_ATTRIBUTE_CONFIG         = src.AttributeConfigLevel_PRODUCT_LEVEL_ATTRIBUTE_CONFIG
    35  	CatalogAttribute_DYNAMIC_FACETABLE_DISABLED                 = src.CatalogAttribute_DYNAMIC_FACETABLE_DISABLED
    36  	CatalogAttribute_DYNAMIC_FACETABLE_ENABLED                  = src.CatalogAttribute_DYNAMIC_FACETABLE_ENABLED
    37  	CatalogAttribute_DYNAMIC_FACETABLE_OPTION_UNSPECIFIED       = src.CatalogAttribute_DYNAMIC_FACETABLE_OPTION_UNSPECIFIED
    38  	CatalogAttribute_INDEXABLE_DISABLED                         = src.CatalogAttribute_INDEXABLE_DISABLED
    39  	CatalogAttribute_INDEXABLE_ENABLED                          = src.CatalogAttribute_INDEXABLE_ENABLED
    40  	CatalogAttribute_INDEXABLE_OPTION_UNSPECIFIED               = src.CatalogAttribute_INDEXABLE_OPTION_UNSPECIFIED
    41  	CatalogAttribute_NUMERICAL                                  = src.CatalogAttribute_NUMERICAL
    42  	CatalogAttribute_SEARCHABLE_DISABLED                        = src.CatalogAttribute_SEARCHABLE_DISABLED
    43  	CatalogAttribute_SEARCHABLE_ENABLED                         = src.CatalogAttribute_SEARCHABLE_ENABLED
    44  	CatalogAttribute_SEARCHABLE_OPTION_UNSPECIFIED              = src.CatalogAttribute_SEARCHABLE_OPTION_UNSPECIFIED
    45  	CatalogAttribute_TEXTUAL                                    = src.CatalogAttribute_TEXTUAL
    46  	CatalogAttribute_UNKNOWN                                    = src.CatalogAttribute_UNKNOWN
    47  	ImportProductsRequest_FULL                                  = src.ImportProductsRequest_FULL
    48  	ImportProductsRequest_INCREMENTAL                           = src.ImportProductsRequest_INCREMENTAL
    49  	ImportProductsRequest_RECONCILIATION_MODE_UNSPECIFIED       = src.ImportProductsRequest_RECONCILIATION_MODE_UNSPECIFIED
    50  	Product_AVAILABILITY_UNSPECIFIED                            = src.Product_AVAILABILITY_UNSPECIFIED
    51  	Product_BACKORDER                                           = src.Product_BACKORDER
    52  	Product_COLLECTION                                          = src.Product_COLLECTION
    53  	Product_IN_STOCK                                            = src.Product_IN_STOCK
    54  	Product_OUT_OF_STOCK                                        = src.Product_OUT_OF_STOCK
    55  	Product_PREORDER                                            = src.Product_PREORDER
    56  	Product_PRIMARY                                             = src.Product_PRIMARY
    57  	Product_TYPE_UNSPECIFIED                                    = src.Product_TYPE_UNSPECIFIED
    58  	Product_VARIANT                                             = src.Product_VARIANT
    59  	RejoinUserEventsRequest_JOINED_EVENTS                       = src.RejoinUserEventsRequest_JOINED_EVENTS
    60  	RejoinUserEventsRequest_UNJOINED_EVENTS                     = src.RejoinUserEventsRequest_UNJOINED_EVENTS
    61  	RejoinUserEventsRequest_USER_EVENT_REJOIN_SCOPE_UNSPECIFIED = src.RejoinUserEventsRequest_USER_EVENT_REJOIN_SCOPE_UNSPECIFIED
    62  	SearchRequest_DynamicFacetSpec_DISABLED                     = src.SearchRequest_DynamicFacetSpec_DISABLED
    63  	SearchRequest_DynamicFacetSpec_ENABLED                      = src.SearchRequest_DynamicFacetSpec_ENABLED
    64  	SearchRequest_DynamicFacetSpec_MODE_UNSPECIFIED             = src.SearchRequest_DynamicFacetSpec_MODE_UNSPECIFIED
    65  	SearchRequest_FACETED_SEARCH_ONLY                           = src.SearchRequest_FACETED_SEARCH_ONLY
    66  	SearchRequest_PRODUCT_SEARCH_ONLY                           = src.SearchRequest_PRODUCT_SEARCH_ONLY
    67  	SearchRequest_PersonalizationSpec_AUTO                      = src.SearchRequest_PersonalizationSpec_AUTO
    68  	SearchRequest_PersonalizationSpec_DISABLED                  = src.SearchRequest_PersonalizationSpec_DISABLED
    69  	SearchRequest_PersonalizationSpec_MODE_UNSPECIFIED          = src.SearchRequest_PersonalizationSpec_MODE_UNSPECIFIED
    70  	SearchRequest_QueryExpansionSpec_AUTO                       = src.SearchRequest_QueryExpansionSpec_AUTO
    71  	SearchRequest_QueryExpansionSpec_CONDITION_UNSPECIFIED      = src.SearchRequest_QueryExpansionSpec_CONDITION_UNSPECIFIED
    72  	SearchRequest_QueryExpansionSpec_DISABLED                   = src.SearchRequest_QueryExpansionSpec_DISABLED
    73  	SearchRequest_SEARCH_MODE_UNSPECIFIED                       = src.SearchRequest_SEARCH_MODE_UNSPECIFIED
    74  	SearchRequest_SpellCorrectionSpec_AUTO                      = src.SearchRequest_SpellCorrectionSpec_AUTO
    75  	SearchRequest_SpellCorrectionSpec_MODE_UNSPECIFIED          = src.SearchRequest_SpellCorrectionSpec_MODE_UNSPECIFIED
    76  	SearchRequest_SpellCorrectionSpec_SUGGESTION_ONLY           = src.SearchRequest_SpellCorrectionSpec_SUGGESTION_ONLY
    77  	SearchSolutionUseCase_SEARCH_SOLUTION_USE_CASE_BROWSE       = src.SearchSolutionUseCase_SEARCH_SOLUTION_USE_CASE_BROWSE
    78  	SearchSolutionUseCase_SEARCH_SOLUTION_USE_CASE_SEARCH       = src.SearchSolutionUseCase_SEARCH_SOLUTION_USE_CASE_SEARCH
    79  	SearchSolutionUseCase_SEARCH_SOLUTION_USE_CASE_UNSPECIFIED  = src.SearchSolutionUseCase_SEARCH_SOLUTION_USE_CASE_UNSPECIFIED
    80  	SolutionType_SOLUTION_TYPE_RECOMMENDATION                   = src.SolutionType_SOLUTION_TYPE_RECOMMENDATION
    81  	SolutionType_SOLUTION_TYPE_SEARCH                           = src.SolutionType_SOLUTION_TYPE_SEARCH
    82  	SolutionType_SOLUTION_TYPE_UNSPECIFIED                      = src.SolutionType_SOLUTION_TYPE_UNSPECIFIED
    83  )
    84  
    85  // Deprecated: Please use vars in: cloud.google.com/go/retail/apiv2/retailpb
    86  var (
    87  	AttributeConfigLevel_name                                = src.AttributeConfigLevel_name
    88  	AttributeConfigLevel_value                               = src.AttributeConfigLevel_value
    89  	CatalogAttribute_AttributeType_name                      = src.CatalogAttribute_AttributeType_name
    90  	CatalogAttribute_AttributeType_value                     = src.CatalogAttribute_AttributeType_value
    91  	CatalogAttribute_DynamicFacetableOption_name             = src.CatalogAttribute_DynamicFacetableOption_name
    92  	CatalogAttribute_DynamicFacetableOption_value            = src.CatalogAttribute_DynamicFacetableOption_value
    93  	CatalogAttribute_IndexableOption_name                    = src.CatalogAttribute_IndexableOption_name
    94  	CatalogAttribute_IndexableOption_value                   = src.CatalogAttribute_IndexableOption_value
    95  	CatalogAttribute_SearchableOption_name                   = src.CatalogAttribute_SearchableOption_name
    96  	CatalogAttribute_SearchableOption_value                  = src.CatalogAttribute_SearchableOption_value
    97  	File_google_cloud_retail_v2_catalog_proto                = src.File_google_cloud_retail_v2_catalog_proto
    98  	File_google_cloud_retail_v2_catalog_service_proto        = src.File_google_cloud_retail_v2_catalog_service_proto
    99  	File_google_cloud_retail_v2_common_proto                 = src.File_google_cloud_retail_v2_common_proto
   100  	File_google_cloud_retail_v2_completion_service_proto     = src.File_google_cloud_retail_v2_completion_service_proto
   101  	File_google_cloud_retail_v2_control_proto                = src.File_google_cloud_retail_v2_control_proto
   102  	File_google_cloud_retail_v2_control_service_proto        = src.File_google_cloud_retail_v2_control_service_proto
   103  	File_google_cloud_retail_v2_import_config_proto          = src.File_google_cloud_retail_v2_import_config_proto
   104  	File_google_cloud_retail_v2_prediction_service_proto     = src.File_google_cloud_retail_v2_prediction_service_proto
   105  	File_google_cloud_retail_v2_product_proto                = src.File_google_cloud_retail_v2_product_proto
   106  	File_google_cloud_retail_v2_product_service_proto        = src.File_google_cloud_retail_v2_product_service_proto
   107  	File_google_cloud_retail_v2_promotion_proto              = src.File_google_cloud_retail_v2_promotion_proto
   108  	File_google_cloud_retail_v2_purge_config_proto           = src.File_google_cloud_retail_v2_purge_config_proto
   109  	File_google_cloud_retail_v2_search_service_proto         = src.File_google_cloud_retail_v2_search_service_proto
   110  	File_google_cloud_retail_v2_serving_config_proto         = src.File_google_cloud_retail_v2_serving_config_proto
   111  	File_google_cloud_retail_v2_serving_config_service_proto = src.File_google_cloud_retail_v2_serving_config_service_proto
   112  	File_google_cloud_retail_v2_user_event_proto             = src.File_google_cloud_retail_v2_user_event_proto
   113  	File_google_cloud_retail_v2_user_event_service_proto     = src.File_google_cloud_retail_v2_user_event_service_proto
   114  	ImportProductsRequest_ReconciliationMode_name            = src.ImportProductsRequest_ReconciliationMode_name
   115  	ImportProductsRequest_ReconciliationMode_value           = src.ImportProductsRequest_ReconciliationMode_value
   116  	Product_Availability_name                                = src.Product_Availability_name
   117  	Product_Availability_value                               = src.Product_Availability_value
   118  	Product_Type_name                                        = src.Product_Type_name
   119  	Product_Type_value                                       = src.Product_Type_value
   120  	RejoinUserEventsRequest_UserEventRejoinScope_name        = src.RejoinUserEventsRequest_UserEventRejoinScope_name
   121  	RejoinUserEventsRequest_UserEventRejoinScope_value       = src.RejoinUserEventsRequest_UserEventRejoinScope_value
   122  	SearchRequest_DynamicFacetSpec_Mode_name                 = src.SearchRequest_DynamicFacetSpec_Mode_name
   123  	SearchRequest_DynamicFacetSpec_Mode_value                = src.SearchRequest_DynamicFacetSpec_Mode_value
   124  	SearchRequest_PersonalizationSpec_Mode_name              = src.SearchRequest_PersonalizationSpec_Mode_name
   125  	SearchRequest_PersonalizationSpec_Mode_value             = src.SearchRequest_PersonalizationSpec_Mode_value
   126  	SearchRequest_QueryExpansionSpec_Condition_name          = src.SearchRequest_QueryExpansionSpec_Condition_name
   127  	SearchRequest_QueryExpansionSpec_Condition_value         = src.SearchRequest_QueryExpansionSpec_Condition_value
   128  	SearchRequest_SearchMode_name                            = src.SearchRequest_SearchMode_name
   129  	SearchRequest_SearchMode_value                           = src.SearchRequest_SearchMode_value
   130  	SearchRequest_SpellCorrectionSpec_Mode_name              = src.SearchRequest_SpellCorrectionSpec_Mode_name
   131  	SearchRequest_SpellCorrectionSpec_Mode_value             = src.SearchRequest_SpellCorrectionSpec_Mode_value
   132  	SearchSolutionUseCase_name                               = src.SearchSolutionUseCase_name
   133  	SearchSolutionUseCase_value                              = src.SearchSolutionUseCase_value
   134  	SolutionType_name                                        = src.SolutionType_name
   135  	SolutionType_value                                       = src.SolutionType_value
   136  )
   137  
   138  // Request for
   139  // [CatalogService.AddCatalogAttribute][google.cloud.retail.v2.CatalogService.AddCatalogAttribute]
   140  // method.
   141  //
   142  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   143  type AddCatalogAttributeRequest = src.AddCatalogAttributeRequest
   144  
   145  // Request for AddControl method.
   146  //
   147  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   148  type AddControlRequest = src.AddControlRequest
   149  
   150  // Metadata related to the progress of the AddFulfillmentPlaces operation.
   151  // Currently empty because there is no meaningful metadata populated from the
   152  // [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces]
   153  // method.
   154  //
   155  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   156  type AddFulfillmentPlacesMetadata = src.AddFulfillmentPlacesMetadata
   157  
   158  // Request message for
   159  // [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces]
   160  // method.
   161  //
   162  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   163  type AddFulfillmentPlacesRequest = src.AddFulfillmentPlacesRequest
   164  
   165  // Response of the AddFulfillmentPlacesRequest. Currently empty because there
   166  // is no meaningful response populated from the
   167  // [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces]
   168  // method.
   169  //
   170  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   171  type AddFulfillmentPlacesResponse = src.AddFulfillmentPlacesResponse
   172  
   173  // Metadata related to the progress of the AddLocalInventories operation.
   174  // Currently empty because there is no meaningful metadata populated from the
   175  // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]
   176  // method.
   177  //
   178  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   179  type AddLocalInventoriesMetadata = src.AddLocalInventoriesMetadata
   180  
   181  // Request message for
   182  // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]
   183  // method.
   184  //
   185  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   186  type AddLocalInventoriesRequest = src.AddLocalInventoriesRequest
   187  
   188  // Response of the
   189  // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]
   190  // API. Currently empty because there is no meaningful response populated from
   191  // the
   192  // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories]
   193  // method.
   194  //
   195  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   196  type AddLocalInventoriesResponse = src.AddLocalInventoriesResponse
   197  
   198  // At which level we offer configuration for attributes.
   199  //
   200  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   201  type AttributeConfigLevel = src.AttributeConfigLevel
   202  
   203  // Catalog level attribute config.
   204  //
   205  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   206  type AttributesConfig = src.AttributesConfig
   207  
   208  // An intended audience of the [Product][google.cloud.retail.v2.Product] for
   209  // whom it's sold.
   210  //
   211  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   212  type Audience = src.Audience
   213  
   214  // BigQuery source import data from.
   215  //
   216  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   217  type BigQuerySource = src.BigQuerySource
   218  type BigQuerySource_PartitionDate = src.BigQuerySource_PartitionDate
   219  
   220  // The catalog configuration.
   221  //
   222  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   223  type Catalog = src.Catalog
   224  
   225  // Catalog level attribute config for an attribute. For example, if customers
   226  // want to enable/disable facet for a specific attribute.
   227  //
   228  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   229  type CatalogAttribute = src.CatalogAttribute
   230  
   231  // The type of an attribute.
   232  //
   233  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   234  type CatalogAttribute_AttributeType = src.CatalogAttribute_AttributeType
   235  
   236  // The status of the dynamic facetable option of a catalog attribute.
   237  //
   238  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   239  type CatalogAttribute_DynamicFacetableOption = src.CatalogAttribute_DynamicFacetableOption
   240  
   241  // The status of the indexable option of a catalog attribute.
   242  //
   243  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   244  type CatalogAttribute_IndexableOption = src.CatalogAttribute_IndexableOption
   245  
   246  // The status of the searchable option of a catalog attribute.
   247  //
   248  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   249  type CatalogAttribute_SearchableOption = src.CatalogAttribute_SearchableOption
   250  
   251  // CatalogServiceClient is the client API for CatalogService service. For
   252  // semantics around ctx use and closing/ending streaming RPCs, please refer to
   253  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   254  //
   255  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   256  type CatalogServiceClient = src.CatalogServiceClient
   257  
   258  // CatalogServiceServer is the server API for CatalogService service.
   259  //
   260  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   261  type CatalogServiceServer = src.CatalogServiceServer
   262  
   263  // Request message for CollectUserEvent method.
   264  //
   265  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   266  type CollectUserEventRequest = src.CollectUserEventRequest
   267  
   268  // The color information of a [Product][google.cloud.retail.v2.Product].
   269  //
   270  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   271  type ColorInfo = src.ColorInfo
   272  
   273  // Auto-complete parameters.
   274  //
   275  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   276  type CompleteQueryRequest = src.CompleteQueryRequest
   277  
   278  // Response of the auto-complete query.
   279  //
   280  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   281  type CompleteQueryResponse = src.CompleteQueryResponse
   282  
   283  // Resource that represents completion results.
   284  //
   285  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   286  type CompleteQueryResponse_CompletionResult = src.CompleteQueryResponse_CompletionResult
   287  
   288  // Recent search of this user.
   289  //
   290  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   291  type CompleteQueryResponse_RecentSearchResult = src.CompleteQueryResponse_RecentSearchResult
   292  
   293  // Catalog level autocomplete config for customers to customize autocomplete
   294  // feature's settings.
   295  //
   296  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   297  type CompletionConfig = src.CompletionConfig
   298  
   299  // The input config source for completion data.
   300  //
   301  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   302  type CompletionDataInputConfig = src.CompletionDataInputConfig
   303  type CompletionDataInputConfig_BigQuerySource = src.CompletionDataInputConfig_BigQuerySource
   304  
   305  // Detailed completion information including completion attribution token and
   306  // clicked completion info.
   307  //
   308  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   309  type CompletionDetail = src.CompletionDetail
   310  
   311  // CompletionServiceClient is the client API for CompletionService service.
   312  // For semantics around ctx use and closing/ending streaming RPCs, please refer
   313  // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   314  //
   315  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   316  type CompletionServiceClient = src.CompletionServiceClient
   317  
   318  // CompletionServiceServer is the server API for CompletionService service.
   319  //
   320  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   321  type CompletionServiceServer = src.CompletionServiceServer
   322  
   323  // Metadata that is used to define a condition that triggers an action. A
   324  // valid condition must specify at least one of 'query_terms' or
   325  // 'products_filter'. If multiple fields are specified, the condition is met if
   326  // all the fields are satisfied e.g. if a set of query terms and product_filter
   327  // are set, then only items matching the product_filter for requests with a
   328  // query matching the query terms wil get boosted.
   329  //
   330  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   331  type Condition = src.Condition
   332  
   333  // Query terms that we want to match on.
   334  //
   335  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   336  type Condition_QueryTerm = src.Condition_QueryTerm
   337  
   338  // Used for time-dependent conditions. Example: Want to have rule applied for
   339  // week long sale.
   340  //
   341  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   342  type Condition_TimeRange = src.Condition_TimeRange
   343  
   344  // Configures dynamic metadata that can be linked to a
   345  // [ServingConfig][google.cloud.retail.v2.ServingConfig] and affect search or
   346  // recommendation results at serving time.
   347  //
   348  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   349  type Control = src.Control
   350  
   351  // ControlServiceClient is the client API for ControlService service. For
   352  // semantics around ctx use and closing/ending streaming RPCs, please refer to
   353  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   354  //
   355  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   356  type ControlServiceClient = src.ControlServiceClient
   357  
   358  // ControlServiceServer is the server API for ControlService service.
   359  //
   360  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   361  type ControlServiceServer = src.ControlServiceServer
   362  type Control_Rule = src.Control_Rule
   363  
   364  // Request for CreateControl method.
   365  //
   366  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   367  type CreateControlRequest = src.CreateControlRequest
   368  
   369  // Request message for
   370  // [ProductService.CreateProduct][google.cloud.retail.v2.ProductService.CreateProduct]
   371  // method.
   372  //
   373  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   374  type CreateProductRequest = src.CreateProductRequest
   375  
   376  // Request for CreateServingConfig method.
   377  //
   378  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   379  type CreateServingConfigRequest = src.CreateServingConfigRequest
   380  
   381  // A custom attribute that is not explicitly modeled in
   382  // [Product][google.cloud.retail.v2.Product].
   383  //
   384  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   385  type CustomAttribute = src.CustomAttribute
   386  
   387  // Request for DeleteControl method.
   388  //
   389  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   390  type DeleteControlRequest = src.DeleteControlRequest
   391  
   392  // Request message for
   393  // [ProductService.DeleteProduct][google.cloud.retail.v2.ProductService.DeleteProduct]
   394  // method.
   395  //
   396  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   397  type DeleteProductRequest = src.DeleteProductRequest
   398  
   399  // Request for DeleteServingConfig method.
   400  //
   401  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   402  type DeleteServingConfigRequest = src.DeleteServingConfigRequest
   403  
   404  // Fulfillment information, such as the store IDs for in-store pickup or
   405  // region IDs for different shipping methods.
   406  //
   407  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   408  type FulfillmentInfo = src.FulfillmentInfo
   409  
   410  // Google Cloud Storage location for input content.
   411  //
   412  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   413  type GcsSource = src.GcsSource
   414  
   415  // Request for
   416  // [CatalogService.GetAttributesConfig][google.cloud.retail.v2.CatalogService.GetAttributesConfig]
   417  // method.
   418  //
   419  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   420  type GetAttributesConfigRequest = src.GetAttributesConfigRequest
   421  
   422  // Request for
   423  // [CatalogService.GetCompletionConfig][google.cloud.retail.v2.CatalogService.GetCompletionConfig]
   424  // method.
   425  //
   426  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   427  type GetCompletionConfigRequest = src.GetCompletionConfigRequest
   428  
   429  // Request for GetControl method.
   430  //
   431  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   432  type GetControlRequest = src.GetControlRequest
   433  
   434  // Request message to show which branch is currently the default branch.
   435  //
   436  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   437  type GetDefaultBranchRequest = src.GetDefaultBranchRequest
   438  
   439  // Response message of
   440  // [CatalogService.GetDefaultBranch][google.cloud.retail.v2.CatalogService.GetDefaultBranch].
   441  //
   442  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   443  type GetDefaultBranchResponse = src.GetDefaultBranchResponse
   444  
   445  // Request message for
   446  // [ProductService.GetProduct][google.cloud.retail.v2.ProductService.GetProduct]
   447  // method.
   448  //
   449  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   450  type GetProductRequest = src.GetProductRequest
   451  
   452  // Request for GetServingConfig method.
   453  //
   454  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   455  type GetServingConfigRequest = src.GetServingConfigRequest
   456  
   457  // [Product][google.cloud.retail.v2.Product] image. Recommendations AI and
   458  // Retail Search do not use product images to improve prediction and search
   459  // results. However, product images can be returned in results, and are shown
   460  // in prediction or search previews in the console.
   461  //
   462  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   463  type Image = src.Image
   464  
   465  // Request message for ImportCompletionData methods.
   466  //
   467  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   468  type ImportCompletionDataRequest = src.ImportCompletionDataRequest
   469  
   470  // Response of the
   471  // [ImportCompletionDataRequest][google.cloud.retail.v2.ImportCompletionDataRequest].
   472  // If the long running operation is done, this message is returned by the
   473  // google.longrunning.Operations.response field if the operation is successful.
   474  //
   475  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   476  type ImportCompletionDataResponse = src.ImportCompletionDataResponse
   477  
   478  // Configuration of destination for Import related errors.
   479  //
   480  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   481  type ImportErrorsConfig = src.ImportErrorsConfig
   482  type ImportErrorsConfig_GcsPrefix = src.ImportErrorsConfig_GcsPrefix
   483  
   484  // Metadata related to the progress of the Import operation. This is returned
   485  // by the google.longrunning.Operation.metadata field.
   486  //
   487  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   488  type ImportMetadata = src.ImportMetadata
   489  
   490  // Request message for Import methods.
   491  //
   492  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   493  type ImportProductsRequest = src.ImportProductsRequest
   494  
   495  // Indicates how imported products are reconciled with the existing products
   496  // created or imported before.
   497  //
   498  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   499  type ImportProductsRequest_ReconciliationMode = src.ImportProductsRequest_ReconciliationMode
   500  
   501  // Response of the
   502  // [ImportProductsRequest][google.cloud.retail.v2.ImportProductsRequest]. If
   503  // the long running operation is done, then this message is returned by the
   504  // google.longrunning.Operations.response field if the operation was
   505  // successful.
   506  //
   507  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   508  type ImportProductsResponse = src.ImportProductsResponse
   509  
   510  // Request message for the ImportUserEvents request.
   511  //
   512  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   513  type ImportUserEventsRequest = src.ImportUserEventsRequest
   514  
   515  // Response of the ImportUserEventsRequest. If the long running operation was
   516  // successful, then this message is returned by the
   517  // google.longrunning.Operations.response field if the operation was
   518  // successful.
   519  //
   520  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   521  type ImportUserEventsResponse = src.ImportUserEventsResponse
   522  
   523  // A floating point interval.
   524  //
   525  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   526  type Interval = src.Interval
   527  type Interval_ExclusiveMaximum = src.Interval_ExclusiveMaximum
   528  type Interval_ExclusiveMinimum = src.Interval_ExclusiveMinimum
   529  type Interval_Maximum = src.Interval_Maximum
   530  type Interval_Minimum = src.Interval_Minimum
   531  
   532  // Request for
   533  // [CatalogService.ListCatalogs][google.cloud.retail.v2.CatalogService.ListCatalogs]
   534  // method.
   535  //
   536  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   537  type ListCatalogsRequest = src.ListCatalogsRequest
   538  
   539  // Response for
   540  // [CatalogService.ListCatalogs][google.cloud.retail.v2.CatalogService.ListCatalogs]
   541  // method.
   542  //
   543  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   544  type ListCatalogsResponse = src.ListCatalogsResponse
   545  
   546  // Request for ListControls method.
   547  //
   548  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   549  type ListControlsRequest = src.ListControlsRequest
   550  
   551  // Response for ListControls method.
   552  //
   553  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   554  type ListControlsResponse = src.ListControlsResponse
   555  
   556  // Request message for
   557  // [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts]
   558  // method.
   559  //
   560  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   561  type ListProductsRequest = src.ListProductsRequest
   562  
   563  // Response message for
   564  // [ProductService.ListProducts][google.cloud.retail.v2.ProductService.ListProducts]
   565  // method.
   566  //
   567  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   568  type ListProductsResponse = src.ListProductsResponse
   569  
   570  // Request for ListServingConfigs method.
   571  //
   572  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   573  type ListServingConfigsRequest = src.ListServingConfigsRequest
   574  
   575  // Response for ListServingConfigs method.
   576  //
   577  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   578  type ListServingConfigsResponse = src.ListServingConfigsResponse
   579  
   580  // The inventory information at a place (e.g. a store) identified by a place
   581  // ID.
   582  //
   583  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   584  type LocalInventory = src.LocalInventory
   585  
   586  // Request message for Predict method.
   587  //
   588  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   589  type PredictRequest = src.PredictRequest
   590  
   591  // Response message for predict method.
   592  //
   593  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   594  type PredictResponse = src.PredictResponse
   595  
   596  // PredictionResult represents the recommendation prediction results.
   597  //
   598  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   599  type PredictResponse_PredictionResult = src.PredictResponse_PredictionResult
   600  
   601  // PredictionServiceClient is the client API for PredictionService service.
   602  // For semantics around ctx use and closing/ending streaming RPCs, please refer
   603  // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   604  //
   605  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   606  type PredictionServiceClient = src.PredictionServiceClient
   607  
   608  // PredictionServiceServer is the server API for PredictionService service.
   609  //
   610  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   611  type PredictionServiceServer = src.PredictionServiceServer
   612  
   613  // The price information of a [Product][google.cloud.retail.v2.Product].
   614  //
   615  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   616  type PriceInfo = src.PriceInfo
   617  
   618  // The price range of all
   619  // [variant][google.cloud.retail.v2.Product.Type.VARIANT]
   620  // [Product][google.cloud.retail.v2.Product] having the same
   621  // [Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id].
   622  //
   623  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   624  type PriceInfo_PriceRange = src.PriceInfo_PriceRange
   625  
   626  // Product captures all metadata information of items to be recommended or
   627  // searched.
   628  //
   629  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   630  type Product = src.Product
   631  
   632  // Detailed product information associated with a user event.
   633  //
   634  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   635  type ProductDetail = src.ProductDetail
   636  
   637  // The inline source for the input config for ImportProducts method.
   638  //
   639  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   640  type ProductInlineSource = src.ProductInlineSource
   641  
   642  // The input config source for products.
   643  //
   644  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   645  type ProductInputConfig = src.ProductInputConfig
   646  type ProductInputConfig_BigQuerySource = src.ProductInputConfig_BigQuerySource
   647  type ProductInputConfig_GcsSource = src.ProductInputConfig_GcsSource
   648  type ProductInputConfig_ProductInlineSource = src.ProductInputConfig_ProductInlineSource
   649  
   650  // Configures what level the product should be uploaded with regards to how
   651  // users will be send events and how predictions will be made.
   652  //
   653  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   654  type ProductLevelConfig = src.ProductLevelConfig
   655  
   656  // ProductServiceClient is the client API for ProductService service. For
   657  // semantics around ctx use and closing/ending streaming RPCs, please refer to
   658  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   659  //
   660  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   661  type ProductServiceClient = src.ProductServiceClient
   662  
   663  // ProductServiceServer is the server API for ProductService service.
   664  //
   665  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   666  type ProductServiceServer = src.ProductServiceServer
   667  
   668  // Product availability. If this field is unspecified, the product is assumed
   669  // to be in stock.
   670  //
   671  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   672  type Product_Availability = src.Product_Availability
   673  type Product_ExpireTime = src.Product_ExpireTime
   674  type Product_Ttl = src.Product_Ttl
   675  
   676  // The type of this product.
   677  //
   678  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   679  type Product_Type = src.Product_Type
   680  
   681  // Promotion information.
   682  //
   683  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   684  type Promotion = src.Promotion
   685  
   686  // A transaction represents the entire purchase transaction.
   687  //
   688  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   689  type PurchaseTransaction = src.PurchaseTransaction
   690  
   691  // Metadata related to the progress of the Purge operation. This will be
   692  // returned by the google.longrunning.Operation.metadata field.
   693  //
   694  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   695  type PurgeMetadata = src.PurgeMetadata
   696  
   697  // Request message for PurgeUserEvents method.
   698  //
   699  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   700  type PurgeUserEventsRequest = src.PurgeUserEventsRequest
   701  
   702  // Response of the PurgeUserEventsRequest. If the long running operation is
   703  // successfully done, then this message is returned by the
   704  // google.longrunning.Operations.response field.
   705  //
   706  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   707  type PurgeUserEventsResponse = src.PurgeUserEventsResponse
   708  
   709  // The rating of a [Product][google.cloud.retail.v2.Product].
   710  //
   711  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   712  type Rating = src.Rating
   713  
   714  // Metadata for RejoinUserEvents method.
   715  //
   716  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   717  type RejoinUserEventsMetadata = src.RejoinUserEventsMetadata
   718  
   719  // Request message for RejoinUserEvents method.
   720  //
   721  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   722  type RejoinUserEventsRequest = src.RejoinUserEventsRequest
   723  
   724  // The scope of user events to be rejoined with the latest product catalog. If
   725  // the rejoining aims at reducing number of unjoined events, set
   726  // UserEventRejoinScope to UNJOINED_EVENTS. If the rejoining aims at correcting
   727  // product catalog information in joined events, set UserEventRejoinScope to
   728  // JOINED_EVENTS. If all events needs to be rejoined, set UserEventRejoinScope
   729  // to USER_EVENT_REJOIN_SCOPE_UNSPECIFIED.
   730  //
   731  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   732  type RejoinUserEventsRequest_UserEventRejoinScope = src.RejoinUserEventsRequest_UserEventRejoinScope
   733  
   734  // Response message for RejoinUserEvents method.
   735  //
   736  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   737  type RejoinUserEventsResponse = src.RejoinUserEventsResponse
   738  
   739  // Request for
   740  // [CatalogService.RemoveCatalogAttribute][google.cloud.retail.v2.CatalogService.RemoveCatalogAttribute]
   741  // method.
   742  //
   743  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   744  type RemoveCatalogAttributeRequest = src.RemoveCatalogAttributeRequest
   745  
   746  // Request for RemoveControl method.
   747  //
   748  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   749  type RemoveControlRequest = src.RemoveControlRequest
   750  
   751  // Metadata related to the progress of the RemoveFulfillmentPlaces operation.
   752  // Currently empty because there is no meaningful metadata populated from the
   753  // [ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]
   754  // method.
   755  //
   756  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   757  type RemoveFulfillmentPlacesMetadata = src.RemoveFulfillmentPlacesMetadata
   758  
   759  // Request message for
   760  // [ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]
   761  // method.
   762  //
   763  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   764  type RemoveFulfillmentPlacesRequest = src.RemoveFulfillmentPlacesRequest
   765  
   766  // Response of the RemoveFulfillmentPlacesRequest. Currently empty because
   767  // there is no meaningful response populated from the
   768  // [ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]
   769  // method.
   770  //
   771  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   772  type RemoveFulfillmentPlacesResponse = src.RemoveFulfillmentPlacesResponse
   773  
   774  // Metadata related to the progress of the RemoveLocalInventories operation.
   775  // Currently empty because there is no meaningful metadata populated from the
   776  // [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories]
   777  // method.
   778  //
   779  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   780  type RemoveLocalInventoriesMetadata = src.RemoveLocalInventoriesMetadata
   781  
   782  // Request message for
   783  // [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories]
   784  // method.
   785  //
   786  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   787  type RemoveLocalInventoriesRequest = src.RemoveLocalInventoriesRequest
   788  
   789  // Response of the
   790  // [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories]
   791  // API. Currently empty because there is no meaningful response populated from
   792  // the
   793  // [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories]
   794  // method.
   795  //
   796  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   797  type RemoveLocalInventoriesResponse = src.RemoveLocalInventoriesResponse
   798  
   799  // Request for
   800  // [CatalogService.ReplaceCatalogAttribute][google.cloud.retail.v2.CatalogService.ReplaceCatalogAttribute]
   801  // method.
   802  //
   803  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   804  type ReplaceCatalogAttributeRequest = src.ReplaceCatalogAttributeRequest
   805  
   806  // A rule is a condition-action pair * A condition defines when a rule is to
   807  // be triggered. * An action specifies what occurs on that trigger. Currently
   808  // rules only work for [controls][google.cloud.retail.v2.Control] with
   809  // [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2.SolutionType.SOLUTION_TYPE_SEARCH].
   810  //
   811  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   812  type Rule = src.Rule
   813  
   814  // A boost action to apply to results matching condition specified above.
   815  //
   816  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   817  type Rule_BoostAction = src.Rule_BoostAction
   818  type Rule_BoostAction_ = src.Rule_BoostAction_
   819  
   820  // Prevents `query_term` from being associated with specified terms during
   821  // search. Example: Don't associate "gShoe" and "cheap".
   822  //
   823  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   824  type Rule_DoNotAssociateAction = src.Rule_DoNotAssociateAction
   825  type Rule_DoNotAssociateAction_ = src.Rule_DoNotAssociateAction_
   826  
   827  // * Rule Condition: - No
   828  // [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms]
   829  // provided is a global match. - 1 or more
   830  // [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms]
   831  // provided are combined with OR operator. * Action Input: The request query
   832  // and filter that are applied to the retrieved products, in addition to any
   833  // filters already provided with the SearchRequest. The AND operator is used to
   834  // combine the query's existing filters with the filter rule(s). NOTE: May
   835  // result in 0 results when filters conflict. * Action Result: Filters the
   836  // returned objects to be ONLY those that passed the filter.
   837  //
   838  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   839  type Rule_FilterAction = src.Rule_FilterAction
   840  type Rule_FilterAction_ = src.Rule_FilterAction_
   841  
   842  // Prevents a term in the query from being used in search. Example: Don't
   843  // search for "shoddy".
   844  //
   845  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   846  type Rule_IgnoreAction = src.Rule_IgnoreAction
   847  type Rule_IgnoreAction_ = src.Rule_IgnoreAction_
   848  
   849  // Maps a set of terms to a set of synonyms. Set of synonyms will be treated
   850  // as synonyms of each query term only. `query_terms` will not be treated as
   851  // synonyms of each other. Example: "sneakers" will use a synonym of "shoes".
   852  // "shoes" will not use a synonym of "sneakers".
   853  //
   854  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   855  type Rule_OnewaySynonymsAction = src.Rule_OnewaySynonymsAction
   856  type Rule_OnewaySynonymsAction_ = src.Rule_OnewaySynonymsAction_
   857  
   858  // Redirects a shopper to a specific page. * Rule Condition: - Must specify
   859  // [Condition.query_terms][google.cloud.retail.v2.Condition.query_terms]. *
   860  // Action Input: Request Query * Action Result: Redirects shopper to provided
   861  // uri.
   862  //
   863  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   864  type Rule_RedirectAction = src.Rule_RedirectAction
   865  type Rule_RedirectAction_ = src.Rule_RedirectAction_
   866  
   867  // Replaces a term in the query. Multiple replacement candidates can be
   868  // specified. All `query_terms` will be replaced with the replacement term.
   869  // Example: Replace "gShoe" with "google shoe".
   870  //
   871  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   872  type Rule_ReplacementAction = src.Rule_ReplacementAction
   873  type Rule_ReplacementAction_ = src.Rule_ReplacementAction_
   874  
   875  // Creates a set of terms that will be treated as synonyms of each other.
   876  // Example: synonyms of "sneakers" and "shoes". - "sneakers" will use a synonym
   877  // of "shoes". - "shoes" will use a synonym of "sneakers".
   878  //
   879  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   880  type Rule_TwowaySynonymsAction = src.Rule_TwowaySynonymsAction
   881  type Rule_TwowaySynonymsAction_ = src.Rule_TwowaySynonymsAction_
   882  
   883  // Request message for
   884  // [SearchService.Search][google.cloud.retail.v2.SearchService.Search] method.
   885  //
   886  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   887  type SearchRequest = src.SearchRequest
   888  
   889  // Boost specification to boost certain items.
   890  //
   891  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   892  type SearchRequest_BoostSpec = src.SearchRequest_BoostSpec
   893  
   894  // Boost applies to products which match a condition.
   895  //
   896  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   897  type SearchRequest_BoostSpec_ConditionBoostSpec = src.SearchRequest_BoostSpec_ConditionBoostSpec
   898  
   899  // The specifications of dynamically generated facets.
   900  //
   901  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   902  type SearchRequest_DynamicFacetSpec = src.SearchRequest_DynamicFacetSpec
   903  
   904  // Enum to control DynamicFacet mode
   905  //
   906  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   907  type SearchRequest_DynamicFacetSpec_Mode = src.SearchRequest_DynamicFacetSpec_Mode
   908  
   909  // A facet specification to perform faceted search.
   910  //
   911  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   912  type SearchRequest_FacetSpec = src.SearchRequest_FacetSpec
   913  
   914  // Specifies how a facet is computed.
   915  //
   916  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   917  type SearchRequest_FacetSpec_FacetKey = src.SearchRequest_FacetSpec_FacetKey
   918  
   919  // The specification for personalization.
   920  //
   921  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   922  type SearchRequest_PersonalizationSpec = src.SearchRequest_PersonalizationSpec
   923  
   924  // The personalization mode of each search request.
   925  //
   926  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   927  type SearchRequest_PersonalizationSpec_Mode = src.SearchRequest_PersonalizationSpec_Mode
   928  
   929  // Specification to determine under which conditions query expansion should
   930  // occur.
   931  //
   932  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   933  type SearchRequest_QueryExpansionSpec = src.SearchRequest_QueryExpansionSpec
   934  
   935  // Enum describing under which condition query expansion should occur.
   936  //
   937  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   938  type SearchRequest_QueryExpansionSpec_Condition = src.SearchRequest_QueryExpansionSpec_Condition
   939  
   940  // The search mode of each search request.
   941  //
   942  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   943  type SearchRequest_SearchMode = src.SearchRequest_SearchMode
   944  
   945  // The specification for query spell correction.
   946  //
   947  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   948  type SearchRequest_SpellCorrectionSpec = src.SearchRequest_SpellCorrectionSpec
   949  
   950  // Enum describing under which mode spell correction should occur.
   951  //
   952  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   953  type SearchRequest_SpellCorrectionSpec_Mode = src.SearchRequest_SpellCorrectionSpec_Mode
   954  
   955  // Response message for
   956  // [SearchService.Search][google.cloud.retail.v2.SearchService.Search] method.
   957  //
   958  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   959  type SearchResponse = src.SearchResponse
   960  
   961  // A facet result.
   962  //
   963  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   964  type SearchResponse_Facet = src.SearchResponse_Facet
   965  
   966  // A facet value which contains value names and their count.
   967  //
   968  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   969  type SearchResponse_Facet_FacetValue = src.SearchResponse_Facet_FacetValue
   970  type SearchResponse_Facet_FacetValue_Interval = src.SearchResponse_Facet_FacetValue_Interval
   971  type SearchResponse_Facet_FacetValue_Value = src.SearchResponse_Facet_FacetValue_Value
   972  
   973  // Information describing query expansion including whether expansion has
   974  // occurred.
   975  //
   976  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   977  type SearchResponse_QueryExpansionInfo = src.SearchResponse_QueryExpansionInfo
   978  
   979  // Represents the search results.
   980  //
   981  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   982  type SearchResponse_SearchResult = src.SearchResponse_SearchResult
   983  
   984  // SearchServiceClient is the client API for SearchService service. For
   985  // semantics around ctx use and closing/ending streaming RPCs, please refer to
   986  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   987  //
   988  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   989  type SearchServiceClient = src.SearchServiceClient
   990  
   991  // SearchServiceServer is the server API for SearchService service.
   992  //
   993  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   994  type SearchServiceServer = src.SearchServiceServer
   995  
   996  // The use case of Cloud Retail Search.
   997  //
   998  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
   999  type SearchSolutionUseCase = src.SearchSolutionUseCase
  1000  
  1001  // Configures metadata that is used to generate serving time results (e.g.
  1002  // search results or recommendation predictions).
  1003  //
  1004  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1005  type ServingConfig = src.ServingConfig
  1006  
  1007  // ServingConfigServiceClient is the client API for ServingConfigService
  1008  // service. For semantics around ctx use and closing/ending streaming RPCs,
  1009  // please refer to
  1010  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1011  //
  1012  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1013  type ServingConfigServiceClient = src.ServingConfigServiceClient
  1014  
  1015  // ServingConfigServiceServer is the server API for ServingConfigService
  1016  // service.
  1017  //
  1018  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1019  type ServingConfigServiceServer = src.ServingConfigServiceServer
  1020  
  1021  // Request message to set a specified branch as new default_branch.
  1022  //
  1023  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1024  type SetDefaultBranchRequest = src.SetDefaultBranchRequest
  1025  
  1026  // Metadata related to the progress of the SetInventory operation. Currently
  1027  // empty because there is no meaningful metadata populated from the
  1028  // [ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory]
  1029  // method.
  1030  //
  1031  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1032  type SetInventoryMetadata = src.SetInventoryMetadata
  1033  
  1034  // Request message for
  1035  // [ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory]
  1036  // method.
  1037  //
  1038  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1039  type SetInventoryRequest = src.SetInventoryRequest
  1040  
  1041  // Response of the SetInventoryRequest. Currently empty because there is no
  1042  // meaningful response populated from the
  1043  // [ProductService.SetInventory][google.cloud.retail.v2.ProductService.SetInventory]
  1044  // method.
  1045  //
  1046  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1047  type SetInventoryResponse = src.SetInventoryResponse
  1048  
  1049  // The type of solution.
  1050  //
  1051  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1052  type SolutionType = src.SolutionType
  1053  
  1054  // UnimplementedCatalogServiceServer can be embedded to have forward
  1055  // compatible implementations.
  1056  //
  1057  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1058  type UnimplementedCatalogServiceServer = src.UnimplementedCatalogServiceServer
  1059  
  1060  // UnimplementedCompletionServiceServer can be embedded to have forward
  1061  // compatible implementations.
  1062  //
  1063  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1064  type UnimplementedCompletionServiceServer = src.UnimplementedCompletionServiceServer
  1065  
  1066  // UnimplementedControlServiceServer can be embedded to have forward
  1067  // compatible implementations.
  1068  //
  1069  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1070  type UnimplementedControlServiceServer = src.UnimplementedControlServiceServer
  1071  
  1072  // UnimplementedPredictionServiceServer can be embedded to have forward
  1073  // compatible implementations.
  1074  //
  1075  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1076  type UnimplementedPredictionServiceServer = src.UnimplementedPredictionServiceServer
  1077  
  1078  // UnimplementedProductServiceServer can be embedded to have forward
  1079  // compatible implementations.
  1080  //
  1081  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1082  type UnimplementedProductServiceServer = src.UnimplementedProductServiceServer
  1083  
  1084  // UnimplementedSearchServiceServer can be embedded to have forward compatible
  1085  // implementations.
  1086  //
  1087  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1088  type UnimplementedSearchServiceServer = src.UnimplementedSearchServiceServer
  1089  
  1090  // UnimplementedServingConfigServiceServer can be embedded to have forward
  1091  // compatible implementations.
  1092  //
  1093  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1094  type UnimplementedServingConfigServiceServer = src.UnimplementedServingConfigServiceServer
  1095  
  1096  // UnimplementedUserEventServiceServer can be embedded to have forward
  1097  // compatible implementations.
  1098  //
  1099  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1100  type UnimplementedUserEventServiceServer = src.UnimplementedUserEventServiceServer
  1101  
  1102  // Request for
  1103  // [CatalogService.UpdateAttributesConfig][google.cloud.retail.v2.CatalogService.UpdateAttributesConfig]
  1104  // method.
  1105  //
  1106  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1107  type UpdateAttributesConfigRequest = src.UpdateAttributesConfigRequest
  1108  
  1109  // Request for
  1110  // [CatalogService.UpdateCatalog][google.cloud.retail.v2.CatalogService.UpdateCatalog]
  1111  // method.
  1112  //
  1113  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1114  type UpdateCatalogRequest = src.UpdateCatalogRequest
  1115  
  1116  // Request for
  1117  // [CatalogService.UpdateCompletionConfig][google.cloud.retail.v2.CatalogService.UpdateCompletionConfig]
  1118  // method.
  1119  //
  1120  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1121  type UpdateCompletionConfigRequest = src.UpdateCompletionConfigRequest
  1122  
  1123  // Request for UpdateControl method.
  1124  //
  1125  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1126  type UpdateControlRequest = src.UpdateControlRequest
  1127  
  1128  // Request message for
  1129  // [ProductService.UpdateProduct][google.cloud.retail.v2.ProductService.UpdateProduct]
  1130  // method.
  1131  //
  1132  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1133  type UpdateProductRequest = src.UpdateProductRequest
  1134  
  1135  // Request for UpdateServingConfig method.
  1136  //
  1137  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1138  type UpdateServingConfigRequest = src.UpdateServingConfigRequest
  1139  
  1140  // UserEvent captures all metadata information Retail API needs to know about
  1141  // how end users interact with customers' website.
  1142  //
  1143  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1144  type UserEvent = src.UserEvent
  1145  
  1146  // A summary of import result. The UserEventImportSummary summarizes the
  1147  // import status for user events.
  1148  //
  1149  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1150  type UserEventImportSummary = src.UserEventImportSummary
  1151  
  1152  // The inline source for the input config for ImportUserEvents method.
  1153  //
  1154  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1155  type UserEventInlineSource = src.UserEventInlineSource
  1156  
  1157  // The input config source for user events.
  1158  //
  1159  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1160  type UserEventInputConfig = src.UserEventInputConfig
  1161  type UserEventInputConfig_BigQuerySource = src.UserEventInputConfig_BigQuerySource
  1162  type UserEventInputConfig_GcsSource = src.UserEventInputConfig_GcsSource
  1163  type UserEventInputConfig_UserEventInlineSource = src.UserEventInputConfig_UserEventInlineSource
  1164  
  1165  // UserEventServiceClient is the client API for UserEventService service. For
  1166  // semantics around ctx use and closing/ending streaming RPCs, please refer to
  1167  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  1168  //
  1169  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1170  type UserEventServiceClient = src.UserEventServiceClient
  1171  
  1172  // UserEventServiceServer is the server API for UserEventService service.
  1173  //
  1174  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1175  type UserEventServiceServer = src.UserEventServiceServer
  1176  
  1177  // Information of an end user.
  1178  //
  1179  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1180  type UserInfo = src.UserInfo
  1181  
  1182  // Request message for WriteUserEvent method.
  1183  //
  1184  // Deprecated: Please use types in: cloud.google.com/go/retail/apiv2/retailpb
  1185  type WriteUserEventRequest = src.WriteUserEventRequest
  1186  
  1187  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1188  func NewCatalogServiceClient(cc grpc.ClientConnInterface) CatalogServiceClient {
  1189  	return src.NewCatalogServiceClient(cc)
  1190  }
  1191  
  1192  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1193  func NewCompletionServiceClient(cc grpc.ClientConnInterface) CompletionServiceClient {
  1194  	return src.NewCompletionServiceClient(cc)
  1195  }
  1196  
  1197  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1198  func NewControlServiceClient(cc grpc.ClientConnInterface) ControlServiceClient {
  1199  	return src.NewControlServiceClient(cc)
  1200  }
  1201  
  1202  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1203  func NewPredictionServiceClient(cc grpc.ClientConnInterface) PredictionServiceClient {
  1204  	return src.NewPredictionServiceClient(cc)
  1205  }
  1206  
  1207  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1208  func NewProductServiceClient(cc grpc.ClientConnInterface) ProductServiceClient {
  1209  	return src.NewProductServiceClient(cc)
  1210  }
  1211  
  1212  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1213  func NewSearchServiceClient(cc grpc.ClientConnInterface) SearchServiceClient {
  1214  	return src.NewSearchServiceClient(cc)
  1215  }
  1216  
  1217  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1218  func NewServingConfigServiceClient(cc grpc.ClientConnInterface) ServingConfigServiceClient {
  1219  	return src.NewServingConfigServiceClient(cc)
  1220  }
  1221  
  1222  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1223  func NewUserEventServiceClient(cc grpc.ClientConnInterface) UserEventServiceClient {
  1224  	return src.NewUserEventServiceClient(cc)
  1225  }
  1226  
  1227  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1228  func RegisterCatalogServiceServer(s *grpc.Server, srv CatalogServiceServer) {
  1229  	src.RegisterCatalogServiceServer(s, srv)
  1230  }
  1231  
  1232  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1233  func RegisterCompletionServiceServer(s *grpc.Server, srv CompletionServiceServer) {
  1234  	src.RegisterCompletionServiceServer(s, srv)
  1235  }
  1236  
  1237  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1238  func RegisterControlServiceServer(s *grpc.Server, srv ControlServiceServer) {
  1239  	src.RegisterControlServiceServer(s, srv)
  1240  }
  1241  
  1242  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1243  func RegisterPredictionServiceServer(s *grpc.Server, srv PredictionServiceServer) {
  1244  	src.RegisterPredictionServiceServer(s, srv)
  1245  }
  1246  
  1247  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1248  func RegisterProductServiceServer(s *grpc.Server, srv ProductServiceServer) {
  1249  	src.RegisterProductServiceServer(s, srv)
  1250  }
  1251  
  1252  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1253  func RegisterSearchServiceServer(s *grpc.Server, srv SearchServiceServer) {
  1254  	src.RegisterSearchServiceServer(s, srv)
  1255  }
  1256  
  1257  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1258  func RegisterServingConfigServiceServer(s *grpc.Server, srv ServingConfigServiceServer) {
  1259  	src.RegisterServingConfigServiceServer(s, srv)
  1260  }
  1261  
  1262  // Deprecated: Please use funcs in: cloud.google.com/go/retail/apiv2/retailpb
  1263  func RegisterUserEventServiceServer(s *grpc.Server, srv UserEventServiceServer) {
  1264  	src.RegisterUserEventServiceServer(s, srv)
  1265  }
  1266  

View as plain text