// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 // protoc v3.21.12 // source: waQuickPromotionSurfaces/WAWebProtobufsQuickPromotionSurfaces.proto package waQuickPromotionSurfaces import ( reflect "reflect" sync "sync" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" _ "embed" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type QP_FilterResult int32 const ( QP_TRUE QP_FilterResult = 1 QP_FALSE QP_FilterResult = 2 QP_UNKNOWN QP_FilterResult = 3 ) // Enum value maps for QP_FilterResult. var ( QP_FilterResult_name = map[int32]string{ 1: "TRUE", 2: "FALSE", 3: "UNKNOWN", } QP_FilterResult_value = map[string]int32{ "TRUE": 1, "FALSE": 2, "UNKNOWN": 3, } ) func (x QP_FilterResult) Enum() *QP_FilterResult { p := new(QP_FilterResult) *p = x return p } func (x QP_FilterResult) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (QP_FilterResult) Descriptor() protoreflect.EnumDescriptor { return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[0].Descriptor() } func (QP_FilterResult) Type() protoreflect.EnumType { return &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[0] } func (x QP_FilterResult) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Do not use. func (x *QP_FilterResult) UnmarshalJSON(b []byte) error { num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } *x = QP_FilterResult(num) return nil } // Deprecated: Use QP_FilterResult.Descriptor instead. func (QP_FilterResult) EnumDescriptor() ([]byte, []int) { return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 0} } type QP_FilterClientNotSupportedConfig int32 const ( QP_PASS_BY_DEFAULT QP_FilterClientNotSupportedConfig = 1 QP_FAIL_BY_DEFAULT QP_FilterClientNotSupportedConfig = 2 ) // Enum value maps for QP_FilterClientNotSupportedConfig. var ( QP_FilterClientNotSupportedConfig_name = map[int32]string{ 1: "PASS_BY_DEFAULT", 2: "FAIL_BY_DEFAULT", } QP_FilterClientNotSupportedConfig_value = map[string]int32{ "PASS_BY_DEFAULT": 1, "FAIL_BY_DEFAULT": 2, } ) func (x QP_FilterClientNotSupportedConfig) Enum() *QP_FilterClientNotSupportedConfig { p := new(QP_FilterClientNotSupportedConfig) *p = x return p } func (x QP_FilterClientNotSupportedConfig) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (QP_FilterClientNotSupportedConfig) Descriptor() protoreflect.EnumDescriptor { return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[1].Descriptor() } func (QP_FilterClientNotSupportedConfig) Type() protoreflect.EnumType { return &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[1] } func (x QP_FilterClientNotSupportedConfig) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Do not use. func (x *QP_FilterClientNotSupportedConfig) UnmarshalJSON(b []byte) error { num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } *x = QP_FilterClientNotSupportedConfig(num) return nil } // Deprecated: Use QP_FilterClientNotSupportedConfig.Descriptor instead. func (QP_FilterClientNotSupportedConfig) EnumDescriptor() ([]byte, []int) { return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 1} } type QP_ClauseType int32 const ( QP_AND QP_ClauseType = 1 QP_OR QP_ClauseType = 2 QP_NOR QP_ClauseType = 3 ) // Enum value maps for QP_ClauseType. var ( QP_ClauseType_name = map[int32]string{ 1: "AND", 2: "OR", 3: "NOR", } QP_ClauseType_value = map[string]int32{ "AND": 1, "OR": 2, "NOR": 3, } ) func (x QP_ClauseType) Enum() *QP_ClauseType { p := new(QP_ClauseType) *p = x return p } func (x QP_ClauseType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (QP_ClauseType) Descriptor() protoreflect.EnumDescriptor { return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[2].Descriptor() } func (QP_ClauseType) Type() protoreflect.EnumType { return &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes[2] } func (x QP_ClauseType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Do not use. func (x *QP_ClauseType) UnmarshalJSON(b []byte) error { num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) if err != nil { return err } *x = QP_ClauseType(num) return nil } // Deprecated: Use QP_ClauseType.Descriptor instead. func (QP_ClauseType) EnumDescriptor() ([]byte, []int) { return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 2} } type QP struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *QP) Reset() { *x = QP{} if protoimpl.UnsafeEnabled { mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *QP) String() string { return protoimpl.X.MessageStringOf(x) } func (*QP) ProtoMessage() {} func (x *QP) ProtoReflect() protoreflect.Message { mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use QP.ProtoReflect.Descriptor instead. func (*QP) Descriptor() ([]byte, []int) { return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0} } type QP_FilterClause struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ClauseType *QP_ClauseType `protobuf:"varint,1,req,name=clauseType,enum=WAWebProtobufsQuickPromotionSurfaces.QP_ClauseType" json:"clauseType,omitempty"` Clauses []*QP_FilterClause `protobuf:"bytes,2,rep,name=clauses" json:"clauses,omitempty"` Filters []*QP_Filter `protobuf:"bytes,3,rep,name=filters" json:"filters,omitempty"` } func (x *QP_FilterClause) Reset() { *x = QP_FilterClause{} if protoimpl.UnsafeEnabled { mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *QP_FilterClause) String() string { return protoimpl.X.MessageStringOf(x) } func (*QP_FilterClause) ProtoMessage() {} func (x *QP_FilterClause) ProtoReflect() protoreflect.Message { mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use QP_FilterClause.ProtoReflect.Descriptor instead. func (*QP_FilterClause) Descriptor() ([]byte, []int) { return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 0} } func (x *QP_FilterClause) GetClauseType() QP_ClauseType { if x != nil && x.ClauseType != nil { return *x.ClauseType } return QP_AND } func (x *QP_FilterClause) GetClauses() []*QP_FilterClause { if x != nil { return x.Clauses } return nil } func (x *QP_FilterClause) GetFilters() []*QP_Filter { if x != nil { return x.Filters } return nil } type QP_Filter struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields FilterName *string `protobuf:"bytes,1,req,name=filterName" json:"filterName,omitempty"` Parameters []*QP_FilterParameters `protobuf:"bytes,2,rep,name=parameters" json:"parameters,omitempty"` FilterResult *QP_FilterResult `protobuf:"varint,3,opt,name=filterResult,enum=WAWebProtobufsQuickPromotionSurfaces.QP_FilterResult" json:"filterResult,omitempty"` ClientNotSupportedConfig *QP_FilterClientNotSupportedConfig `protobuf:"varint,4,req,name=clientNotSupportedConfig,enum=WAWebProtobufsQuickPromotionSurfaces.QP_FilterClientNotSupportedConfig" json:"clientNotSupportedConfig,omitempty"` } func (x *QP_Filter) Reset() { *x = QP_Filter{} if protoimpl.UnsafeEnabled { mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *QP_Filter) String() string { return protoimpl.X.MessageStringOf(x) } func (*QP_Filter) ProtoMessage() {} func (x *QP_Filter) ProtoReflect() protoreflect.Message { mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use QP_Filter.ProtoReflect.Descriptor instead. func (*QP_Filter) Descriptor() ([]byte, []int) { return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 1} } func (x *QP_Filter) GetFilterName() string { if x != nil && x.FilterName != nil { return *x.FilterName } return "" } func (x *QP_Filter) GetParameters() []*QP_FilterParameters { if x != nil { return x.Parameters } return nil } func (x *QP_Filter) GetFilterResult() QP_FilterResult { if x != nil && x.FilterResult != nil { return *x.FilterResult } return QP_TRUE } func (x *QP_Filter) GetClientNotSupportedConfig() QP_FilterClientNotSupportedConfig { if x != nil && x.ClientNotSupportedConfig != nil { return *x.ClientNotSupportedConfig } return QP_PASS_BY_DEFAULT } type QP_FilterParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` } func (x *QP_FilterParameters) Reset() { *x = QP_FilterParameters{} if protoimpl.UnsafeEnabled { mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *QP_FilterParameters) String() string { return protoimpl.X.MessageStringOf(x) } func (*QP_FilterParameters) ProtoMessage() {} func (x *QP_FilterParameters) ProtoReflect() protoreflect.Message { mi := &file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use QP_FilterParameters.ProtoReflect.Descriptor instead. func (*QP_FilterParameters) Descriptor() ([]byte, []int) { return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP(), []int{0, 2} } func (x *QP_FilterParameters) GetKey() string { if x != nil && x.Key != nil { return *x.Key } return "" } func (x *QP_FilterParameters) GetValue() string { if x != nil && x.Value != nil { return *x.Value } return "" } var File_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto protoreflect.FileDescriptor //go:embed WAWebProtobufsQuickPromotionSurfaces.pb.raw var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc []byte var ( file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescOnce sync.Once file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData = file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc ) func file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescGZIP() []byte { file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescOnce.Do(func() { file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData = protoimpl.X.CompressGZIP(file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData) }) return file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDescData } var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes = make([]protoimpl.EnumInfo, 3) var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_goTypes = []any{ (QP_FilterResult)(0), // 0: WAWebProtobufsQuickPromotionSurfaces.QP.FilterResult (QP_FilterClientNotSupportedConfig)(0), // 1: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClientNotSupportedConfig (QP_ClauseType)(0), // 2: WAWebProtobufsQuickPromotionSurfaces.QP.ClauseType (*QP)(nil), // 3: WAWebProtobufsQuickPromotionSurfaces.QP (*QP_FilterClause)(nil), // 4: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause (*QP_Filter)(nil), // 5: WAWebProtobufsQuickPromotionSurfaces.QP.Filter (*QP_FilterParameters)(nil), // 6: WAWebProtobufsQuickPromotionSurfaces.QP.FilterParameters } var file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_depIdxs = []int32{ 2, // 0: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause.clauseType:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.ClauseType 4, // 1: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause.clauses:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause 5, // 2: WAWebProtobufsQuickPromotionSurfaces.QP.FilterClause.filters:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.Filter 6, // 3: WAWebProtobufsQuickPromotionSurfaces.QP.Filter.parameters:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterParameters 0, // 4: WAWebProtobufsQuickPromotionSurfaces.QP.Filter.filterResult:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterResult 1, // 5: WAWebProtobufsQuickPromotionSurfaces.QP.Filter.clientNotSupportedConfig:type_name -> WAWebProtobufsQuickPromotionSurfaces.QP.FilterClientNotSupportedConfig 6, // [6:6] is the sub-list for method output_type 6, // [6:6] is the sub-list for method input_type 6, // [6:6] is the sub-list for extension type_name 6, // [6:6] is the sub-list for extension extendee 0, // [0:6] is the sub-list for field type_name } func init() { file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_init() } func file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_init() { if File_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto != nil { return } if !protoimpl.UnsafeEnabled { file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*QP); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*QP_FilterClause); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*QP_Filter); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*QP_FilterParameters); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc, NumEnums: 3, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, GoTypes: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_goTypes, DependencyIndexes: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_depIdxs, EnumInfos: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_enumTypes, MessageInfos: file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_msgTypes, }.Build() File_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto = out.File file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_rawDesc = nil file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_goTypes = nil file_waQuickPromotionSurfaces_WAWebProtobufsQuickPromotionSurfaces_proto_depIdxs = nil }