// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/automl/v1beta1/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_584ed6bab6ac13f7, []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.v1beta1.AnnotationSpec")
}

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

var fileDescriptor_584ed6bab6ac13f7 = []byte{
	// 342 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xbf, 0x4e, 0xf3, 0x30,
	0x14, 0xc5, 0xe5, 0xea, 0xfb, 0x90, 0x1a, 0x0a, 0x43, 0xa6, 0xd2, 0x22, 0x28, 0x7f, 0x86, 0x4e,
	0xb6, 0x2a, 0x36, 0x33, 0x85, 0x0e, 0x2c, 0x80, 0x50, 0x91, 0x18, 0x50, 0xa4, 0xca, 0x75, 0xad,
	0x28, 0xc8, 0xf1, 0xb5, 0x62, 0x07, 0x81, 0xaa, 0x6c, 0x0c, 0xbc, 0x08, 0x2f, 0xc3, 0xa3, 0xf4,
	0x05, 0x58, 0x51, 0x6c, 0x43, 0xab, 0x0a, 0xb1, 0xdd, 0x9c, 0xdf, 0x39, 0x37, 0x27, 0x37, 0xd1,
	0x28, 0x03, 0xc8, 0xa4, 0x20, 0x5c, 0x42, 0x35, 0x27, 0xac, 0xb2,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