|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: google/ads/googleads/v1/errors/request_error.proto
-
- package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v1/errors"
-
- import proto "github.com/golang/protobuf/proto"
- import fmt "fmt"
- import math "math"
- import _ "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.ProtoPackageIsVersion2 // please upgrade the proto package
-
- // Enum describing possible request errors.
- type RequestErrorEnum_RequestError int32
-
- const (
- // Enum unspecified.
- RequestErrorEnum_UNSPECIFIED RequestErrorEnum_RequestError = 0
- // The received error code is not known in this version.
- RequestErrorEnum_UNKNOWN RequestErrorEnum_RequestError = 1
- // Resource name is required for this request.
- RequestErrorEnum_RESOURCE_NAME_MISSING RequestErrorEnum_RequestError = 3
- // Resource name provided is malformed.
- RequestErrorEnum_RESOURCE_NAME_MALFORMED RequestErrorEnum_RequestError = 4
- // Resource name provided is malformed.
- RequestErrorEnum_BAD_RESOURCE_ID RequestErrorEnum_RequestError = 17
- // Customer ID is invalid.
- RequestErrorEnum_INVALID_CUSTOMER_ID RequestErrorEnum_RequestError = 16
- // Mutate operation should have either create, update, or remove specified.
- RequestErrorEnum_OPERATION_REQUIRED RequestErrorEnum_RequestError = 5
- // Requested resource not found.
- RequestErrorEnum_RESOURCE_NOT_FOUND RequestErrorEnum_RequestError = 6
- // Next page token specified in user request is invalid.
- RequestErrorEnum_INVALID_PAGE_TOKEN RequestErrorEnum_RequestError = 7
- // Next page token specified in user request has expired.
- RequestErrorEnum_EXPIRED_PAGE_TOKEN RequestErrorEnum_RequestError = 8
- // Page size specified in user request is invalid.
- RequestErrorEnum_INVALID_PAGE_SIZE RequestErrorEnum_RequestError = 22
- // Required field is missing.
- RequestErrorEnum_REQUIRED_FIELD_MISSING RequestErrorEnum_RequestError = 9
- // The field cannot be modified because it's immutable. It's also possible
- // that the field can be modified using 'create' operation but not 'update'.
- RequestErrorEnum_IMMUTABLE_FIELD RequestErrorEnum_RequestError = 11
- // Received too many entries in request.
- RequestErrorEnum_TOO_MANY_MUTATE_OPERATIONS RequestErrorEnum_RequestError = 13
- // Request cannot be executed by a manager account.
- RequestErrorEnum_CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT RequestErrorEnum_RequestError = 14
- // Mutate request was attempting to modify a readonly field.
- // For instance, Budget fields can be requested for Ad Group,
- // but are read-only for adGroups:mutate.
- RequestErrorEnum_CANNOT_MODIFY_FOREIGN_FIELD RequestErrorEnum_RequestError = 15
- // Enum value is not permitted.
- RequestErrorEnum_INVALID_ENUM_VALUE RequestErrorEnum_RequestError = 18
- // The developer-token parameter is required for all requests.
- RequestErrorEnum_DEVELOPER_TOKEN_PARAMETER_MISSING RequestErrorEnum_RequestError = 19
- // The login-customer-id parameter is required for this request.
- RequestErrorEnum_LOGIN_CUSTOMER_ID_PARAMETER_MISSING RequestErrorEnum_RequestError = 20
- // page_token is set in the validate only request
- RequestErrorEnum_VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN RequestErrorEnum_RequestError = 21
- )
-
- var RequestErrorEnum_RequestError_name = map[int32]string{
- 0: "UNSPECIFIED",
- 1: "UNKNOWN",
- 3: "RESOURCE_NAME_MISSING",
- 4: "RESOURCE_NAME_MALFORMED",
- 17: "BAD_RESOURCE_ID",
- 16: "INVALID_CUSTOMER_ID",
- 5: "OPERATION_REQUIRED",
- 6: "RESOURCE_NOT_FOUND",
- 7: "INVALID_PAGE_TOKEN",
- 8: "EXPIRED_PAGE_TOKEN",
- 22: "INVALID_PAGE_SIZE",
- 9: "REQUIRED_FIELD_MISSING",
- 11: "IMMUTABLE_FIELD",
- 13: "TOO_MANY_MUTATE_OPERATIONS",
- 14: "CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT",
- 15: "CANNOT_MODIFY_FOREIGN_FIELD",
- 18: "INVALID_ENUM_VALUE",
- 19: "DEVELOPER_TOKEN_PARAMETER_MISSING",
- 20: "LOGIN_CUSTOMER_ID_PARAMETER_MISSING",
- 21: "VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN",
- }
- var RequestErrorEnum_RequestError_value = map[string]int32{
- "UNSPECIFIED": 0,
- "UNKNOWN": 1,
- "RESOURCE_NAME_MISSING": 3,
- "RESOURCE_NAME_MALFORMED": 4,
- "BAD_RESOURCE_ID": 17,
- "INVALID_CUSTOMER_ID": 16,
- "OPERATION_REQUIRED": 5,
- "RESOURCE_NOT_FOUND": 6,
- "INVALID_PAGE_TOKEN": 7,
- "EXPIRED_PAGE_TOKEN": 8,
- "INVALID_PAGE_SIZE": 22,
- "REQUIRED_FIELD_MISSING": 9,
- "IMMUTABLE_FIELD": 11,
- "TOO_MANY_MUTATE_OPERATIONS": 13,
- "CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT": 14,
- "CANNOT_MODIFY_FOREIGN_FIELD": 15,
- "INVALID_ENUM_VALUE": 18,
- "DEVELOPER_TOKEN_PARAMETER_MISSING": 19,
- "LOGIN_CUSTOMER_ID_PARAMETER_MISSING": 20,
- "VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN": 21,
- }
-
- func (x RequestErrorEnum_RequestError) String() string {
- return proto.EnumName(RequestErrorEnum_RequestError_name, int32(x))
- }
- func (RequestErrorEnum_RequestError) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_request_error_d72aa52633b6a814, []int{0, 0}
- }
-
- // Container for enum describing possible request errors.
- type RequestErrorEnum struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
-
- func (m *RequestErrorEnum) Reset() { *m = RequestErrorEnum{} }
- func (m *RequestErrorEnum) String() string { return proto.CompactTextString(m) }
- func (*RequestErrorEnum) ProtoMessage() {}
- func (*RequestErrorEnum) Descriptor() ([]byte, []int) {
- return fileDescriptor_request_error_d72aa52633b6a814, []int{0}
- }
- func (m *RequestErrorEnum) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RequestErrorEnum.Unmarshal(m, b)
- }
- func (m *RequestErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RequestErrorEnum.Marshal(b, m, deterministic)
- }
- func (dst *RequestErrorEnum) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RequestErrorEnum.Merge(dst, src)
- }
- func (m *RequestErrorEnum) XXX_Size() int {
- return xxx_messageInfo_RequestErrorEnum.Size(m)
- }
- func (m *RequestErrorEnum) XXX_DiscardUnknown() {
- xxx_messageInfo_RequestErrorEnum.DiscardUnknown(m)
- }
-
- var xxx_messageInfo_RequestErrorEnum proto.InternalMessageInfo
-
- func init() {
- proto.RegisterType((*RequestErrorEnum)(nil), "google.ads.googleads.v1.errors.RequestErrorEnum")
- proto.RegisterEnum("google.ads.googleads.v1.errors.RequestErrorEnum_RequestError", RequestErrorEnum_RequestError_name, RequestErrorEnum_RequestError_value)
- }
-
- func init() {
- proto.RegisterFile("google/ads/googleads/v1/errors/request_error.proto", fileDescriptor_request_error_d72aa52633b6a814)
- }
-
- var fileDescriptor_request_error_d72aa52633b6a814 = []byte{
- // 573 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xdd, 0x6e, 0xd3, 0x30,
- 0x14, 0x66, 0x3f, 0x6c, 0xe0, 0x01, 0xf3, 0x3c, 0xb6, 0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