| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v1/resources/google_ads_field.proto |
| |
| package resources |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| wrappers "github.com/golang/protobuf/ptypes/wrappers" |
| enums "google.golang.org/genproto/googleapis/ads/googleads/v1/enums" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // A field or resource (artifact) used by GoogleAdsService. |
| type GoogleAdsField struct { |
| // Output only. The resource name of the artifact. |
| // Artifact resource names have the form: |
| // |
| // `googleAdsFields/{name}` |
| ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` |
| // Output only. The name of the artifact. |
| Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| // Output only. The category of the artifact. |
| Category enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory `protobuf:"varint,3,opt,name=category,proto3,enum=google.ads.googleads.v1.enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory" json:"category,omitempty"` |
| // Output only. Whether the artifact can be used in a SELECT clause in search |
| // queries. |
| Selectable *wrappers.BoolValue `protobuf:"bytes,4,opt,name=selectable,proto3" json:"selectable,omitempty"` |
| // Output only. Whether the artifact can be used in a WHERE clause in search |
| // queries. |
| Filterable *wrappers.BoolValue `protobuf:"bytes,5,opt,name=filterable,proto3" json:"filterable,omitempty"` |
| // Output only. Whether the artifact can be used in a ORDER BY clause in search |
| // queries. |
| Sortable *wrappers.BoolValue `protobuf:"bytes,6,opt,name=sortable,proto3" json:"sortable,omitempty"` |
| // Output only. The names of all resources, segments, and metrics that are selectable with |
| // the described artifact. |
| SelectableWith []*wrappers.StringValue `protobuf:"bytes,7,rep,name=selectable_with,json=selectableWith,proto3" json:"selectable_with,omitempty"` |
| // Output only. The names of all resources that are selectable with the described |
| // artifact. Fields from these resources do not segment metrics when included |
| // in search queries. |
| // |
| // This field is only set for artifacts whose category is RESOURCE. |
| AttributeResources []*wrappers.StringValue `protobuf:"bytes,8,rep,name=attribute_resources,json=attributeResources,proto3" json:"attribute_resources,omitempty"` |
| // Output only. At and beyond version V1 this field lists the names of all metrics that are |
| // selectable with the described artifact when it is used in the FROM clause. |
| // It is only set for artifacts whose category is RESOURCE. |
| // |
| // Before version V1 this field lists the names of all metrics that are |
| // selectable with the described artifact. It is only set for artifacts whose |
| // category is either RESOURCE or SEGMENT |
| Metrics []*wrappers.StringValue `protobuf:"bytes,9,rep,name=metrics,proto3" json:"metrics,omitempty"` |
| // Output only. At and beyond version V1 this field lists the names of all artifacts, |
| // whether a segment or another resource, that segment metrics when included |
| // in search queries and when the described artifact is used in the FROM |
| // clause. It is only set for artifacts whose category is RESOURCE. |
| // |
| // Before version V1 this field lists the names of all artifacts, whether a |
| // segment or another resource, that segment metrics when included in search |
| // queries. It is only set for artifacts of category RESOURCE, SEGMENT or |
| // METRIC. |
| Segments []*wrappers.StringValue `protobuf:"bytes,10,rep,name=segments,proto3" json:"segments,omitempty"` |
| // Output only. Values the artifact can assume if it is a field of type ENUM. |
| // |
| // This field is only set for artifacts of category SEGMENT or ATTRIBUTE. |
| EnumValues []*wrappers.StringValue `protobuf:"bytes,11,rep,name=enum_values,json=enumValues,proto3" json:"enum_values,omitempty"` |
| // Output only. This field determines the operators that can be used with the artifact |
| // in WHERE clauses. |
| 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"` |
| // Output only. The URL of proto describing the artifact's data type. |
| TypeUrl *wrappers.StringValue `protobuf:"bytes,13,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` |
| // Output only. Whether the field artifact is repeated. |
| IsRepeated *wrappers.BoolValue `protobuf:"bytes,14,opt,name=is_repeated,json=isRepeated,proto3" json:"is_repeated,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GoogleAdsField) Reset() { *m = GoogleAdsField{} } |
| func (m *GoogleAdsField) String() string { return proto.CompactTextString(m) } |
| func (*GoogleAdsField) ProtoMessage() {} |
| func (*GoogleAdsField) Descriptor() ([]byte, []int) { |
| return fileDescriptor_0c6569d4aa3b558c, []int{0} |
| } |
| |
| func (m *GoogleAdsField) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GoogleAdsField.Unmarshal(m, b) |
| } |
| func (m *GoogleAdsField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GoogleAdsField.Marshal(b, m, deterministic) |
| } |
| func (m *GoogleAdsField) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GoogleAdsField.Merge(m, src) |
| } |
| func (m *GoogleAdsField) XXX_Size() int { |
| return xxx_messageInfo_GoogleAdsField.Size(m) |
| } |
| func (m *GoogleAdsField) XXX_DiscardUnknown() { |
| xxx_messageInfo_GoogleAdsField.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GoogleAdsField proto.InternalMessageInfo |
| |
| func (m *GoogleAdsField) GetResourceName() string { |
| if m != nil { |
| return m.ResourceName |
| } |
| return "" |
| } |
| |
| func (m *GoogleAdsField) GetName() *wrappers.StringValue { |
| if m != nil { |
| return m.Name |
| } |
| return nil |
| } |
| |
| func (m *GoogleAdsField) GetCategory() enums.GoogleAdsFieldCategoryEnum_GoogleAdsFieldCategory { |
| if m != nil { |
| return m.Category |
| } |
| return enums.GoogleAdsFieldCategoryEnum_UNSPECIFIED |
| } |
| |
| func (m *GoogleAdsField) GetSelectable() *wrappers.BoolValue { |
| if m != nil { |
| return m.Selectable |
| } |
| return nil |
| } |
| |
| func (m *GoogleAdsField) GetFilterable() *wrappers.BoolValue { |
| if m != nil { |
| return m.Filterable |
| } |
| return nil |
| } |
| |
| func (m *GoogleAdsField) GetSortable() *wrappers.BoolValue { |
| if m != nil { |
| return m.Sortable |
| } |
| return nil |
| } |
| |
| func (m *GoogleAdsField) GetSelectableWith() []*wrappers.StringValue { |
| if m != nil { |
| return m.SelectableWith |
| } |
| return nil |
| } |
| |
| func (m *GoogleAdsField) GetAttributeResources() []*wrappers.StringValue { |
| if m != nil { |
| return m.AttributeResources |
| } |
| return nil |
| } |
| |
| func (m *GoogleAdsField) GetMetrics() []*wrappers.StringValue { |
| if m != nil { |
| return m.Metrics |
| } |
| return nil |
| } |
| |
| func (m *GoogleAdsField) GetSegments() []*wrappers.StringValue { |
| if m != nil { |
| return m.Segments |
| } |
| return nil |
| } |
| |
| func (m *GoogleAdsField) GetEnumValues() []*wrappers.StringValue { |
| if m != nil { |
| return m.EnumValues |
| } |
| return nil |
| } |
| |
| func (m *GoogleAdsField) GetDataType() enums.GoogleAdsFieldDataTypeEnum_GoogleAdsFieldDataType { |
| if m != nil { |
| return m.DataType |
| } |
| return enums.GoogleAdsFieldDataTypeEnum_UNSPECIFIED |
| } |
| |
| func (m *GoogleAdsField) GetTypeUrl() *wrappers.StringValue { |
| if m != nil { |
| return m.TypeUrl |
| } |
| return nil |
| } |
| |
| func (m *GoogleAdsField) GetIsRepeated() *wrappers.BoolValue { |
| if m != nil { |
| return m.IsRepeated |
| } |
| return nil |
| } |
| |
| func init() { |
| proto.RegisterType((*GoogleAdsField)(nil), "google.ads.googleads.v1.resources.GoogleAdsField") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v1/resources/google_ads_field.proto", fileDescriptor_0c6569d4aa3b558c) |
| } |
| |
| var fileDescriptor_0c6569d4aa3b558c = []byte{ |
| // 653 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0x5f, 0x6f, 0xd3, 0x3a, |
| 0x18, 0xc6, 0xd5, 0x76, 0x67, 0xeb, 0xdc, 0xad, 0x47, 0xf2, 0x6e, 0x72, 0xa6, 0xe9, 0xd0, 0x4d, |
| 0x9a, 0x18, 0x37, 0x8e, 0x3a, 0x84, 0x84, 0x32, 0x06, 0xa4, 0xfc, 0x99, 0x34, 0x09, 0x54, 0x95, |
| 0x51, 0x24, 0x54, 0x29, 0x72, 0x9b, 0x77, 0x99, 0xa5, 0x24, 0x0e, 0xb6, 0xd3, 0x69, 0x42, 0x48, |
| 0x7c, 0x16, 0x2e, 0xf9, 0x28, 0x7c, 0x8a, 0x5d, 0xef, 0x9e, 0x1b, 0xae, 0x50, 0x12, 0xc7, 0x6d, |
| 0x19, 0x83, 0xc0, 0x9d, 0x9d, 0xf7, 0xf9, 0x3d, 0xef, 0x53, 0xe7, 0x75, 0x8a, 0xee, 0x07, 0x9c, |
| 0x07, 0x21, 0xd8, 0xd4, 0x97, 0x76, 0xb1, 0xcc, 0x56, 0xd3, 0xae, 0x2d, 0x40, 0xf2, 0x54, 0x4c, |
| 0xa0, 0x7c, 0xec, 0x51, 0x5f, 0x7a, 0xa7, 0x0c, 0x42, 0x9f, 0x24, 0x82, 0x2b, 0x8e, 0xb7, 0x8b, |
| 0xe7, 0x84, 0xfa, 0x92, 0x18, 0x92, 0x4c, 0xbb, 0xc4, 0x90, 0x9b, 0x87, 0x37, 0x99, 0x43, 0x9c, |
| 0x46, 0xd7, 0x8d, 0xbd, 0x09, 0x55, 0x10, 0x70, 0x71, 0x51, 0x74, 0xd8, 0x7c, 0xf8, 0x87, 0xb8, |
| 0x4f, 0x15, 0xf5, 0xd4, 0x45, 0x02, 0x9a, 0xbf, 0x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