// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/resources/campaign_draft.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/v2/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

// A campaign draft.
type CampaignDraft struct {
	// Immutable. The resource name of the campaign draft.
	// Campaign draft resource names have the form:
	//
	// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}`
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Output only. The ID of the draft.
	//
	// This field is read-only.
	DraftId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"`
	// Immutable. The base campaign to which the draft belongs.
	BaseCampaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=base_campaign,json=baseCampaign,proto3" json:"base_campaign,omitempty"`
	// The name of the campaign draft.
	//
	// This field is required and should not be empty when creating new
	// campaign drafts.
	//
	// 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"`
	// Output only. Resource name of the Campaign that results from overlaying the draft
	// changes onto the base campaign.
	//
	// This field is read-only.
	DraftCampaign *wrappers.StringValue `protobuf:"bytes,5,opt,name=draft_campaign,json=draftCampaign,proto3" json:"draft_campaign,omitempty"`
	// Output only. The status of the campaign draft. This field is read-only.
	//
	// When a new campaign draft is added, the status defaults to PROPOSED.
	Status enums.CampaignDraftStatusEnum_CampaignDraftStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v2.enums.CampaignDraftStatusEnum_CampaignDraftStatus" json:"status,omitempty"`
	// Output only. Whether there is an experiment based on this draft currently serving.
	HasExperimentRunning *wrappers.BoolValue `protobuf:"bytes,7,opt,name=has_experiment_running,json=hasExperimentRunning,proto3" json:"has_experiment_running,omitempty"`
	// Output only. The resource name of the long-running operation that can be used to poll
	// for completion of draft promotion. This is only set if the draft promotion
	// is in progress or finished.
	LongRunningOperation *wrappers.StringValue `protobuf:"bytes,8,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

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

var xxx_messageInfo_CampaignDraft proto.InternalMessageInfo

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

func (m *CampaignDraft) GetDraftId() *wrappers.Int64Value {
	if m != nil {
		return m.DraftId
	}
	return nil
}

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

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

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

func (m *CampaignDraft) GetStatus() enums.CampaignDraftStatusEnum_CampaignDraftStatus {
	if m != nil {
		return m.Status
	}
	return enums.CampaignDraftStatusEnum_UNSPECIFIED
}

func (m *CampaignDraft) GetHasExperimentRunning() *wrappers.BoolValue {
	if m != nil {
		return m.HasExperimentRunning
	}
	return nil
}

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

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

func init() {
	proto.RegisterFile("google/ads/googleads/v2/resources/campaign_draft.proto", fileDescriptor_75e3b9d8638a5c8e)
}

var fileDescriptor_75e3b9d8638a5c8e = []byte{
	// 587 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0x41, 0x6f, 0xd3, 0x3e,
	0x18, 0xc6, 0x95, 0x76, 0xeb, 0xf6, 0xf7, 0x7f, 0xdd, 0x21, 0x42, 0x53, 0x18, 0x13, 0xac, 0xa0,
	0xa1, 0x72, 0x71, 0x50, 0x98, 0x26, 0x91, 0x9d, 0x52, 0x98, 0xa6, 0xed, 0x00, 0x53, 0x2a, 0x8a,
	0x84, 0x2a, 0x22, 0xb7, 0x71, 0xdd, 0x48, 0x89, 0x1d, 0xd9, 0x49, 0x41, 0x42, 0xfb, 0x32, 0x1c,
	0x91, 0xf8, 0x22, 0x7c, 0x8a, 0x9d, 0xf7, 0x11, 0xb8, 0x80, 0x62, 0xc7, 0x5e, 0xcb, 0x18, 0xed,
	0xed, 0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