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