25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

121 satır
5.9 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/errors/policy_finding_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 policy finding errors.
  18. type PolicyFindingErrorEnum_PolicyFindingError int32
  19. const (
  20. // Enum unspecified.
  21. PolicyFindingErrorEnum_UNSPECIFIED PolicyFindingErrorEnum_PolicyFindingError = 0
  22. // The received error code is not known in this version.
  23. PolicyFindingErrorEnum_UNKNOWN PolicyFindingErrorEnum_PolicyFindingError = 1
  24. // The resource has been disapproved since the policy summary includes
  25. // policy topics of type PROHIBITED.
  26. PolicyFindingErrorEnum_POLICY_FINDING PolicyFindingErrorEnum_PolicyFindingError = 2
  27. // The given policy topic does not exist.
  28. PolicyFindingErrorEnum_POLICY_TOPIC_NOT_FOUND PolicyFindingErrorEnum_PolicyFindingError = 3
  29. )
  30. var PolicyFindingErrorEnum_PolicyFindingError_name = map[int32]string{
  31. 0: "UNSPECIFIED",
  32. 1: "UNKNOWN",
  33. 2: "POLICY_FINDING",
  34. 3: "POLICY_TOPIC_NOT_FOUND",
  35. }
  36. var PolicyFindingErrorEnum_PolicyFindingError_value = map[string]int32{
  37. "UNSPECIFIED": 0,
  38. "UNKNOWN": 1,
  39. "POLICY_FINDING": 2,
  40. "POLICY_TOPIC_NOT_FOUND": 3,
  41. }
  42. func (x PolicyFindingErrorEnum_PolicyFindingError) String() string {
  43. return proto.EnumName(PolicyFindingErrorEnum_PolicyFindingError_name, int32(x))
  44. }
  45. func (PolicyFindingErrorEnum_PolicyFindingError) EnumDescriptor() ([]byte, []int) {
  46. return fileDescriptor_policy_finding_error_deba93eb8f17a5fc, []int{0, 0}
  47. }
  48. // Container for enum describing possible policy finding errors.
  49. type PolicyFindingErrorEnum struct {
  50. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  51. XXX_unrecognized []byte `json:"-"`
  52. XXX_sizecache int32 `json:"-"`
  53. }
  54. func (m *PolicyFindingErrorEnum) Reset() { *m = PolicyFindingErrorEnum{} }
  55. func (m *PolicyFindingErrorEnum) String() string { return proto.CompactTextString(m) }
  56. func (*PolicyFindingErrorEnum) ProtoMessage() {}
  57. func (*PolicyFindingErrorEnum) Descriptor() ([]byte, []int) {
  58. return fileDescriptor_policy_finding_error_deba93eb8f17a5fc, []int{0}
  59. }
  60. func (m *PolicyFindingErrorEnum) XXX_Unmarshal(b []byte) error {
  61. return xxx_messageInfo_PolicyFindingErrorEnum.Unmarshal(m, b)
  62. }
  63. func (m *PolicyFindingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  64. return xxx_messageInfo_PolicyFindingErrorEnum.Marshal(b, m, deterministic)
  65. }
  66. func (dst *PolicyFindingErrorEnum) XXX_Merge(src proto.Message) {
  67. xxx_messageInfo_PolicyFindingErrorEnum.Merge(dst, src)
  68. }
  69. func (m *PolicyFindingErrorEnum) XXX_Size() int {
  70. return xxx_messageInfo_PolicyFindingErrorEnum.Size(m)
  71. }
  72. func (m *PolicyFindingErrorEnum) XXX_DiscardUnknown() {
  73. xxx_messageInfo_PolicyFindingErrorEnum.DiscardUnknown(m)
  74. }
  75. var xxx_messageInfo_PolicyFindingErrorEnum proto.InternalMessageInfo
  76. func init() {
  77. proto.RegisterType((*PolicyFindingErrorEnum)(nil), "google.ads.googleads.v1.errors.PolicyFindingErrorEnum")
  78. proto.RegisterEnum("google.ads.googleads.v1.errors.PolicyFindingErrorEnum_PolicyFindingError", PolicyFindingErrorEnum_PolicyFindingError_name, PolicyFindingErrorEnum_PolicyFindingError_value)
  79. }
  80. func init() {
  81. proto.RegisterFile("google/ads/googleads/v1/errors/policy_finding_error.proto", fileDescriptor_policy_finding_error_deba93eb8f17a5fc)
  82. }
  83. var fileDescriptor_policy_finding_error_deba93eb8f17a5fc = []byte{
  84. // 323 bytes of a gzipped FileDescriptorProto
  85. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xc3, 0x30,
  86. 0x1c, 0xc6, 0x5d, 0x07, 0x0a, 0x19, 0x68, 0xc9, 0x61, 0xc2, 0x90, 0x1d, 0xfa, 0x00, 0x29, 0xc5,
  87. 0x93, 0xf1, 0xd4, 0xad, 0xed, 0x08, 0x4a, 0x1a, 0x70, 0x9b, 0x28, 0x85, 0xd2, 0x2d, 0x33, 0x04,
  88. 0xb6, 0xa4, 0x34, 0x73, 0x20, 0xf8, 0x34, 0x1e, 0x7d, 0x14, 0x1f, 0xc5, 0xa3, 0x4f, 0x20, 0x6d,
  89. 0xb6, 0x5e, 0x86, 0x9e, 0xfa, 0xf1, 0xef, 0xef, 0xfb, 0xf2, 0xfd, 0xff, 0xe0, 0x46, 0x68, 0x2d,
  90. 0xd6, 0x2b, 0xbf, 0xe0, 0xc6, 0xb7, 0xb2, 0x56, 0xbb, 0xc0, 0x5f, 0x55, 0x95, 0xae, 0x8c, 0x5f,
  91. 0xea, 0xb5, 0x5c, 0xbe, 0xe5, 0x2f, 0x52, 0x71, 0xa9, 0x44, 0xde, 0x4c, 0x51, 0x59, 0xe9, 0xad,
  92. 0x86, 0x43, 0xcb, 0xa3, 0x82, 0x1b, 0xd4, 0x5a, 0xd1, 0x2e, 0x40, 0xd6, 0x3a, 0x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