File: distance_view.pb.go

package info (click to toggle)
golang-google-genproto 0.0~git20200413.b5235f6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, bookworm-proposed-updates, experimental, sid
  • size: 50,812 kB
  • sloc: sh: 49; makefile: 12
file content (132 lines) | stat: -rw-r--r-- 6,551 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v3/resources/distance_view.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/v3/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 distance view with metrics aggregated by the user's distance from an
// advertiser's location extensions. Each DistanceBucket includes all
// impressions that fall within its distance and a single impression will
// contribute to the metrics for all DistanceBuckets that include the user's
// distance.
type DistanceView struct {
	// Output only. The resource name of the distance view.
	// Distance view resource names have the form:
	//
	// `customers/{customer_id}/distanceViews/1~{distance_bucket}`
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Output only. Grouping of user distance from location extensions.
	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"`
	// Output only. True if the DistanceBucket is using the metric system, false otherwise.
	MetricSystem         *wrappers.BoolValue `protobuf:"bytes,3,opt,name=metric_system,json=metricSystem,proto3" json:"metric_system,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (m *DistanceView) Reset()         { *m = DistanceView{} }
func (m *DistanceView) String() string { return proto.CompactTextString(m) }
func (*DistanceView) ProtoMessage()    {}
func (*DistanceView) Descriptor() ([]byte, []int) {
	return fileDescriptor_dad7deb2cae396f2, []int{0}
}

func (m *DistanceView) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_DistanceView.Unmarshal(m, b)
}
func (m *DistanceView) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_DistanceView.Marshal(b, m, deterministic)
}
func (m *DistanceView) XXX_Merge(src proto.Message) {
	xxx_messageInfo_DistanceView.Merge(m, src)
}
func (m *DistanceView) XXX_Size() int {
	return xxx_messageInfo_DistanceView.Size(m)
}
func (m *DistanceView) XXX_DiscardUnknown() {
	xxx_messageInfo_DistanceView.DiscardUnknown(m)
}

var xxx_messageInfo_DistanceView proto.InternalMessageInfo

func (m *DistanceView) GetResourceName() string {
	if m != nil {
		return m.ResourceName
	}
	return ""
}

func (m *DistanceView) GetDistanceBucket() enums.DistanceBucketEnum_DistanceBucket {
	if m != nil {
		return m.DistanceBucket
	}
	return enums.DistanceBucketEnum_UNSPECIFIED
}

func (m *DistanceView) GetMetricSystem() *wrappers.BoolValue {
	if m != nil {
		return m.MetricSystem
	}
	return nil
}

func init() {
	proto.RegisterType((*DistanceView)(nil), "google.ads.googleads.v3.resources.DistanceView")
}

func init() {
	proto.RegisterFile("google/ads/googleads/v3/resources/distance_view.proto", fileDescriptor_dad7deb2cae396f2)
}

var fileDescriptor_dad7deb2cae396f2 = []byte{
	// 454 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4d, 0x6b, 0xd4, 0x40,
	0x18, 0x26, 0x09, 0x08, 0xc6, 0x6d, 0xc5, 0x9c, 0xd6, 0x45, 0x74, 0x2b, 0x2c, 0xee, 0xc5, 0x19,
	0xd8, 0xe0, 0x65, 0xbc, 0x38, 0xa1, 0x52, 0xf0, 0x20, 0x65, 0x85, 0x1c, 0x74, 0x71, 0x99, 0x4d,
	0xde, 0xc6, 0xc1, 0xcc, 0x4c, 0x98, 0x49, 0x76, 0x91, 0xd2, 0x3f, 0xe3, 0xd1, 0x9f, 0xe2, 0xaf,
	0xe8, 0xb9, 0xbf, 0x40, 0x3c, 0x88, 0xe4, 0x63, 0xd2, 0xb4, 0xb0, 0xda, 0xdb, 0x93, 0x79, 0x3e,
	0xde, 0x8f, 0xbc, 0xfe, 0xab, 0x4c, 0xa9, 0x2c, 0x07, 0xcc, 0x52, 0x83, 0x5b, 0x58, 0xa3, 0x6d,
	0x88, 0x35, 0x18, 0x55, 0xe9, 0x04, 0x0c, 0x4e, 0xb9, 0x29, 0x99, 0x4c, 0x60, 0xbd, 0xe5, 0xb0,
	0x43, 0x85, 0x56, 0xa5, 0x0a, 0x8e, 0x5a, 0x2d, 0x62, 0xa9, 0x41, 0xbd, 0x0d, 0x6d, 0x43, 0xd4,
	0xdb, 0x26, 0xe1, 0xbe, 0x64, 0x90, 0x95, 0x18, 0xa4, 0x6e, 0xaa, 0xe4, 0x2b, 0x94, 0x6d, 0xee,
	0xe4, 0x99, 0x35, 0x15, 0x1c, 0x9f, 0x71, 0xc8, 0xd3, 0xf5, 0x06, 0xbe, 0xb0, 0x2d, 0x57, 0xba,
	0x13, 0x3c, 0x1e, 0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