| 1 |
// Copyright 2025 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 protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/cloud/retail/v2beta/control.proto |
| 20 |
|
| 21 |
package retailpb |
| 22 |
|
| 23 |
import ( |
| 24 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 25 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 26 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 27 |
reflect "reflect" |
| 28 |
sync "sync" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// Configures dynamic metadata that can be linked to a |
| 39 |
// [ServingConfig][google.cloud.retail.v2beta.ServingConfig] and affect search |
| 40 |
// or recommendation results at serving time. |
| 41 |
type Control struct { |
| 42 |
state protoimpl.MessageState |
| 43 |
sizeCache protoimpl.SizeCache |
| 44 |
unknownFields protoimpl.UnknownFields |
| 45 |
|
| 46 |
// The behavior/type of the control |
| 47 |
// |
| 48 |
// A behavior/type must be specified on creation. Type cannot be changed once |
| 49 |
// specified (e.g. A Rule control will always be a Rule control.). An |
| 50 |
// INVALID_ARGUMENT will be returned if either condition is violated. |
| 51 |
// |
| 52 |
// Types that are assignable to Control: |
| 53 |
// |
| 54 |
// *Control_FacetSpec |
| 55 |
// *Control_Rule |
| 56 |
Control isControl_Control `protobuf_oneof:"control"` |
| 57 |
// Immutable. Fully qualified name |
| 58 |
// `projects/*/locations/global/catalogs/*/controls/*` |
| 59 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 60 |
// Required. The human readable control display name. Used in Retail UI. |
| 61 |
// |
| 62 |
// This field must be a UTF-8 encoded string with a length limit of 128 |
| 63 |
// characters. Otherwise, an INVALID_ARGUMENT error is thrown. |
| 64 |
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| 65 |
// Output only. List of [serving |
| 66 |
// config][google.cloud.retail.v2beta.ServingConfig] ids that are associated |
| 67 |
// with this control in the same |
| 68 |
// [Catalog][google.cloud.retail.v2beta.Catalog]. |
| 69 |
// |
| 70 |
// Note the association is managed via the |
| 71 |
// [ServingConfig][google.cloud.retail.v2beta.ServingConfig], this is an |
| 72 |
// output only denormalized view. |
| 73 |
AssociatedServingConfigIds []string `protobuf:"bytes,5,rep,name=associated_serving_config_ids,json=associatedServingConfigIds,proto3" json:"associated_serving_config_ids,omitempty"` |
| 74 |
// Required. Immutable. The solution types that the control is used for. |
| 75 |
// Currently we support setting only one type of solution at creation time. |
| 76 |
// |
| 77 |
// Only `SOLUTION_TYPE_SEARCH` value is supported at the moment. |
| 78 |
// If no solution type is provided at creation time, will default to |
| 79 |
// [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH]. |
| 80 |
SolutionTypes []SolutionType `protobuf:"varint,6,rep,packed,name=solution_types,json=solutionTypes,proto3,enum=google.cloud.retail.v2beta.SolutionType" json:"solution_types,omitempty"` |
| 81 |
// Specifies the use case for the control. |
| 82 |
// Affects what condition fields can be set. |
| 83 |
// Only settable by search controls. |
| 84 |
// Will default to |
| 85 |
// [SEARCH_SOLUTION_USE_CASE_SEARCH][google.cloud.retail.v2beta.SearchSolutionUseCase.SEARCH_SOLUTION_USE_CASE_SEARCH] |
| 86 |
// if not specified. Currently only allow one search_solution_use_case per |
| 87 |
// control. |
| 88 |
SearchSolutionUseCase []SearchSolutionUseCase `protobuf:"varint,7,rep,packed,name=search_solution_use_case,json=searchSolutionUseCase,proto3,enum=google.cloud.retail.v2beta.SearchSolutionUseCase" json:"search_solution_use_case,omitempty"` |
| 89 |
} |
| 90 |
|
| 91 |
func (x *Control) Reset() { |
| 92 |
*x = Control{} |
| 93 |
mi := &file_google_cloud_retail_v2beta_control_proto_msgTypes[0] |
| 94 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 95 |
ms.StoreMessageInfo(mi) |
| 96 |
} |
| 97 |
|
| 98 |
func (x *Control) String() string { |
| 99 |
return protoimpl.X.MessageStringOf(x) |
| 100 |
} |
| 101 |
|
| 102 |
func (*Control) ProtoMessage() {} |
| 103 |
|
| 104 |
func (x *Control) ProtoReflect() protoreflect.Message { |
| 105 |
mi := &file_google_cloud_retail_v2beta_control_proto_msgTypes[0] |
| 106 |
if x != nil { |
| 107 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 108 |
if ms.LoadMessageInfo() == nil { |
| 109 |
ms.StoreMessageInfo(mi) |
| 110 |
} |
| 111 |
return ms |
| 112 |
} |
| 113 |
return mi.MessageOf(x) |
| 114 |
} |
| 115 |
|
| 116 |
// Deprecated: Use Control.ProtoReflect.Descriptor instead. |
| 117 |
func (*Control) Descriptor() ([]byte, []int) { |
| 118 |
return file_google_cloud_retail_v2beta_control_proto_rawDescGZIP(), []int{0} |
| 119 |
} |
| 120 |
|
| 121 |
func (m *Control) GetControl() isControl_Control { |
| 122 |
if m != nil { |
| 123 |
return m.Control |
| 124 |
} |
| 125 |
return nil |
| 126 |
} |
| 127 |
|
| 128 |
// Deprecated: Marked as deprecated in google/cloud/retail/v2beta/control.proto. |
| 129 |
func (x *Control) GetFacetSpec() *SearchRequest_FacetSpec { |
| 130 |
if x, ok := x.GetControl().(*Control_FacetSpec); ok { |
| 131 |
return x.FacetSpec |
| 132 |
} |
| 133 |
return nil |
| 134 |
} |
| 135 |
|
| 136 |
func (x *Control) GetRule() *Rule { |
| 137 |
if x, ok := x.GetControl().(*Control_Rule); ok { |
| 138 |
return x.Rule |
| 139 |
} |
| 140 |
return nil |
| 141 |
} |
| 142 |
|
| 143 |
func (x *Control) GetName() string { |
| 144 |
if x != nil { |
| 145 |
return x.Name |
| 146 |
} |
| 147 |
return "" |
| 148 |
} |
| 149 |
|
| 150 |
func (x *Control) GetDisplayName() string { |
| 151 |
if x != nil { |
| 152 |
return x.DisplayName |
| 153 |
} |
| 154 |
return "" |
| 155 |
} |
| 156 |
|
| 157 |
func (x *Control) GetAssociatedServingConfigIds() []string { |
| 158 |
if x != nil { |
| 159 |
return x.AssociatedServingConfigIds |
| 160 |
} |
| 161 |
return nil |
| 162 |
} |
| 163 |
|
| 164 |
func (x *Control) GetSolutionTypes() []SolutionType { |
| 165 |
if x != nil { |
| 166 |
return x.SolutionTypes |
| 167 |
} |
| 168 |
return nil |
| 169 |
} |
| 170 |
|
| 171 |
func (x *Control) GetSearchSolutionUseCase() []SearchSolutionUseCase { |
| 172 |
if x != nil { |
| 173 |
return x.SearchSolutionUseCase |
| 174 |
} |
| 175 |
return nil |
| 176 |
} |
| 177 |
|
| 178 |
type isControl_Control interface { |
| 179 |
isControl_Control() |
| 180 |
} |
| 181 |
|
| 182 |
type Control_FacetSpec struct { |
| 183 |
// A facet specification to perform faceted search. |
| 184 |
// |
| 185 |
// Note that this field is deprecated and will throw NOT_IMPLEMENTED if |
| 186 |
// used for creating a control. |
| 187 |
// |
| 188 |
// Deprecated: Marked as deprecated in google/cloud/retail/v2beta/control.proto. |
| 189 |
FacetSpec *SearchRequest_FacetSpec `protobuf:"bytes,3,opt,name=facet_spec,json=facetSpec,proto3,oneof"` |
| 190 |
} |
| 191 |
|
| 192 |
type Control_Rule struct { |
| 193 |
// A rule control - a condition-action pair. |
| 194 |
// Enacts a set action when the condition is triggered. |
| 195 |
// For example: Boost "gShoe" when query full matches "Running Shoes". |
| 196 |
Rule *Rule `protobuf:"bytes,4,opt,name=rule,proto3,oneof"` |
| 197 |
} |
| 198 |
|
| 199 |
func (*Control_FacetSpec) isControl_Control() {} |
| 200 |
|
| 201 |
func (*Control_Rule) isControl_Control() {} |
| 202 |
|
| 203 |
var File_google_cloud_retail_v2beta_control_proto protoreflect.FileDescriptor |
| 204 |
|
| 205 |
var file_google_cloud_retail_v2beta_control_proto_rawDesc = []byte{ |
| 206 |
0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, |
| 207 |
0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x6f, 0x6e, |
| 208 |
0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, |
| 209 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, |
| 210 |
0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 211 |
0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, |
| 212 |
0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 213 |
0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 214 |
0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 215 |
0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, |
| 216 |
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x6f, |
| 217 |
0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, |
| 218 |
0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x73, |
| 219 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x04, 0x0a, |
| 220 |
0x07, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x58, 0x0a, 0x0a, 0x66, 0x61, 0x63, 0x65, |
| 221 |
0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, |
| 222 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, |
| 223 |
0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, |
| 224 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x61, 0x63, 0x65, 0x74, 0x53, 0x70, 0x65, |
| 225 |
0x63, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x09, 0x66, 0x61, 0x63, 0x65, 0x74, 0x53, 0x70, |
| 226 |
0x65, 0x63, 0x12, 0x36, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, |
| 227 |
0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 228 |
0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x75, |
| 229 |
0x6c, 0x65, 0x48, 0x00, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, |
| 230 |
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x6e, |
| 231 |
0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, |
| 232 |
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, |
| 233 |
0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x1d, 0x61, |
| 234 |
0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, |
| 235 |
0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, |
| 236 |
0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x1a, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, |
| 237 |
0x74, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, |
| 238 |
0x49, 0x64, 0x73, 0x12, 0x57, 0x0a, 0x0e, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, |
| 239 |
0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x6f, |
| 240 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, |
| 241 |
0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, |
| 242 |
0x6e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 0x0d, 0x73, |
| 243 |
0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x6a, 0x0a, 0x18, |
| 244 |
0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, |
| 245 |
0x75, 0x73, 0x65, 0x5f, 0x63, 0x61, 0x73, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x31, |
| 246 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, |
| 247 |
0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, |
| 248 |
0x63, 0x68, 0x53, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x73, 0x65, 0x43, 0x61, 0x73, |
| 249 |
0x65, 0x52, 0x15, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, |
| 250 |
0x6e, 0x55, 0x73, 0x65, 0x43, 0x61, 0x73, 0x65, 0x3a, 0x71, 0xea, 0x41, 0x6e, 0x0a, 0x1d, 0x72, |
| 251 |
0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 252 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x4d, 0x70, 0x72, |
| 253 |
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, |
| 254 |
0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, |
| 255 |
0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, |
| 256 |
0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, |
| 257 |
0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x7d, 0x42, 0x09, 0x0a, 0x07, 0x63, |
| 258 |
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0xcb, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, |
| 259 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, |
| 260 |
0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0c, 0x43, 0x6f, 0x6e, 0x74, 0x72, |
| 261 |
0x6f, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 262 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x72, |
| 263 |
0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, |
| 264 |
0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70, 0x62, 0x3b, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70, |
| 265 |
0x62, 0xa2, 0x02, 0x06, 0x52, 0x45, 0x54, 0x41, 0x49, 0x4c, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, |
| 266 |
0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, |
| 267 |
0x2e, 0x56, 0x32, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 268 |
0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x5c, 0x56, 0x32, |
| 269 |
0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, |
| 270 |
0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x3a, 0x3a, 0x56, 0x32, |
| 271 |
0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 272 |
} |
| 273 |
|
| 274 |
var ( |
| 275 |
file_google_cloud_retail_v2beta_control_proto_rawDescOnce sync.Once |
| 276 |
file_google_cloud_retail_v2beta_control_proto_rawDescData = file_google_cloud_retail_v2beta_control_proto_rawDesc |
| 277 |
) |
| 278 |
|
| 279 |
func file_google_cloud_retail_v2beta_control_proto_rawDescGZIP() []byte { |
| 280 |
file_google_cloud_retail_v2beta_control_proto_rawDescOnce.Do(func() { |
| 281 |
file_google_cloud_retail_v2beta_control_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_v2beta_control_proto_rawDescData) |
| 282 |
}) |
| 283 |
return file_google_cloud_retail_v2beta_control_proto_rawDescData |
| 284 |
} |
| 285 |
|
| 286 |
var file_google_cloud_retail_v2beta_control_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 287 |
var file_google_cloud_retail_v2beta_control_proto_goTypes = []any{ |
| 288 |
(*Control)(nil), // 0: google.cloud.retail.v2beta.Control |
| 289 |
(*SearchRequest_FacetSpec)(nil), // 1: google.cloud.retail.v2beta.SearchRequest.FacetSpec |
| 290 |
(*Rule)(nil), // 2: google.cloud.retail.v2beta.Rule |
| 291 |
(SolutionType)(0), // 3: google.cloud.retail.v2beta.SolutionType |
| 292 |
(SearchSolutionUseCase)(0), // 4: google.cloud.retail.v2beta.SearchSolutionUseCase |
| 293 |
} |
| 294 |
var file_google_cloud_retail_v2beta_control_proto_depIdxs = []int32{ |
| 295 |
1, // 0: google.cloud.retail.v2beta.Control.facet_spec:type_name -> google.cloud.retail.v2beta.SearchRequest.FacetSpec |
| 296 |
2, // 1: google.cloud.retail.v2beta.Control.rule:type_name -> google.cloud.retail.v2beta.Rule |
| 297 |
3, // 2: google.cloud.retail.v2beta.Control.solution_types:type_name -> google.cloud.retail.v2beta.SolutionType |
| 298 |
4, // 3: google.cloud.retail.v2beta.Control.search_solution_use_case:type_name -> google.cloud.retail.v2beta.SearchSolutionUseCase |
| 299 |
4, // [4:4] is the sub-list for method output_type |
| 300 |
4, // [4:4] is the sub-list for method input_type |
| 301 |
4, // [4:4] is the sub-list for extension type_name |
| 302 |
4, // [4:4] is the sub-list for extension extendee |
| 303 |
0, // [0:4] is the sub-list for field type_name |
| 304 |
} |
| 305 |
|
| 306 |
func init() { file_google_cloud_retail_v2beta_control_proto_init() } |
| 307 |
func file_google_cloud_retail_v2beta_control_proto_init() { |
| 308 |
if File_google_cloud_retail_v2beta_control_proto != nil { |
| 309 |
return |
| 310 |
} |
| 311 |
file_google_cloud_retail_v2beta_common_proto_init() |
| 312 |
file_google_cloud_retail_v2beta_search_service_proto_init() |
| 313 |
file_google_cloud_retail_v2beta_control_proto_msgTypes[0].OneofWrappers = []any{ |
| 314 |
(*Control_FacetSpec)(nil), |
| 315 |
(*Control_Rule)(nil), |
| 316 |
} |
| 317 |
type x struct{} |
| 318 |
out := protoimpl.TypeBuilder{ |
| 319 |
File: protoimpl.DescBuilder{ |
| 320 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 321 |
RawDescriptor: file_google_cloud_retail_v2beta_control_proto_rawDesc, |
| 322 |
NumEnums: 0, |
| 323 |
NumMessages: 1, |
| 324 |
NumExtensions: 0, |
| 325 |
NumServices: 0, |
| 326 |
}, |
| 327 |
GoTypes: file_google_cloud_retail_v2beta_control_proto_goTypes, |
| 328 |
DependencyIndexes: file_google_cloud_retail_v2beta_control_proto_depIdxs, |
| 329 |
MessageInfos: file_google_cloud_retail_v2beta_control_proto_msgTypes, |
| 330 |
}.Build() |
| 331 |
File_google_cloud_retail_v2beta_control_proto = out.File |
| 332 |
file_google_cloud_retail_v2beta_control_proto_rawDesc = nil |
| 333 |
file_google_cloud_retail_v2beta_control_proto_goTypes = nil |
| 334 |
file_google_cloud_retail_v2beta_control_proto_depIdxs = nil |
| 335 |
} |