// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v0/resources/operating_system_version_constant.proto

package resources // import "google.golang.org/genproto/googleapis/ads/googleads/v0/resources"

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import wrappers "github.com/golang/protobuf/ptypes/wrappers"
import enums "google.golang.org/genproto/googleapis/ads/googleads/v0/enums"

// 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.ProtoPackageIsVersion2 // please upgrade the proto package

// A mobile operating system version or a range of versions, depending on
// 'operator_type'. The complete list of available mobile platforms is available
// <a
//
// href="https://developers.google.com/adwords/api/docs/appendix/codes-formats#mobile-platforms>
// here</a>.
type OperatingSystemVersionConstant struct {
	// The resource name of the operating system version constant.
	// Operating system version constant resource names have the form:
	//
	// `operatingSystemVersionConstants/{criterion_id}`
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// The ID of the operating system version.
	Id *wrappers.Int64Value `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the operating system.
	Name *wrappers.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// The OS Major Version number.
	OsMajorVersion *wrappers.Int32Value `protobuf:"bytes,4,opt,name=os_major_version,json=osMajorVersion,proto3" json:"os_major_version,omitempty"`
	// The OS Minor Version number.
	OsMinorVersion *wrappers.Int32Value `protobuf:"bytes,5,opt,name=os_minor_version,json=osMinorVersion,proto3" json:"os_minor_version,omitempty"`
	// Determines whether this constant represents a single version or a range of
	// versions.
	OperatorType         enums.OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType `protobuf:"varint,6,opt,name=operator_type,json=operatorType,proto3,enum=google.ads.googleads.v0.enums.OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType" json:"operator_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                                        `json:"-"`
	XXX_unrecognized     []byte                                                                          `json:"-"`
	XXX_sizecache        int32                                                                           `json:"-"`
}

func (m *OperatingSystemVersionConstant) Reset()         { *m = OperatingSystemVersionConstant{} }
func (m *OperatingSystemVersionConstant) String() string { return proto.CompactTextString(m) }
func (*OperatingSystemVersionConstant) ProtoMessage()    {}
func (*OperatingSystemVersionConstant) Descriptor() ([]byte, []int) {
	return fileDescriptor_operating_system_version_constant_6e3331dcbb4876e5, []int{0}
}
func (m *OperatingSystemVersionConstant) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_OperatingSystemVersionConstant.Unmarshal(m, b)
}
func (m *OperatingSystemVersionConstant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_OperatingSystemVersionConstant.Marshal(b, m, deterministic)
}
func (dst *OperatingSystemVersionConstant) XXX_Merge(src proto.Message) {
	xxx_messageInfo_OperatingSystemVersionConstant.Merge(dst, src)
}
func (m *OperatingSystemVersionConstant) XXX_Size() int {
	return xxx_messageInfo_OperatingSystemVersionConstant.Size(m)
}
func (m *OperatingSystemVersionConstant) XXX_DiscardUnknown() {
	xxx_messageInfo_OperatingSystemVersionConstant.DiscardUnknown(m)
}

var xxx_messageInfo_OperatingSystemVersionConstant proto.InternalMessageInfo

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

func (m *OperatingSystemVersionConstant) GetId() *wrappers.Int64Value {
	if m != nil {
		return m.Id
	}
	return nil
}

func (m *OperatingSystemVersionConstant) GetName() *wrappers.StringValue {
	if m != nil {
		return m.Name
	}
	return nil
}

func (m *OperatingSystemVersionConstant) GetOsMajorVersion() *wrappers.Int32Value {
	if m != nil {
		return m.OsMajorVersion
	}
	return nil
}

func (m *OperatingSystemVersionConstant) GetOsMinorVersion() *wrappers.Int32Value {
	if m != nil {
		return m.OsMinorVersion
	}
	return nil
}

func (m *OperatingSystemVersionConstant) GetOperatorType() enums.OperatingSystemVersionOperatorTypeEnum_OperatingSystemVersionOperatorType {
	if m != nil {
		return m.OperatorType
	}
	return enums.OperatingSystemVersionOperatorTypeEnum_UNSPECIFIED
}

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

func init() {
	proto.RegisterFile("google/ads/googleads/v0/resources/operating_system_version_constant.proto", fileDescriptor_operating_system_version_constant_6e3331dcbb4876e5)
}

var fileDescriptor_operating_system_version_constant_6e3331dcbb4876e5 = []byte{
	// 443 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdd, 0x6a, 0xd4, 0x40,
	0x14, 0xc7, 0x49, 0xb6, 0x16, 0x1c, 0xdb, 0x22, 0xb9, 0x0a, 0x55, 0xca, 0xd6, 0x52, 0x58, 0x10,
	0x26, 0x61, 0x2b, 0x5e, 0x8c, 0x57, 0xa9, 0x94, 0x52, 0x41, 0x5b, 0x52, 0xc9, 0x85, 0x04, 0xc2,
	0x74, 0x33, 0x8e, 0x91, 0xcd, 0x9c, 0x30, 0x33, 0x59, 0xd9, 0x87, 0x10, 0x7c, 0x06, 0x2f, 0x7d,
	0x0c, 0x2f, 0x7d, 0x14, 0x9f, 0x42, 0x32, 0x93, 0x09, 0x2b, 0xba, 0xdb, 0xbd, 0x3b, 0x93, 0xf3,
	0x3f, 0xbf, 0xf3, 0x19, 0x74, 0xc5, 0x01, 0xf8, 0x9c, 0x45, 0xb4, 0x54, 0x91, 0x35, 0x3b, 0x6b,
	0x11, 0x47, 0x92, 0x29, 0x68, 0xe5, 0x8c, 0xa9, 0x08, 0x1a, 0x26, 0xa9, 0xae, 0x04, 0x2f, 0xd4,
	0x52, 0x69, 0x56, 0x17, 0x0b, 0x26, 0x55, 0x05, 0xa2, 0x98, 0x81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