File: custom_interest_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 (153 lines) | stat: -rw-r--r-- 8,102 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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/errors/custom_interest_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 custom interest errors.
type CustomInterestErrorEnum_CustomInterestError int32

const (
	// Enum unspecified.
	CustomInterestErrorEnum_UNSPECIFIED CustomInterestErrorEnum_CustomInterestError = 0
	// The received error code is not known in this version.
	CustomInterestErrorEnum_UNKNOWN CustomInterestErrorEnum_CustomInterestError = 1
	// Duplicate custom interest name ignoring case.
	CustomInterestErrorEnum_NAME_ALREADY_USED CustomInterestErrorEnum_CustomInterestError = 2
	// In the remove custom interest member operation, both member ID and
	// pair [type, parameter] are not present.
	CustomInterestErrorEnum_CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE CustomInterestErrorEnum_CustomInterestError = 3
	// The pair of [type, parameter] does not exist.
	CustomInterestErrorEnum_TYPE_AND_PARAMETER_NOT_FOUND CustomInterestErrorEnum_CustomInterestError = 4
	// The pair of [type, parameter] already exists.
	CustomInterestErrorEnum_TYPE_AND_PARAMETER_ALREADY_EXISTED CustomInterestErrorEnum_CustomInterestError = 5
	// Unsupported custom interest member type.
	CustomInterestErrorEnum_INVALID_CUSTOM_INTEREST_MEMBER_TYPE CustomInterestErrorEnum_CustomInterestError = 6
	// Cannot remove a custom interest while it's still being targeted.
	CustomInterestErrorEnum_CANNOT_REMOVE_WHILE_IN_USE CustomInterestErrorEnum_CustomInterestError = 7
	// Cannot mutate custom interest type.
	CustomInterestErrorEnum_CANNOT_CHANGE_TYPE CustomInterestErrorEnum_CustomInterestError = 8
)

var CustomInterestErrorEnum_CustomInterestError_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "UNKNOWN",
	2: "NAME_ALREADY_USED",
	3: "CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE",
	4: "TYPE_AND_PARAMETER_NOT_FOUND",
	5: "TYPE_AND_PARAMETER_ALREADY_EXISTED",
	6: "INVALID_CUSTOM_INTEREST_MEMBER_TYPE",
	7: "CANNOT_REMOVE_WHILE_IN_USE",
	8: "CANNOT_CHANGE_TYPE",
}

var CustomInterestErrorEnum_CustomInterestError_value = map[string]int32{
	"UNSPECIFIED":       0,
	"UNKNOWN":           1,
	"NAME_ALREADY_USED": 2,
	"CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE": 3,
	"TYPE_AND_PARAMETER_NOT_FOUND":                                       4,
	"TYPE_AND_PARAMETER_ALREADY_EXISTED":                                 5,
	"INVALID_CUSTOM_INTEREST_MEMBER_TYPE":                                6,
	"CANNOT_REMOVE_WHILE_IN_USE":                                         7,
	"CANNOT_CHANGE_TYPE":                                                 8,
}

func (x CustomInterestErrorEnum_CustomInterestError) String() string {
	return proto.EnumName(CustomInterestErrorEnum_CustomInterestError_name, int32(x))
}

func (CustomInterestErrorEnum_CustomInterestError) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_a0cf933f9a939ad1, []int{0, 0}
}

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

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

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

var xxx_messageInfo_CustomInterestErrorEnum proto.InternalMessageInfo

func init() {
	proto.RegisterEnum("google.ads.googleads.v3.errors.CustomInterestErrorEnum_CustomInterestError", CustomInterestErrorEnum_CustomInterestError_name, CustomInterestErrorEnum_CustomInterestError_value)
	proto.RegisterType((*CustomInterestErrorEnum)(nil), "google.ads.googleads.v3.errors.CustomInterestErrorEnum")
}

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

var fileDescriptor_a0cf933f9a939ad1 = []byte{
	// 447 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0x4f, 0x6e, 0xd4, 0x30,
	0x18, 0xc5, 0x69, 0x0a, 0x2d, 0x72, 0x17, 0x04, 0x23, 0xfe, 0xa8, 0xaa, 0x46, 0x28, 0x48, 0xb0,
	0x4b, 0x16, 0xd9, 0x99, 0x95, 0x27, 0xfe, 0x66, 0x6a, 0x31, 0x71, 0xa2, 0xfc, 0x2b, 0x45, 0x23,
	0x59, 0xa1, 0x89, 0xa2, 0x91, 0x3a, 0xf1, 0x28, 0x4e, 0x7b, 0x20, 0x96, 0xdc, 0x81, 0x0b, 0x70,
	0x03, 0xae, 0xc0, 0x96, 0x0b, 0xa0, 0xc4, 0x33, 0x23, 0x21, 0x4d, 0x59, 0xe5, 0xc9, 0x7e, 0xbf,
	0xe7, 0xa7, 0x7c, 0x1f, 0x22, 0x8d, 0x52, 0xcd, 0x6d, 0xed, 0x95, 0x95, 0xf6, 0x8c, 0x1c, 0xd4,
	0xbd, 0xef, 0xd5, 0x5d, 0xa7, 0x3a, 0xed, 0xdd, 0xdc, 0xe9, 0x5e, 0xad, 0xe5, 0xaa, 0xed, 0xeb,
	0xae, 0xd6, 0xbd, 0x1c, 0x8f, 0xdd, 0x4d, 0xa7, 0x7a, 0x85, 0x27, 0x06, 0x70, 0xcb, 0x4a, 0xbb,
	0x7b, 0xd6, 0xbd, 0xf7, 0x5d, 0xc3, 0x9e, 0x5f, 0xec, 0xb2, 0x37, 0x2b, 0xaf, 0x6c, 0x5b, 0xd5,
	0x97, 0xfd, 0x4a, 0xb5, 0xda, 0xd0, 0xce, 0x2f, 0x0b, 0xbd, 0x0e, 0xc6, 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