File: adx_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 (119 lines) | stat: -rw-r--r-- 4,896 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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/adx_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 adx errors.
type AdxErrorEnum_AdxError int32

const (
	// Enum unspecified.
	AdxErrorEnum_UNSPECIFIED AdxErrorEnum_AdxError = 0
	// The received error code is not known in this version.
	AdxErrorEnum_UNKNOWN AdxErrorEnum_AdxError = 1
	// Attempt to use non-AdX feature by AdX customer.
	AdxErrorEnum_UNSUPPORTED_FEATURE AdxErrorEnum_AdxError = 2
)

var AdxErrorEnum_AdxError_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	2: "UNSUPPORTED_FEATURE",
}

var AdxErrorEnum_AdxError_value = map[string]int32{
	"UNSPECIFIED":         0,
	"UNKNOWN":             1,
	"UNSUPPORTED_FEATURE": 2,
}

func (x AdxErrorEnum_AdxError) String() string {
	return proto.EnumName(AdxErrorEnum_AdxError_name, int32(x))
}

func (AdxErrorEnum_AdxError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_8c9a39d67b90bc57, []int{0, 0}
}

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

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

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

var xxx_messageInfo_AdxErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v3.errors.AdxErrorEnum_AdxError", AdxErrorEnum_AdxError_name, AdxErrorEnum_AdxError_value)
	proto.RegisterType((*AdxErrorEnum)(nil), "google.ads.googleads.v3.errors.AdxErrorEnum")
}

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

var fileDescriptor_8c9a39d67b90bc57 = []byte{
	// 291 bytes of a gzipped FileDescri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