package core_protos_go_proto

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

const _ = proto.ProtoPackageIsVersion3 

type VerifierConfig_Toggle int32

const (
	VerifierConfig_DEFAULT VerifierConfig_Toggle = 0
	VerifierConfig_ON      VerifierConfig_Toggle = 1
	VerifierConfig_OFF     VerifierConfig_Toggle = 2
)

var VerifierConfig_Toggle_name = map[int32]string{
	0: "DEFAULT",
	1: "ON",
	2: "OFF",
}

var VerifierConfig_Toggle_value = map[string]int32{
	"DEFAULT": 0,
	"ON":      1,
	"OFF":     2,
}

func (x VerifierConfig_Toggle) String() string {
	return proto.EnumName(VerifierConfig_Toggle_name, int32(x))
}

func (VerifierConfig_Toggle) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_5049fcf5d8bb3c3c, []int{0, 0}
}

type VerifierConfig struct {

	VerificationTimeoutInMs int64 `protobuf:"varint,1,opt,name=verification_timeout_in_ms,json=verificationTimeoutInMs,proto3" json:"verification_timeout_in_ms,omitempty"`

	StructureVerifier    VerifierConfig_Toggle `protobuf:"varint,2,opt,name=structure_verifier,json=structureVerifier,proto3,enum=tensorflow.VerifierConfig_Toggle" json:"structure_verifier,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

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

var xxx_messageInfo_VerifierConfig proto.InternalMessageInfo

func (m *VerifierConfig) GetVerificationTimeoutInMs() int64 {
	if m != nil {
		return m.VerificationTimeoutInMs
	}
	return 0
}

func (m *VerifierConfig) GetStructureVerifier() VerifierConfig_Toggle {
	if m != nil {
		return m.StructureVerifier
	}
	return VerifierConfig_DEFAULT
}

func init() {
	proto.RegisterEnum("tensorflow.VerifierConfig_Toggle", VerifierConfig_Toggle_name, VerifierConfig_Toggle_value)
	proto.RegisterType((*VerifierConfig)(nil), "tensorflow.VerifierConfig")
}

func init() {
	proto.RegisterFile("tensorflow/core/protobuf/verifier_config.proto", fileDescriptor_5049fcf5d8bb3c3c)
}

var fileDescriptor_5049fcf5d8bb3c3c = []byte{

	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xc1, 0x4a, 0xf3, 0x40,
	0x14, 0x85, 0xff, 0x49, 0x21, 0x85, 0xfb, 0x43, 0x89, 0x83, 0x60, 0x70, 0x55, 0xbb, 0x90, 0xae,
	0x12, 0xd0, 0xa5, 0x2b, 0xab, 0x06, 0x05, 0xb5, 0xa1, 0x44, 0x17, 0x6e, 0x86, 0x26, 0x4c, 0xc6,
	0xc1, 0x26, 0x57, 0xee, 0xcc, 0xd8, 0xa5, 0x8f, 0xe7, 0x2b, 0xb9, 0x94, 0x66, 0xac, 0xa6, 0xe0,
	0x66, 0x38, 0x70, 0xbe, 0xcb, 0x19, 0x3e, 0x48, 0xac, 0x6c, 0x0d, 0x52, 0xbd, 0xc2, 0x75, 0x5a,
	0x21, 0xc9, 0xf4, 0x95, 0xd0, 0x62, 0xe9, 0xea,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,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow/core/protobuf/verifier_config.proto

package core_protos_go_proto

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// 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

type VerifierConfig_Toggle int32

const (
	VerifierConfig_DEFAULT VerifierConfig_Toggle = 0
	VerifierConfig_ON      VerifierConfig_Toggle = 1
	VerifierConfig_OFF     VerifierConfig_Toggle = 2
)

var VerifierConfig_Toggle_name = map[int32]string{
	0: "DEFAULT",
	1: "ON",
	2: "OFF",
}

var VerifierConfig_Toggle_value = map[string]int32{
	"DEFAULT": 0,
	"ON":      1,
	"OFF":     2,
}

func (x VerifierConfig_Toggle) String() string {
	return proto.EnumName(VerifierConfig_Toggle_name, int32(x))
}

func (VerifierConfig_Toggle) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_5049fcf5d8bb3c3c, []int{0, 0}
}

// The config for graph verifiers.
type VerifierConfig struct {
	// Deadline for completion of all verification i.e. all the Toggle ON
	// verifiers must complete execution within this time.
	VerificationTimeoutInMs int64 `protobuf:"varint,1,opt,name=verification_timeout_in_ms,json=verificationTimeoutInMs,proto3" json:"verification_timeout_in_ms,omitempty"`
	// Perform structural validation on a tensorflow graph. Default is OFF.
	StructureVerifier    VerifierConfig_Toggle `protobuf:"varint,2,opt,name=structure_verifier,json=structureVerifier,proto3,enum=tensorflow.VerifierConfig_Toggle" json:"structure_verifier,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

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

var xxx_messageInfo_VerifierConfig proto.InternalMessageInfo

func (m *VerifierConfig) GetVerificationTimeoutInMs() int64 {
	if m != nil {
		return m.VerificationTimeoutInMs
	}
	return 0
}

func (m *VerifierConfig) GetStructureVerifier() VerifierConfig_Toggle {
	if m != nil {
		return m.StructureVerifier
	}
	return VerifierConfig_DEFAULT
}

func init() {
	proto.RegisterEnum("tensorflow.VerifierConfig_Toggle", VerifierConfig_Toggle_name, VerifierConfig_Toggle_value)
	proto.RegisterType((*VerifierConfig)(nil), "tensorflow.VerifierConfig")
}

func init() {
	proto.RegisterFile("tensorflow/core/protobuf/verifier_config.proto", fileDescriptor_5049fcf5d8bb3c3c)
}

var fileDescriptor_5049fcf5d8bb3c3c = []byte{
	// 271 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xc1, 0x4a, 0xf3, 0x40,
	0x14, 0x85, 0xff, 0x49, 0x21, 0x85, 0xfb, 0x43, 0x89, 0x83, 0x60, 0x70, 0x55, 0xbb, 0x90, 0xae,
	0x12, 0xd0, 0xa5, 0x2b, 0xab, 0x06, 0x05, 0xb5, 0xa1,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