1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/ads/googleads/v1/resources/operating_system_version_constant.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/v1/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 mobile operating system version or a range of versions, depending on
28// 'operator_type'. The complete list of available mobile platforms is available
29// <a
30//
31// href="https://developers.google.com/adwords/api/docs/appendix/codes-formats#mobile-platforms>
32// here</a>.
33type OperatingSystemVersionConstant struct {
34	// The resource name of the operating system version constant.
35	// Operating system version constant resource names have the form:
36	//
37	// `operatingSystemVersionConstants/{criterion_id}`
38	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
39	// The ID of the operating system version.
40	Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
41	// Name of the operating system.
42	Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
43	// The OS Major Version number.
44	OsMajorVersion *wrappers.Int32Value `protobuf:"bytes,4,opt,name=os_major_version,json=osMajorVersion,proto3" json:"os_major_version,omitempty"`
45	// The OS Minor Version number.
46	OsMinorVersion *wrappers.Int32Value `protobuf:"bytes,5,opt,name=os_minor_version,json=osMinorVersion,proto3" json:"os_minor_version,omitempty"`
47	// Determines whether this constant represents a single version or a range of
48	// versions.
49	OperatorType         enums.OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType `protobuf:"varint,6,opt,name=operator_type,json=operatorType,proto3,enum=google.ads.googleads.v1.enums.OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType" json:"operator_type,omitempty"`
50	XXX_NoUnkeyedLiteral struct{}                                                                        `json:"-"`
51	XXX_unrecognized     []byte                                                                          `json:"-"`
52	XXX_sizecache        int32                                                                           `json:"-"`
53}
54
55func (m *OperatingSystemVersionConstant) Reset()         { *m = OperatingSystemVersionConstant{} }
56func (m *OperatingSystemVersionConstant) String() string { return proto.CompactTextString(m) }
57func (*OperatingSystemVersionConstant) ProtoMessage()    {}
58func (*OperatingSystemVersionConstant) Descriptor() ([]byte, []int) {
59	return fileDescriptor_255222b6c86bb69b, []int{0}
60}
61
62func (m *OperatingSystemVersionConstant) XXX_Unmarshal(b []byte) error {
63	return xxx_messageInfo_OperatingSystemVersionConstant.Unmarshal(m, b)
64}
65func (m *OperatingSystemVersionConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
66	return xxx_messageInfo_OperatingSystemVersionConstant.Marshal(b, m, deterministic)
67}
68func (m *OperatingSystemVersionConstant) XXX_Merge(src proto.Message) {
69	xxx_messageInfo_OperatingSystemVersionConstant.Merge(m, src)
70}
71func (m *OperatingSystemVersionConstant) XXX_Size() int {
72	return xxx_messageInfo_OperatingSystemVersionConstant.Size(m)
73}
74func (m *OperatingSystemVersionConstant) XXX_DiscardUnknown() {
75	xxx_messageInfo_OperatingSystemVersionConstant.DiscardUnknown(m)
76}
77
78var xxx_messageInfo_OperatingSystemVersionConstant proto.InternalMessageInfo
79
80func (m *OperatingSystemVersionConstant) GetResourceName() string {
81	if m != nil {
82		return m.ResourceName
83	}
84	return ""
85}
86
87func (m *OperatingSystemVersionConstant) GetId() *wrappers.Int64Value {
88	if m != nil {
89		return m.Id
90	}
91	return nil
92}
93
94func (m *OperatingSystemVersionConstant) GetName() *wrappers.StringValue {
95	if m != nil {
96		return m.Name
97	}
98	return nil
99}
100
101func (m *OperatingSystemVersionConstant) GetOsMajorVersion() *wrappers.Int32Value {
102	if m != nil {
103		return m.OsMajorVersion
104	}
105	return nil
106}
107
108func (m *OperatingSystemVersionConstant) GetOsMinorVersion() *wrappers.Int32Value {
109	if m != nil {
110		return m.OsMinorVersion
111	}
112	return nil
113}
114
115func (m *OperatingSystemVersionConstant) GetOperatorType() enums.OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType {
116	if m != nil {
117		return m.OperatorType
118	}
119	return enums.OperatingSystemVersionOperatorTypeEnum_UNSPECIFIED
120}
121
122func init() {
123	proto.RegisterType((*OperatingSystemVersionConstant)(nil), "google.ads.googleads.v1.resources.OperatingSystemVersionConstant")
124}
125
126func init() {
127	proto.RegisterFile("google/ads/googleads/v1/resources/operating_system_version_constant.proto", fileDescriptor_255222b6c86bb69b)
128}
129
130var fileDescriptor_255222b6c86bb69b = []byte{
131	// 458 bytes of a gzipped FileDescriptorProto
132	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6a, 0xd4, 0x40,
133	0x14, 0xc6, 0x49, 0xb6, 0x16, 0x8c, 0x6d, 0x91, 0x5c, 0x2d, 0xb5, 0x94, 0xad, 0xa5, 0xb0, 0x20,
134	0x4c, 0xcc, 0x56, 0xbc, 0x88, 0x57, 0xa9, 0x94, 0x52, 0x41, 0x5b, 0xb6, 0x92, 0x0b, 0x09, 0x84,
135	0xe9, 0x66, 0x1c, 0x47, 0x36, 0x73, 0x86, 0x99, 0xc9, 0xca, 0x3e, 0x84, 0xe0, 0x33, 0x78, 0xe9,
136	0x63, 0x78, 0xe9, 0xa3, 0xf8, 0x14, 0x92, 0xf9, 0x13, 0x2a, 0xba, 0xdb, 0xbd, 0x3b, 0x93, 0xf3,
137	0x3b, 0xdf, 0x37, 0x67, 0xce, 0x49, 0x74, 0x49, 0x01, 0xe8, 0x9c, 0x24, 0xb8, 0x56, 0x89, 0x0d,
138	0xbb, 0x68, 0x91, 0x26, 0x92, 0x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