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.
 
 
 

179 lines
8.4 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/enums/google_ads_field_data_type.proto
  3. package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
  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. // These are the various types a GoogleAdsService artifact may take on.
  18. type GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType int32
  19. const (
  20. // Unspecified
  21. GoogleAdsFieldDataTypeEnum_UNSPECIFIED GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 0
  22. // Unknown
  23. GoogleAdsFieldDataTypeEnum_UNKNOWN GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 1
  24. // Maps to google.protobuf.BoolValue
  25. //
  26. // Applicable operators: =, !=
  27. GoogleAdsFieldDataTypeEnum_BOOLEAN GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 2
  28. // Maps to google.protobuf.StringValue. It can be compared using the set of
  29. // operators specific to dates however.
  30. //
  31. // Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN
  32. GoogleAdsFieldDataTypeEnum_DATE GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 3
  33. // Maps to google.protobuf.DoubleValue
  34. //
  35. // Applicable operators: =, !=, <, >, IN, NOT IN
  36. GoogleAdsFieldDataTypeEnum_DOUBLE GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 4
  37. // Maps to an enum. It's specific definition can be found at type_url.
  38. //
  39. // Applicable operators: =, !=, IN, NOT IN
  40. GoogleAdsFieldDataTypeEnum_ENUM GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 5
  41. // Maps to google.protobuf.FloatValue
  42. //
  43. // Applicable operators: =, !=, <, >, IN, NOT IN
  44. GoogleAdsFieldDataTypeEnum_FLOAT GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 6
  45. // Maps to google.protobuf.Int32Value
  46. //
  47. // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
  48. GoogleAdsFieldDataTypeEnum_INT32 GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 7
  49. // Maps to google.protobuf.Int64Value
  50. //
  51. // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN
  52. GoogleAdsFieldDataTypeEnum_INT64 GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 8
  53. // Maps to a protocol buffer message type. The data type's details can be
  54. // found in type_url.
  55. //
  56. // No operators work with MESSAGE fields.
  57. GoogleAdsFieldDataTypeEnum_MESSAGE GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 9
  58. // Maps to google.protobuf.StringValue. Represents the resource name
  59. // (unique id) of a resource or one of its foreign keys.
  60. //
  61. // No operators work with RESOURCE_NAME fields.
  62. GoogleAdsFieldDataTypeEnum_RESOURCE_NAME GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 10
  63. // Maps to google.protobuf.StringValue.
  64. //
  65. // Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN
  66. GoogleAdsFieldDataTypeEnum_STRING GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType = 11
  67. )
  68. var GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_name = map[int32]string{
  69. 0: "UNSPECIFIED",
  70. 1: "UNKNOWN",
  71. 2: "BOOLEAN",
  72. 3: "DATE",
  73. 4: "DOUBLE",
  74. 5: "ENUM",
  75. 6: "FLOAT",
  76. 7: "INT32",
  77. 8: "INT64",
  78. 9: "MESSAGE",
  79. 10: "RESOURCE_NAME",
  80. 11: "STRING",
  81. }
  82. var GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_value = map[string]int32{
  83. "UNSPECIFIED": 0,
  84. "UNKNOWN": 1,
  85. "BOOLEAN": 2,
  86. "DATE": 3,
  87. "DOUBLE": 4,
  88. "ENUM": 5,
  89. "FLOAT": 6,
  90. "INT32": 7,
  91. "INT64": 8,
  92. "MESSAGE": 9,
  93. "RESOURCE_NAME": 10,
  94. "STRING": 11,
  95. }
  96. func (x GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType) String() string {
  97. return proto.EnumName(GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_name, int32(x))
  98. }
  99. func (GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType) EnumDescriptor() ([]byte, []int) {
  100. return fileDescriptor_google_ads_field_data_type_a3cc46400eb9f983, []int{0, 0}
  101. }
  102. // Container holding the various data types.
  103. type GoogleAdsFieldDataTypeEnum struct {
  104. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  105. XXX_unrecognized []byte `json:"-"`
  106. XXX_sizecache int32 `json:"-"`
  107. }
  108. func (m *GoogleAdsFieldDataTypeEnum) Reset() { *m = GoogleAdsFieldDataTypeEnum{} }
  109. func (m *GoogleAdsFieldDataTypeEnum) String() string { return proto.CompactTextString(m) }
  110. func (*GoogleAdsFieldDataTypeEnum) ProtoMessage() {}
  111. func (*GoogleAdsFieldDataTypeEnum) Descriptor() ([]byte, []int) {
  112. return fileDescriptor_google_ads_field_data_type_a3cc46400eb9f983, []int{0}
  113. }
  114. func (m *GoogleAdsFieldDataTypeEnum) XXX_Unmarshal(b []byte) error {
  115. return xxx_messageInfo_GoogleAdsFieldDataTypeEnum.Unmarshal(m, b)
  116. }
  117. func (m *GoogleAdsFieldDataTypeEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  118. return xxx_messageInfo_GoogleAdsFieldDataTypeEnum.Marshal(b, m, deterministic)
  119. }
  120. func (dst *GoogleAdsFieldDataTypeEnum) XXX_Merge(src proto.Message) {
  121. xxx_messageInfo_GoogleAdsFieldDataTypeEnum.Merge(dst, src)
  122. }
  123. func (m *GoogleAdsFieldDataTypeEnum) XXX_Size() int {
  124. return xxx_messageInfo_GoogleAdsFieldDataTypeEnum.Size(m)
  125. }
  126. func (m *GoogleAdsFieldDataTypeEnum) XXX_DiscardUnknown() {
  127. xxx_messageInfo_GoogleAdsFieldDataTypeEnum.DiscardUnknown(m)
  128. }
  129. var xxx_messageInfo_GoogleAdsFieldDataTypeEnum proto.InternalMessageInfo
  130. func init() {
  131. proto.RegisterType((*GoogleAdsFieldDataTypeEnum)(nil), "google.ads.googleads.v1.enums.GoogleAdsFieldDataTypeEnum")
  132. proto.RegisterEnum("google.ads.googleads.v1.enums.GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType", GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_name, GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType_value)
  133. }
  134. func init() {
  135. proto.RegisterFile("google/ads/googleads/v1/enums/google_ads_field_data_type.proto", fileDescriptor_google_ads_field_data_type_a3cc46400eb9f983)
  136. }
  137. var fileDescriptor_google_ads_field_data_type_a3cc46400eb9f983 = []byte{
  138. // 392 bytes of a gzipped FileDescriptorProto
  139. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0xcf, 0x8e, 0x93, 0x40,
  140. 0x18, 0x17, 0x76, 0xb7, 0xbb, 0x3b, 0x8d, 0x71, 0xe4, 0xe0, 0x61, 0x75, 0x0f, 0xbb, 0x0f, 0x30,
  141. 0x04, 0x6b, 0x3c, 0x8c, 0x89, 0xc9, 0x50, 0xa6, 0x84, 0xd8, 0x0e, 0x4d, 0x81, 0x9a, 0x18, 0x12,
  142. 0x32, 0x3a, 0x48, 0x48, 0x5a, 0x86, 0x74, 0x68, 0x93, 0xbe, 0x8e, 0x47, 0x4f, 0x3e, 0x87, 0x17,
  143. 0xdf, 0xc3, 0x93, 0x8f, 0x60, 0x06, 0x0a, 0xa7, 0xea, 0x85, 0xfc, 0xf8, 0x7e, 0x7f, 0x3e, 0xf8,
  144. 0x7d, 0xe0, 0x7d, 0x21, 0x65, 0xb1, 0xc9, 0x6d, 0x2e, 0x94, 0xdd, 0x41, 0x8d, 0x0e, 0x8e, 0x9d,
  145. 0x57, 0xfb, 0x6d, 0x3f, 0xca, 0xb8, 0x50, 0xd9, 0xd7, 0x32, 0xdf, 0x88, 0x4c, 0xf0, 0x86, 0x67,
  146. 0xcd, 0xb1, 0xce, 0x51, 0xbd, 0x93, 0x8d, 0xb4, 0xee, 0x3b, 0x05, 0xe2, 0x42, 0xa1, 0xc1, 0x8f,
  147. 0x0e, 0x0e, 0x6a, 0xfd, 0x77, 0xaf, 0xfa, 0xf8, 0xba, 0xb4, 0x79, 0x55, 0xc9, 0x86, 0x37, 0xa5,
  148. 0xac, 0x54, 0x67, 0x7e, 0xfc, 0x65, 0x80, 0x3b, 0xbf, 0x15, 0x10, 0xa1, 0x66, 0x3a, 0xdf, 0xe3,
  149. 0x0d, 0x8f, 0x8f, 0x75, 0x4e, 0xab, 0xfd, 0xf6, 0xf1, 0x87, 0x01, 0x5e, 0x9c, 0xa7, 0xad, 0x67,
  150. 0x60, 0x9c, 0xb0, 0x68, 0x49, 0xa7, 0xc1, 0x2c, 0xa0, 0x1e, 0x7c, 0x62, 0x8d, 0xc1, 0x75, 0xc2,
  151. 0x3e, 0xb0, 0xf0, 0x23, 0x83, 0x86, 0x7e, 0x71, 0xc3, 0x70, 0x4e, 0x09, 0x83, 0xa6, 0x75, 0x03,
  152. 0x2e, 0x3d, 0x12, 0x53, 0x78, 0x61, 0x01, 0x30, 0xf2, 0xc2, 0xc4, 0x9d, 0x53, 0x78, 0xa9, 0xa7,
  153. 0x94, 0x25, 0x0b, 0x78, 0x65, 0xdd, 0x82, 0xab, 0xd9, 0x3c, 0x24, 0x31, 0x1c, 0x69, 0x18, 0xb0,
  154. 0x78, 0xf2, 0x1a, 0x5e, 0x9f, 0xe0, 0xdb, 0x37, 0xf0, 0x46, 0xa7, 0x2d, 0x68, 0x14, 0x11, 0x9f,
  155. 0xc2, 0x5b, 0xeb, 0x39, 0x78, 0xba, 0xa2, 0x51, 0x98, 0xac, 0xa6, 0x34, 0x63, 0x64, 0x41, 0x21,
  156. 0xd0, 0xb1, 0x51, 0xbc, 0x0a, 0x98, 0x0f, 0xc7, 0xee, 0x1f, 0x03, 0x3c, 0x7c, 0x91, 0x5b, 0xf4,
  157. 0xdf, 0x56, 0xdc, 0x97, 0xe7, 0xff, 0x6a, 0xa9, 0x4b, 0x59, 0x1a, 0x9f, 0xdc, 0x93, 0xbb, 0x90,
  158. 0x1b, 0x5e, 0x15, 0x48, 0xee, 0x0a, 0xbb, 0xc8, 0xab, 0xb6, 0xb2, 0xfe, 0x46, 0x75, 0xa9, 0xfe,
  159. 0x71, 0xb2, 0x77, 0xed, 0xf3, 0x9b, 0x79, 0xe1, 0x13, 0xf2, 0xdd, 0xbc, 0xef, 0x36, 0x21, 0x22,
  160. 0x14, 0x1a, 0x96, 0xa2, 0xb5, 0x83, 0x74, 0xc1, 0xea, 0x67, 0xcf, 0xa7, 0x44, 0xa8, 0x74, 0xe0,
  161. 0xd3, 0xb5, 0x93, 0xb6, 0xfc, 0x6f, 0xf3, 0xa1, 0x1b, 0x62, 0x4c, 0x84, 0xc2, 0x78, 0x50, 0x60,
  162. 0xbc, 0x76, 0x30, 0x6e, 0x35, 0x9f, 0x47, 0xed, 0x87, 0x4d, 0xfe, 0x06, 0x00, 0x00, 0xff, 0xff,
  163. 0x3a, 0xb3, 0x98, 0xee, 0x4a, 0x02, 0x00, 0x00,
  164. }