| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v2/enums/campaign_experiment_traffic_split_type.proto |
| |
| package enums |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // Enum of strategies for splitting traffic between base and experiment |
| // campaigns in campaign experiment. |
| type CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType int32 |
| |
| const ( |
| // Not specified. |
| CampaignExperimentTrafficSplitTypeEnum_UNSPECIFIED CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 0 |
| // Used for return value only. Represents value unknown in this version. |
| CampaignExperimentTrafficSplitTypeEnum_UNKNOWN CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 1 |
| // Traffic is randomly assigned to the base or experiment arm for each |
| // query, independent of previous assignments for the same user. |
| CampaignExperimentTrafficSplitTypeEnum_RANDOM_QUERY CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 2 |
| // Traffic is split using cookies to keep users in the same arm (base or |
| // experiment) of the experiment. |
| CampaignExperimentTrafficSplitTypeEnum_COOKIE CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType = 3 |
| ) |
| |
| var CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "RANDOM_QUERY", |
| 3: "COOKIE", |
| } |
| |
| var CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "RANDOM_QUERY": 2, |
| "COOKIE": 3, |
| } |
| |
| func (x CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType) String() string { |
| return proto.EnumName(CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_name, int32(x)) |
| } |
| |
| func (CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_b4d6dfa929344a7d, []int{0, 0} |
| } |
| |
| // Container for enum describing campaign experiment traffic split type. |
| type CampaignExperimentTrafficSplitTypeEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CampaignExperimentTrafficSplitTypeEnum) Reset() { |
| *m = CampaignExperimentTrafficSplitTypeEnum{} |
| } |
| func (m *CampaignExperimentTrafficSplitTypeEnum) String() string { return proto.CompactTextString(m) } |
| func (*CampaignExperimentTrafficSplitTypeEnum) ProtoMessage() {} |
| func (*CampaignExperimentTrafficSplitTypeEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b4d6dfa929344a7d, []int{0} |
| } |
| |
| func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Unmarshal(m, b) |
| } |
| func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Marshal(b, m, deterministic) |
| } |
| func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Merge(m, src) |
| } |
| func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_Size() int { |
| return xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.Size(m) |
| } |
| func (m *CampaignExperimentTrafficSplitTypeEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CampaignExperimentTrafficSplitTypeEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v2.enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType", CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_name, CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType_value) |
| proto.RegisterType((*CampaignExperimentTrafficSplitTypeEnum)(nil), "google.ads.googleads.v2.enums.CampaignExperimentTrafficSplitTypeEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v2/enums/campaign_experiment_traffic_split_type.proto", fileDescriptor_b4d6dfa929344a7d) |
| } |
| |
| var fileDescriptor_b4d6dfa929344a7d = []byte{ |
| // 341 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x51, 0xcd, 0x6a, 0xe3, 0x30, |
| 0x18, 0x5c, 0x3b, 0x90, 0x05, 0x65, 0x61, 0x8d, 0x8f, 0xcb, 0xe6, 0x90, 0x1c, 0xda, 0x9b, 0x0c, |
| 0xee, 0x4d, 0x3d, 0x39, 0x89, 0x1b, 0xd2, 0x50, 0x3b, 0xcd, 0x5f, 0x69, 0x31, 0xb8, 0x6a, 0xac, |
| 0x08, 0x41, 0x2c, 0x09, 0x4b, 0x09, 0xcd, 0x2b, 0xf4, 0x31, 0x7a, 0xec, 0xa3, 0xf4, 0x51, 0xfa, |
| 0x0c, 0x3d, 0x14, 0x5b, 0x89, 0x6f, 0x6d, 0x2e, 0x62, 0xd0, 0x8c, 0x66, 0xbe, 0xf9, 0x04, 0xae, |
| 0xa9, 0x10, 0x74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