// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/resources/campaign_experiment.proto

package resources

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	wrappers "github.com/golang/protobuf/ptypes/wrappers"
	enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums"
	_ "google.golang.org/genproto/googleapis/api/annotations"
)

// 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

// An A/B experiment that compares the performance of the base campaign
// (the control) and a variation of that campaign (the experiment).
type CampaignExperiment struct {
	// Immutable. The resource name of the campaign experiment.
	// Campaign experiment resource names have the form:
	//
	// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}`
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Output only. The ID of the campaign experiment.
	//
	// This field is read-only.
	Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Immutable. The campaign draft with staged changes to the base campaign.
	CampaignDraft *wrappers.StringValue `protobuf:"bytes,3,opt,name=campaign_draft,json=campaignDraft,proto3" json:"campaign_draft,omitempty"`
	// The name of the campaign experiment.
	//
	// This field is required when creating new campaign experiments
	// and must not conflict with the name of another non-removed
	// campaign experiment or campaign.
	//
	// It must not contain any null (code point 0x0), NL line feed
	// (code point 0xA) or carriage return (code point 0xD) characters.
	Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// The description of the experiment.
	Description *wrappers.StringValue `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Immutable. Share of traffic directed to experiment as a percent (must be between 1 and
	// 99 inclusive. Base campaign receives the remainder of the traffic
	// (100 - traffic_split_percent). Required for create.
	TrafficSplitPercent *wrappers.Int64Value `protobuf:"bytes,6,opt,name=traffic_split_percent,json=trafficSplitPercent,proto3" json:"traffic_split_percent,omitempty"`
	// Immutable. Determines the behavior of the traffic split.
	TrafficSplitType enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType `protobuf:"varint,7,opt,name=traffic_split_type,json=trafficSplitType,proto3,enum=google.ads.googleads.v3.enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType" json:"traffic_split_type,omitempty"`
	// Output only. The experiment campaign, as opposed to the base campaign.
	ExperimentCampaign *wrappers.StringValue `protobuf:"bytes,8,opt,name=experiment_campaign,json=experimentCampaign,proto3" json:"experiment_campaign,omitempty"`
	// Output only. The status of the campaign experiment. This field is read-only.
	Status enums.CampaignExperimentStatusEnum_CampaignExperimentStatus `protobuf:"varint,9,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.CampaignExperimentStatusEnum_CampaignExperimentStatus" json:"status,omitempty"`
	// Output only. The resource name of the long-running operation that can be used to poll
	// for completion of experiment create or promote. The most recent long
	// running operation is returned.
	LongRunningOperation *wrappers.StringValue `protobuf:"bytes,10,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"`
	// Date when the campaign experiment starts. By default, the experiment starts
	// now or on the campaign's start date, whichever is later. If this field is
	// set, then the experiment starts at the beginning of the specified date in
	// the customer's time zone. Cannot be changed once the experiment starts.
	//
	// Format: YYYY-MM-DD
	// Example: 2019-03-14
	StartDate *wrappers.StringValue `protobuf:"bytes,11,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	// Date when the campaign experiment ends. By default, the experiment ends on
	// the campaign's end date. If this field is set, then the experiment ends at
	// the end of the specified date in the customer's time zone.
	//
	// Format: YYYY-MM-DD
	// Example: 2019-04-18
	EndDate              *wrappers.StringValue `protobuf:"bytes,12,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *CampaignExperiment) Reset()         { *m = CampaignExperiment{} }
func (m *CampaignExperiment) String() string { return proto.CompactTextString(m) }
func (*CampaignExperiment) ProtoMessage()    {}
func (*CampaignExperiment) Descriptor() ([]byte, []int) {
	return fileDescriptor_241b735b09714cee, []int{0}
}

func (m *CampaignExperiment) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_CampaignExperiment.Unmarshal(m, b)
}
func (m *CampaignExperiment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_CampaignExperiment.Marshal(b, m, deterministic)
}
func (m *CampaignExperiment) XXX_Merge(src proto.Message) {
	xxx_messageInfo_CampaignExperiment.Merge(m, src)
}
func (m *CampaignExperiment) XXX_Size() int {
	return xxx_messageInfo_CampaignExperiment.Size(m)
}
func (m *CampaignExperiment) XXX_DiscardUnknown() {
	xxx_messageInfo_CampaignExperiment.DiscardUnknown(m)
}

var xxx_messageInfo_CampaignExperiment proto.InternalMessageInfo

func (m *CampaignExperiment) GetResourceName() string {
	if m != nil {
		return m.ResourceName
	}
	return ""
}

func (m *CampaignExperiment) GetId() *wrappers.Int64Value {
	if m != nil {
		return m.Id
	}
	return nil
}

func (m *CampaignExperiment) GetCampaignDraft() *wrappers.StringValue {
	if m != nil {
		return m.CampaignDraft
	}
	return nil
}

func (m *CampaignExperiment) GetName() *wrappers.StringValue {
	if m != nil {
		return m.Name
	}
	return nil
}

func (m *CampaignExperiment) GetDescription() *wrappers.StringValue {
	if m != nil {
		return m.Description
	}
	return nil
}

func (m *CampaignExperiment) GetTrafficSplitPercent() *wrappers.Int64Value {
	if m != nil {
		return m.TrafficSplitPercent
	}
	return nil
}

func (m *CampaignExperiment) GetTrafficSplitType() enums.CampaignExperimentTrafficSplitTypeEnum_CampaignExperimentTrafficSplitType {
	if m != nil {
		return m.TrafficSplitType
	}
	return enums.CampaignExperimentTrafficSplitTypeEnum_UNSPECIFIED
}

func (m *CampaignExperiment) GetExperimentCampaign() *wrappers.StringValue {
	if m != nil {
		return m.ExperimentCampaign
	}
	return nil
}

func (m *CampaignExperiment) GetStatus() enums.CampaignExperimentStatusEnum_CampaignExperimentStatus {
	if m != nil {
		return m.Status
	}
	return enums.CampaignExperimentStatusEnum_UNSPECIFIED
}

func (m *CampaignExperiment) GetLongRunningOperation() *wrappers.StringValue {
	if m != nil {
		return m.LongRunningOperation
	}
	return nil
}

func (m *CampaignExperiment) GetStartDate() *wrappers.StringValue {
	if m != nil {
		return m.StartDate
	}
	return nil
}

func (m *CampaignExperiment) GetEndDate() *wrappers.StringValue {
	if m != nil {
		return m.EndDate
	}
	return nil
}

func init() {
	proto.RegisterType((*CampaignExperiment)(nil), "google.ads.googleads.v3.resources.CampaignExperiment")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v3/resources/campaign_experiment.proto", fileDescriptor_241b735b09714cee)
}

var fileDescriptor_241b735b09714cee = []byte{
	// 697 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x95, 0xdd, 0x6e, 0xd3, 0x3c,
	0x18, 0xc7, 0xd5, 0x76, 0x5f, 0xf5, 0x3e, 0xf4, 0xca, 0x7b, 0xdf, 0x97, 0x30, 0x26, 0xd8, 0x40,
	0x43, 0x45, 0x08, 0x67, 0x5a, 0x11, 0x48, 0x99, 0x34, 0x29, 0x65, 0xd3, 0x04, 0x07, 0x30, 0x65,
	0x55, 0x41, 0xa8, 0x52, 0xe4, 0x25, 0x6e, 0x66, 0xa9, 0xb1, 0x8d, 0xed, 0x8c, 0x4d, 0x68, 0x67,
	0xdc, 0x05, 0x67, 0x9c, 0xc1, 0xa5, 0x70, 0x15, 0x3b, 0xde, 0x25, 0xec, 0x08, 0x25, 0x4e, 0xd2,
	0x42, 0x19, 0xed, 0xce, 0x9e, 0xe6, 0xf9, 0xff, 0x9e, 0x2f, 0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