File: media_bundle_error.pb.go

package info (click to toggle)
golang-google-genproto 0.0~git20200413.b5235f6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, bullseye-backports, experimental
  • size: 50,816 kB
  • sloc: sh: 49; makefile: 12
file content (225 lines) | stat: -rw-r--r-- 12,068 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/media_bundle_error.proto

package errors

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

// Enum describing possible media bundle errors.
type MediaBundleErrorEnum_MediaBundleError int32

const (
	// Enum unspecified.
	MediaBundleErrorEnum_UNSPECIFIED MediaBundleErrorEnum_MediaBundleError = 0
	// The received error code is not known in this version.
	MediaBundleErrorEnum_UNKNOWN MediaBundleErrorEnum_MediaBundleError = 1
	// There was a problem with the request.
	MediaBundleErrorEnum_BAD_REQUEST MediaBundleErrorEnum_MediaBundleError = 3
	// HTML5 ads using DoubleClick Studio created ZIP files are not supported.
	MediaBundleErrorEnum_DOUBLECLICK_BUNDLE_NOT_ALLOWED MediaBundleErrorEnum_MediaBundleError = 4
	// Cannot reference URL external to the media bundle.
	MediaBundleErrorEnum_EXTERNAL_URL_NOT_ALLOWED MediaBundleErrorEnum_MediaBundleError = 5
	// Media bundle file is too large.
	MediaBundleErrorEnum_FILE_TOO_LARGE MediaBundleErrorEnum_MediaBundleError = 6
	// ZIP file from Google Web Designer is not published.
	MediaBundleErrorEnum_GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED MediaBundleErrorEnum_MediaBundleError = 7
	// Input was invalid.
	MediaBundleErrorEnum_INVALID_INPUT MediaBundleErrorEnum_MediaBundleError = 8
	// There was a problem with the media bundle.
	MediaBundleErrorEnum_INVALID_MEDIA_BUNDLE MediaBundleErrorEnum_MediaBundleError = 9
	// There was a problem with one or more of the media bundle entries.
	MediaBundleErrorEnum_INVALID_MEDIA_BUNDLE_ENTRY MediaBundleErrorEnum_MediaBundleError = 10
	// The media bundle contains a file with an unknown mime type
	MediaBundleErrorEnum_INVALID_MIME_TYPE MediaBundleErrorEnum_MediaBundleError = 11
	// The media bundle contain an invalid asset path.
	MediaBundleErrorEnum_INVALID_PATH MediaBundleErrorEnum_MediaBundleError = 12
	// HTML5 ad is trying to reference an asset not in .ZIP file
	MediaBundleErrorEnum_INVALID_URL_REFERENCE MediaBundleErrorEnum_MediaBundleError = 13
	// Media data is too large.
	MediaBundleErrorEnum_MEDIA_DATA_TOO_LARGE MediaBundleErrorEnum_MediaBundleError = 14
	// The media bundle contains no primary entry.
	MediaBundleErrorEnum_MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY MediaBundleErrorEnum_MediaBundleError = 15
	// There was an error on the server.
	MediaBundleErrorEnum_SERVER_ERROR MediaBundleErrorEnum_MediaBundleError = 16
	// The image could not be stored.
	MediaBundleErrorEnum_STORAGE_ERROR MediaBundleErrorEnum_MediaBundleError = 17
	// Media bundle created with the Swiffy tool is not allowed.
	MediaBundleErrorEnum_SWIFFY_BUNDLE_NOT_ALLOWED MediaBundleErrorEnum_MediaBundleError = 18
	// The media bundle contains too many files.
	MediaBundleErrorEnum_TOO_MANY_FILES MediaBundleErrorEnum_MediaBundleError = 19
	// The media bundle is not of legal dimensions.
	MediaBundleErrorEnum_UNEXPECTED_SIZE MediaBundleErrorEnum_MediaBundleError = 20
	// Google Web Designer not created for "Google Ads" environment.
	MediaBundleErrorEnum_UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT MediaBundleErrorEnum_MediaBundleError = 21
	// Unsupported HTML5 feature in HTML5 asset.
	MediaBundleErrorEnum_UNSUPPORTED_HTML5_FEATURE MediaBundleErrorEnum_MediaBundleError = 22
	// URL in HTML5 entry is not ssl compliant.
	MediaBundleErrorEnum_URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT MediaBundleErrorEnum_MediaBundleError = 23
	// Custom exits not allowed in HTML5 entry.
	MediaBundleErrorEnum_CUSTOM_EXIT_NOT_ALLOWED MediaBundleErrorEnum_MediaBundleError = 24
)

var MediaBundleErrorEnum_MediaBundleError_name = map[int32]string{
	0:  "UNSPECIFIED",
	1:  "UNKNOWN",
	3:  "BAD_REQUEST",
	4:  "DOUBLECLICK_BUNDLE_NOT_ALLOWED",
	5:  "EXTERNAL_URL_NOT_ALLOWED",
	6:  "FILE_TOO_LARGE",
	7:  "GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED",
	8:  "INVALID_INPUT",
	9:  "INVALID_MEDIA_BUNDLE",
	10: "INVALID_MEDIA_BUNDLE_ENTRY",
	11: "INVALID_MIME_TYPE",
	12: "INVALID_PATH",
	13: "INVALID_URL_REFERENCE",
	14: "MEDIA_DATA_TOO_LARGE",
	15: "MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY",
	16: "SERVER_ERROR",
	17: "STORAGE_ERROR",
	18: "SWIFFY_BUNDLE_NOT_ALLOWED",
	19: "TOO_MANY_FILES",
	20: "UNEXPECTED_SIZE",
	21: "UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT",
	22: "UNSUPPORTED_HTML5_FEATURE",
	23: "URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT",
	24: "CUSTOM_EXIT_NOT_ALLOWED",
}

var MediaBundleErrorEnum_MediaBundleError_value = map[string]int32{
	"UNSPECIFIED":                    0,
	"UNKNOWN":                        1,
	"BAD_REQUEST":                    3,
	"DOUBLECLICK_BUNDLE_NOT_ALLOWED": 4,
	"EXTERNAL_URL_NOT_ALLOWED":       5,
	"FILE_TOO_LARGE":                 6,
	"GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED": 7,
	"INVALID_INPUT":                               8,
	"INVALID_MEDIA_BUNDLE":                        9,
	"INVALID_MEDIA_BUNDLE_ENTRY":                  10,
	"INVALID_MIME_TYPE":                           11,
	"INVALID_PATH":                                12,
	"INVALID_URL_REFERENCE":                       13,
	"MEDIA_DATA_TOO_LARGE":                        14,
	"MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY":          15,
	"SERVER_ERROR":                                16,
	"STORAGE_ERROR":                               17,
	"SWIFFY_BUNDLE_NOT_ALLOWED":                   18,
	"TOO_MANY_FILES":                              19,
	"UNEXPECTED_SIZE":                             20,
	"UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT": 21,
	"UNSUPPORTED_HTML5_FEATURE":                   22,
	"URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT":       23,
	"CUSTOM_EXIT_NOT_ALLOWED":                     24,
}

func (x MediaBundleErrorEnum_MediaBundleError) String() string {
	return proto.EnumName(MediaBundleErrorEnum_MediaBundleError_name, int32(x))
}

func (MediaBundleErrorEnum_MediaBundleError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_13a0331a34c9b73f, []int{0, 0}
}

// Container for enum describing possible media bundle errors.
type MediaBundleErrorEnum struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_MediaBundleErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v3.errors.MediaBundleErrorEnum_MediaBundleError", MediaBundleErrorEnum_MediaBundleError_name, MediaBundleErrorEnum_MediaBundleError_value)
	proto.RegisterType((*MediaBundleErrorEnum)(nil), "google.ads.googleads.v3.errors.MediaBundleErrorEnum")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v3/errors/media_bundle_error.proto", fileDescriptor_13a0331a34c9b73f)
}

var fileDescriptor_13a0331a34c9b73f = []byte{
	// 643 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00,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