1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/datacatalog/v1beta1/tags.proto
3
4package datacatalog
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11	timestamp "github.com/golang/protobuf/ptypes/timestamp"
12	_ "google.golang.org/genproto/googleapis/api/annotations"
13)
14
15// Reference imports to suppress errors if they are not otherwise used.
16var _ = proto.Marshal
17var _ = fmt.Errorf
18var _ = math.Inf
19
20// This is a compile-time assertion to ensure that this generated file
21// is compatible with the proto package it is being compiled against.
22// A compilation error at this line likely means your copy of the
23// proto package needs to be updated.
24const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
25
26type FieldType_PrimitiveType int32
27
28const (
29	// This is the default invalid value for a type.
30	FieldType_PRIMITIVE_TYPE_UNSPECIFIED FieldType_PrimitiveType = 0
31	// A double precision number.
32	FieldType_DOUBLE FieldType_PrimitiveType = 1
33	// An UTF-8 string.
34	FieldType_STRING FieldType_PrimitiveType = 2
35	// A boolean value.
36	FieldType_BOOL FieldType_PrimitiveType = 3
37	// A timestamp.
38	FieldType_TIMESTAMP FieldType_PrimitiveType = 4
39)
40
41var FieldType_PrimitiveType_name = map[int32]string{
42	0: "PRIMITIVE_TYPE_UNSPECIFIED",
43	1: "DOUBLE",
44	2: "STRING",
45	3: "BOOL",
46	4: "TIMESTAMP",
47}
48
49var FieldType_PrimitiveType_value = map[string]int32{
50	"PRIMITIVE_TYPE_UNSPECIFIED": 0,
51	"DOUBLE":                     1,
52	"STRING":                     2,
53	"BOOL":                       3,
54	"TIMESTAMP":                  4,
55}
56
57func (x FieldType_PrimitiveType) String() string {
58	return proto.EnumName(FieldType_PrimitiveType_name, int32(x))
59}
60
61func (FieldType_PrimitiveType) EnumDescriptor() ([]byte, []int) {
62	return fileDescriptor_6fd303c40f581309, []int{4, 0}
63}
64
65// Tags are used to attach custom metadata to Data Catalog resources. Tags
66// conform to the specifications within their tag template.
67//
68// See [Data Catalog IAM](/data-catalog/docs/concepts/iam) for information on
69// the permissions needed to create or view tags.
70type Tag struct {
71	// The resource name of the tag in URL format. Example:
72	//
73	// * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id}
74	//
75	// where `tag_id` is a system-generated identifier.
76	// Note that this Tag may not actually be stored in the location in this name.
77	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
78	// Required. The resource name of the tag template that this tag uses.
79	// Example:
80	//
81	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
82	//
83	// This field cannot be modified after creation.
84	Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
85	// Output only. The display name of the tag template.
86	TemplateDisplayName string `protobuf:"bytes,5,opt,name=template_display_name,json=templateDisplayName,proto3" json:"template_display_name,omitempty"`
87	// The scope within the parent resource that this tag is attached to. If not
88	// provided, the tag is attached to the parent resource itself.
89	// Deleting the scope from the parent resource will delete all tags attached
90	// to that scope. These fields cannot be updated after creation.
91	//
92	// Types that are valid to be assigned to Scope:
93	//	*Tag_Column
94	Scope isTag_Scope `protobuf_oneof:"scope"`
95	// Required. This maps the ID of a tag field to the value of and additional
96	// information about that field. Valid field IDs are defined by the tag's
97	// template. A tag must have at least 1 field and at most 500 fields.
98	Fields               map[string]*TagField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
99	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
100	XXX_unrecognized     []byte               `json:"-"`
101	XXX_sizecache        int32                `json:"-"`
102}
103
104func (m *Tag) Reset()         { *m = Tag{} }
105func (m *Tag) String() string { return proto.CompactTextString(m) }
106func (*Tag) ProtoMessage()    {}
107func (*Tag) Descriptor() ([]byte, []int) {
108	return fileDescriptor_6fd303c40f581309, []int{0}
109}
110
111func (m *Tag) XXX_Unmarshal(b []byte) error {
112	return xxx_messageInfo_Tag.Unmarshal(m, b)
113}
114func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
115	return xxx_messageInfo_Tag.Marshal(b, m, deterministic)
116}
117func (m *Tag) XXX_Merge(src proto.Message) {
118	xxx_messageInfo_Tag.Merge(m, src)
119}
120func (m *Tag) XXX_Size() int {
121	return xxx_messageInfo_Tag.Size(m)
122}
123func (m *Tag) XXX_DiscardUnknown() {
124	xxx_messageInfo_Tag.DiscardUnknown(m)
125}
126
127var xxx_messageInfo_Tag proto.InternalMessageInfo
128
129func (m *Tag) GetName() string {
130	if m != nil {
131		return m.Name
132	}
133	return ""
134}
135
136func (m *Tag) GetTemplate() string {
137	if m != nil {
138		return m.Template
139	}
140	return ""
141}
142
143func (m *Tag) GetTemplateDisplayName() string {
144	if m != nil {
145		return m.TemplateDisplayName
146	}
147	return ""
148}
149
150type isTag_Scope interface {
151	isTag_Scope()
152}
153
154type Tag_Column struct {
155	Column string `protobuf:"bytes,4,opt,name=column,proto3,oneof"`
156}
157
158func (*Tag_Column) isTag_Scope() {}
159
160func (m *Tag) GetScope() isTag_Scope {
161	if m != nil {
162		return m.Scope
163	}
164	return nil
165}
166
167func (m *Tag) GetColumn() string {
168	if x, ok := m.GetScope().(*Tag_Column); ok {
169		return x.Column
170	}
171	return ""
172}
173
174func (m *Tag) GetFields() map[string]*TagField {
175	if m != nil {
176		return m.Fields
177	}
178	return nil
179}
180
181// XXX_OneofWrappers is for the internal use of the proto package.
182func (*Tag) XXX_OneofWrappers() []interface{} {
183	return []interface{}{
184		(*Tag_Column)(nil),
185	}
186}
187
188// Contains the value and supporting information for a field within
189// a [Tag][google.cloud.datacatalog.v1beta1.Tag].
190type TagField struct {
191	// Output only. The display name of this field.
192	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
193	// Required. The value of this field.
194	//
195	// Types that are valid to be assigned to Kind:
196	//	*TagField_DoubleValue
197	//	*TagField_StringValue
198	//	*TagField_BoolValue
199	//	*TagField_TimestampValue
200	//	*TagField_EnumValue_
201	Kind                 isTagField_Kind `protobuf_oneof:"kind"`
202	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
203	XXX_unrecognized     []byte          `json:"-"`
204	XXX_sizecache        int32           `json:"-"`
205}
206
207func (m *TagField) Reset()         { *m = TagField{} }
208func (m *TagField) String() string { return proto.CompactTextString(m) }
209func (*TagField) ProtoMessage()    {}
210func (*TagField) Descriptor() ([]byte, []int) {
211	return fileDescriptor_6fd303c40f581309, []int{1}
212}
213
214func (m *TagField) XXX_Unmarshal(b []byte) error {
215	return xxx_messageInfo_TagField.Unmarshal(m, b)
216}
217func (m *TagField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
218	return xxx_messageInfo_TagField.Marshal(b, m, deterministic)
219}
220func (m *TagField) XXX_Merge(src proto.Message) {
221	xxx_messageInfo_TagField.Merge(m, src)
222}
223func (m *TagField) XXX_Size() int {
224	return xxx_messageInfo_TagField.Size(m)
225}
226func (m *TagField) XXX_DiscardUnknown() {
227	xxx_messageInfo_TagField.DiscardUnknown(m)
228}
229
230var xxx_messageInfo_TagField proto.InternalMessageInfo
231
232func (m *TagField) GetDisplayName() string {
233	if m != nil {
234		return m.DisplayName
235	}
236	return ""
237}
238
239type isTagField_Kind interface {
240	isTagField_Kind()
241}
242
243type TagField_DoubleValue struct {
244	DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"`
245}
246
247type TagField_StringValue struct {
248	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
249}
250
251type TagField_BoolValue struct {
252	BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
253}
254
255type TagField_TimestampValue struct {
256	TimestampValue *timestamp.Timestamp `protobuf:"bytes,5,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`
257}
258
259type TagField_EnumValue_ struct {
260	EnumValue *TagField_EnumValue `protobuf:"bytes,6,opt,name=enum_value,json=enumValue,proto3,oneof"`
261}
262
263func (*TagField_DoubleValue) isTagField_Kind() {}
264
265func (*TagField_StringValue) isTagField_Kind() {}
266
267func (*TagField_BoolValue) isTagField_Kind() {}
268
269func (*TagField_TimestampValue) isTagField_Kind() {}
270
271func (*TagField_EnumValue_) isTagField_Kind() {}
272
273func (m *TagField) GetKind() isTagField_Kind {
274	if m != nil {
275		return m.Kind
276	}
277	return nil
278}
279
280func (m *TagField) GetDoubleValue() float64 {
281	if x, ok := m.GetKind().(*TagField_DoubleValue); ok {
282		return x.DoubleValue
283	}
284	return 0
285}
286
287func (m *TagField) GetStringValue() string {
288	if x, ok := m.GetKind().(*TagField_StringValue); ok {
289		return x.StringValue
290	}
291	return ""
292}
293
294func (m *TagField) GetBoolValue() bool {
295	if x, ok := m.GetKind().(*TagField_BoolValue); ok {
296		return x.BoolValue
297	}
298	return false
299}
300
301func (m *TagField) GetTimestampValue() *timestamp.Timestamp {
302	if x, ok := m.GetKind().(*TagField_TimestampValue); ok {
303		return x.TimestampValue
304	}
305	return nil
306}
307
308func (m *TagField) GetEnumValue() *TagField_EnumValue {
309	if x, ok := m.GetKind().(*TagField_EnumValue_); ok {
310		return x.EnumValue
311	}
312	return nil
313}
314
315// XXX_OneofWrappers is for the internal use of the proto package.
316func (*TagField) XXX_OneofWrappers() []interface{} {
317	return []interface{}{
318		(*TagField_DoubleValue)(nil),
319		(*TagField_StringValue)(nil),
320		(*TagField_BoolValue)(nil),
321		(*TagField_TimestampValue)(nil),
322		(*TagField_EnumValue_)(nil),
323	}
324}
325
326// Holds an enum value.
327type TagField_EnumValue struct {
328	// The display name of the enum value.
329	DisplayName          string   `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
330	XXX_NoUnkeyedLiteral struct{} `json:"-"`
331	XXX_unrecognized     []byte   `json:"-"`
332	XXX_sizecache        int32    `json:"-"`
333}
334
335func (m *TagField_EnumValue) Reset()         { *m = TagField_EnumValue{} }
336func (m *TagField_EnumValue) String() string { return proto.CompactTextString(m) }
337func (*TagField_EnumValue) ProtoMessage()    {}
338func (*TagField_EnumValue) Descriptor() ([]byte, []int) {
339	return fileDescriptor_6fd303c40f581309, []int{1, 0}
340}
341
342func (m *TagField_EnumValue) XXX_Unmarshal(b []byte) error {
343	return xxx_messageInfo_TagField_EnumValue.Unmarshal(m, b)
344}
345func (m *TagField_EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
346	return xxx_messageInfo_TagField_EnumValue.Marshal(b, m, deterministic)
347}
348func (m *TagField_EnumValue) XXX_Merge(src proto.Message) {
349	xxx_messageInfo_TagField_EnumValue.Merge(m, src)
350}
351func (m *TagField_EnumValue) XXX_Size() int {
352	return xxx_messageInfo_TagField_EnumValue.Size(m)
353}
354func (m *TagField_EnumValue) XXX_DiscardUnknown() {
355	xxx_messageInfo_TagField_EnumValue.DiscardUnknown(m)
356}
357
358var xxx_messageInfo_TagField_EnumValue proto.InternalMessageInfo
359
360func (m *TagField_EnumValue) GetDisplayName() string {
361	if m != nil {
362		return m.DisplayName
363	}
364	return ""
365}
366
367// A tag template defines the schema of the tags used to attach to Data Catalog
368// resources. It defines the mapping of accepted field names and types that can
369// be used within the tag. The tag template also controls the access to the tag.
370type TagTemplate struct {
371	// The resource name of the tag template in URL format. Example:
372	//
373	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
374	//
375	// Note that this TagTemplate and its child resources may not actually be
376	// stored in the location in this name.
377	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
378	// The display name for this template. Defaults to an empty string.
379	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
380	// Required. Map of tag template field IDs to the settings for the field.
381	// This map is an exhaustive list of the allowed fields. This map must contain
382	// at least one field and at most 500 fields.
383	//
384	// The keys to this map are tag template field IDs. Field IDs can contain
385	// letters (both uppercase and lowercase), numbers (0-9) and underscores (_).
386	// Field IDs must be at least 1 character long and at most
387	// 64 characters long. Field IDs must start with a letter or underscore.
388	Fields               map[string]*TagTemplateField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
389	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
390	XXX_unrecognized     []byte                       `json:"-"`
391	XXX_sizecache        int32                        `json:"-"`
392}
393
394func (m *TagTemplate) Reset()         { *m = TagTemplate{} }
395func (m *TagTemplate) String() string { return proto.CompactTextString(m) }
396func (*TagTemplate) ProtoMessage()    {}
397func (*TagTemplate) Descriptor() ([]byte, []int) {
398	return fileDescriptor_6fd303c40f581309, []int{2}
399}
400
401func (m *TagTemplate) XXX_Unmarshal(b []byte) error {
402	return xxx_messageInfo_TagTemplate.Unmarshal(m, b)
403}
404func (m *TagTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
405	return xxx_messageInfo_TagTemplate.Marshal(b, m, deterministic)
406}
407func (m *TagTemplate) XXX_Merge(src proto.Message) {
408	xxx_messageInfo_TagTemplate.Merge(m, src)
409}
410func (m *TagTemplate) XXX_Size() int {
411	return xxx_messageInfo_TagTemplate.Size(m)
412}
413func (m *TagTemplate) XXX_DiscardUnknown() {
414	xxx_messageInfo_TagTemplate.DiscardUnknown(m)
415}
416
417var xxx_messageInfo_TagTemplate proto.InternalMessageInfo
418
419func (m *TagTemplate) GetName() string {
420	if m != nil {
421		return m.Name
422	}
423	return ""
424}
425
426func (m *TagTemplate) GetDisplayName() string {
427	if m != nil {
428		return m.DisplayName
429	}
430	return ""
431}
432
433func (m *TagTemplate) GetFields() map[string]*TagTemplateField {
434	if m != nil {
435		return m.Fields
436	}
437	return nil
438}
439
440// The template for an individual field within a tag template.
441type TagTemplateField struct {
442	// Output only. The resource name of the tag template field in URL format.
443	// Example:
444	//
445	// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field}
446	//
447	// Note that this TagTemplateField may not actually be stored in the location
448	// in this name.
449	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
450	// The display name for this field. Defaults to an empty string.
451	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
452	// Required. The type of value this tag field can contain.
453	Type                 *FieldType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
454	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
455	XXX_unrecognized     []byte     `json:"-"`
456	XXX_sizecache        int32      `json:"-"`
457}
458
459func (m *TagTemplateField) Reset()         { *m = TagTemplateField{} }
460func (m *TagTemplateField) String() string { return proto.CompactTextString(m) }
461func (*TagTemplateField) ProtoMessage()    {}
462func (*TagTemplateField) Descriptor() ([]byte, []int) {
463	return fileDescriptor_6fd303c40f581309, []int{3}
464}
465
466func (m *TagTemplateField) XXX_Unmarshal(b []byte) error {
467	return xxx_messageInfo_TagTemplateField.Unmarshal(m, b)
468}
469func (m *TagTemplateField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
470	return xxx_messageInfo_TagTemplateField.Marshal(b, m, deterministic)
471}
472func (m *TagTemplateField) XXX_Merge(src proto.Message) {
473	xxx_messageInfo_TagTemplateField.Merge(m, src)
474}
475func (m *TagTemplateField) XXX_Size() int {
476	return xxx_messageInfo_TagTemplateField.Size(m)
477}
478func (m *TagTemplateField) XXX_DiscardUnknown() {
479	xxx_messageInfo_TagTemplateField.DiscardUnknown(m)
480}
481
482var xxx_messageInfo_TagTemplateField proto.InternalMessageInfo
483
484func (m *TagTemplateField) GetName() string {
485	if m != nil {
486		return m.Name
487	}
488	return ""
489}
490
491func (m *TagTemplateField) GetDisplayName() string {
492	if m != nil {
493		return m.DisplayName
494	}
495	return ""
496}
497
498func (m *TagTemplateField) GetType() *FieldType {
499	if m != nil {
500		return m.Type
501	}
502	return nil
503}
504
505type FieldType struct {
506	// Required.
507	//
508	// Types that are valid to be assigned to TypeDecl:
509	//	*FieldType_PrimitiveType_
510	//	*FieldType_EnumType_
511	TypeDecl             isFieldType_TypeDecl `protobuf_oneof:"type_decl"`
512	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
513	XXX_unrecognized     []byte               `json:"-"`
514	XXX_sizecache        int32                `json:"-"`
515}
516
517func (m *FieldType) Reset()         { *m = FieldType{} }
518func (m *FieldType) String() string { return proto.CompactTextString(m) }
519func (*FieldType) ProtoMessage()    {}
520func (*FieldType) Descriptor() ([]byte, []int) {
521	return fileDescriptor_6fd303c40f581309, []int{4}
522}
523
524func (m *FieldType) XXX_Unmarshal(b []byte) error {
525	return xxx_messageInfo_FieldType.Unmarshal(m, b)
526}
527func (m *FieldType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
528	return xxx_messageInfo_FieldType.Marshal(b, m, deterministic)
529}
530func (m *FieldType) XXX_Merge(src proto.Message) {
531	xxx_messageInfo_FieldType.Merge(m, src)
532}
533func (m *FieldType) XXX_Size() int {
534	return xxx_messageInfo_FieldType.Size(m)
535}
536func (m *FieldType) XXX_DiscardUnknown() {
537	xxx_messageInfo_FieldType.DiscardUnknown(m)
538}
539
540var xxx_messageInfo_FieldType proto.InternalMessageInfo
541
542type isFieldType_TypeDecl interface {
543	isFieldType_TypeDecl()
544}
545
546type FieldType_PrimitiveType_ struct {
547	PrimitiveType FieldType_PrimitiveType `protobuf:"varint,1,opt,name=primitive_type,json=primitiveType,proto3,enum=google.cloud.datacatalog.v1beta1.FieldType_PrimitiveType,oneof"`
548}
549
550type FieldType_EnumType_ struct {
551	EnumType *FieldType_EnumType `protobuf:"bytes,2,opt,name=enum_type,json=enumType,proto3,oneof"`
552}
553
554func (*FieldType_PrimitiveType_) isFieldType_TypeDecl() {}
555
556func (*FieldType_EnumType_) isFieldType_TypeDecl() {}
557
558func (m *FieldType) GetTypeDecl() isFieldType_TypeDecl {
559	if m != nil {
560		return m.TypeDecl
561	}
562	return nil
563}
564
565func (m *FieldType) GetPrimitiveType() FieldType_PrimitiveType {
566	if x, ok := m.GetTypeDecl().(*FieldType_PrimitiveType_); ok {
567		return x.PrimitiveType
568	}
569	return FieldType_PRIMITIVE_TYPE_UNSPECIFIED
570}
571
572func (m *FieldType) GetEnumType() *FieldType_EnumType {
573	if x, ok := m.GetTypeDecl().(*FieldType_EnumType_); ok {
574		return x.EnumType
575	}
576	return nil
577}
578
579// XXX_OneofWrappers is for the internal use of the proto package.
580func (*FieldType) XXX_OneofWrappers() []interface{} {
581	return []interface{}{
582		(*FieldType_PrimitiveType_)(nil),
583		(*FieldType_EnumType_)(nil),
584	}
585}
586
587type FieldType_EnumType struct {
588	// Required on create; optional on update. The set of allowed values for
589	// this enum. This set must not be empty, the display names of the values in
590	// this set must not be empty and the display names of the values must be
591	// case-insensitively unique within this set. Currently, enum values can
592	// only be added to the list of allowed values. Deletion and renaming of
593	// enum values are not supported. Can have up to 500 allowed values.
594	AllowedValues        []*FieldType_EnumType_EnumValue `protobuf:"bytes,1,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
595	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
596	XXX_unrecognized     []byte                          `json:"-"`
597	XXX_sizecache        int32                           `json:"-"`
598}
599
600func (m *FieldType_EnumType) Reset()         { *m = FieldType_EnumType{} }
601func (m *FieldType_EnumType) String() string { return proto.CompactTextString(m) }
602func (*FieldType_EnumType) ProtoMessage()    {}
603func (*FieldType_EnumType) Descriptor() ([]byte, []int) {
604	return fileDescriptor_6fd303c40f581309, []int{4, 0}
605}
606
607func (m *FieldType_EnumType) XXX_Unmarshal(b []byte) error {
608	return xxx_messageInfo_FieldType_EnumType.Unmarshal(m, b)
609}
610func (m *FieldType_EnumType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
611	return xxx_messageInfo_FieldType_EnumType.Marshal(b, m, deterministic)
612}
613func (m *FieldType_EnumType) XXX_Merge(src proto.Message) {
614	xxx_messageInfo_FieldType_EnumType.Merge(m, src)
615}
616func (m *FieldType_EnumType) XXX_Size() int {
617	return xxx_messageInfo_FieldType_EnumType.Size(m)
618}
619func (m *FieldType_EnumType) XXX_DiscardUnknown() {
620	xxx_messageInfo_FieldType_EnumType.DiscardUnknown(m)
621}
622
623var xxx_messageInfo_FieldType_EnumType proto.InternalMessageInfo
624
625func (m *FieldType_EnumType) GetAllowedValues() []*FieldType_EnumType_EnumValue {
626	if m != nil {
627		return m.AllowedValues
628	}
629	return nil
630}
631
632type FieldType_EnumType_EnumValue struct {
633	// Required. The display name of the enum value. Must not be an empty
634	// string.
635	DisplayName          string   `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
636	XXX_NoUnkeyedLiteral struct{} `json:"-"`
637	XXX_unrecognized     []byte   `json:"-"`
638	XXX_sizecache        int32    `json:"-"`
639}
640
641func (m *FieldType_EnumType_EnumValue) Reset()         { *m = FieldType_EnumType_EnumValue{} }
642func (m *FieldType_EnumType_EnumValue) String() string { return proto.CompactTextString(m) }
643func (*FieldType_EnumType_EnumValue) ProtoMessage()    {}
644func (*FieldType_EnumType_EnumValue) Descriptor() ([]byte, []int) {
645	return fileDescriptor_6fd303c40f581309, []int{4, 0, 0}
646}
647
648func (m *FieldType_EnumType_EnumValue) XXX_Unmarshal(b []byte) error {
649	return xxx_messageInfo_FieldType_EnumType_EnumValue.Unmarshal(m, b)
650}
651func (m *FieldType_EnumType_EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
652	return xxx_messageInfo_FieldType_EnumType_EnumValue.Marshal(b, m, deterministic)
653}
654func (m *FieldType_EnumType_EnumValue) XXX_Merge(src proto.Message) {
655	xxx_messageInfo_FieldType_EnumType_EnumValue.Merge(m, src)
656}
657func (m *FieldType_EnumType_EnumValue) XXX_Size() int {
658	return xxx_messageInfo_FieldType_EnumType_EnumValue.Size(m)
659}
660func (m *FieldType_EnumType_EnumValue) XXX_DiscardUnknown() {
661	xxx_messageInfo_FieldType_EnumType_EnumValue.DiscardUnknown(m)
662}
663
664var xxx_messageInfo_FieldType_EnumType_EnumValue proto.InternalMessageInfo
665
666func (m *FieldType_EnumType_EnumValue) GetDisplayName() string {
667	if m != nil {
668		return m.DisplayName
669	}
670	return ""
671}
672
673func init() {
674	proto.RegisterEnum("google.cloud.datacatalog.v1beta1.FieldType_PrimitiveType", FieldType_PrimitiveType_name, FieldType_PrimitiveType_value)
675	proto.RegisterType((*Tag)(nil), "google.cloud.datacatalog.v1beta1.Tag")
676	proto.RegisterMapType((map[string]*TagField)(nil), "google.cloud.datacatalog.v1beta1.Tag.FieldsEntry")
677	proto.RegisterType((*TagField)(nil), "google.cloud.datacatalog.v1beta1.TagField")
678	proto.RegisterType((*TagField_EnumValue)(nil), "google.cloud.datacatalog.v1beta1.TagField.EnumValue")
679	proto.RegisterType((*TagTemplate)(nil), "google.cloud.datacatalog.v1beta1.TagTemplate")
680	proto.RegisterMapType((map[string]*TagTemplateField)(nil), "google.cloud.datacatalog.v1beta1.TagTemplate.FieldsEntry")
681	proto.RegisterType((*TagTemplateField)(nil), "google.cloud.datacatalog.v1beta1.TagTemplateField")
682	proto.RegisterType((*FieldType)(nil), "google.cloud.datacatalog.v1beta1.FieldType")
683	proto.RegisterType((*FieldType_EnumType)(nil), "google.cloud.datacatalog.v1beta1.FieldType.EnumType")
684	proto.RegisterType((*FieldType_EnumType_EnumValue)(nil), "google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue")
685}
686
687func init() {
688	proto.RegisterFile("google/cloud/datacatalog/v1beta1/tags.proto", fileDescriptor_6fd303c40f581309)
689}
690
691var fileDescriptor_6fd303c40f581309 = []byte{
692	// 904 bytes of a gzipped FileDescriptorProto
693	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcd, 0x6f, 0xe3, 0x44,
694	0x14, 0x8f, 0xe3, 0x34, 0x24, 0x2f, 0xdb, 0x12, 0x0d, 0x42, 0x84, 0x1c, 0xb6, 0x25, 0xa0, 0xd5,
695	0x8a, 0x4a, 0xb6, 0xda, 0x5d, 0x09, 0x28, 0x12, 0x22, 0xd9, 0x7a, 0x37, 0x11, 0xdb, 0x36, 0x72,
696	0xdd, 0x4a, 0x20, 0x24, 0x33, 0xb1, 0x67, 0x8d, 0x59, 0xdb, 0x63, 0xf9, 0xa3, 0x10, 0x45, 0x41,
697	0xda, 0x03, 0xff, 0x05, 0x67, 0xfe, 0x1f, 0xee, 0x1c, 0x38, 0xf7, 0xca, 0x85, 0x0b, 0x12, 0xf2,
698	0x7c, 0x24, 0x4e, 0x3f, 0x68, 0x16, 0xed, 0x29, 0xf3, 0xde, 0xfc, 0xde, 0x6f, 0xde, 0xfc, 0xde,
699	0x7b, 0x13, 0xc3, 0xae, 0x47, 0xa9, 0x17, 0x10, 0xdd, 0x09, 0x68, 0xee, 0xea, 0x2e, 0xce, 0xb0,
700	0x83, 0x33, 0x1c, 0x50, 0x4f, 0xbf, 0xd8, 0x9b, 0x90, 0x0c, 0xef, 0xe9, 0x19, 0xf6, 0x52, 0x2d,
701	0x4e, 0x68, 0x46, 0xd1, 0x0e, 0x07, 0x6b, 0x0c, 0xac, 0x95, 0xc0, 0x9a, 0x00, 0x77, 0xb7, 0x05,
702	0x1d, 0x8e, 0x7d, 0xfd, 0x85, 0x4f, 0x02, 0xd7, 0x9e, 0x90, 0xef, 0xf1, 0x85, 0x4f, 0x13, 0x4e,
703	0xd1, 0x7d, 0xbf, 0x04, 0x48, 0x48, 0x4a, 0xf3, 0xc4, 0x21, 0x62, 0x4b, 0xc6, 0x32, 0x6b, 0x92,
704	0xbf, 0xd0, 0x33, 0x3f, 0x24, 0x69, 0x86, 0xc3, 0x98, 0x03, 0x7a, 0xbf, 0xab, 0xa0, 0x5a, 0xd8,
705	0x43, 0x08, 0x6a, 0x11, 0x0e, 0x49, 0x47, 0xd9, 0x51, 0x1e, 0x36, 0x4d, 0xb6, 0x46, 0xdb, 0xd0,
706	0xc8, 0x48, 0x18, 0x07, 0x38, 0x23, 0x9d, 0x6a, 0xe1, 0x1f, 0xa8, 0x7f, 0xf6, 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xc1, 0x46, 0xea, 0xd0, 0x98, 0xf4, 0xfe, 0xaa, 0x42, 0x43, 0x26, 0x89, 0x1e, 0xc0, 0xbd, 0x95,
719	0xd2, 0x28, 0xcb, 0xd2, 0xb4, 0xdc, 0x52, 0x49, 0x3e, 0x84, 0x7b, 0x2e, 0xcd, 0x27, 0x01, 0xb1,
720	0x97, 0x72, 0x28, 0xc3, 0x8a, 0xd9, 0xe2, 0xde, 0xf3, 0xc2, 0x59, 0x80, 0xd2, 0x2c, 0xf1, 0x23,
721	0x4f, 0x80, 0x54, 0x51, 0xbd, 0x16, 0xf7, 0x72, 0xd0, 0x36, 0xc0, 0x84, 0xd2, 0x40, 0x40, 0x8a,
722	0x02, 0x37, 0x86, 0x15, 0xb3, 0x59, 0xf8, 0x38, 0xc0, 0x80, 0xb7, 0x17, 0x6d, 0x28, 0x50, 0x1b,
723	0x4c, 0xfc, 0xae, 0x14, 0x5f, 0xb6, 0xab, 0x66, 0x49, 0xdc, 0xb0, 0x62, 0x6e, 0x2d, 0x82, 0x38,
724	0xcd, 0x19, 0x00, 0x89, 0xf2, 0x50, 0x30, 0xd4, 0x19, 0xc3, 0xe3, 0xf5, 0xcb, 0xa7, 0x19, 0x51,
725	0x1e, 0x32, 0xa6, 0x22, 0x3b, 0x22, 0x8d, 0xae, 0x06, 0xcd, 0xc5, 0x0e, 0xfa, 0xe0, 0x26, 0xf5,
726	0x56, 0x84, 0x1b, 0xd4, 0xa1, 0xf6, 0xd2, 0x8f, 0xdc, 0xde, 0x3f, 0x55, 0x68, 0x59, 0xd8, 0xb3,
727	0xe4, 0x70, 0xdc, 0x34, 0x51, 0x57, 0xe9, 0xaa, 0xd7, 0xe8, 0xd0, 0xf9, 0x95, 0x01, 0xf8, 0x6c,
728	0xad, 0x1b, 0xc9, 0x53, 0x6f, 0x1f, 0x84, 0xf0, 0xae, 0x41, 0x18, 0xae, 0x0e, 0xc2, 0xfe, 0x6b,
729	0x9d, 0x7b, 0x6d, 0x20, 0xe2,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, 0x5d, 0xe9, 0x9e, 0xde, 0x77, 0xb0, 0xb9,
741	0xa2, 0x0f, 0xba, 0x0f, 0xdd, 0xb1, 0x39, 0x3a, 0x1a, 0x59, 0xa3, 0x73, 0xc3, 0xb6, 0xbe, 0x1e,
742	0x1b, 0xf6, 0xd9, 0xf1, 0xe9, 0xd8, 0x78, 0x32, 0x7a, 0x3a, 0x32, 0x0e, 0xdb, 0x15, 0x04, 0x50,
743	0x3f, 0x3c, 0x39, 0x1b, 0x3c, 0x37, 0xda, 0x4a, 0xb1, 0x3e, 0xb5, 0xcc, 0xd1, 0xf1, 0xb3, 0x76,
744	0x15, 0x35, 0xa0, 0x36, 0x38, 0x39, 0x79, 0xde, 0x56, 0xd1, 0x26, 0x34, 0xad, 0xd1, 0x91, 0x71,
745	0x6a, 0xf5, 0x8f, 0xc6, 0xed, 0xda, 0xa0, 0x05, 0xcd, 0x42, 0x5a, 0xdb, 0x25, 0x4e, 0x30, 0xf8,
746	0x09, 0x3e, 0x72, 0x68, 0x78, 0xe7, 0xbd, 0xc7, 0xca, 0x37, 0x5f, 0x09, 0x8c, 0x47, 0x03, 0x1c,
747	0x79, 0x1a, 0x4d, 0x3c, 0xdd, 0x23, 0x11, 0x7b, 0x71, 0xf5, 0x65, 0x63, 0xde, 0xfe, 0xf1, 0xf2,
748	0x79, 0xc9, 0xf7, 0xb7, 0xa2, 0x4c, 0xea, 0x2c, 0xf4, 0xd1, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff,
749	0x16, 0x97, 0x0e, 0xdb, 0xf6, 0x08, 0x00, 0x00,
750}
751