File: campaign_draft_status.pb.go

package info (click to toggle)
golang-google-genproto 0.0~git20200413.b5235f6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, bookworm-proposed-updates, experimental, sid
  • size: 50,812 kB
  • sloc: sh: 49; makefile: 12
file content (144 lines) | stat: -rw-r--r-- 6,821 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/enums/campaign_draft_status.proto

package enums

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	_ "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

// Possible statuses of a campaign draft.
type CampaignDraftStatusEnum_CampaignDraftStatus int32

const (
	// The status has not been specified.
	CampaignDraftStatusEnum_UNSPECIFIED CampaignDraftStatusEnum_CampaignDraftStatus = 0
	// Used for return value only. Represents value unknown in this version.
	CampaignDraftStatusEnum_UNKNOWN CampaignDraftStatusEnum_CampaignDraftStatus = 1
	// Initial state of the draft, the advertiser can start adding changes with
	// no effect on serving.
	CampaignDraftStatusEnum_PROPOSED CampaignDraftStatusEnum_CampaignDraftStatus = 2
	// The campaign draft is removed.
	CampaignDraftStatusEnum_REMOVED CampaignDraftStatusEnum_CampaignDraftStatus = 3
	// Advertiser requested to promote draft's changes back into the original
	// campaign. Advertiser can poll the long running operation returned by
	// the promote action to see the status of the promotion.
	CampaignDraftStatusEnum_PROMOTING CampaignDraftStatusEnum_CampaignDraftStatus = 5
	// The process to merge changes in the draft back to the original campaign
	// has completed successfully.
	CampaignDraftStatusEnum_PROMOTED CampaignDraftStatusEnum_CampaignDraftStatus = 4
	// The promotion failed after it was partially applied. Promote cannot be
	// attempted again safely, so the issue must be corrected in the original
	// campaign.
	CampaignDraftStatusEnum_PROMOTE_FAILED CampaignDraftStatusEnum_CampaignDraftStatus = 6
)

var CampaignDraftStatusEnum_CampaignDraftStatus_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	2: "PROPOSED",
	3: "REMOVED",
	5: "PROMOTING",
	4: "PROMOTED",
	6: "PROMOTE_FAILED",
}

var CampaignDraftStatusEnum_CampaignDraftStatus_value = map[string]int32{
	"UNSPECIFIED":    0,
	"UNKNOWN":        1,
	"PROPOSED":       2,
	"REMOVED":        3,
	"PROMOTING":      5,
	"PROMOTED":       4,
	"PROMOTE_FAILED": 6,
}

func (x CampaignDraftStatusEnum_CampaignDraftStatus) String() string {
	return proto.EnumName(CampaignDraftStatusEnum_CampaignDraftStatus_name, int32(x))
}

func (CampaignDraftStatusEnum_CampaignDraftStatus) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_f8357dd718fa33ed, []int{0, 0}
}

// Container for enum describing possible statuses of a campaign draft.
type CampaignDraftStatusEnum struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_CampaignDraftStatusEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v2.enums.CampaignDraftStatusEnum_CampaignDraftStatus", CampaignDraftStatusEnum_CampaignDraftStatus_name, CampaignDraftStatusEnum_CampaignDraftStatus_value)
	proto.RegisterType((*CampaignDraftStatusEnum)(nil), "google.ads.googleads.v2.enums.CampaignDraftStatusEnum")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v2/enums/campaign_draft_status.proto", fileDescriptor_f8357dd718fa33ed)
}

var fileDescriptor_f8357dd718fa33ed = []byte{
	// 345 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0x4d, 0x4e, 0x83, 0x40,
	0x18, 0x15, 0xaa, 0x55, 0xa7, 0xfe, 0x10, 0x5c, 0x68, 0x8c, 0x5d, 0xb4, 0x07, 0x18, 0x12, 0x5c,
	0x39, 0xae, 0x68, 0x99, 0x36, 0x44, 0xcb, 0x90, 0xfe, 0x60, 0x62, 0x48, 0x9a, 0xb1, 0xd4, 0x09,
	0x49, 0x99, 0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