// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/ads/googleads/v2/resources/operating_system_version_constant.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/v2/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 mobile operating system version or a range of versions, depending on
// `operator_type`. List of available mobile platforms at
// https://developers.google.com/adwords/api/docs/appendix/codes-formats#mobile-platforms
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.v2.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_fc4e1bfff4c9e1bd, []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 (m *OperatingSystemVersionConstant) XXX_Merge(src proto.Message) {
	xxx_messageInfo_OperatingSystemVersionConstant.Merge(m, 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.v2.resources.OperatingSystemVersionConstant")
}

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

var fileDescriptor_fc4e1bfff4c9e1bd = []byte{
	// 458 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0xdf, 0x6a, 0xd4, 0x40,
	0x14, 0xc6, 0x49, 0xb6, 0x16, 0x8c, 0x6d, 0x91, 0x5c, 0x2d, 0xb5, 0x94, 0xad, 0xa5, 0xb0, 0x20,
	0x4c, 0x24, 0x15, 0x2f, 0xc6, 0xab, 0x54, 0x4a, 0xa9, 0xa0, 0x2d, 0x5b, 0xc9, 0x85, 0x2c, 0x84,
	0xe9, 0x66, 0x1c, 0x47, 0x36, 0x73, 0x86, 0x99, 0xc9, 0xca, 0x3e, 0x84, 0xe0, 0x33, 0x78, 0xe9,
	0x63, 0x78, 0xe9, 0xa3, 0xf8, 0x14, 0x92, 0xf9, 0x13, 0x2a, 0xba, 0xdb, 0xbd, 0x3b, 0x93, 0xf3,
	0x3b, 0xdf, 0x37, 0x67, 0xce, 0x49, 0x72, 0xc9, 0x00, 0xd8, 0x9c, 0x66, 0xa4, 0xd6, 0x99, 0x0b,
	0xbb, 0x68, 0x91, 0x67, 0x8a, 0x6a, 0x68, 0xd5, 0x8c, 0xea, 0x0c, 0x24, 0x55, 0xc4, 0x70, 0xc1,
	0x2a, 0xbd, 0xd4, 0x86, 0x36, 0xd5, 0x82, 0x2a, 0xcd, 0x41, 0x54, 0x33, 0x10, 0xda, 0x10, 0x61,
	0x90, 0x54,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