1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/ads/googleads/v3/resources/distance_view.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 distance view with metrics aggregated by the user's distance from an 28// advertiser's location extensions. Each DistanceBucket includes all 29// impressions that fall within its distance and a single impression will 30// contribute to the metrics for all DistanceBuckets that include the user's 31// distance. 32type DistanceView struct { 33 // Output only. The resource name of the distance view. 34 // Distance view resource names have the form: 35 // 36 // `customers/{customer_id}/distanceViews/1~{distance_bucket}` 37 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` 38 // Output only. Grouping of user distance from location extensions. 39 DistanceBucket enums.DistanceBucketEnum_DistanceBucket `protobuf:"varint,2,opt,name=distance_bucket,json=distanceBucket,proto3,enum=google.ads.googleads.v3.enums.DistanceBucketEnum_DistanceBucket" json:"distance_bucket,omitempty"` 40 // Output only. True if the DistanceBucket is using the metric system, false otherwise. 41 MetricSystem *wrappers.BoolValue `protobuf:"bytes,3,opt,name=metric_system,json=metricSystem,proto3" json:"metric_system,omitempty"` 42 XXX_NoUnkeyedLiteral struct{} `json:"-"` 43 XXX_unrecognized []byte `json:"-"` 44 XXX_sizecache int32 `json:"-"` 45} 46 47func (m *DistanceView) Reset() { *m = DistanceView{} } 48func (m *DistanceView) String() string { return proto.CompactTextString(m) } 49func (*DistanceView) ProtoMessage() {} 50func (*DistanceView) Descriptor() ([]byte, []int) { 51 return fileDescriptor_dad7deb2cae396f2, []int{0} 52} 53 54func (m *DistanceView) XXX_Unmarshal(b []byte) error { 55 return xxx_messageInfo_DistanceView.Unmarshal(m, b) 56} 57func (m *DistanceView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 58 return xxx_messageInfo_DistanceView.Marshal(b, m, deterministic) 59} 60func (m *DistanceView) XXX_Merge(src proto.Message) { 61 xxx_messageInfo_DistanceView.Merge(m, src) 62} 63func (m *DistanceView) XXX_Size() int { 64 return xxx_messageInfo_DistanceView.Size(m) 65} 66func (m *DistanceView) XXX_DiscardUnknown() { 67 xxx_messageInfo_DistanceView.DiscardUnknown(m) 68} 69 70var xxx_messageInfo_DistanceView proto.InternalMessageInfo 71 72func (m *DistanceView) GetResourceName() string { 73 if m != nil { 74 return m.ResourceName 75 } 76 return "" 77} 78 79func (m *DistanceView) GetDistanceBucket() enums.DistanceBucketEnum_DistanceBucket { 80 if m != nil { 81 return m.DistanceBucket 82 } 83 return enums.DistanceBucketEnum_UNSPECIFIED 84} 85 86func (m *DistanceView) GetMetricSystem() *wrappers.BoolValue { 87 if m != nil { 88 return m.MetricSystem 89 } 90 return nil 91} 92 93func init() { 94 proto.RegisterType((*DistanceView)(nil), "google.ads.googleads.v3.resources.DistanceView") 95} 96 97func init() { 98 proto.RegisterFile("google/ads/googleads/v3/resources/distance_view.proto", fileDescriptor_dad7deb2cae396f2) 99} 100 101var fileDescriptor_dad7deb2cae396f2 = []byte{ 102 // 454 bytes of a gzipped FileDescriptorProto 103 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4d, 0x6b, 0xd4, 0x40, 104 0x18, 0x26, 0x09, 0x08, 0xc6, 0x6d, 0xc5, 0x9c, 0xd6, 0x45, 0x74, 0x2b, 0x2c, 0xee, 0xc5, 0x19, 105 0xd8, 0xe0, 0x65, 0xbc, 0x38, 0xa1, 0x52, 0xf0,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5, 128 0xb0, 0x46, 0x71, 0x88, 0x96, 0x56, 0xf9, 0xd3, 0x6a, 0x56, 0x34, 0x35, 0xab, 0x5e, 0xb3, 0x8a, 129 0xc3, 0x55, 0xaf, 0xb9, 0x72, 0x67, 0x2d, 0x41, 0x08, 0x4d, 0x0d, 0x21, 0xbd, 0x8a, 0x90, 0x38, 130 0x24, 0xa4, 0xd7, 0x6d, 0xee, 0x35, 0xcd, 0x86, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x44, 0xb7, 131 0x50, 0x67, 0x8d, 0x03, 0x00, 0x00, 132} 133