| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.12.2 |
| 19 |
// source: google/cloud/contentwarehouse/v1/document_service.proto |
| 20 |
|
| 21 |
package contentwarehouse |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
reflect "reflect" |
| 26 |
sync "sync" |
| 27 |
|
| 28 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 29 |
v1 "google.golang.org/genproto/googleapis/iam/v1" |
| 30 |
grpc "google.golang.org/grpc" |
| 31 |
codes "google.golang.org/grpc/codes" |
| 32 |
status "google.golang.org/grpc/status" |
| 33 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 34 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 35 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 36 |
) |
| 37 |
|
| 38 |
const ( |
| 39 |
// Verify that this generated code is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 41 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 42 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 43 |
) |
| 44 |
|
| 45 |
// Response message for DocumentService.CreateDocument. |
| 46 |
type CreateDocumentResponse struct { |
| 47 |
state protoimpl.MessageState |
| 48 |
sizeCache protoimpl.SizeCache |
| 49 |
unknownFields protoimpl.UnknownFields |
| 50 |
|
| 51 |
// Document created after executing create request. |
| 52 |
Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` |
| 53 |
// Output from Rule Engine recording the rule evaluator and action executor's |
| 54 |
// output. |
| 55 |
// |
| 56 |
// Refer format in: google/cloud/contentwarehouse/v1/rule_engine.proto |
| 57 |
RuleEngineOutput *RuleEngineOutput `protobuf:"bytes,2,opt,name=rule_engine_output,json=ruleEngineOutput,proto3" json:"rule_engine_output,omitempty"` |
| 58 |
// Additional information for the API invocation, such as the request tracking |
| 59 |
// id. |
| 60 |
Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 61 |
} |
| 62 |
|
| 63 |
func (x *CreateDocumentResponse) Reset() { |
| 64 |
*x = CreateDocumentResponse{} |
| 65 |
if protoimpl.UnsafeEnabled { |
| 66 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[0] |
| 67 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 68 |
ms.StoreMessageInfo(mi) |
| 69 |
} |
| 70 |
} |
| 71 |
|
| 72 |
func (x *CreateDocumentResponse) String() string { |
| 73 |
return protoimpl.X.MessageStringOf(x) |
| 74 |
} |
| 75 |
|
| 76 |
func (*CreateDocumentResponse) ProtoMessage() {} |
| 77 |
|
| 78 |
func (x *CreateDocumentResponse) ProtoReflect() protoreflect.Message { |
| 79 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[0] |
| 80 |
if protoimpl.UnsafeEnabled && x != nil { |
| 81 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 82 |
if ms.LoadMessageInfo() == nil { |
| 83 |
ms.StoreMessageInfo(mi) |
| 84 |
} |
| 85 |
return ms |
| 86 |
} |
| 87 |
return mi.MessageOf(x) |
| 88 |
} |
| 89 |
|
| 90 |
// Deprecated: Use CreateDocumentResponse.ProtoReflect.Descriptor instead. |
| 91 |
func (*CreateDocumentResponse) Descriptor() ([]byte, []int) { |
| 92 |
return file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescGZIP(), []int{0} |
| 93 |
} |
| 94 |
|
| 95 |
func (x *CreateDocumentResponse) GetDocument() *Document { |
| 96 |
if x != nil { |
| 97 |
return x.Document |
| 98 |
} |
| 99 |
return nil |
| 100 |
} |
| 101 |
|
| 102 |
func (x *CreateDocumentResponse) GetRuleEngineOutput() *RuleEngineOutput { |
| 103 |
if x != nil { |
| 104 |
return x.RuleEngineOutput |
| 105 |
} |
| 106 |
return nil |
| 107 |
} |
| 108 |
|
| 109 |
func (x *CreateDocumentResponse) GetMetadata() *ResponseMetadata { |
| 110 |
if x != nil { |
| 111 |
return x.Metadata |
| 112 |
} |
| 113 |
return nil |
| 114 |
} |
| 115 |
|
| 116 |
// Response message for DocumentService.UpdateDocument. |
| 117 |
type UpdateDocumentResponse struct { |
| 118 |
state protoimpl.MessageState |
| 119 |
sizeCache protoimpl.SizeCache |
| 120 |
unknownFields protoimpl.UnknownFields |
| 121 |
|
| 122 |
// Updated document after executing update request. |
| 123 |
Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` |
| 124 |
// Output from Rule Engine recording the rule evaluator and action executor's |
| 125 |
// output. |
| 126 |
// |
| 127 |
// Refer format in: google/cloud/contentwarehouse/v1/rule_engine.proto |
| 128 |
RuleEngineOutput *RuleEngineOutput `protobuf:"bytes,2,opt,name=rule_engine_output,json=ruleEngineOutput,proto3" json:"rule_engine_output,omitempty"` |
| 129 |
// Additional information for the API invocation, such as the request tracking |
| 130 |
// id. |
| 131 |
Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 132 |
} |
| 133 |
|
| 134 |
func (x *UpdateDocumentResponse) Reset() { |
| 135 |
*x = UpdateDocumentResponse{} |
| 136 |
if protoimpl.UnsafeEnabled { |
| 137 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[1] |
| 138 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 139 |
ms.StoreMessageInfo(mi) |
| 140 |
} |
| 141 |
} |
| 142 |
|
| 143 |
func (x *UpdateDocumentResponse) String() string { |
| 144 |
return protoimpl.X.MessageStringOf(x) |
| 145 |
} |
| 146 |
|
| 147 |
func (*UpdateDocumentResponse) ProtoMessage() {} |
| 148 |
|
| 149 |
func (x *UpdateDocumentResponse) ProtoReflect() protoreflect.Message { |
| 150 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[1] |
| 151 |
if protoimpl.UnsafeEnabled && x != nil { |
| 152 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 153 |
if ms.LoadMessageInfo() == nil { |
| 154 |
ms.StoreMessageInfo(mi) |
| 155 |
} |
| 156 |
return ms |
| 157 |
} |
| 158 |
return mi.MessageOf(x) |
| 159 |
} |
| 160 |
|
| 161 |
// Deprecated: Use UpdateDocumentResponse.ProtoReflect.Descriptor instead. |
| 162 |
func (*UpdateDocumentResponse) Descriptor() ([]byte, []int) { |
| 163 |
return file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescGZIP(), []int{1} |
| 164 |
} |
| 165 |
|
| 166 |
func (x *UpdateDocumentResponse) GetDocument() *Document { |
| 167 |
if x != nil { |
| 168 |
return x.Document |
| 169 |
} |
| 170 |
return nil |
| 171 |
} |
| 172 |
|
| 173 |
func (x *UpdateDocumentResponse) GetRuleEngineOutput() *RuleEngineOutput { |
| 174 |
if x != nil { |
| 175 |
return x.RuleEngineOutput |
| 176 |
} |
| 177 |
return nil |
| 178 |
} |
| 179 |
|
| 180 |
func (x *UpdateDocumentResponse) GetMetadata() *ResponseMetadata { |
| 181 |
if x != nil { |
| 182 |
return x.Metadata |
| 183 |
} |
| 184 |
return nil |
| 185 |
} |
| 186 |
|
| 187 |
// Additional result info for the question-answering feature. |
| 188 |
type QAResult struct { |
| 189 |
state protoimpl.MessageState |
| 190 |
sizeCache protoimpl.SizeCache |
| 191 |
unknownFields protoimpl.UnknownFields |
| 192 |
|
| 193 |
// Highlighted sections in the snippet. |
| 194 |
Highlights []*QAResult_Highlight `protobuf:"bytes,1,rep,name=highlights,proto3" json:"highlights,omitempty"` |
| 195 |
// The calibrated confidence score for this document, in the range |
| 196 |
// [0., 1.]. This represents the confidence level for whether the returned |
| 197 |
// document and snippet answers the user's query. |
| 198 |
ConfidenceScore float32 `protobuf:"fixed32,2,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"` |
| 199 |
} |
| 200 |
|
| 201 |
func (x *QAResult) Reset() { |
| 202 |
*x = QAResult{} |
| 203 |
if protoimpl.UnsafeEnabled { |
| 204 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[2] |
| 205 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 206 |
ms.StoreMessageInfo(mi) |
| 207 |
} |
| 208 |
} |
| 209 |
|
| 210 |
func (x *QAResult) String() string { |
| 211 |
return protoimpl.X.MessageStringOf(x) |
| 212 |
} |
| 213 |
|
| 214 |
func (*QAResult) ProtoMessage() {} |
| 215 |
|
| 216 |
func (x *QAResult) ProtoReflect() protoreflect.Message { |
| 217 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[2] |
| 218 |
if protoimpl.UnsafeEnabled && x != nil { |
| 219 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 220 |
if ms.LoadMessageInfo() == nil { |
| 221 |
ms.StoreMessageInfo(mi) |
| 222 |
} |
| 223 |
return ms |
| 224 |
} |
| 225 |
return mi.MessageOf(x) |
| 226 |
} |
| 227 |
|
| 228 |
// Deprecated: Use QAResult.ProtoReflect.Descriptor instead. |
| 229 |
func (*QAResult) Descriptor() ([]byte, []int) { |
| 230 |
return file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescGZIP(), []int{2} |
| 231 |
} |
| 232 |
|
| 233 |
func (x *QAResult) GetHighlights() []*QAResult_Highlight { |
| 234 |
if x != nil { |
| 235 |
return x.Highlights |
| 236 |
} |
| 237 |
return nil |
| 238 |
} |
| 239 |
|
| 240 |
func (x *QAResult) GetConfidenceScore() float32 { |
| 241 |
if x != nil { |
| 242 |
return x.ConfidenceScore |
| 243 |
} |
| 244 |
return 0 |
| 245 |
} |
| 246 |
|
| 247 |
// Response message for DocumentService.SearchDocuments. |
| 248 |
type SearchDocumentsResponse struct { |
| 249 |
state protoimpl.MessageState |
| 250 |
sizeCache protoimpl.SizeCache |
| 251 |
unknownFields protoimpl.UnknownFields |
| 252 |
|
| 253 |
// The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest]. |
| 254 |
MatchingDocuments []*SearchDocumentsResponse_MatchingDocument `protobuf:"bytes,1,rep,name=matching_documents,json=matchingDocuments,proto3" json:"matching_documents,omitempty"` |
| 255 |
// The token that specifies the starting position of the next page of results. |
| 256 |
// This field is empty if there are no more results. |
| 257 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 258 |
// The total number of matched documents which is available only if the client |
| 259 |
// set [SearchDocumentsRequest.require_total_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.require_total_size] to `true`. Otherwise, the |
| 260 |
// value will be `-1`. `total_size` will max at "100,000". If this |
| 261 |
// is returned, then it can be assumed that the count is equal to or greater |
| 262 |
// than 100,000. Typically a UI would handle this condition by displaying |
| 263 |
// "of many", for example: "Displaying 10 of many". |
| 264 |
TotalSize int32 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` |
| 265 |
// Additional information for the API invocation, such as the request tracking |
| 266 |
// id. |
| 267 |
Metadata *ResponseMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 268 |
// The histogram results that match with the specified |
| 269 |
// [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries]. |
| 270 |
HistogramQueryResults []*HistogramQueryResult `protobuf:"bytes,6,rep,name=histogram_query_results,json=histogramQueryResults,proto3" json:"histogram_query_results,omitempty"` |
| 271 |
} |
| 272 |
|
| 273 |
func (x *SearchDocumentsResponse) Reset() { |
| 274 |
*x = SearchDocumentsResponse{} |
| 275 |
if protoimpl.UnsafeEnabled { |
| 276 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[3] |
| 277 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 278 |
ms.StoreMessageInfo(mi) |
| 279 |
} |
| 280 |
} |
| 281 |
|
| 282 |
func (x *SearchDocumentsResponse) String() string { |
| 283 |
return protoimpl.X.MessageStringOf(x) |
| 284 |
} |
| 285 |
|
| 286 |
func (*SearchDocumentsResponse) ProtoMessage() {} |
| 287 |
|
| 288 |
func (x *SearchDocumentsResponse) ProtoReflect() protoreflect.Message { |
| 289 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[3] |
| 290 |
if protoimpl.UnsafeEnabled && x != nil { |
| 291 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 292 |
if ms.LoadMessageInfo() == nil { |
| 293 |
ms.StoreMessageInfo(mi) |
| 294 |
} |
| 295 |
return ms |
| 296 |
} |
| 297 |
return mi.MessageOf(x) |
| 298 |
} |
| 299 |
|
| 300 |
// Deprecated: Use SearchDocumentsResponse.ProtoReflect.Descriptor instead. |
| 301 |
func (*SearchDocumentsResponse) Descriptor() ([]byte, []int) { |
| 302 |
return file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescGZIP(), []int{3} |
| 303 |
} |
| 304 |
|
| 305 |
func (x *SearchDocumentsResponse) GetMatchingDocuments() []*SearchDocumentsResponse_MatchingDocument { |
| 306 |
if x != nil { |
| 307 |
return x.MatchingDocuments |
| 308 |
} |
| 309 |
return nil |
| 310 |
} |
| 311 |
|
| 312 |
func (x *SearchDocumentsResponse) GetNextPageToken() string { |
| 313 |
if x != nil { |
| 314 |
return x.NextPageToken |
| 315 |
} |
| 316 |
return "" |
| 317 |
} |
| 318 |
|
| 319 |
func (x *SearchDocumentsResponse) GetTotalSize() int32 { |
| 320 |
if x != nil { |
| 321 |
return x.TotalSize |
| 322 |
} |
| 323 |
return 0 |
| 324 |
} |
| 325 |
|
| 326 |
func (x *SearchDocumentsResponse) GetMetadata() *ResponseMetadata { |
| 327 |
if x != nil { |
| 328 |
return x.Metadata |
| 329 |
} |
| 330 |
return nil |
| 331 |
} |
| 332 |
|
| 333 |
func (x *SearchDocumentsResponse) GetHistogramQueryResults() []*HistogramQueryResult { |
| 334 |
if x != nil { |
| 335 |
return x.HistogramQueryResults |
| 336 |
} |
| 337 |
return nil |
| 338 |
} |
| 339 |
|
| 340 |
// Response message for DocumentService.FetchAcl. |
| 341 |
type FetchAclResponse struct { |
| 342 |
state protoimpl.MessageState |
| 343 |
sizeCache protoimpl.SizeCache |
| 344 |
unknownFields protoimpl.UnknownFields |
| 345 |
|
| 346 |
// The IAM policy. |
| 347 |
Policy *v1.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` |
| 348 |
// Additional information for the API invocation, such as the request tracking |
| 349 |
// id. |
| 350 |
Metadata *ResponseMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 351 |
} |
| 352 |
|
| 353 |
func (x *FetchAclResponse) Reset() { |
| 354 |
*x = FetchAclResponse{} |
| 355 |
if protoimpl.UnsafeEnabled { |
| 356 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[4] |
| 357 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 358 |
ms.StoreMessageInfo(mi) |
| 359 |
} |
| 360 |
} |
| 361 |
|
| 362 |
func (x *FetchAclResponse) String() string { |
| 363 |
return protoimpl.X.MessageStringOf(x) |
| 364 |
} |
| 365 |
|
| 366 |
func (*FetchAclResponse) ProtoMessage() {} |
| 367 |
|
| 368 |
func (x *FetchAclResponse) ProtoReflect() protoreflect.Message { |
| 369 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[4] |
| 370 |
if protoimpl.UnsafeEnabled && x != nil { |
| 371 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 372 |
if ms.LoadMessageInfo() == nil { |
| 373 |
ms.StoreMessageInfo(mi) |
| 374 |
} |
| 375 |
return ms |
| 376 |
} |
| 377 |
return mi.MessageOf(x) |
| 378 |
} |
| 379 |
|
| 380 |
// Deprecated: Use FetchAclResponse.ProtoReflect.Descriptor instead. |
| 381 |
func (*FetchAclResponse) Descriptor() ([]byte, []int) { |
| 382 |
return file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescGZIP(), []int{4} |
| 383 |
} |
| 384 |
|
| 385 |
func (x *FetchAclResponse) GetPolicy() *v1.Policy { |
| 386 |
if x != nil { |
| 387 |
return x.Policy |
| 388 |
} |
| 389 |
return nil |
| 390 |
} |
| 391 |
|
| 392 |
func (x *FetchAclResponse) GetMetadata() *ResponseMetadata { |
| 393 |
if x != nil { |
| 394 |
return x.Metadata |
| 395 |
} |
| 396 |
return nil |
| 397 |
} |
| 398 |
|
| 399 |
// Response message for DocumentService.SetAcl. |
| 400 |
type SetAclResponse struct { |
| 401 |
state protoimpl.MessageState |
| 402 |
sizeCache protoimpl.SizeCache |
| 403 |
unknownFields protoimpl.UnknownFields |
| 404 |
|
| 405 |
// The policy will be attached to a resource (e.g. projecct, document). |
| 406 |
Policy *v1.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` |
| 407 |
// Additional information for the API invocation, such as the request tracking |
| 408 |
// id. |
| 409 |
Metadata *ResponseMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 410 |
} |
| 411 |
|
| 412 |
func (x *SetAclResponse) Reset() { |
| 413 |
*x = SetAclResponse{} |
| 414 |
if protoimpl.UnsafeEnabled { |
| 415 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[5] |
| 416 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 417 |
ms.StoreMessageInfo(mi) |
| 418 |
} |
| 419 |
} |
| 420 |
|
| 421 |
func (x *SetAclResponse) String() string { |
| 422 |
return protoimpl.X.MessageStringOf(x) |
| 423 |
} |
| 424 |
|
| 425 |
func (*SetAclResponse) ProtoMessage() {} |
| 426 |
|
| 427 |
func (x *SetAclResponse) ProtoReflect() protoreflect.Message { |
| 428 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[5] |
| 429 |
if protoimpl.UnsafeEnabled && x != nil { |
| 430 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 431 |
if ms.LoadMessageInfo() == nil { |
| 432 |
ms.StoreMessageInfo(mi) |
| 433 |
} |
| 434 |
return ms |
| 435 |
} |
| 436 |
return mi.MessageOf(x) |
| 437 |
} |
| 438 |
|
| 439 |
// Deprecated: Use SetAclResponse.ProtoReflect.Descriptor instead. |
| 440 |
func (*SetAclResponse) Descriptor() ([]byte, []int) { |
| 441 |
return file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescGZIP(), []int{5} |
| 442 |
} |
| 443 |
|
| 444 |
func (x *SetAclResponse) GetPolicy() *v1.Policy { |
| 445 |
if x != nil { |
| 446 |
return x.Policy |
| 447 |
} |
| 448 |
return nil |
| 449 |
} |
| 450 |
|
| 451 |
func (x *SetAclResponse) GetMetadata() *ResponseMetadata { |
| 452 |
if x != nil { |
| 453 |
return x.Metadata |
| 454 |
} |
| 455 |
return nil |
| 456 |
} |
| 457 |
|
| 458 |
// A text span in the search text snippet that represents a highlighted |
| 459 |
// section (answer context, highly relevant sentence, etc.). |
| 460 |
type QAResult_Highlight struct { |
| 461 |
state protoimpl.MessageState |
| 462 |
sizeCache protoimpl.SizeCache |
| 463 |
unknownFields protoimpl.UnknownFields |
| 464 |
|
| 465 |
// Start index of the highlight. |
| 466 |
StartIndex int32 `protobuf:"varint,1,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` |
| 467 |
// End index of the highlight, exclusive. |
| 468 |
EndIndex int32 `protobuf:"varint,2,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"` |
| 469 |
} |
| 470 |
|
| 471 |
func (x *QAResult_Highlight) Reset() { |
| 472 |
*x = QAResult_Highlight{} |
| 473 |
if protoimpl.UnsafeEnabled { |
| 474 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[6] |
| 475 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 476 |
ms.StoreMessageInfo(mi) |
| 477 |
} |
| 478 |
} |
| 479 |
|
| 480 |
func (x *QAResult_Highlight) String() string { |
| 481 |
return protoimpl.X.MessageStringOf(x) |
| 482 |
} |
| 483 |
|
| 484 |
func (*QAResult_Highlight) ProtoMessage() {} |
| 485 |
|
| 486 |
func (x *QAResult_Highlight) ProtoReflect() protoreflect.Message { |
| 487 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[6] |
| 488 |
if protoimpl.UnsafeEnabled && x != nil { |
| 489 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 490 |
if ms.LoadMessageInfo() == nil { |
| 491 |
ms.StoreMessageInfo(mi) |
| 492 |
} |
| 493 |
return ms |
| 494 |
} |
| 495 |
return mi.MessageOf(x) |
| 496 |
} |
| 497 |
|
| 498 |
// Deprecated: Use QAResult_Highlight.ProtoReflect.Descriptor instead. |
| 499 |
func (*QAResult_Highlight) Descriptor() ([]byte, []int) { |
| 500 |
return file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescGZIP(), []int{2, 0} |
| 501 |
} |
| 502 |
|
| 503 |
func (x *QAResult_Highlight) GetStartIndex() int32 { |
| 504 |
if x != nil { |
| 505 |
return x.StartIndex |
| 506 |
} |
| 507 |
return 0 |
| 508 |
} |
| 509 |
|
| 510 |
func (x *QAResult_Highlight) GetEndIndex() int32 { |
| 511 |
if x != nil { |
| 512 |
return x.EndIndex |
| 513 |
} |
| 514 |
return 0 |
| 515 |
} |
| 516 |
|
| 517 |
// Document entry with metadata inside [SearchDocumentsResponse][google.cloud.contentwarehouse.v1.SearchDocumentsResponse] |
| 518 |
type SearchDocumentsResponse_MatchingDocument struct { |
| 519 |
state protoimpl.MessageState |
| 520 |
sizeCache protoimpl.SizeCache |
| 521 |
unknownFields protoimpl.UnknownFields |
| 522 |
|
| 523 |
// Document that matches the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest]. |
| 524 |
// This document only contains indexed metadata information. |
| 525 |
Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` |
| 526 |
// Contains snippets of text from the document full raw text that most |
| 527 |
// closely match a search query's keywords, if available. All HTML tags in |
| 528 |
// the original fields are stripped when returned in this field, and |
| 529 |
// matching query keywords are enclosed in HTML bold tags. |
| 530 |
// |
| 531 |
// If the question-answering feature is enabled, this field will instead |
| 532 |
// contain a snippet that answers the user's natural-language query. No HTML |
| 533 |
// bold tags will be present, and highlights in the answer snippet can be |
| 534 |
// found in [QAResult.highlights][google.cloud.contentwarehouse.v1.QAResult.highlights]. |
| 535 |
SearchTextSnippet string `protobuf:"bytes,2,opt,name=search_text_snippet,json=searchTextSnippet,proto3" json:"search_text_snippet,omitempty"` |
| 536 |
// Experimental. |
| 537 |
// Additional result info if the question-answering feature is enabled. |
| 538 |
QaResult *QAResult `protobuf:"bytes,3,opt,name=qa_result,json=qaResult,proto3" json:"qa_result,omitempty"` |
| 539 |
} |
| 540 |
|
| 541 |
func (x *SearchDocumentsResponse_MatchingDocument) Reset() { |
| 542 |
*x = SearchDocumentsResponse_MatchingDocument{} |
| 543 |
if protoimpl.UnsafeEnabled { |
| 544 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[7] |
| 545 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 546 |
ms.StoreMessageInfo(mi) |
| 547 |
} |
| 548 |
} |
| 549 |
|
| 550 |
func (x *SearchDocumentsResponse_MatchingDocument) String() string { |
| 551 |
return protoimpl.X.MessageStringOf(x) |
| 552 |
} |
| 553 |
|
| 554 |
func (*SearchDocumentsResponse_MatchingDocument) ProtoMessage() {} |
| 555 |
|
| 556 |
func (x *SearchDocumentsResponse_MatchingDocument) ProtoReflect() protoreflect.Message { |
| 557 |
mi := &file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[7] |
| 558 |
if protoimpl.UnsafeEnabled && x != nil { |
| 559 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 560 |
if ms.LoadMessageInfo() == nil { |
| 561 |
ms.StoreMessageInfo(mi) |
| 562 |
} |
| 563 |
return ms |
| 564 |
} |
| 565 |
return mi.MessageOf(x) |
| 566 |
} |
| 567 |
|
| 568 |
// Deprecated: Use SearchDocumentsResponse_MatchingDocument.ProtoReflect.Descriptor instead. |
| 569 |
func (*SearchDocumentsResponse_MatchingDocument) Descriptor() ([]byte, []int) { |
| 570 |
return file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescGZIP(), []int{3, 0} |
| 571 |
} |
| 572 |
|
| 573 |
func (x *SearchDocumentsResponse_MatchingDocument) GetDocument() *Document { |
| 574 |
if x != nil { |
| 575 |
return x.Document |
| 576 |
} |
| 577 |
return nil |
| 578 |
} |
| 579 |
|
| 580 |
func (x *SearchDocumentsResponse_MatchingDocument) GetSearchTextSnippet() string { |
| 581 |
if x != nil { |
| 582 |
return x.SearchTextSnippet |
| 583 |
} |
| 584 |
return "" |
| 585 |
} |
| 586 |
|
| 587 |
func (x *SearchDocumentsResponse_MatchingDocument) GetQaResult() *QAResult { |
| 588 |
if x != nil { |
| 589 |
return x.QaResult |
| 590 |
} |
| 591 |
return nil |
| 592 |
} |
| 593 |
|
| 594 |
var File_google_cloud_contentwarehouse_v1_document_service_proto protoreflect.FileDescriptor |
| 595 |
|
| 596 |
var file_google_cloud_contentwarehouse_v1_document_service_proto_rawDesc = []byte{ |
| 597 |
0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, |
| 598 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, |
| 599 |
0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, |
| 600 |
0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 601 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, |
| 602 |
0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, |
| 603 |
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, |
| 604 |
0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 605 |
0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, |
| 606 |
0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, |
| 607 |
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, |
| 608 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, |
| 609 |
0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, |
| 610 |
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, |
| 611 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, |
| 612 |
0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, |
| 613 |
0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 0x67, |
| 614 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, |
| 615 |
0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, |
| 616 |
0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 617 |
0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, |
| 618 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, |
| 619 |
0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, |
| 620 |
0x2f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 621 |
0x1a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, |
| 622 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, |
| 623 |
0x76, 0x31, 0x2f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x70, |
| 624 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, |
| 625 |
0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 626 |
0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 627 |
0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x02, |
| 628 |
0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, |
| 629 |
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, |
| 630 |
0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, |
| 631 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, |
| 632 |
0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, |
| 633 |
0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, |
| 634 |
0x12, 0x60, 0x0a, 0x12, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, |
| 635 |
0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, |
| 636 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, |
| 637 |
0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 638 |
0x52, 0x75, 0x6c, 0x65, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, |
| 639 |
0x52, 0x10, 0x72, 0x75, 0x6c, 0x65, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x4f, 0x75, 0x74, 0x70, |
| 640 |
0x75, 0x74, 0x12, 0x4e, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, |
| 641 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 642 |
0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, |
| 643 |
0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| 644 |
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, |
| 645 |
0x74, 0x61, 0x22, 0x92, 0x02, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, |
| 646 |
0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, |
| 647 |
0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 648 |
0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, |
| 649 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, |
| 650 |
0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x64, 0x6f, 0x63, |
| 651 |
0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x60, 0x0a, 0x12, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x65, 0x6e, |
| 652 |
0x67, 0x69, 0x6e, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 653 |
0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 654 |
0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, |
| 655 |
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x4f, |
| 656 |
0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x10, 0x72, 0x75, 0x6c, 0x65, 0x45, 0x6e, 0x67, 0x69, 0x6e, |
| 657 |
0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x4e, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, |
| 658 |
0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 659 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, |
| 660 |
0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, |
| 661 |
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, |
| 662 |
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xd6, 0x01, 0x0a, 0x08, 0x51, 0x41, 0x52, 0x65, |
| 663 |
0x73, 0x75, 0x6c, 0x74, 0x12, 0x54, 0x0a, 0x0a, 0x68, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, |
| 664 |
0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 665 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, |
| 666 |
0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x41, 0x52, 0x65, |
| 667 |
0x73, 0x75, 0x6c, 0x74, 0x2e, 0x48, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x52, 0x0a, |
| 668 |
0x68, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, |
| 669 |
0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, |
| 670 |
0x20, 0x01, 0x28, 0x02, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, |
| 671 |
0x53, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x49, 0x0a, 0x09, 0x48, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, |
| 672 |
0x68, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, |
| 673 |
0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x6e, |
| 674 |
0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, |
| 675 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, |
| 676 |
0x22, 0xf1, 0x04, 0x0a, 0x17, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x6f, 0x63, 0x75, 0x6d, |
| 677 |
0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x12, |
| 678 |
0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, |
| 679 |
0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 680 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, |
| 681 |
0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, |
| 682 |
0x63, 0x68, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 683 |
0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x44, 0x6f, 0x63, 0x75, |
| 684 |
0x6d, 0x65, 0x6e, 0x74, 0x52, 0x11, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x44, 0x6f, |
| 685 |
0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, |
| 686 |
0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| 687 |
0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, |
| 688 |
0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, |
| 689 |
0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x4e, |
| 690 |
0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, |
| 691 |
0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 692 |
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, |
| 693 |
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, |
| 694 |
0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x6e, |
| 695 |
0x0a, 0x17, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x71, 0x75, 0x65, 0x72, |
| 696 |
0x79, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 697 |
0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, |
| 698 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, |
| 699 |
0x76, 0x31, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, |
| 700 |
0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x15, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, |
| 701 |
0x61, 0x6d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a, 0xd3, |
| 702 |
0x01, 0x0a, 0x10, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x44, 0x6f, 0x63, 0x75, 0x6d, |
| 703 |
0x65, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, |
| 704 |
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 705 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, |
| 706 |
0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, |
| 707 |
0x74, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x73, |
| 708 |
0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x6e, 0x69, 0x70, 0x70, |
| 709 |
0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, |
| 710 |
0x54, 0x65, 0x78, 0x74, 0x53, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x12, 0x47, 0x0a, 0x09, 0x71, |
| 711 |
0x61, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, |
| 712 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, |
| 713 |
0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, |
| 714 |
0x31, 0x2e, 0x51, 0x41, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x08, 0x71, 0x61, 0x52, 0x65, |
| 715 |
0x73, 0x75, 0x6c, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x10, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x63, |
| 716 |
0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x70, 0x6f, 0x6c, |
| 717 |
0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 718 |
0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, |
| 719 |
0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4e, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, |
| 720 |
0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, |
| 721 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, |
| 722 |
0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, |
| 723 |
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, |
| 724 |
0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8f, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x74, |
| 725 |
0x41, 0x63, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x06, 0x70, |
| 726 |
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, |
| 727 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, |
| 728 |
0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x4e, 0x0a, 0x08, 0x6d, 0x65, |
| 729 |
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, |
| 730 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, |
| 731 |
0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, |
| 732 |
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, |
| 733 |
0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0xe8, 0x0d, 0x0a, 0x0f, 0x44, |
| 734 |
0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xcf, |
| 735 |
0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, |
| 736 |
0x74, 0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 737 |
0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, |
| 738 |
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, |
| 739 |
0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x67, 0x6f, 0x6f, |
| 740 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, |
| 741 |
0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, |
| 742 |
0x65, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, |
| 743 |
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x2d, 0x2f, 0x76, |
| 744 |
0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 745 |
0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, |
| 746 |
0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x3a, 0x01, 0x2a, 0xda, 0x41, |
| 747 |
0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, |
| 748 |
0x12, 0xf9, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, |
| 749 |
0x12, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 750 |
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, |
| 751 |
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, |
| 752 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 753 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, |
| 754 |
0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, |
| 755 |
0x6e, 0x74, 0x22, 0x87, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x7a, 0x22, 0x31, 0x2f, 0x76, 0x31, |
| 756 |
0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, |
| 757 |
0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, |
| 758 |
0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74, 0x3a, 0x01, |
| 759 |
0x2a, 0x5a, 0x42, 0x22, 0x3d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, |
| 760 |
0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, |
| 761 |
0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, |
| 762 |
0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x2f, 0x2a, 0x7d, 0x3a, 0x67, |
| 763 |
0x65, 0x74, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x8e, 0x02, 0x0a, |
| 764 |
0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, |
| 765 |
0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, |
| 766 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, |
| 767 |
0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, |
| 768 |
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 769 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, |
| 770 |
0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, |
| 771 |
0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 772 |
0x73, 0x65, 0x22, 0x88, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x72, 0x32, 0x2d, 0x2f, 0x76, 0x31, |
| 773 |
0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, |
| 774 |
0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, |
| 775 |
0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x01, 0x2a, 0x5a, 0x3e, 0x32, |
| 776 |
0x39, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, |
| 777 |
0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, |
| 778 |
0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x72, 0x65, 0x66, 0x65, |
| 779 |
0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x2f, 0x2a, 0x7d, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x0d, |
| 780 |
0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0xf2, 0x01, |
| 781 |
0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, |
| 782 |
0x12, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 783 |
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, |
| 784 |
0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, |
| 785 |
0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 786 |
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, |
| 787 |
0x79, 0x22, 0x8e, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x80, 0x01, 0x22, 0x34, 0x2f, 0x76, 0x31, |
| 788 |
0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, |
| 789 |
0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, |
| 790 |
0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x64, 0x65, 0x6c, 0x65, 0x74, |
| 791 |
0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x45, 0x22, 0x40, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, |
| 792 |
0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, |
| 793 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, |
| 794 |
0x74, 0x73, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x2f, 0x2a, |
| 795 |
0x7d, 0x3a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, |
| 796 |
0x6d, 0x65, 0x12, 0xd0, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x6f, 0x63, |
| 797 |
0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 798 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, |
| 799 |
0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, |
| 800 |
0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 801 |
0x1a, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 802 |
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, |
| 803 |
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, |
| 804 |
0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0x82, 0xd3, 0xe4, |
| 805 |
0x93, 0x02, 0x39, 0x22, 0x34, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 806 |
0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, |
| 807 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, |
| 808 |
0x74, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x06, 0x70, |
| 809 |
0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xec, 0x01, 0x0a, 0x08, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, |
| 810 |
0x63, 0x6c, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 811 |
0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, |
| 812 |
0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x63, 0x6c, 0x52, 0x65, |
| 813 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 814 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, |
| 815 |
0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x41, 0x63, |
| 816 |
0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, |
| 817 |
0x68, 0x22, 0x3a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 818 |
0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, |
| 819 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, |
| 820 |
0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x66, 0x65, 0x74, 0x63, 0x68, 0x41, 0x63, 0x6c, 0x3a, 0x01, 0x2a, |
| 821 |
0x5a, 0x27, 0x22, 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 822 |
0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x66, 0x65, |
| 823 |
0x74, 0x63, 0x68, 0x41, 0x63, 0x6c, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x08, 0x72, 0x65, 0x73, 0x6f, |
| 824 |
0x75, 0x72, 0x63, 0x65, 0x12, 0xe9, 0x01, 0x0a, 0x06, 0x53, 0x65, 0x74, 0x41, 0x63, 0x6c, 0x12, |
| 825 |
0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, |
| 826 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, |
| 827 |
0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 828 |
0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 829 |
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, |
| 830 |
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x63, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 831 |
0x73, 0x65, 0x22, 0x7c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x64, 0x22, 0x38, 0x2f, 0x76, 0x31, 0x2f, |
| 832 |
0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 833 |
0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, |
| 834 |
0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, |
| 835 |
0x74, 0x41, 0x63, 0x6c, 0x3a, 0x01, 0x2a, 0x5a, 0x25, 0x22, 0x20, 0x2f, 0x76, 0x31, 0x2f, 0x7b, |
| 836 |
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, |
| 837 |
0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x41, 0x63, 0x6c, 0x3a, 0x01, 0x2a, 0xda, 0x41, |
| 838 |
0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2c, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, |
| 839 |
0x1a, 0x53, 0xca, 0x41, 0x1f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, |
| 840 |
0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 841 |
0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, |
| 842 |
0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 843 |
0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, |
| 844 |
0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x90, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, |
| 845 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, |
| 846 |
0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x14, |
| 847 |
0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, |
| 848 |
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, |
| 849 |
0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, |
| 850 |
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, |
| 851 |
0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, |
| 852 |
0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, |
| 853 |
0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 854 |
} |
| 855 |
|
| 856 |
var ( |
| 857 |
file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescOnce sync.Once |
| 858 |
file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescData = file_google_cloud_contentwarehouse_v1_document_service_proto_rawDesc |
| 859 |
) |
| 860 |
|
| 861 |
func file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescGZIP() []byte { |
| 862 |
file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescOnce.Do(func() { |
| 863 |
file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescData) |
| 864 |
}) |
| 865 |
return file_google_cloud_contentwarehouse_v1_document_service_proto_rawDescData |
| 866 |
} |
| 867 |
|
| 868 |
var file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8) |
| 869 |
var file_google_cloud_contentwarehouse_v1_document_service_proto_goTypes = []interface{}{ |
| 870 |
(*CreateDocumentResponse)(nil), // 0: google.cloud.contentwarehouse.v1.CreateDocumentResponse |
| 871 |
(*UpdateDocumentResponse)(nil), // 1: google.cloud.contentwarehouse.v1.UpdateDocumentResponse |
| 872 |
(*QAResult)(nil), // 2: google.cloud.contentwarehouse.v1.QAResult |
| 873 |
(*SearchDocumentsResponse)(nil), // 3: google.cloud.contentwarehouse.v1.SearchDocumentsResponse |
| 874 |
(*FetchAclResponse)(nil), // 4: google.cloud.contentwarehouse.v1.FetchAclResponse |
| 875 |
(*SetAclResponse)(nil), // 5: google.cloud.contentwarehouse.v1.SetAclResponse |
| 876 |
(*QAResult_Highlight)(nil), // 6: google.cloud.contentwarehouse.v1.QAResult.Highlight |
| 877 |
(*SearchDocumentsResponse_MatchingDocument)(nil), // 7: google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument |
| 878 |
(*Document)(nil), // 8: google.cloud.contentwarehouse.v1.Document |
| 879 |
(*RuleEngineOutput)(nil), // 9: google.cloud.contentwarehouse.v1.RuleEngineOutput |
| 880 |
(*ResponseMetadata)(nil), // 10: google.cloud.contentwarehouse.v1.ResponseMetadata |
| 881 |
(*HistogramQueryResult)(nil), // 11: google.cloud.contentwarehouse.v1.HistogramQueryResult |
| 882 |
(*v1.Policy)(nil), // 12: google.iam.v1.Policy |
| 883 |
(*CreateDocumentRequest)(nil), // 13: google.cloud.contentwarehouse.v1.CreateDocumentRequest |
| 884 |
(*GetDocumentRequest)(nil), // 14: google.cloud.contentwarehouse.v1.GetDocumentRequest |
| 885 |
(*UpdateDocumentRequest)(nil), // 15: google.cloud.contentwarehouse.v1.UpdateDocumentRequest |
| 886 |
(*DeleteDocumentRequest)(nil), // 16: google.cloud.contentwarehouse.v1.DeleteDocumentRequest |
| 887 |
(*SearchDocumentsRequest)(nil), // 17: google.cloud.contentwarehouse.v1.SearchDocumentsRequest |
| 888 |
(*FetchAclRequest)(nil), // 18: google.cloud.contentwarehouse.v1.FetchAclRequest |
| 889 |
(*SetAclRequest)(nil), // 19: google.cloud.contentwarehouse.v1.SetAclRequest |
| 890 |
(*emptypb.Empty)(nil), // 20: google.protobuf.Empty |
| 891 |
} |
| 892 |
var file_google_cloud_contentwarehouse_v1_document_service_proto_depIdxs = []int32{ |
| 893 |
8, // 0: google.cloud.contentwarehouse.v1.CreateDocumentResponse.document:type_name -> google.cloud.contentwarehouse.v1.Document |
| 894 |
9, // 1: google.cloud.contentwarehouse.v1.CreateDocumentResponse.rule_engine_output:type_name -> google.cloud.contentwarehouse.v1.RuleEngineOutput |
| 895 |
10, // 2: google.cloud.contentwarehouse.v1.CreateDocumentResponse.metadata:type_name -> google.cloud.contentwarehouse.v1.ResponseMetadata |
| 896 |
8, // 3: google.cloud.contentwarehouse.v1.UpdateDocumentResponse.document:type_name -> google.cloud.contentwarehouse.v1.Document |
| 897 |
9, // 4: google.cloud.contentwarehouse.v1.UpdateDocumentResponse.rule_engine_output:type_name -> google.cloud.contentwarehouse.v1.RuleEngineOutput |
| 898 |
10, // 5: google.cloud.contentwarehouse.v1.UpdateDocumentResponse.metadata:type_name -> google.cloud.contentwarehouse.v1.ResponseMetadata |
| 899 |
6, // 6: google.cloud.contentwarehouse.v1.QAResult.highlights:type_name -> google.cloud.contentwarehouse.v1.QAResult.Highlight |
| 900 |
7, // 7: google.cloud.contentwarehouse.v1.SearchDocumentsResponse.matching_documents:type_name -> google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument |
| 901 |
10, // 8: google.cloud.contentwarehouse.v1.SearchDocumentsResponse.metadata:type_name -> google.cloud.contentwarehouse.v1.ResponseMetadata |
| 902 |
11, // 9: google.cloud.contentwarehouse.v1.SearchDocumentsResponse.histogram_query_results:type_name -> google.cloud.contentwarehouse.v1.HistogramQueryResult |
| 903 |
12, // 10: google.cloud.contentwarehouse.v1.FetchAclResponse.policy:type_name -> google.iam.v1.Policy |
| 904 |
10, // 11: google.cloud.contentwarehouse.v1.FetchAclResponse.metadata:type_name -> google.cloud.contentwarehouse.v1.ResponseMetadata |
| 905 |
12, // 12: google.cloud.contentwarehouse.v1.SetAclResponse.policy:type_name -> google.iam.v1.Policy |
| 906 |
10, // 13: google.cloud.contentwarehouse.v1.SetAclResponse.metadata:type_name -> google.cloud.contentwarehouse.v1.ResponseMetadata |
| 907 |
8, // 14: google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument.document:type_name -> google.cloud.contentwarehouse.v1.Document |
| 908 |
2, // 15: google.cloud.contentwarehouse.v1.SearchDocumentsResponse.MatchingDocument.qa_result:type_name -> google.cloud.contentwarehouse.v1.QAResult |
| 909 |
13, // 16: google.cloud.contentwarehouse.v1.DocumentService.CreateDocument:input_type -> google.cloud.contentwarehouse.v1.CreateDocumentRequest |
| 910 |
14, // 17: google.cloud.contentwarehouse.v1.DocumentService.GetDocument:input_type -> google.cloud.contentwarehouse.v1.GetDocumentRequest |
| 911 |
15, // 18: google.cloud.contentwarehouse.v1.DocumentService.UpdateDocument:input_type -> google.cloud.contentwarehouse.v1.UpdateDocumentRequest |
| 912 |
16, // 19: google.cloud.contentwarehouse.v1.DocumentService.DeleteDocument:input_type -> google.cloud.contentwarehouse.v1.DeleteDocumentRequest |
| 913 |
17, // 20: google.cloud.contentwarehouse.v1.DocumentService.SearchDocuments:input_type -> google.cloud.contentwarehouse.v1.SearchDocumentsRequest |
| 914 |
18, // 21: google.cloud.contentwarehouse.v1.DocumentService.FetchAcl:input_type -> google.cloud.contentwarehouse.v1.FetchAclRequest |
| 915 |
19, // 22: google.cloud.contentwarehouse.v1.DocumentService.SetAcl:input_type -> google.cloud.contentwarehouse.v1.SetAclRequest |
| 916 |
0, // 23: google.cloud.contentwarehouse.v1.DocumentService.CreateDocument:output_type -> google.cloud.contentwarehouse.v1.CreateDocumentResponse |
| 917 |
8, // 24: google.cloud.contentwarehouse.v1.DocumentService.GetDocument:output_type -> google.cloud.contentwarehouse.v1.Document |
| 918 |
1, // 25: google.cloud.contentwarehouse.v1.DocumentService.UpdateDocument:output_type -> google.cloud.contentwarehouse.v1.UpdateDocumentResponse |
| 919 |
20, // 26: google.cloud.contentwarehouse.v1.DocumentService.DeleteDocument:output_type -> google.protobuf.Empty |
| 920 |
3, // 27: google.cloud.contentwarehouse.v1.DocumentService.SearchDocuments:output_type -> google.cloud.contentwarehouse.v1.SearchDocumentsResponse |
| 921 |
4, // 28: google.cloud.contentwarehouse.v1.DocumentService.FetchAcl:output_type -> google.cloud.contentwarehouse.v1.FetchAclResponse |
| 922 |
5, // 29: google.cloud.contentwarehouse.v1.DocumentService.SetAcl:output_type -> google.cloud.contentwarehouse.v1.SetAclResponse |
| 923 |
23, // [23:30] is the sub-list for method output_type |
| 924 |
16, // [16:23] is the sub-list for method input_type |
| 925 |
16, // [16:16] is the sub-list for extension type_name |
| 926 |
16, // [16:16] is the sub-list for extension extendee |
| 927 |
0, // [0:16] is the sub-list for field type_name |
| 928 |
} |
| 929 |
|
| 930 |
func init() { file_google_cloud_contentwarehouse_v1_document_service_proto_init() } |
| 931 |
func file_google_cloud_contentwarehouse_v1_document_service_proto_init() { |
| 932 |
if File_google_cloud_contentwarehouse_v1_document_service_proto != nil { |
| 933 |
return |
| 934 |
} |
| 935 |
file_google_cloud_contentwarehouse_v1_common_proto_init() |
| 936 |
file_google_cloud_contentwarehouse_v1_document_proto_init() |
| 937 |
file_google_cloud_contentwarehouse_v1_document_service_request_proto_init() |
| 938 |
file_google_cloud_contentwarehouse_v1_histogram_proto_init() |
| 939 |
file_google_cloud_contentwarehouse_v1_rule_engine_proto_init() |
| 940 |
if !protoimpl.UnsafeEnabled { |
| 941 |
file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 942 |
switch v := v.(*CreateDocumentResponse); i { |
| 943 |
case 0: |
| 944 |
return &v.state |
| 945 |
case 1: |
| 946 |
return &v.sizeCache |
| 947 |
case 2: |
| 948 |
return &v.unknownFields |
| 949 |
default: |
| 950 |
return nil |
| 951 |
} |
| 952 |
} |
| 953 |
file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 954 |
switch v := v.(*UpdateDocumentResponse); i { |
| 955 |
case 0: |
| 956 |
return &v.state |
| 957 |
case 1: |
| 958 |
return &v.sizeCache |
| 959 |
case 2: |
| 960 |
return &v.unknownFields |
| 961 |
default: |
| 962 |
return nil |
| 963 |
} |
| 964 |
} |
| 965 |
file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 966 |
switch v := v.(*QAResult); i { |
| 967 |
case 0: |
| 968 |
return &v.state |
| 969 |
case 1: |
| 970 |
return &v.sizeCache |
| 971 |
case 2: |
| 972 |
return &v.unknownFields |
| 973 |
default: |
| 974 |
return nil |
| 975 |
} |
| 976 |
} |
| 977 |
file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 978 |
switch v := v.(*SearchDocumentsResponse); i { |
| 979 |
case 0: |
| 980 |
return &v.state |
| 981 |
case 1: |
| 982 |
return &v.sizeCache |
| 983 |
case 2: |
| 984 |
return &v.unknownFields |
| 985 |
default: |
| 986 |
return nil |
| 987 |
} |
| 988 |
} |
| 989 |
file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 990 |
switch v := v.(*FetchAclResponse); i { |
| 991 |
case 0: |
| 992 |
return &v.state |
| 993 |
case 1: |
| 994 |
return &v.sizeCache |
| 995 |
case 2: |
| 996 |
return &v.unknownFields |
| 997 |
default: |
| 998 |
return nil |
| 999 |
} |
| 1000 |
} |
| 1001 |
file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1002 |
switch v := v.(*SetAclResponse); i { |
| 1003 |
case 0: |
| 1004 |
return &v.state |
| 1005 |
case 1: |
| 1006 |
return &v.sizeCache |
| 1007 |
case 2: |
| 1008 |
return &v.unknownFields |
| 1009 |
default: |
| 1010 |
return nil |
| 1011 |
} |
| 1012 |
} |
| 1013 |
file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| 1014 |
switch v := v.(*QAResult_Highlight); i { |
| 1015 |
case 0: |
| 1016 |
return &v.state |
| 1017 |
case 1: |
| 1018 |
return &v.sizeCache |
| 1019 |
case 2: |
| 1020 |
return &v.unknownFields |
| 1021 |
default: |
| 1022 |
return nil |
| 1023 |
} |
| 1024 |
} |
| 1025 |
file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| 1026 |
switch v := v.(*SearchDocumentsResponse_MatchingDocument); i { |
| 1027 |
case 0: |
| 1028 |
return &v.state |
| 1029 |
case 1: |
| 1030 |
return &v.sizeCache |
| 1031 |
case 2: |
| 1032 |
return &v.unknownFields |
| 1033 |
default: |
| 1034 |
return nil |
| 1035 |
} |
| 1036 |
} |
| 1037 |
} |
| 1038 |
type x struct{} |
| 1039 |
out := protoimpl.TypeBuilder{ |
| 1040 |
File: protoimpl.DescBuilder{ |
| 1041 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1042 |
RawDescriptor: file_google_cloud_contentwarehouse_v1_document_service_proto_rawDesc, |
| 1043 |
NumEnums: 0, |
| 1044 |
NumMessages: 8, |
| 1045 |
NumExtensions: 0, |
| 1046 |
NumServices: 1, |
| 1047 |
}, |
| 1048 |
GoTypes: file_google_cloud_contentwarehouse_v1_document_service_proto_goTypes, |
| 1049 |
DependencyIndexes: file_google_cloud_contentwarehouse_v1_document_service_proto_depIdxs, |
| 1050 |
MessageInfos: file_google_cloud_contentwarehouse_v1_document_service_proto_msgTypes, |
| 1051 |
}.Build() |
| 1052 |
File_google_cloud_contentwarehouse_v1_document_service_proto = out.File |
| 1053 |
file_google_cloud_contentwarehouse_v1_document_service_proto_rawDesc = nil |
| 1054 |
file_google_cloud_contentwarehouse_v1_document_service_proto_goTypes = nil |
| 1055 |
file_google_cloud_contentwarehouse_v1_document_service_proto_depIdxs = nil |
| 1056 |
} |
| 1057 |
|
| 1058 |
// Reference imports to suppress errors if they are not otherwise used. |
| 1059 |
var _ context.Context |
| 1060 |
var _ grpc.ClientConnInterface |
| 1061 |
|
| 1062 |
// This is a compile-time assertion to ensure that this generated file |
| 1063 |
// is compatible with the grpc package it is being compiled against. |
| 1064 |
const _ = grpc.SupportPackageIsVersion6 |
| 1065 |
|
| 1066 |
// DocumentServiceClient is the client API for DocumentService service. |
| 1067 |
// |
| 1068 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 1069 |
type DocumentServiceClient interface { |
| 1070 |
// Creates a document. |
| 1071 |
CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*CreateDocumentResponse, error) |
| 1072 |
// Gets a document. Returns NOT_FOUND if the document does not exist. |
| 1073 |
GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error) |
| 1074 |
// Updates a document. Returns INVALID_ARGUMENT if the name of the document |
| 1075 |
// is non-empty and does not equal the existing name. |
| 1076 |
UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*UpdateDocumentResponse, error) |
| 1077 |
// Deletes a document. Returns NOT_FOUND if the document does not exist. |
| 1078 |
DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 1079 |
// Searches for documents using provided [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest]. |
| 1080 |
// This call only returns documents that the caller has permission to search |
| 1081 |
// against. |
| 1082 |
SearchDocuments(ctx context.Context, in *SearchDocumentsRequest, opts ...grpc.CallOption) (*SearchDocumentsResponse, error) |
| 1083 |
// Gets the access control policy for a resource. Returns NOT_FOUND error if |
| 1084 |
// the resource does not exist. Returns an empty policy if the resource exists |
| 1085 |
// but does not have a policy set. |
| 1086 |
FetchAcl(ctx context.Context, in *FetchAclRequest, opts ...grpc.CallOption) (*FetchAclResponse, error) |
| 1087 |
// Sets the access control policy for a resource. Replaces any existing |
| 1088 |
// policy. |
| 1089 |
SetAcl(ctx context.Context, in *SetAclRequest, opts ...grpc.CallOption) (*SetAclResponse, error) |
| 1090 |
} |
| 1091 |
|
| 1092 |
type documentServiceClient struct { |
| 1093 |
cc grpc.ClientConnInterface |
| 1094 |
} |
| 1095 |
|
| 1096 |
func NewDocumentServiceClient(cc grpc.ClientConnInterface) DocumentServiceClient { |
| 1097 |
return &documentServiceClient{cc} |
| 1098 |
} |
| 1099 |
|
| 1100 |
func (c *documentServiceClient) CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*CreateDocumentResponse, error) { |
| 1101 |
out := new(CreateDocumentResponse) |
| 1102 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentService/CreateDocument", in, out, opts...) |
| 1103 |
if err != nil { |
| 1104 |
return nil, err |
| 1105 |
} |
| 1106 |
return out, nil |
| 1107 |
} |
| 1108 |
|
| 1109 |
func (c *documentServiceClient) GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error) { |
| 1110 |
out := new(Document) |
| 1111 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentService/GetDocument", in, out, opts...) |
| 1112 |
if err != nil { |
| 1113 |
return nil, err |
| 1114 |
} |
| 1115 |
return out, nil |
| 1116 |
} |
| 1117 |
|
| 1118 |
func (c *documentServiceClient) UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*UpdateDocumentResponse, error) { |
| 1119 |
out := new(UpdateDocumentResponse) |
| 1120 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentService/UpdateDocument", in, out, opts...) |
| 1121 |
if err != nil { |
| 1122 |
return nil, err |
| 1123 |
} |
| 1124 |
return out, nil |
| 1125 |
} |
| 1126 |
|
| 1127 |
func (c *documentServiceClient) DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 1128 |
out := new(emptypb.Empty) |
| 1129 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentService/DeleteDocument", in, out, opts...) |
| 1130 |
if err != nil { |
| 1131 |
return nil, err |
| 1132 |
} |
| 1133 |
return out, nil |
| 1134 |
} |
| 1135 |
|
| 1136 |
func (c *documentServiceClient) SearchDocuments(ctx context.Context, in *SearchDocumentsRequest, opts ...grpc.CallOption) (*SearchDocumentsResponse, error) { |
| 1137 |
out := new(SearchDocumentsResponse) |
| 1138 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentService/SearchDocuments", in, out, opts...) |
| 1139 |
if err != nil { |
| 1140 |
return nil, err |
| 1141 |
} |
| 1142 |
return out, nil |
| 1143 |
} |
| 1144 |
|
| 1145 |
func (c *documentServiceClient) FetchAcl(ctx context.Context, in *FetchAclRequest, opts ...grpc.CallOption) (*FetchAclResponse, error) { |
| 1146 |
out := new(FetchAclResponse) |
| 1147 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentService/FetchAcl", in, out, opts...) |
| 1148 |
if err != nil { |
| 1149 |
return nil, err |
| 1150 |
} |
| 1151 |
return out, nil |
| 1152 |
} |
| 1153 |
|
| 1154 |
func (c *documentServiceClient) SetAcl(ctx context.Context, in *SetAclRequest, opts ...grpc.CallOption) (*SetAclResponse, error) { |
| 1155 |
out := new(SetAclResponse) |
| 1156 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.DocumentService/SetAcl", in, out, opts...) |
| 1157 |
if err != nil { |
| 1158 |
return nil, err |
| 1159 |
} |
| 1160 |
return out, nil |
| 1161 |
} |
| 1162 |
|
| 1163 |
// DocumentServiceServer is the server API for DocumentService service. |
| 1164 |
type DocumentServiceServer interface { |
| 1165 |
// Creates a document. |
| 1166 |
CreateDocument(context.Context, *CreateDocumentRequest) (*CreateDocumentResponse, error) |
| 1167 |
// Gets a document. Returns NOT_FOUND if the document does not exist. |
| 1168 |
GetDocument(context.Context, *GetDocumentRequest) (*Document, error) |
| 1169 |
// Updates a document. Returns INVALID_ARGUMENT if the name of the document |
| 1170 |
// is non-empty and does not equal the existing name. |
| 1171 |
UpdateDocument(context.Context, *UpdateDocumentRequest) (*UpdateDocumentResponse, error) |
| 1172 |
// Deletes a document. Returns NOT_FOUND if the document does not exist. |
| 1173 |
DeleteDocument(context.Context, *DeleteDocumentRequest) (*emptypb.Empty, error) |
| 1174 |
// Searches for documents using provided [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest]. |
| 1175 |
// This call only returns documents that the caller has permission to search |
| 1176 |
// against. |
| 1177 |
SearchDocuments(context.Context, *SearchDocumentsRequest) (*SearchDocumentsResponse, error) |
| 1178 |
// Gets the access control policy for a resource. Returns NOT_FOUND error if |
| 1179 |
// the resource does not exist. Returns an empty policy if the resource exists |
| 1180 |
// but does not have a policy set. |
| 1181 |
FetchAcl(context.Context, *FetchAclRequest) (*FetchAclResponse, error) |
| 1182 |
// Sets the access control policy for a resource. Replaces any existing |
| 1183 |
// policy. |
| 1184 |
SetAcl(context.Context, *SetAclRequest) (*SetAclResponse, error) |
| 1185 |
} |
| 1186 |
|
| 1187 |
// UnimplementedDocumentServiceServer can be embedded to have forward compatible implementations. |
| 1188 |
type UnimplementedDocumentServiceServer struct { |
| 1189 |
} |
| 1190 |
|
| 1191 |
func (*UnimplementedDocumentServiceServer) CreateDocument(context.Context, *CreateDocumentRequest) (*CreateDocumentResponse, error) { |
| 1192 |
return nil, status.Errorf(codes.Unimplemented, "method CreateDocument not implemented") |
| 1193 |
} |
| 1194 |
func (*UnimplementedDocumentServiceServer) GetDocument(context.Context, *GetDocumentRequest) (*Document, error) { |
| 1195 |
return nil, status.Errorf(codes.Unimplemented, "method GetDocument not implemented") |
| 1196 |
} |
| 1197 |
func (*UnimplementedDocumentServiceServer) UpdateDocument(context.Context, *UpdateDocumentRequest) (*UpdateDocumentResponse, error) { |
| 1198 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateDocument not implemented") |
| 1199 |
} |
| 1200 |
func (*UnimplementedDocumentServiceServer) DeleteDocument(context.Context, *DeleteDocumentRequest) (*emptypb.Empty, error) { |
| 1201 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteDocument not implemented") |
| 1202 |
} |
| 1203 |
func (*UnimplementedDocumentServiceServer) SearchDocuments(context.Context, *SearchDocumentsRequest) (*SearchDocumentsResponse, error) { |
| 1204 |
return nil, status.Errorf(codes.Unimplemented, "method SearchDocuments not implemented") |
| 1205 |
} |
| 1206 |
func (*UnimplementedDocumentServiceServer) FetchAcl(context.Context, *FetchAclRequest) (*FetchAclResponse, error) { |
| 1207 |
return nil, status.Errorf(codes.Unimplemented, "method FetchAcl not implemented") |
| 1208 |
} |
| 1209 |
func (*UnimplementedDocumentServiceServer) SetAcl(context.Context, *SetAclRequest) (*SetAclResponse, error) { |
| 1210 |
return nil, status.Errorf(codes.Unimplemented, "method SetAcl not implemented") |
| 1211 |
} |
| 1212 |
|
| 1213 |
func RegisterDocumentServiceServer(s *grpc.Server, srv DocumentServiceServer) { |
| 1214 |
s.RegisterService(&_DocumentService_serviceDesc, srv) |
| 1215 |
} |
| 1216 |
|
| 1217 |
func _DocumentService_CreateDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1218 |
in := new(CreateDocumentRequest) |
| 1219 |
if err := dec(in); err != nil { |
| 1220 |
return nil, err |
| 1221 |
} |
| 1222 |
if interceptor == nil { |
| 1223 |
return srv.(DocumentServiceServer).CreateDocument(ctx, in) |
| 1224 |
} |
| 1225 |
info := &grpc.UnaryServerInfo{ |
| 1226 |
Server: srv, |
| 1227 |
FullMethod: "/google.cloud.contentwarehouse.v1.DocumentService/CreateDocument", |
| 1228 |
} |
| 1229 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1230 |
return srv.(DocumentServiceServer).CreateDocument(ctx, req.(*CreateDocumentRequest)) |
| 1231 |
} |
| 1232 |
return interceptor(ctx, in, info, handler) |
| 1233 |
} |
| 1234 |
|
| 1235 |
func _DocumentService_GetDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1236 |
in := new(GetDocumentRequest) |
| 1237 |
if err := dec(in); err != nil { |
| 1238 |
return nil, err |
| 1239 |
} |
| 1240 |
if interceptor == nil { |
| 1241 |
return srv.(DocumentServiceServer).GetDocument(ctx, in) |
| 1242 |
} |
| 1243 |
info := &grpc.UnaryServerInfo{ |
| 1244 |
Server: srv, |
| 1245 |
FullMethod: "/google.cloud.contentwarehouse.v1.DocumentService/GetDocument", |
| 1246 |
} |
| 1247 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1248 |
return srv.(DocumentServiceServer).GetDocument(ctx, req.(*GetDocumentRequest)) |
| 1249 |
} |
| 1250 |
return interceptor(ctx, in, info, handler) |
| 1251 |
} |
| 1252 |
|
| 1253 |
func _DocumentService_UpdateDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1254 |
in := new(UpdateDocumentRequest) |
| 1255 |
if err := dec(in); err != nil { |
| 1256 |
return nil, err |
| 1257 |
} |
| 1258 |
if interceptor == nil { |
| 1259 |
return srv.(DocumentServiceServer).UpdateDocument(ctx, in) |
| 1260 |
} |
| 1261 |
info := &grpc.UnaryServerInfo{ |
| 1262 |
Server: srv, |
| 1263 |
FullMethod: "/google.cloud.contentwarehouse.v1.DocumentService/UpdateDocument", |
| 1264 |
} |
| 1265 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1266 |
return srv.(DocumentServiceServer).UpdateDocument(ctx, req.(*UpdateDocumentRequest)) |
| 1267 |
} |
| 1268 |
return interceptor(ctx, in, info, handler) |
| 1269 |
} |
| 1270 |
|
| 1271 |
func _DocumentService_DeleteDocument_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1272 |
in := new(DeleteDocumentRequest) |
| 1273 |
if err := dec(in); err != nil { |
| 1274 |
return nil, err |
| 1275 |
} |
| 1276 |
if interceptor == nil { |
| 1277 |
return srv.(DocumentServiceServer).DeleteDocument(ctx, in) |
| 1278 |
} |
| 1279 |
info := &grpc.UnaryServerInfo{ |
| 1280 |
Server: srv, |
| 1281 |
FullMethod: "/google.cloud.contentwarehouse.v1.DocumentService/DeleteDocument", |
| 1282 |
} |
| 1283 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1284 |
return srv.(DocumentServiceServer).DeleteDocument(ctx, req.(*DeleteDocumentRequest)) |
| 1285 |
} |
| 1286 |
return interceptor(ctx, in, info, handler) |
| 1287 |
} |
| 1288 |
|
| 1289 |
func _DocumentService_SearchDocuments_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1290 |
in := new(SearchDocumentsRequest) |
| 1291 |
if err := dec(in); err != nil { |
| 1292 |
return nil, err |
| 1293 |
} |
| 1294 |
if interceptor == nil { |
| 1295 |
return srv.(DocumentServiceServer).SearchDocuments(ctx, in) |
| 1296 |
} |
| 1297 |
info := &grpc.UnaryServerInfo{ |
| 1298 |
Server: srv, |
| 1299 |
FullMethod: "/google.cloud.contentwarehouse.v1.DocumentService/SearchDocuments", |
| 1300 |
} |
| 1301 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1302 |
return srv.(DocumentServiceServer).SearchDocuments(ctx, req.(*SearchDocumentsRequest)) |
| 1303 |
} |
| 1304 |
return interceptor(ctx, in, info, handler) |
| 1305 |
} |
| 1306 |
|
| 1307 |
func _DocumentService_FetchAcl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1308 |
in := new(FetchAclRequest) |
| 1309 |
if err := dec(in); err != nil { |
| 1310 |
return nil, err |
| 1311 |
} |
| 1312 |
if interceptor == nil { |
| 1313 |
return srv.(DocumentServiceServer).FetchAcl(ctx, in) |
| 1314 |
} |
| 1315 |
info := &grpc.UnaryServerInfo{ |
| 1316 |
Server: srv, |
| 1317 |
FullMethod: "/google.cloud.contentwarehouse.v1.DocumentService/FetchAcl", |
| 1318 |
} |
| 1319 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1320 |
return srv.(DocumentServiceServer).FetchAcl(ctx, req.(*FetchAclRequest)) |
| 1321 |
} |
| 1322 |
return interceptor(ctx, in, info, handler) |
| 1323 |
} |
| 1324 |
|
| 1325 |
func _DocumentService_SetAcl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1326 |
in := new(SetAclRequest) |
| 1327 |
if err := dec(in); err != nil { |
| 1328 |
return nil, err |
| 1329 |
} |
| 1330 |
if interceptor == nil { |
| 1331 |
return srv.(DocumentServiceServer).SetAcl(ctx, in) |
| 1332 |
} |
| 1333 |
info := &grpc.UnaryServerInfo{ |
| 1334 |
Server: srv, |
| 1335 |
FullMethod: "/google.cloud.contentwarehouse.v1.DocumentService/SetAcl", |
| 1336 |
} |
| 1337 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1338 |
return srv.(DocumentServiceServer).SetAcl(ctx, req.(*SetAclRequest)) |
| 1339 |
} |
| 1340 |
return interceptor(ctx, in, info, handler) |
| 1341 |
} |
| 1342 |
|
| 1343 |
var _DocumentService_serviceDesc = grpc.ServiceDesc{ |
| 1344 |
ServiceName: "google.cloud.contentwarehouse.v1.DocumentService", |
| 1345 |
HandlerType: (*DocumentServiceServer)(nil), |
| 1346 |
Methods: []grpc.MethodDesc{ |
| 1347 |
{ |
| 1348 |
MethodName: "CreateDocument", |
| 1349 |
Handler: _DocumentService_CreateDocument_Handler, |
| 1350 |
}, |
| 1351 |
{ |
| 1352 |
MethodName: "GetDocument", |
| 1353 |
Handler: _DocumentService_GetDocument_Handler, |
| 1354 |
}, |
| 1355 |
{ |
| 1356 |
MethodName: "UpdateDocument", |
| 1357 |
Handler: _DocumentService_UpdateDocument_Handler, |
| 1358 |
}, |
| 1359 |
{ |
| 1360 |
MethodName: "DeleteDocument", |
| 1361 |
Handler: _DocumentService_DeleteDocument_Handler, |
| 1362 |
}, |
| 1363 |
{ |
| 1364 |
MethodName: "SearchDocuments", |
| 1365 |
Handler: _DocumentService_SearchDocuments_Handler, |
| 1366 |
}, |
| 1367 |
{ |
| 1368 |
MethodName: "FetchAcl", |
| 1369 |
Handler: _DocumentService_FetchAcl_Handler, |
| 1370 |
}, |
| 1371 |
{ |
| 1372 |
MethodName: "SetAcl", |
| 1373 |
Handler: _DocumentService_SetAcl_Handler, |
| 1374 |
}, |
| 1375 |
}, |
| 1376 |
Streams: []grpc.StreamDesc{}, |
| 1377 |
Metadata: "google/cloud/contentwarehouse/v1/document_service.proto", |
| 1378 |
} |