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.
 
 
 

248 lines
11 KiB

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