1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package enterpriseknowledgegraph
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type JobState int32
40
41 const (
42
43 JobState_JOB_STATE_UNSPECIFIED JobState = 0
44
45 JobState_JOB_STATE_PENDING JobState = 9
46
47 JobState_JOB_STATE_RUNNING JobState = 1
48
49 JobState_JOB_STATE_SUCCEEDED JobState = 2
50
51 JobState_JOB_STATE_FAILED JobState = 3
52
53 JobState_JOB_STATE_CANCELLED JobState = 4
54
55 JobState_JOB_STATE_KNOWLEDGE_EXTRACTION JobState = 5
56
57 JobState_JOB_STATE_RECON_PREPROCESSING JobState = 6
58
59 JobState_JOB_STATE_CLUSTERING JobState = 7
60
61 JobState_JOB_STATE_EXPORTING_CLUSTERS JobState = 8
62 )
63
64
65 var (
66 JobState_name = map[int32]string{
67 0: "JOB_STATE_UNSPECIFIED",
68 9: "JOB_STATE_PENDING",
69 1: "JOB_STATE_RUNNING",
70 2: "JOB_STATE_SUCCEEDED",
71 3: "JOB_STATE_FAILED",
72 4: "JOB_STATE_CANCELLED",
73 5: "JOB_STATE_KNOWLEDGE_EXTRACTION",
74 6: "JOB_STATE_RECON_PREPROCESSING",
75 7: "JOB_STATE_CLUSTERING",
76 8: "JOB_STATE_EXPORTING_CLUSTERS",
77 }
78 JobState_value = map[string]int32{
79 "JOB_STATE_UNSPECIFIED": 0,
80 "JOB_STATE_PENDING": 9,
81 "JOB_STATE_RUNNING": 1,
82 "JOB_STATE_SUCCEEDED": 2,
83 "JOB_STATE_FAILED": 3,
84 "JOB_STATE_CANCELLED": 4,
85 "JOB_STATE_KNOWLEDGE_EXTRACTION": 5,
86 "JOB_STATE_RECON_PREPROCESSING": 6,
87 "JOB_STATE_CLUSTERING": 7,
88 "JOB_STATE_EXPORTING_CLUSTERS": 8,
89 }
90 )
91
92 func (x JobState) Enum() *JobState {
93 p := new(JobState)
94 *p = x
95 return p
96 }
97
98 func (x JobState) String() string {
99 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
100 }
101
102 func (JobState) Descriptor() protoreflect.EnumDescriptor {
103 return file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_enumTypes[0].Descriptor()
104 }
105
106 func (JobState) Type() protoreflect.EnumType {
107 return &file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_enumTypes[0]
108 }
109
110 func (x JobState) Number() protoreflect.EnumNumber {
111 return protoreflect.EnumNumber(x)
112 }
113
114
115 func (JobState) EnumDescriptor() ([]byte, []int) {
116 return file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDescGZIP(), []int{0}
117 }
118
119 var File_google_cloud_enterpriseknowledgegraph_v1_job_state_proto protoreflect.FileDescriptor
120
121 var file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDesc = []byte{
122 0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65,
123 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64,
124 0x67, 0x65, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x5f, 0x73,
125 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67,
126 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72,
127 0x69, 0x73, 0x65, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x67, 0x72, 0x61, 0x70,
128 0x68, 0x2e, 0x76, 0x31, 0x2a, 0x9e, 0x02, 0x0a, 0x08, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74,
129 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4a, 0x4f, 0x42, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55,
130 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11,
131 0x4a, 0x4f, 0x42, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e,
132 0x47, 0x10, 0x09, 0x12, 0x15, 0x0a, 0x11, 0x4a, 0x4f, 0x42, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45,
133 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x4a, 0x4f,
134 0x42, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45,
135 0x44, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x4a, 0x4f, 0x42, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45,
136 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x4a, 0x4f, 0x42,
137 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x4c, 0x45, 0x44,
138 0x10, 0x04, 0x12, 0x22, 0x0a, 0x1e, 0x4a, 0x4f, 0x42, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f,
139 0x4b, 0x4e, 0x4f, 0x57, 0x4c, 0x45, 0x44, 0x47, 0x45, 0x5f, 0x45, 0x58, 0x54, 0x52, 0x41, 0x43,
140 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x21, 0x0a, 0x1d, 0x4a, 0x4f, 0x42, 0x5f, 0x53, 0x54,
141 0x41, 0x54, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x45, 0x50, 0x52, 0x4f,
142 0x43, 0x45, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x14, 0x4a, 0x4f, 0x42,
143 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54, 0x45, 0x52, 0x49, 0x4e,
144 0x47, 0x10, 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x4a, 0x4f, 0x42, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45,
145 0x5f, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x4c, 0x55, 0x53, 0x54,
146 0x45, 0x52, 0x53, 0x10, 0x08, 0x42, 0xa5, 0x02, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
147 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x65, 0x6e, 0x74, 0x65, 0x72,
148 0x70, 0x72, 0x69, 0x73, 0x65, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x67, 0x72,
149 0x61, 0x70, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65,
150 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x60, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
151 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
152 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63,
153 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x6b,
154 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2f, 0x76, 0x31,
155 0x3b, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x6b, 0x6e, 0x6f, 0x77, 0x6c,
156 0x65, 0x64, 0x67, 0x65, 0x67, 0x72, 0x61, 0x70, 0x68, 0xaa, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67,
157 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72,
158 0x69, 0x73, 0x65, 0x4b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70,
159 0x68, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
160 0x6f, 0x75, 0x64, 0x5c, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x4b, 0x6e,
161 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x5c, 0x56, 0x31, 0xea,
162 0x02, 0x2b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
163 0x3a, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x4b, 0x6e, 0x6f, 0x77, 0x6c,
164 0x65, 0x64, 0x67, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
165 0x72, 0x6f, 0x74, 0x6f, 0x33,
166 }
167
168 var (
169 file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDescOnce sync.Once
170 file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDescData = file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDesc
171 )
172
173 func file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDescGZIP() []byte {
174 file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDescOnce.Do(func() {
175 file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDescData)
176 })
177 return file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDescData
178 }
179
180 var file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
181 var file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_goTypes = []interface{}{
182 (JobState)(0),
183 }
184 var file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_depIdxs = []int32{
185 0,
186 0,
187 0,
188 0,
189 0,
190 }
191
192 func init() { file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_init() }
193 func file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_init() {
194 if File_google_cloud_enterpriseknowledgegraph_v1_job_state_proto != nil {
195 return
196 }
197 type x struct{}
198 out := protoimpl.TypeBuilder{
199 File: protoimpl.DescBuilder{
200 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
201 RawDescriptor: file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDesc,
202 NumEnums: 1,
203 NumMessages: 0,
204 NumExtensions: 0,
205 NumServices: 0,
206 },
207 GoTypes: file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_goTypes,
208 DependencyIndexes: file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_depIdxs,
209 EnumInfos: file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_enumTypes,
210 }.Build()
211 File_google_cloud_enterpriseknowledgegraph_v1_job_state_proto = out.File
212 file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_rawDesc = nil
213 file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_goTypes = nil
214 file_google_cloud_enterpriseknowledgegraph_v1_job_state_proto_depIdxs = nil
215 }
216
View as plain text