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.
 
 
 

130 lines
5.7 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v0/enums/access_reason.proto
  3. package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v0/enums"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. // Reference imports to suppress errors if they are not otherwise used.
  8. var _ = proto.Marshal
  9. var _ = fmt.Errorf
  10. var _ = math.Inf
  11. // This is a compile-time assertion to ensure that this generated file
  12. // is compatible with the proto package it is being compiled against.
  13. // A compilation error at this line likely means your copy of the
  14. // proto package needs to be updated.
  15. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  16. // Enum describing possible access reasons.
  17. type AccessReasonEnum_AccessReason int32
  18. const (
  19. // Not specified.
  20. AccessReasonEnum_UNSPECIFIED AccessReasonEnum_AccessReason = 0
  21. // Used for return value only. Represents value unknown in this version.
  22. AccessReasonEnum_UNKNOWN AccessReasonEnum_AccessReason = 1
  23. // The entity is owned by the user.
  24. AccessReasonEnum_OWNED AccessReasonEnum_AccessReason = 2
  25. // The entity is shared to the user.
  26. AccessReasonEnum_SHARED AccessReasonEnum_AccessReason = 3
  27. // The entity is licensed to the user.
  28. AccessReasonEnum_LICENSED AccessReasonEnum_AccessReason = 4
  29. // The user subscribed to the entity.
  30. AccessReasonEnum_SUBSCRIBED AccessReasonEnum_AccessReason = 5
  31. // The entity is accessible to the user.
  32. AccessReasonEnum_AFFILIATED AccessReasonEnum_AccessReason = 6
  33. )
  34. var AccessReasonEnum_AccessReason_name = map[int32]string{
  35. 0: "UNSPECIFIED",
  36. 1: "UNKNOWN",
  37. 2: "OWNED",
  38. 3: "SHARED",
  39. 4: "LICENSED",
  40. 5: "SUBSCRIBED",
  41. 6: "AFFILIATED",
  42. }
  43. var AccessReasonEnum_AccessReason_value = map[string]int32{
  44. "UNSPECIFIED": 0,
  45. "UNKNOWN": 1,
  46. "OWNED": 2,
  47. "SHARED": 3,
  48. "LICENSED": 4,
  49. "SUBSCRIBED": 5,
  50. "AFFILIATED": 6,
  51. }
  52. func (x AccessReasonEnum_AccessReason) String() string {
  53. return proto.EnumName(AccessReasonEnum_AccessReason_name, int32(x))
  54. }
  55. func (AccessReasonEnum_AccessReason) EnumDescriptor() ([]byte, []int) {
  56. return fileDescriptor_access_reason_ac0995e8099ed8d2, []int{0, 0}
  57. }
  58. // Indicates the way the entity such as user list is related to a user.
  59. type AccessReasonEnum struct {
  60. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  61. XXX_unrecognized []byte `json:"-"`
  62. XXX_sizecache int32 `json:"-"`
  63. }
  64. func (m *AccessReasonEnum) Reset() { *m = AccessReasonEnum{} }
  65. func (m *AccessReasonEnum) String() string { return proto.CompactTextString(m) }
  66. func (*AccessReasonEnum) ProtoMessage() {}
  67. func (*AccessReasonEnum) Descriptor() ([]byte, []int) {
  68. return fileDescriptor_access_reason_ac0995e8099ed8d2, []int{0}
  69. }
  70. func (m *AccessReasonEnum) XXX_Unmarshal(b []byte) error {
  71. return xxx_messageInfo_AccessReasonEnum.Unmarshal(m, b)
  72. }
  73. func (m *AccessReasonEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  74. return xxx_messageInfo_AccessReasonEnum.Marshal(b, m, deterministic)
  75. }
  76. func (dst *AccessReasonEnum) XXX_Merge(src proto.Message) {
  77. xxx_messageInfo_AccessReasonEnum.Merge(dst, src)
  78. }
  79. func (m *AccessReasonEnum) XXX_Size() int {
  80. return xxx_messageInfo_AccessReasonEnum.Size(m)
  81. }
  82. func (m *AccessReasonEnum) XXX_DiscardUnknown() {
  83. xxx_messageInfo_AccessReasonEnum.DiscardUnknown(m)
  84. }
  85. var xxx_messageInfo_AccessReasonEnum proto.InternalMessageInfo
  86. func init() {
  87. proto.RegisterType((*AccessReasonEnum)(nil), "google.ads.googleads.v0.enums.AccessReasonEnum")
  88. proto.RegisterEnum("google.ads.googleads.v0.enums.AccessReasonEnum_AccessReason", AccessReasonEnum_AccessReason_name, AccessReasonEnum_AccessReason_value)
  89. }
  90. func init() {
  91. proto.RegisterFile("google/ads/googleads/v0/enums/access_reason.proto", fileDescriptor_access_reason_ac0995e8099ed8d2)
  92. }
  93. var fileDescriptor_access_reason_ac0995e8099ed8d2 = []byte{
  94. // 317 bytes of a gzipped FileDescriptorProto
  95. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x50, 0xd1, 0x4e, 0xc2, 0x30,
  96. 0x14, 0x75, 0x43, 0x50, 0x2f, 0x44, 0x6b, 0xdf, 0x79, 0x80, 0x0f, 0xe8, 0x66, 0x7c, 0xab, 0x4f,
  97. 0x1d, 0x2b, 0xd8, 0x48, 0x0a, 0x61, 0x02, 0x89, 0x59, 0x62, 0x26, 0x5b, 0x1a, 0x13, 0x58, 0x91,
  98. 0x0a, 0x7f, 0xe0, 0x8f, 0xf8, 0xe8, 0xa7, 0xf8, 0x21, 0x3e, 0xf8, 0x15, 0x66, 0x9d, 0x2c, 0xbc,
  99. 0xe8, 0x4b, 0x73, 0x7a, 0xcf, 0x39, 0x37, 0xe7, 0x1e, 0xb8, 0x52, 0x5a, 0xab, 0x65, 0xe6, 0x25,
  100. 0xa9, 0xf1, 0x4a, 0x58, 0xa0, 0x9d, 0xef, 0x65, 0xf9, 0x76, 0x65, 0xbc, 0x64, 0xb1, 0xc8, 0x8c,
  101. 0x79, 0xdc, 0x64, 0x89, 0xd1, 0x39, 0x59, 0x6f, 0xf4, 0xab, 0xc6, 0xed, 0x52, 0x47, 0x92, 0xd4,
  102. 0x90, 0xca, 0x42, 0x76, 0x3e, 0xb1, 0x96, 0xee, 0x9b, 0x03, 0x88, 0x59, 0xdb, 0xc4, 0xba, 0x78,
  103. 0xbe, 0x5d, 0x75, 0x5f, 0xa0, 0x75, 0x38, 0xc3, 0x17, 0xd0, 0x9c, 0xca, 0x68, 0xcc, 0x7b, 0xa2,
  104. 0x2f, 0x78, 0x88, 0x8e, 0x70, 0x13, 0x4e, 0xa6, 0xf2, 0x4e, 0x8e, 0xe6, 0x12, 0x39, 0xf8, 0x0c,
  105. 0xea, 0xa3, 0xb9, 0xe4, 0x21, 0x72, 0x31, 0x40, 0x23, 0xba, 0x65, 0x13, 0x1e, 0xa2, 0x1a, 0x6e,
  106. 0xc1, 0xe9, 0x50, 0xf4, 0xb8, 0x8c, 0x78, 0x88, 0x8e, 0xf1, 0x39, 0x40, 0x34, 0x0d, 0xa2, 0xde,
  107. 0x44, 0x04, 0x3c, 0x44, 0xf5, 0xe2, 0xcf, 0xfa, 0x7d, 0x31, 0x14, 0xec, 0x9e, 0x87, 0xa8, 0x11,
  108. 0x7c, 0x39, 0xd0, 0x59, 0xe8, 0x15, 0xf9, 0x37, 0x6d, 0x70, 0x79, 0x18, 0x6b, 0x5c, 0xdc, 0x37,
  109. 0x76, 0x1e, 0x82, 0x5f, 0x8f, 0xd2, 0xcb, 0x24, 0x57, 0x44, 0x6f, 0x94, 0xa7, 0xb2, 0xdc, 0x5e,
  110. 0xbf, 0x2f, 0x69, 0xfd, 0x6c, 0xfe, 0xe8, 0xec, 0xc6, 0xbe, 0xef, 0x6e, 0x6d, 0xc0, 0xd8, 0x87,
  111. 0xdb, 0x1e, 0x94, 0xab, 0x58, 0x6a, 0x48, 0x09, 0x0b, 0x34, 0xf3, 0x49, 0x51, 0x8b, 0xf9, 0xdc,
  112. 0xf3, 0x31, 0x4b, 0x4d, 0x5c, 0xf1, 0xf1, 0xcc, 0x8f, 0x2d, 0xff, 0xed, 0x76, 0xca, 0x21, 0xa5,
  113. 0x2c, 0x35, 0x94, 0x56, 0x0a, 0x4a, 0x67, 0x3e, 0xa5, 0x56, 0xf3, 0xd4, 0xb0, 0xc1, 0xae, 0x7f,
  114. 0x02, 0x00, 0x00, 0xff, 0xff, 0xa5, 0x80, 0xc9, 0x7f, 0xcb, 0x01, 0x00, 0x00,
  115. }