25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

257 lines
12 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/resources/google_ads_field.proto
  3. package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v1/resources"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import wrappers "github.com/golang/protobuf/ptypes/wrappers"
  8. import enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
  9. import _ "google.golang.org/genproto/googleapis/api/annotations"
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  19. // A field or resource (artifact) used by GoogleAdsService.
  20. type GoogleAdsField struct {
  21. // The resource name of the artifact.
  22. // Artifact resource names have the form:
  23. //
  24. // `googleAdsFields/{name}`
  25. ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
  26. // The name of the artifact.
  27. Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  28. // The category of the artifact.
  29. Category enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory `protobuf:"varint,3,opt,name=category,proto3,enum=google.ads.googleads.v1.enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory" json:"category,omitempty"`
  30. // Whether the artifact can be used in a SELECT clause in search
  31. // queries.
  32. Selectable *wrappers.BoolValue `protobuf:"bytes,4,opt,name=selectable,proto3" json:"selectable,omitempty"`
  33. // Whether the artifact can be used in a WHERE clause in search
  34. // queries.
  35. Filterable *wrappers.BoolValue `protobuf:"bytes,5,opt,name=filterable,proto3" json:"filterable,omitempty"`
  36. // Whether the artifact can be used in a ORDER BY clause in search
  37. // queries.
  38. Sortable *wrappers.BoolValue `protobuf:"bytes,6,opt,name=sortable,proto3" json:"sortable,omitempty"`
  39. // The names of all resources, segments, and metrics that are selectable with
  40. // the described artifact.
  41. SelectableWith []*wrappers.StringValue `protobuf:"bytes,7,rep,name=selectable_with,json=selectableWith,proto3" json:"selectable_with,omitempty"`
  42. // The names of all resources that are selectable with the described
  43. // artifact. Fields from these resources do not segment metrics when included
  44. // in search queries.
  45. //
  46. // This field is only set for artifacts whose category is RESOURCE.
  47. AttributeResources []*wrappers.StringValue `protobuf:"bytes,8,rep,name=attribute_resources,json=attributeResources,proto3" json:"attribute_resources,omitempty"`
  48. // At and beyond version V1 this field lists the names of all metrics that are
  49. // selectable with the described artifact when it is used in the FROM clause.
  50. // It is only set for artifacts whose category is RESOURCE.
  51. //
  52. // Before version V1 this field lists the names of all metrics that are
  53. // selectable with the described artifact. It is only set for artifacts whose
  54. // category is either RESOURCE or SEGMENT
  55. Metrics []*wrappers.StringValue `protobuf:"bytes,9,rep,name=metrics,proto3" json:"metrics,omitempty"`
  56. // At and beyond version V1 this field lists the names of all artifacts,
  57. // whether a segment or another resource, that segment metrics when included
  58. // in search queries and when the described artifact is used in the FROM
  59. // clause. It is only set for artifacts whose category is RESOURCE.
  60. //
  61. // Before version V1 this field lists the names of all artifacts, whether a
  62. // segment or another resource, that segment metrics when included in search
  63. // queries. It is only set for artifacts of category RESOURCE, SEGMENT or
  64. // METRIC.
  65. Segments []*wrappers.StringValue `protobuf:"bytes,10,rep,name=segments,proto3" json:"segments,omitempty"`
  66. // Values the artifact can assume if it is a field of type ENUM.
  67. //
  68. // This field is only set for artifacts of category SEGMENT or ATTRIBUTE.
  69. EnumValues []*wrappers.StringValue `protobuf:"bytes,11,rep,name=enum_values,json=enumValues,proto3" json:"enum_values,omitempty"`
  70. // This field determines the operators that can be used with the artifact
  71. // in WHERE clauses.
  72. DataType enums.GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType `protobuf:"varint,12,opt,name=data_type,json=dataType,proto3,enum=google.ads.googleads.v1.enums.GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType" json:"data_type,omitempty"`
  73. // The URL of proto describing the artifact's data type.
  74. TypeUrl *wrappers.StringValue `protobuf:"bytes,13,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"`
  75. // Whether the field artifact is repeated.
  76. IsRepeated *wrappers.BoolValue `protobuf:"bytes,14,opt,name=is_repeated,json=isRepeated,proto3" json:"is_repeated,omitempty"`
  77. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  78. XXX_unrecognized []byte `json:"-"`
  79. XXX_sizecache int32 `json:"-"`
  80. }
  81. func (m *GoogleAdsField) Reset() { *m = GoogleAdsField{} }
  82. func (m *GoogleAdsField) String() string { return proto.CompactTextString(m) }
  83. func (*GoogleAdsField) ProtoMessage() {}
  84. func (*GoogleAdsField) Descriptor() ([]byte, []int) {
  85. return fileDescriptor_google_ads_field_31ce7f00abe0af55, []int{0}
  86. }
  87. func (m *GoogleAdsField) XXX_Unmarshal(b []byte) error {
  88. return xxx_messageInfo_GoogleAdsField.Unmarshal(m, b)
  89. }
  90. func (m *GoogleAdsField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  91. return xxx_messageInfo_GoogleAdsField.Marshal(b, m, deterministic)
  92. }
  93. func (dst *GoogleAdsField) XXX_Merge(src proto.Message) {
  94. xxx_messageInfo_GoogleAdsField.Merge(dst, src)
  95. }
  96. func (m *GoogleAdsField) XXX_Size() int {
  97. return xxx_messageInfo_GoogleAdsField.Size(m)
  98. }
  99. func (m *GoogleAdsField) XXX_DiscardUnknown() {
  100. xxx_messageInfo_GoogleAdsField.DiscardUnknown(m)
  101. }
  102. var xxx_messageInfo_GoogleAdsField proto.InternalMessageInfo
  103. func (m *GoogleAdsField) GetResourceName() string {
  104. if m != nil {
  105. return m.ResourceName
  106. }
  107. return ""
  108. }
  109. func (m *GoogleAdsField) GetName() *wrappers.StringValue {
  110. if m != nil {
  111. return m.Name
  112. }
  113. return nil
  114. }
  115. func (m *GoogleAdsField) GetCategory() enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory {
  116. if m != nil {
  117. return m.Category
  118. }
  119. return enums.GoogleAdsFieldCategoryEnum_UNSPECIFIED
  120. }
  121. func (m *GoogleAdsField) GetSelectable() *wrappers.BoolValue {
  122. if m != nil {
  123. return m.Selectable
  124. }
  125. return nil
  126. }
  127. func (m *GoogleAdsField) GetFilterable() *wrappers.BoolValue {
  128. if m != nil {
  129. return m.Filterable
  130. }
  131. return nil
  132. }
  133. func (m *GoogleAdsField) GetSortable() *wrappers.BoolValue {
  134. if m != nil {
  135. return m.Sortable
  136. }
  137. return nil
  138. }
  139. func (m *GoogleAdsField) GetSelectableWith() []*wrappers.StringValue {
  140. if m != nil {
  141. return m.SelectableWith
  142. }
  143. return nil
  144. }
  145. func (m *GoogleAdsField) GetAttributeResources() []*wrappers.StringValue {
  146. if m != nil {
  147. return m.AttributeResources
  148. }
  149. return nil
  150. }
  151. func (m *GoogleAdsField) GetMetrics() []*wrappers.StringValue {
  152. if m != nil {
  153. return m.Metrics
  154. }
  155. return nil
  156. }
  157. func (m *GoogleAdsField) GetSegments() []*wrappers.StringValue {
  158. if m != nil {
  159. return m.Segments
  160. }
  161. return nil
  162. }
  163. func (m *GoogleAdsField) GetEnumValues() []*wrappers.StringValue {
  164. if m != nil {
  165. return m.EnumValues
  166. }
  167. return nil
  168. }
  169. func (m *GoogleAdsField) GetDataType() enums.GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType {
  170. if m != nil {
  171. return m.DataType
  172. }
  173. return enums.GoogleAdsFieldDataTypeEnum_UNSPECIFIED
  174. }
  175. func (m *GoogleAdsField) GetTypeUrl() *wrappers.StringValue {
  176. if m != nil {
  177. return m.TypeUrl
  178. }
  179. return nil
  180. }
  181. func (m *GoogleAdsField) GetIsRepeated() *wrappers.BoolValue {
  182. if m != nil {
  183. return m.IsRepeated
  184. }
  185. return nil
  186. }
  187. func init() {
  188. proto.RegisterType((*GoogleAdsField)(nil), "google.ads.googleads.v1.resources.GoogleAdsField")
  189. }
  190. func init() {
  191. proto.RegisterFile("google/ads/googleads/v1/resources/google_ads_field.proto", fileDescriptor_google_ads_field_31ce7f00abe0af55)
  192. }
  193. var fileDescriptor_google_ads_field_31ce7f00abe0af55 = []byte{
  194. // 581 bytes of a gzipped FileDescriptorProto
  195. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xdd, 0x6a, 0x13, 0x41,
  196. 0x14, 0xc7, 0x49, 0x52, 0x9b, 0xcd, 0xa4, 0x8d, 0x30, 0xbd, 0x59, 0x42, 0x91, 0x54, 0x29, 0xe4,
  197. 0x6a, 0xd6, 0x54, 0xa8, 0x65, 0x4b, 0x85, 0x8d, 0xd6, 0x82, 0xa0, 0x84, 0x55, 0x23, 0x48, 0x60,
  198. 0x99, 0x64, 0x4f, 0xb6, 0x03, 0xbb, 0x3b, 0xcb, 0xcc, 0x6c, 0x4a, 0xee, 0x7c, 0x16, 0x2f, 0xbd,
  199. 0xf3, 0x35, 0x7c, 0x14, 0x9f, 0x42, 0xf6, 0x6b, 0xd2, 0x52, 0x63, 0x62, 0xef, 0x4e, 0xce, 0xf9,
  200. 0xff, 0xce, 0x57, 0xce, 0x0e, 0x3a, 0x0b, 0x38, 0x0f, 0x42, 0xb0, 0xa8, 0x2f, 0xad, 0xc2, 0xcc,
  201. 0xac, 0xc5, 0xc0, 0x12, 0x20, 0x79, 0x2a, 0x66, 0x50, 0xb9, 0x3d, 0xea, 0x4b, 0x6f, 0xce, 0x20,
  202. 0xf4, 0x49, 0x22, 0xb8, 0xe2, 0xf8, 0xa8, 0xf0, 0x13, 0xea, 0x4b, 0xa2, 0x49, 0xb2, 0x18, 0x10,
  203. 0x4d, 0x76, 0x2f, 0xd6, 0x25, 0x87, 0x38, 0x8d, 0xee, 0x27, 0xf6, 0x66, 0x54, 0x41, 0xc0, 0xc5,
  204. 0xb2, 0xa8, 0xd0, 0x7d, 0xf5, 0x9f, 0xb8, 0x4f, 0x15, 0xf5, 0xd4, 0x32, 0x81, 0x92, 0x7f, 0x52,
  205. 0xf2, 0xf9, 0xaf, 0x69, 0x3a, 0xb7, 0x6e, 0x04, 0x4d, 0x12, 0x10, 0xb2, 0x8c, 0x1f, 0x56, 0xf9,
  206. 0x13, 0x66, 0xd1, 0x38, 0xe6, 0x8a, 0x2a, 0xc6, 0xe3, 0x32, 0xfa, 0xf4, 0x67, 0x13, 0x75, 0xae,
  207. 0x72, 0x81, 0xe3, 0xcb, 0xb7, 0x59, 0x01, 0xfc, 0x0c, 0xed, 0x57, 0xc3, 0x79, 0x31, 0x8d, 0xc0,
  208. 0xac, 0xf5, 0x6a, 0xfd, 0x96, 0xbb, 0x57, 0x39, 0x3f, 0xd0, 0x08, 0xf0, 0x73, 0xb4, 0x93, 0xc7,
  209. 0xea, 0xbd, 0x5a, 0xbf, 0x7d, 0x72, 0x58, 0xee, 0x86, 0x54, 0x4d, 0x90, 0x8f, 0x4a, 0xb0, 0x38,
  210. 0x18, 0xd3, 0x30, 0x05, 0x37, 0x57, 0xe2, 0x10, 0x19, 0xd5, 0xe4, 0x66, 0xa3, 0x57, 0xeb, 0x77,
  211. 0x4e, 0x46, 0x64, 0xdd, 0x72, 0xf3, 0xd1, 0xc9, 0xdd, 0xbe, 0x5e, 0x97, 0xf0, 0x65, 0x9c, 0x46,
  212. 0x6b, 0x42, 0xae, 0xae, 0x80, 0x6d, 0x84, 0x24, 0x84, 0x30, 0x53, 0x74, 0x1a, 0x82, 0xb9, 0x93,
  213. 0x77, 0xd9, 0xbd, 0xd7, 0xe5, 0x90, 0xf3, 0xb0, 0xe8, 0xf1, 0x96, 0x3a, 0x63, 0xe7, 0x2c, 0x54,
  214. 0x20, 0x72, 0xf6, 0xd1, 0x66, 0x76, 0xa5, 0xc6, 0xa7, 0xc8, 0x90, 0x5c, 0x14, 0x55, 0x77, 0x37,
  215. 0x92, 0x5a, 0x8b, 0x2f, 0xd1, 0xe3, 0x55, 0x07, 0xde, 0x0d, 0x53, 0xd7, 0x66, 0xb3, 0xd7, 0xd8,
  216. 0xb8, 0xda, 0xce, 0x0a, 0xfa, 0xc2, 0xd4, 0x35, 0x7e, 0x8f, 0x0e, 0xa8, 0x52, 0x82, 0x4d, 0x53,
  217. 0x05, 0x9e, 0x3e, 0x51, 0xd3, 0xd8, 0x22, 0x15, 0xd6, 0xa0, 0x5b, 0x71, 0xf8, 0x14, 0x35, 0x23,
  218. 0x50, 0x82, 0xcd, 0xa4, 0xd9, 0xda, 0x22, 0x45, 0x25, 0xc6, 0x67, 0xc8, 0x90, 0x10, 0x44, 0x10,
  219. 0x2b, 0x69, 0xa2, 0x2d, 0x40, 0xad, 0xc6, 0x17, 0xa8, 0x9d, 0xfd, 0xf9, 0xde, 0x22, 0xf3, 0x4b,
  220. 0xb3, 0xbd, 0x05, 0x8c, 0x32, 0x20, 0x37, 0x25, 0x8e, 0x50, 0x4b, 0x7f, 0x1f, 0xe6, 0xde, 0x03,
  221. 0xae, 0xec, 0x0d, 0x55, 0xf4, 0xd3, 0x32, 0x81, 0xbf, 0x5c, 0x59, 0x15, 0x72, 0x0d, 0xbf, 0xb4,
  222. 0xf0, 0x4b, 0x64, 0x64, 0x95, 0xbc, 0x54, 0x84, 0xe6, 0xfe, 0x16, 0x5f, 0x42, 0x33, 0x53, 0x7f,
  223. 0x16, 0x21, 0x3e, 0x47, 0x6d, 0x26, 0x3d, 0x01, 0x09, 0x50, 0x05, 0xbe, 0xd9, 0xd9, 0x7c, 0x63,
  224. 0x4c, 0xba, 0xa5, 0x7a, 0xf8, 0xad, 0x8e, 0x8e, 0x67, 0x3c, 0x22, 0x1b, 0x9f, 0xa6, 0xe1, 0xc1,
  225. 0xdd, 0x09, 0x46, 0x59, 0xde, 0x51, 0xed, 0xeb, 0xbb, 0x92, 0x0c, 0x78, 0x48, 0xe3, 0x80, 0x70,
  226. 0x11, 0x58, 0x01, 0xc4, 0x79, 0xd5, 0xea, 0x09, 0x4a, 0x98, 0xfc, 0xc7, 0x6b, 0x79, 0xae, 0xad,
  227. 0xef, 0xf5, 0xc6, 0x95, 0xe3, 0xfc, 0xa8, 0x1f, 0x15, 0x95, 0x88, 0xe3, 0xdf, 0xda, 0x28, 0x19,
  228. 0x0f, 0x88, 0x3e, 0xa6, 0x5f, 0x95, 0x66, 0xe2, 0xf8, 0x72, 0xa2, 0x35, 0x93, 0xf1, 0x60, 0xa2,
  229. 0x35, 0xbf, 0xeb, 0xc7, 0x45, 0xc0, 0xb6, 0x1d, 0x5f, 0xda, 0xb6, 0x56, 0xd9, 0xf6, 0x78, 0x60,
  230. 0xdb, 0x5a, 0x37, 0xdd, 0xcd, 0x9b, 0x7d, 0xf1, 0x27, 0x00, 0x00, 0xff, 0xff, 0xf4, 0xab, 0x95,
  231. 0x0d, 0xd9, 0x05, 0x00, 0x00,
  232. }