forked from googleapis/java-spanner
/
annotation_spec.pb.go
118 lines (103 loc) · 4.76 KB
/
annotation_spec.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
// 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_]+`.
// (_), 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_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{
// 265 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x4a, 0xc4, 0x30,
0x14, 0x86, 0x49, 0x51, 0x61, 0xe2, 0xe8, 0xa2, 0xab, 0xc1, 0x11, 0x1d, 0x75, 0x33, 0xab, 0x84,
0xe2, 0x2e, 0xae, 0xea, 0x2c, 0xdc, 0xa8, 0xc8, 0x08, 0x2e, 0xa4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