// 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_]+`.
	// (_), and ASCII digits 0-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{
	// 269 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xc1, 0x4a, 0x03, 0x31,
	0x10, 0x86, 0xc9, 0xa2, 0x42, 0x63, 0xf5, 0xb0, 0x87, 0x52, 0x8b, 0x87, 0xaa, 0x97, 0x1e, 0x24,
	0x21, 0x78, 0x8b, 0x5e, 0x6a, 0x0f, 0x5e, 0x54, 0xa4, 0xc2, 0x1e, 0x64, 0x61, 0x89, 0x69, 0x08,
	0x0b, 0xd9, 0x4c, 0xe8, 0x66, 0x8b, 0xbe, 0x52, 0x1f, 0xc5, 0x47, 0xf1, 0x29, 0xa4, 0x99, 0x55,
	0x44, 0xbc, 0x0d, 0xff, 0xf7, 0xfd, 0x93, 0x21, 0xf4, 0xd2, 0x02, 0x58, 0x67, 0xb8, 0x76, 0xd0,
	0xad, 0xb8, 0xea, 0x22, 0x34, 0x8e, 0x6f, 0x04, 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