1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v3/resources/campaign_draft.proto
3
4package resources
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	wrappers "github.com/golang/protobuf/ptypes/wrappers"
12	enums "google.golang.org/genproto/googleapis/ads/googleads/v3/enums"
13	_ "google.golang.org/genproto/googleapis/api/annotations"
14)
15
16// Reference imports to suppress errors if they are not otherwise used.
17var _ = proto.Marshal
18var _ = fmt.Errorf
19var _ = math.Inf
20
21// This is a compile-time assertion to ensure that this generated file
22// is compatible with the proto package it is being compiled against.
23// A compilation error at this line likely means your copy of the
24// proto package needs to be updated.
25const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
26
27// A campaign draft.
28type CampaignDraft struct {
29	// Immutable. The resource name of the campaign draft.
30	// Campaign draft resource names have the form:
31	//
32	// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}`
33	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
34	// Output only. The ID of the draft.
35	//
36	// This field is read-only.
37	DraftId *wrappers.Int64Value `protobuf:"bytes,2,opt,name=draft_id,json=draftId,proto3" json:"draft_id,omitempty"`
38	// Immutable. The base campaign to which the draft belongs.
39	BaseCampaign *wrappers.StringValue `protobuf:"bytes,3,opt,name=base_campaign,json=baseCampaign,proto3" json:"base_campaign,omitempty"`
40	// The name of the campaign draft.
41	//
42	// This field is required and should not be empty when creating new
43	// campaign drafts.
44	//
45	// It must not contain any null (code point 0x0), NL line feed
46	// (code point 0xA) or carriage return (code point 0xD) characters.
47	Name *wrappers.StringValue `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
48	// Output only. Resource name of the Campaign that results from overlaying the draft
49	// changes onto the base campaign.
50	//
51	// This field is read-only.
52	DraftCampaign *wrappers.StringValue `protobuf:"bytes,5,opt,name=draft_campaign,json=draftCampaign,proto3" json:"draft_campaign,omitempty"`
53	// Output only. The status of the campaign draft. This field is read-only.
54	//
55	// When a new campaign draft is added, the status defaults to PROPOSED.
56	Status enums.CampaignDraftStatusEnum_CampaignDraftStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.ads.googleads.v3.enums.CampaignDraftStatusEnum_CampaignDraftStatus" json:"status,omitempty"`
57	// Output only. Whether there is an experiment based on this draft currently serving.
58	HasExperimentRunning *wrappers.BoolValue `protobuf:"bytes,7,opt,name=has_experiment_running,json=hasExperimentRunning,proto3" json:"has_experiment_running,omitempty"`
59	// Output only. The resource name of the long-running operation that can be used to poll
60	// for completion of draft promotion. This is only set if the draft promotion
61	// is in progress or finished.
62	LongRunningOperation *wrappers.StringValue `protobuf:"bytes,8,opt,name=long_running_operation,json=longRunningOperation,proto3" json:"long_running_operation,omitempty"`
63	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
64	XXX_unrecognized     []byte                `json:"-"`
65	XXX_sizecache        int32                 `json:"-"`
66}
67
68func (m *CampaignDraft) Reset()         { *m = CampaignDraft{} }
69func (m *CampaignDraft) String() string { return proto.CompactTextString(m) }
70func (*CampaignDraft) ProtoMessage()    {}
71func (*CampaignDraft) Descriptor() ([]byte, []int) {
72	return fileDescriptor_8ba592967968d7ea, []int{0}
73}
74
75func (m *CampaignDraft) XXX_Unmarshal(b []byte) error {
76	return xxx_messageInfo_CampaignDraft.Unmarshal(m, b)
77}
78func (m *CampaignDraft) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
79	return xxx_messageInfo_CampaignDraft.Marshal(b, m, deterministic)
80}
81func (m *CampaignDraft) XXX_Merge(src proto.Message) {
82	xxx_messageInfo_CampaignDraft.Merge(m, src)
83}
84func (m *CampaignDraft) XXX_Size() int {
85	return xxx_messageInfo_CampaignDraft.Size(m)
86}
87func (m *CampaignDraft) XXX_DiscardUnknown() {
88	xxx_messageInfo_CampaignDraft.DiscardUnknown(m)
89}
90
91var xxx_messageInfo_CampaignDraft proto.InternalMessageInfo
92
93func (m *CampaignDraft) GetResourceName() string {
94	if m != nil {
95		return m.ResourceName
96	}
97	return ""
98}
99
100func (m *CampaignDraft) GetDraftId() *wrappers.Int64Value {
101	if m != nil {
102		return m.DraftId
103	}
104	return nil
105}
106
107func (m *CampaignDraft) GetBaseCampaign() *wrappers.StringValue {
108	if m != nil {
109		return m.BaseCampaign
110	}
111	return nil
112}
113
114func (m *CampaignDraft) GetName() *wrappers.StringValue {
115	if m != nil {
116		return m.Name
117	}
118	return nil
119}
120
121func (m *CampaignDraft) GetDraftCampaign() *wrappers.StringValue {
122	if m != nil {
123		return m.DraftCampaign
124	}
125	return nil
126}
127
128func (m *CampaignDraft) GetStatus() enums.CampaignDraftStatusEnum_CampaignDraftStatus {
129	if m != nil {
130		return m.Status
131	}
132	return enums.CampaignDraftStatusEnum_UNSPECIFIED
133}
134
135func (m *CampaignDraft) GetHasExperimentRunning() *wrappers.BoolValue {
136	if m != nil {
137		return m.HasExperimentRunning
138	}
139	return nil
140}
141
142func (m *CampaignDraft) GetLongRunningOperation() *wrappers.StringValue {
143	if m != nil {
144		return m.LongRunningOperation
145	}
146	return nil
147}
148
149func init() {
150	proto.RegisterType((*CampaignDraft)(nil), "google.ads.googleads.v3.resources.CampaignDraft")
151}
152
153func init() {
154	proto.RegisterFile("google/ads/googleads/v3/resources/campaign_draft.proto", fileDescriptor_8ba592967968d7ea)
155}
156
157var fileDescriptor_8ba592967968d7ea = []byte{
158	// 586 bytes of a gzipped FileDescriptorProto
159	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xc1, 0x6e, 0xd3, 0x30,
160	0x18, 0xc7, 0x95, 0x76, 0xeb, 0x86, 0x59, 0x77, 0x88, 0xd0, 0x14, 0xc6, 0x04, 0x1b, 0x68, 0xa8,
161	0x5c, 0x1c, 0xb4, 0x4c, 0x93, 0xc8, 0x4e, 0x29, 0x4c, 0xd3, 0x76, 0x80, 0x29, 0x15, 0x45, 0x42,
162	0x15, 0x91,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x63, 0xe9, 0xcc, 0x23, 0x7c, 0x30, 0x41,
185	0xe2, 0xc4, 0xb8, 0x43, 0x65, 0xb6, 0x3f, 0x80, 0xad, 0x94, 0x51, 0xa2, 0x61, 0x11, 0xcb, 0x31,
186	0x97, 0x4b, 0xe9, 0xac, 0x2f, 0x71, 0x6f, 0x0a, 0x5c, 0x01, 0x6a, 0xde, 0x3b, 0x6d, 0xf7, 0xd1,
187	0x75, 0xf0, 0x69, 0xd9, 0x05, 0xb5, 0x0f, 0x47, 0xa5, 0x28, 0x58, 0x86, 0xb9, 0x70, 0xbf, 0xea,
188	0xf2, 0xd2, 0xbc, 0xa5, 0x52, 0x53, 0x75, 0xe6, 0xde, 0xda, 0xcb, 0xee, 0x6f, 0x0b, 0xec, 0x8f,
189	0x58, 0x06, 0x17, 0x7e, 0x0e, 0xba, 0xf6, 0xdc, 0x71, 0x17, 0xd5, 0x28, 0x17, 0xd6, 0xc7, 0xf3,
190	0xda, 0x48, 0x58, 0x8a, 0x28, 0x81, 0x8c, 0x13, 0x97, 0x60, 0x2a, 0x07, 0x75, 0x6f, 0xe2, 0xfe,
191	0xe7, 0xf3, 0x74, 0x6c, 0xaa, 0x6f, 0x8d, 0xe6, 0x69, 0x10, 0x7c, 0x6f, 0xec, 0x9d, 0x2a, 0x64,
192	0x10, 0x0b, 0xa8, 0xca, 0xaa, 0xea, 0x7b, 0x30, 0xd4, 0xca, 0x9f, 0x5a, 0x33, 0x08, 0x62, 0x31,
193	0x30, 0x9a, 0x41, 0xdf, 0x1b, 0x18, 0xcd, 0x75, 0x63, 0x5f, 0x35, 0x7c, 0x3f, 0x88, 0x85, 0xef,
194	0x1b, 0x95, 0xef, 0xf7, 0x3d, 0xdf, 0x37, 0xba, 0x61, 0x4b, 0x86, 0xf5, 0xfe, 0x04, 0x00, 0x00,
195	0xff, 0xff, 0x5f, 0x12, 0x23, 0xdc, 0x4a, 0x05, 0x00, 0x00,
196}
197