// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/automl/v1/annotation_spec.proto

package automl

import (
	fmt "fmt"
	math "math"

	proto "github.com/golang/protobuf/proto"
	_ "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 definition of an annotation spec.
type AnnotationSpec struct {
	// Output only. Resource name of the annotation spec.
	// Form:
	//
	// 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The name of the annotation spec to show in the interface. The name can be
	// up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Output only. The number of examples in the parent dataset
	// labeled by the annotation spec.
	ExampleCount         int32    `protobuf:"varint,9,opt,name=example_count,json=exampleCount,proto3" json:"example_count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_AnnotationSpec proto.InternalMessageInfo

func (m *AnnotationSpec) GetName() string {
	if m != nil {
		return m.Name
	}
	return ""
}

func (m *AnnotationSpec) GetDisplayName() string {
	if m != nil {
		return m.DisplayName
	}
	return ""
}

func (m *AnnotationSpec) GetExampleCount() int32 {
	if m != nil {
		return m.ExampleCount
	}
	return 0
}

func init() {
	proto.RegisterType((*AnnotationSpec)(nil), "google.cloud.automl.v1.AnnotationSpec")
}

func init() {
	proto.RegisterFile("google/cloud/automl/v1/annotation_spec.proto", fileDescriptor_2ee96c3e572b3bf1)
}

var fileDescriptor_2ee96c3e572b3bf1 = []byte{
	// 345 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x91, 0x3f, 0x4b, 0x03, 0x31,
	0x18, 0xc6, 0x49, 0x51, 0xa1, 0x67, 0x75, 0xb8, 0xa1, 0xb4, 0xc5, 0xa1, 0xfe, 0x19, 0x3a, 0x48,
	0xc2, 0xe1, 0x76, 0xba, 0xd4, 0x0e, 0x2e, 0x2a, 0x52, 0xa1, 0x83, 0x1c, 0x94, 0x98, 0x86, 0xe3,
	0x24, 0x97, 0x37, 0x5c, 0x72, 0x45, 0x29, 0xb7, 0x39, 0xf8, 0x59, 0xfa, 0x51, 0xfc, 0x28, 0xfd,
	0x02, 0xae, 0x72, 0x49, 0x6a, 0x4b, 0x71, 0x7b, 0x78, 0x7f, 0xcf, 0xfb, 0xdc, 0x73, 0x6f, 0x82,
	0xcb, 0x14, 0x20, 0x15, 0x9c, 0x30, 0x01, 0xe5, 0x8c, 0xd0, 0xd2, 0x40,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