You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

202 lines
10 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/errors/request_error.proto
  3. package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v1/errors"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // Enum describing possible request errors.
  18. type RequestErrorEnum_RequestError int32
  19. const (
  20. // Enum unspecified.
  21. RequestErrorEnum_UNSPECIFIED RequestErrorEnum_RequestError = 0
  22. // The received error code is not known in this version.
  23. RequestErrorEnum_UNKNOWN RequestErrorEnum_RequestError = 1
  24. // Resource name is required for this request.
  25. RequestErrorEnum_RESOURCE_NAME_MISSING RequestErrorEnum_RequestError = 3
  26. // Resource name provided is malformed.
  27. RequestErrorEnum_RESOURCE_NAME_MALFORMED RequestErrorEnum_RequestError = 4
  28. // Resource name provided is malformed.
  29. RequestErrorEnum_BAD_RESOURCE_ID RequestErrorEnum_RequestError = 17
  30. // Customer ID is invalid.
  31. RequestErrorEnum_INVALID_CUSTOMER_ID RequestErrorEnum_RequestError = 16
  32. // Mutate operation should have either create, update, or remove specified.
  33. RequestErrorEnum_OPERATION_REQUIRED RequestErrorEnum_RequestError = 5
  34. // Requested resource not found.
  35. RequestErrorEnum_RESOURCE_NOT_FOUND RequestErrorEnum_RequestError = 6
  36. // Next page token specified in user request is invalid.
  37. RequestErrorEnum_INVALID_PAGE_TOKEN RequestErrorEnum_RequestError = 7
  38. // Next page token specified in user request has expired.
  39. RequestErrorEnum_EXPIRED_PAGE_TOKEN RequestErrorEnum_RequestError = 8
  40. // Page size specified in user request is invalid.
  41. RequestErrorEnum_INVALID_PAGE_SIZE RequestErrorEnum_RequestError = 22
  42. // Required field is missing.
  43. RequestErrorEnum_REQUIRED_FIELD_MISSING RequestErrorEnum_RequestError = 9
  44. // The field cannot be modified because it's immutable. It's also possible
  45. // that the field can be modified using 'create' operation but not 'update'.
  46. RequestErrorEnum_IMMUTABLE_FIELD RequestErrorEnum_RequestError = 11
  47. // Received too many entries in request.
  48. RequestErrorEnum_TOO_MANY_MUTATE_OPERATIONS RequestErrorEnum_RequestError = 13
  49. // Request cannot be executed by a manager account.
  50. RequestErrorEnum_CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT RequestErrorEnum_RequestError = 14
  51. // Mutate request was attempting to modify a readonly field.
  52. // For instance, Budget fields can be requested for Ad Group,
  53. // but are read-only for adGroups:mutate.
  54. RequestErrorEnum_CANNOT_MODIFY_FOREIGN_FIELD RequestErrorEnum_RequestError = 15
  55. // Enum value is not permitted.
  56. RequestErrorEnum_INVALID_ENUM_VALUE RequestErrorEnum_RequestError = 18
  57. // The developer-token parameter is required for all requests.
  58. RequestErrorEnum_DEVELOPER_TOKEN_PARAMETER_MISSING RequestErrorEnum_RequestError = 19
  59. // The login-customer-id parameter is required for this request.
  60. RequestErrorEnum_LOGIN_CUSTOMER_ID_PARAMETER_MISSING RequestErrorEnum_RequestError = 20
  61. // page_token is set in the validate only request
  62. RequestErrorEnum_VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN RequestErrorEnum_RequestError = 21
  63. )
  64. var RequestErrorEnum_RequestError_name = map[int32]string{
  65. 0: "UNSPECIFIED",
  66. 1: "UNKNOWN",
  67. 3: "RESOURCE_NAME_MISSING",
  68. 4: "RESOURCE_NAME_MALFORMED",
  69. 17: "BAD_RESOURCE_ID",
  70. 16: "INVALID_CUSTOMER_ID",
  71. 5: "OPERATION_REQUIRED",
  72. 6: "RESOURCE_NOT_FOUND",
  73. 7: "INVALID_PAGE_TOKEN",
  74. 8: "EXPIRED_PAGE_TOKEN",
  75. 22: "INVALID_PAGE_SIZE",
  76. 9: "REQUIRED_FIELD_MISSING",
  77. 11: "IMMUTABLE_FIELD",
  78. 13: "TOO_MANY_MUTATE_OPERATIONS",
  79. 14: "CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT",
  80. 15: "CANNOT_MODIFY_FOREIGN_FIELD",
  81. 18: "INVALID_ENUM_VALUE",
  82. 19: "DEVELOPER_TOKEN_PARAMETER_MISSING",
  83. 20: "LOGIN_CUSTOMER_ID_PARAMETER_MISSING",
  84. 21: "VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN",
  85. }
  86. var RequestErrorEnum_RequestError_value = map[string]int32{
  87. "UNSPECIFIED": 0,
  88. "UNKNOWN": 1,
  89. "RESOURCE_NAME_MISSING": 3,
  90. "RESOURCE_NAME_MALFORMED": 4,
  91. "BAD_RESOURCE_ID": 17,
  92. "INVALID_CUSTOMER_ID": 16,
  93. "OPERATION_REQUIRED": 5,
  94. "RESOURCE_NOT_FOUND": 6,
  95. "INVALID_PAGE_TOKEN": 7,
  96. "EXPIRED_PAGE_TOKEN": 8,
  97. "INVALID_PAGE_SIZE": 22,
  98. "REQUIRED_FIELD_MISSING": 9,
  99. "IMMUTABLE_FIELD": 11,
  100. "TOO_MANY_MUTATE_OPERATIONS": 13,
  101. "CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT": 14,
  102. "CANNOT_MODIFY_FOREIGN_FIELD": 15,
  103. "INVALID_ENUM_VALUE": 18,
  104. "DEVELOPER_TOKEN_PARAMETER_MISSING": 19,
  105. "LOGIN_CUSTOMER_ID_PARAMETER_MISSING": 20,
  106. "VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN": 21,
  107. }
  108. func (x RequestErrorEnum_RequestError) String() string {
  109. return proto.EnumName(RequestErrorEnum_RequestError_name, int32(x))
  110. }
  111. func (RequestErrorEnum_RequestError) EnumDescriptor() ([]byte, []int) {
  112. return fileDescriptor_request_error_d72aa52633b6a814, []int{0, 0}
  113. }
  114. // Container for enum describing possible request errors.
  115. type RequestErrorEnum struct {
  116. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  117. XXX_unrecognized []byte `json:"-"`
  118. XXX_sizecache int32 `json:"-"`
  119. }
  120. func (m *RequestErrorEnum) Reset() { *m = RequestErrorEnum{} }
  121. func (m *RequestErrorEnum) String() string { return proto.CompactTextString(m) }
  122. func (*RequestErrorEnum) ProtoMessage() {}
  123. func (*RequestErrorEnum) Descriptor() ([]byte, []int) {
  124. return fileDescriptor_request_error_d72aa52633b6a814, []int{0}
  125. }
  126. func (m *RequestErrorEnum) XXX_Unmarshal(b []byte) error {
  127. return xxx_messageInfo_RequestErrorEnum.Unmarshal(m, b)
  128. }
  129. func (m *RequestErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  130. return xxx_messageInfo_RequestErrorEnum.Marshal(b, m, deterministic)
  131. }
  132. func (dst *RequestErrorEnum) XXX_Merge(src proto.Message) {
  133. xxx_messageInfo_RequestErrorEnum.Merge(dst, src)
  134. }
  135. func (m *RequestErrorEnum) XXX_Size() int {
  136. return xxx_messageInfo_RequestErrorEnum.Size(m)
  137. }
  138. func (m *RequestErrorEnum) XXX_DiscardUnknown() {
  139. xxx_messageInfo_RequestErrorEnum.DiscardUnknown(m)
  140. }
  141. var xxx_messageInfo_RequestErrorEnum proto.InternalMessageInfo
  142. func init() {
  143. proto.RegisterType((*RequestErrorEnum)(nil), "google.ads.googleads.v1.errors.RequestErrorEnum")
  144. proto.RegisterEnum("google.ads.googleads.v1.errors.RequestErrorEnum_RequestError", RequestErrorEnum_RequestError_name, RequestErrorEnum_RequestError_value)
  145. }
  146. func init() {
  147. proto.RegisterFile("google/ads/googleads/v1/errors/request_error.proto", fileDescriptor_request_error_d72aa52633b6a814)
  148. }
  149. var fileDescriptor_request_error_d72aa52633b6a814 = []byte{
  150. // 573 bytes of a gzipped FileDescriptorProto
  151. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xdd, 0x6e, 0xd3, 0x30,
  152. 0x14, 0x66, 0x3f, 0x6c, 0xe0, 0x01, 0xf3, 0x3c, 0xb6, 0x89, 0x0d, 0x0d, 0x51, 0x98, 0x80, 0x9b,
  153. 0x54, 0x85, 0xbb, 0x70, 0xe5, 0xc6, 0xa7, 0xc1, 0x5a, 0x62, 0x07, 0x27, 0x29, 0xeb, 0x54, 0xc9,
  154. 0x2a, 0xb4, 0xaa, 0x26, 0x6d, 0xc9, 0x48, 0xba, 0x3d, 0x10, 0x97, 0x3c, 0x01, 0xcf, 0x80, 0xc4,
  155. 0x8b, 0x20, 0x1e, 0x02, 0x39, 0x6e, 0x43, 0x40, 0xc0, 0x55, 0x4e, 0xbe, 0xf3, 0x7d, 0xe7, 0x3b,
  156. 0xe7, 0xe8, 0x18, 0xbd, 0x9c, 0xe6, 0xf9, 0xf4, 0x7c, 0xd2, 0x1e, 0x8d, 0xcb, 0xb6, 0x0d, 0x4d,
  157. 0x74, 0xdd, 0x69, 0x4f, 0x8a, 0x22, 0x2f, 0xca, 0x76, 0x31, 0xf9, 0x78, 0x35, 0x29, 0x67, 0xba,
  158. 0xfa, 0x75, 0x2e, 0x8b, 0x7c, 0x96, 0x93, 0x43, 0x4b, 0x74, 0x46, 0xe3, 0xd2, 0xa9, 0x35, 0xce,
  159. 0x75, 0xc7, 0xb1, 0x9a, 0xfd, 0x87, 0x8b, 0x9a, 0x97, 0x67, 0xed, 0x51, 0x96, 0xe5, 0xb3, 0xd1,
  160. 0xec, 0x2c, 0xcf, 0x4a, 0xab, 0x6e, 0x7d, 0x5b, 0x45, 0x58, 0xd9, 0xaa, 0x60, 0xf8, 0x90, 0x5d,
  161. 0x5d, 0xb4, 0xbe, 0xac, 0xa2, 0x3b, 0x4d, 0x90, 0x6c, 0xa2, 0x8d, 0x54, 0xc4, 0x11, 0x78, 0xbc,
  162. 0xc7, 0x81, 0xe1, 0x1b, 0x64, 0x03, 0xad, 0xa7, 0xe2, 0x58, 0xc8, 0x77, 0x02, 0x2f, 0x91, 0x07,
  163. 0x68, 0x47, 0x41, 0x2c, 0x53, 0xe5, 0x81, 0x16, 0x34, 0x04, 0x1d, 0xf2, 0x38, 0xe6, 0xc2, 0xc7,
  164. 0x2b, 0xe4, 0x00, 0xed, 0xfd, 0x91, 0xa2, 0x41, 0x4f, 0xaa, 0x10, 0x18, 0x5e, 0x25, 0xdb, 0x68,
  165. 0xb3, 0x4b, 0x99, 0xae, 0x09, 0x9c, 0xe1, 0x2d, 0xb2, 0x87, 0xb6, 0xb9, 0xe8, 0xd3, 0x80, 0x33,
  166. 0xed, 0xa5, 0x71, 0x22, 0x43, 0x50, 0x26, 0x81, 0xc9, 0x2e, 0x22, 0x32, 0x02, 0x45, 0x13, 0x2e,
  167. 0x85, 0x56, 0xf0, 0x36, 0xe5, 0x0a, 0x18, 0xbe, 0x69, 0xf0, 0x5f, 0x16, 0x32, 0xd1, 0x3d, 0x99,
  168. 0x0a, 0x86, 0xd7, 0x0c, 0xbe, 0x28, 0x14, 0x51, 0x1f, 0x74, 0x22, 0x8f, 0x41, 0xe0, 0x75, 0x83,
  169. 0xc3, 0x49, 0x64, 0xc4, 0x4d, 0xfc, 0x16, 0xd9, 0x41, 0x5b, 0xbf, 0xf1, 0x63, 0x7e, 0x0a, 0x78,
  170. 0x97, 0xec, 0xa3, 0xdd, 0x85, 0x99, 0xee, 0x71, 0x08, 0x58, 0x3d, 0xdd, 0x6d, 0x33, 0x00, 0x0f,
  171. 0xc3, 0x34, 0xa1, 0xdd, 0x00, 0x6c, 0x12, 0x6f, 0x90, 0x43, 0xb4, 0x9f, 0x48, 0xa9, 0x43, 0x2a,
  172. 0x06, 0xda, 0xe4, 0x12, 0xd0, 0x75, 0xdf, 0x31, 0xbe, 0x4b, 0x5e, 0xa0, 0x23, 0x8f, 0x0a, 0xd3,
  173. 0x69, 0x17, 0x34, 0x9c, 0x80, 0x97, 0x26, 0xc0, 0x74, 0x77, 0x60, 0x14, 0xd4, 0x07, 0xa5, 0xa9,
  174. 0xe7, 0xc9, 0x54, 0x24, 0xf8, 0x1e, 0x79, 0x84, 0x0e, 0xe6, 0xd4, 0x50, 0x32, 0xde, 0x1b, 0xe8,
  175. 0x9e, 0x54, 0xc0, 0x7d, 0x31, 0xf7, 0xda, 0x6c, 0xce, 0x08, 0x22, 0x0d, 0x75, 0x9f, 0x06, 0x29,
  176. 0x60, 0x42, 0x8e, 0xd0, 0x63, 0x06, 0x7d, 0x08, 0x8c, 0xb1, 0x1d, 0x50, 0x47, 0x54, 0xd1, 0x10,
  177. 0x12, 0x50, 0x75, 0xff, 0xdb, 0xe4, 0x19, 0x7a, 0x12, 0x48, 0x9f, 0x8b, 0xe6, 0xa6, 0xff, 0x42,
  178. 0xbc, 0x4f, 0x9e, 0xa3, 0xa7, 0x95, 0x4b, 0x35, 0x8c, 0x08, 0x06, 0xd5, 0xfe, 0x21, 0x4e, 0xf4,
  179. 0x1b, 0x1a, 0x37, 0xb7, 0xb8, 0xd3, 0xfd, 0xb1, 0x84, 0x5a, 0x1f, 0xf2, 0x0b, 0xe7, 0xff, 0x47,
  180. 0xd9, 0xdd, 0x6a, 0x9e, 0x57, 0x64, 0x2e, 0x31, 0x5a, 0x3a, 0x65, 0x73, 0xd1, 0x34, 0x3f, 0x1f,
  181. 0x65, 0x53, 0x27, 0x2f, 0xa6, 0xed, 0xe9, 0x24, 0xab, 0xee, 0x74, 0xf1, 0x1a, 0x2e, 0xcf, 0xca,
  182. 0x7f, 0x3d, 0x8e, 0xd7, 0xf6, 0xf3, 0x69, 0x79, 0xc5, 0xa7, 0xf4, 0xf3, 0xf2, 0xa1, 0x6f, 0x8b,
  183. 0xd1, 0x71, 0xe9, 0xd8, 0xd0, 0x44, 0xfd, 0x8e, 0x53, 0x59, 0x96, 0x5f, 0x17, 0x84, 0x21, 0x1d,
  184. 0x97, 0xc3, 0x9a, 0x30, 0xec, 0x77, 0x86, 0x96, 0xf0, 0x7d, 0xb9, 0x65, 0x51, 0xd7, 0xa5, 0xe3,
  185. 0xd2, 0x75, 0x6b, 0x8a, 0xeb, 0xf6, 0x3b, 0xae, 0x6b, 0x49, 0xef, 0xd7, 0xaa, 0xee, 0x5e, 0xfd,
  186. 0x0c, 0x00, 0x00, 0xff, 0xff, 0x4d, 0x0c, 0x84, 0xce, 0xb9, 0x03, 0x00, 0x00,
  187. }