| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/errors/mutate_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 mutate errors. |
| type MutateErrorEnum_MutateError int32 |
| |
| const ( |
| // Enum unspecified. |
| MutateErrorEnum_UNSPECIFIED MutateErrorEnum_MutateError = 0 |
| // The received error code is not known in this version. |
| MutateErrorEnum_UNKNOWN MutateErrorEnum_MutateError = 1 |
| // Requested resource was not found. |
| MutateErrorEnum_RESOURCE_NOT_FOUND MutateErrorEnum_MutateError = 3 |
| // Cannot mutate the same resource twice in one request. |
| MutateErrorEnum_ID_EXISTS_IN_MULTIPLE_MUTATES MutateErrorEnum_MutateError = 7 |
| // The field's contents don't match another field that represents the same |
| // data. |
| MutateErrorEnum_INCONSISTENT_FIELD_VALUES MutateErrorEnum_MutateError = 8 |
| // Mutates are not allowed for the requested resource. |
| MutateErrorEnum_MUTATE_NOT_ALLOWED MutateErrorEnum_MutateError = 9 |
| // The resource isn't in Google Ads. It belongs to another ads system. |
| MutateErrorEnum_RESOURCE_NOT_IN_GOOGLE_ADS MutateErrorEnum_MutateError = 10 |
| // The resource being created already exists. |
| MutateErrorEnum_RESOURCE_ALREADY_EXISTS MutateErrorEnum_MutateError = 11 |
| // This resource cannot be used with "validate_only". |
| MutateErrorEnum_RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY MutateErrorEnum_MutateError = 12 |
| // Attempt to write to read-only fields. |
| MutateErrorEnum_RESOURCE_READ_ONLY MutateErrorEnum_MutateError = 13 |
| ) |
| |
| var MutateErrorEnum_MutateError_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 3: "RESOURCE_NOT_FOUND", |
| 7: "ID_EXISTS_IN_MULTIPLE_MUTATES", |
| 8: "INCONSISTENT_FIELD_VALUES", |
| 9: "MUTATE_NOT_ALLOWED", |
| 10: "RESOURCE_NOT_IN_GOOGLE_ADS", |
| 11: "RESOURCE_ALREADY_EXISTS", |
| 12: "RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY", |
| 13: "RESOURCE_READ_ONLY", |
| } |
| |
| var MutateErrorEnum_MutateError_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "RESOURCE_NOT_FOUND": 3, |
| "ID_EXISTS_IN_MULTIPLE_MUTATES": 7, |
| "INCONSISTENT_FIELD_VALUES": 8, |
| "MUTATE_NOT_ALLOWED": 9, |
| "RESOURCE_NOT_IN_GOOGLE_ADS": 10, |
| "RESOURCE_ALREADY_EXISTS": 11, |
| "RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY": 12, |
| "RESOURCE_READ_ONLY": 13, |
| } |
| |
| func (x MutateErrorEnum_MutateError) String() string { |
| return proto.EnumName(MutateErrorEnum_MutateError_name, int32(x)) |
| } |
| |
| func (MutateErrorEnum_MutateError) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_29e86d4daa207c30, []int{0, 0} |
| } |
| |
| // Container for enum describing possible mutate errors. |
| type MutateErrorEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *MutateErrorEnum) Reset() { *m = MutateErrorEnum{} } |
| func (m *MutateErrorEnum) String() string { return proto.CompactTextString(m) } |
| func (*MutateErrorEnum) ProtoMessage() {} |
| func (*MutateErrorEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_29e86d4daa207c30, []int{0} |
| } |
| |
| func (m *MutateErrorEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_MutateErrorEnum.Unmarshal(m, b) |
| } |
| func (m *MutateErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_MutateErrorEnum.Marshal(b, m, deterministic) |
| } |
| func (m *MutateErrorEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_MutateErrorEnum.Merge(m, src) |
| } |
| func (m *MutateErrorEnum) XXX_Size() int { |
| return xxx_messageInfo_MutateErrorEnum.Size(m) |
| } |
| func (m *MutateErrorEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_MutateErrorEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_MutateErrorEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v3.errors.MutateErrorEnum_MutateError", MutateErrorEnum_MutateError_name, MutateErrorEnum_MutateError_value) |
| proto.RegisterType((*MutateErrorEnum)(nil), "google.ads.googleads.v3.errors.MutateErrorEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/errors/mutate_error.proto", fileDescriptor_29e86d4daa207c30) |
| } |
| |
| var fileDescriptor_29e86d4daa207c30 = []byte{ |
| // 433 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xc1, 0x6e, 0xd3, 0x30, |
| 0x18, 0xc7, 0x69, 0x26, 0x31, 0x70, 0x41, 0xb3, 0x7c, 0x00, 0x31, 0x58, 0x25, 0x7a, 0xe1, 0x80, |
| 0xe4, 0x08, 0xe5, 0x16, 0x4e, 0x5e, 0xed, 0x56, 0x16, 0xae, 0x1d, 0xd5, 0x49, 0xc7, 0x50, 0x25, |
| 0x2b, 0x90, 0x28, 0xaa, 0xb4, 0xc6, 0x55, 0x9c, 0xed, 0x75, 0x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