| 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/synonymset_service.proto |
| 20 |
|
| 21 |
package contentwarehouse |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
reflect "reflect" |
| 26 |
|
| 27 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 28 |
grpc "google.golang.org/grpc" |
| 29 |
codes "google.golang.org/grpc/codes" |
| 30 |
status "google.golang.org/grpc/status" |
| 31 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 32 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 33 |
emptypb "google.golang.org/protobuf/types/known/emptypb" |
| 34 |
) |
| 35 |
|
| 36 |
const ( |
| 37 |
// Verify that this generated code is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 39 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 41 |
) |
| 42 |
|
| 43 |
var File_google_cloud_contentwarehouse_v1_synonymset_service_proto protoreflect.FileDescriptor |
| 44 |
|
| 45 |
var file_google_cloud_contentwarehouse_v1_synonymset_service_proto_rawDesc = []byte{ |
| 46 |
0x0a, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, |
| 47 |
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, |
| 48 |
0x76, 0x31, 0x2f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x65, |
| 49 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, |
| 50 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, |
| 51 |
0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, |
| 52 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, |
| 53 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, |
| 54 |
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, |
| 55 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, |
| 56 |
0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, |
| 57 |
0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x73, 0x65, |
| 58 |
0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 59 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, |
| 60 |
0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, |
| 61 |
0x6d, 0x73, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x71, |
| 62 |
0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, |
| 63 |
0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, |
| 64 |
0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xc3, 0x08, 0x0a, 0x11, 0x53, 0x79, 0x6e, 0x6f, |
| 65 |
0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xd6, 0x01, |
| 66 |
0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, |
| 67 |
0x65, 0x74, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 68 |
0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, |
| 69 |
0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6e, 0x6f, |
| 70 |
0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, |
| 71 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, |
| 72 |
0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, |
| 73 |
0x2e, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x22, 0x59, 0x82, 0xd3, 0xe4, |
| 74 |
0x93, 0x02, 0x3e, 0x22, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 75 |
0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, |
| 76 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, |
| 77 |
0x53, 0x65, 0x74, 0x73, 0x3a, 0x0b, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x5f, 0x73, 0x65, |
| 78 |
0x74, 0xda, 0x41, 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x73, 0x79, 0x6e, 0x6f, 0x6e, |
| 79 |
0x79, 0x6d, 0x5f, 0x73, 0x65, 0x74, 0x12, 0xb5, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x79, |
| 80 |
0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 81 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, |
| 82 |
0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, |
| 83 |
0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 84 |
0x1a, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 85 |
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, |
| 86 |
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x22, 0x3e, |
| 87 |
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, |
| 88 |
0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, |
| 89 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, |
| 90 |
0x53, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xd4, |
| 91 |
0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, |
| 92 |
0x53, 0x65, 0x74, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 93 |
0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, |
| 94 |
0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x79, 0x6e, |
| 95 |
0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, |
| 96 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, |
| 97 |
0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, |
| 98 |
0x31, 0x2e, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x22, 0x57, 0x82, 0xd3, |
| 99 |
0xe4, 0x93, 0x02, 0x3e, 0x32, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, |
| 100 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, |
| 101 |
0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, |
| 102 |
0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x0b, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x5f, 0x73, |
| 103 |
0x65, 0x74, 0xda, 0x41, 0x10, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, |
| 104 |
0x6d, 0x5f, 0x73, 0x65, 0x74, 0x12, 0xa5, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, |
| 105 |
0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, |
| 106 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, |
| 107 |
0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, |
| 108 |
0x6c, 0x65, 0x74, 0x65, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x52, 0x65, |
| 109 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 110 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x3e, 0x82, |
| 111 |
0xd3, 0xe4, 0x93, 0x02, 0x31, 0x2a, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, |
| 112 |
0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, |
| 113 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, |
| 114 |
0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xc8, 0x01, |
| 115 |
0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, |
| 116 |
0x73, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 117 |
0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, |
| 118 |
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, |
| 119 |
0x53, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x67, 0x6f, |
| 120 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, |
| 121 |
0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, |
| 122 |
0x69, 0x73, 0x74, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x73, 0x52, 0x65, |
| 123 |
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, |
| 124 |
0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, |
| 125 |
0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 126 |
0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, 0x65, 0x74, 0x73, 0xda, |
| 127 |
0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x1a, 0x53, 0xca, 0x41, 0x1f, 0x63, 0x6f, 0x6e, |
| 128 |
0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2e, 0x67, 0x6f, |
| 129 |
0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, |
| 130 |
0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 131 |
0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, |
| 132 |
0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x92, 0x01, |
| 133 |
0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 134 |
0x75, 0x64, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, |
| 135 |
0x75, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x16, 0x53, 0x79, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x53, |
| 136 |
0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, |
| 137 |
0x5a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, |
| 138 |
0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, |
| 139 |
0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6f, |
| 140 |
0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x2f, 0x76, |
| 141 |
0x31, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x77, 0x61, 0x72, 0x65, 0x68, 0x6f, 0x75, |
| 142 |
0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 143 |
} |
| 144 |
|
| 145 |
var file_google_cloud_contentwarehouse_v1_synonymset_service_proto_goTypes = []interface{}{ |
| 146 |
(*CreateSynonymSetRequest)(nil), // 0: google.cloud.contentwarehouse.v1.CreateSynonymSetRequest |
| 147 |
(*GetSynonymSetRequest)(nil), // 1: google.cloud.contentwarehouse.v1.GetSynonymSetRequest |
| 148 |
(*UpdateSynonymSetRequest)(nil), // 2: google.cloud.contentwarehouse.v1.UpdateSynonymSetRequest |
| 149 |
(*DeleteSynonymSetRequest)(nil), // 3: google.cloud.contentwarehouse.v1.DeleteSynonymSetRequest |
| 150 |
(*ListSynonymSetsRequest)(nil), // 4: google.cloud.contentwarehouse.v1.ListSynonymSetsRequest |
| 151 |
(*SynonymSet)(nil), // 5: google.cloud.contentwarehouse.v1.SynonymSet |
| 152 |
(*emptypb.Empty)(nil), // 6: google.protobuf.Empty |
| 153 |
(*ListSynonymSetsResponse)(nil), // 7: google.cloud.contentwarehouse.v1.ListSynonymSetsResponse |
| 154 |
} |
| 155 |
var file_google_cloud_contentwarehouse_v1_synonymset_service_proto_depIdxs = []int32{ |
| 156 |
0, // 0: google.cloud.contentwarehouse.v1.SynonymSetService.CreateSynonymSet:input_type -> google.cloud.contentwarehouse.v1.CreateSynonymSetRequest |
| 157 |
1, // 1: google.cloud.contentwarehouse.v1.SynonymSetService.GetSynonymSet:input_type -> google.cloud.contentwarehouse.v1.GetSynonymSetRequest |
| 158 |
2, // 2: google.cloud.contentwarehouse.v1.SynonymSetService.UpdateSynonymSet:input_type -> google.cloud.contentwarehouse.v1.UpdateSynonymSetRequest |
| 159 |
3, // 3: google.cloud.contentwarehouse.v1.SynonymSetService.DeleteSynonymSet:input_type -> google.cloud.contentwarehouse.v1.DeleteSynonymSetRequest |
| 160 |
4, // 4: google.cloud.contentwarehouse.v1.SynonymSetService.ListSynonymSets:input_type -> google.cloud.contentwarehouse.v1.ListSynonymSetsRequest |
| 161 |
5, // 5: google.cloud.contentwarehouse.v1.SynonymSetService.CreateSynonymSet:output_type -> google.cloud.contentwarehouse.v1.SynonymSet |
| 162 |
5, // 6: google.cloud.contentwarehouse.v1.SynonymSetService.GetSynonymSet:output_type -> google.cloud.contentwarehouse.v1.SynonymSet |
| 163 |
5, // 7: google.cloud.contentwarehouse.v1.SynonymSetService.UpdateSynonymSet:output_type -> google.cloud.contentwarehouse.v1.SynonymSet |
| 164 |
6, // 8: google.cloud.contentwarehouse.v1.SynonymSetService.DeleteSynonymSet:output_type -> google.protobuf.Empty |
| 165 |
7, // 9: google.cloud.contentwarehouse.v1.SynonymSetService.ListSynonymSets:output_type -> google.cloud.contentwarehouse.v1.ListSynonymSetsResponse |
| 166 |
5, // [5:10] is the sub-list for method output_type |
| 167 |
0, // [0:5] is the sub-list for method input_type |
| 168 |
0, // [0:0] is the sub-list for extension type_name |
| 169 |
0, // [0:0] is the sub-list for extension extendee |
| 170 |
0, // [0:0] is the sub-list for field type_name |
| 171 |
} |
| 172 |
|
| 173 |
func init() { file_google_cloud_contentwarehouse_v1_synonymset_service_proto_init() } |
| 174 |
func file_google_cloud_contentwarehouse_v1_synonymset_service_proto_init() { |
| 175 |
if File_google_cloud_contentwarehouse_v1_synonymset_service_proto != nil { |
| 176 |
return |
| 177 |
} |
| 178 |
file_google_cloud_contentwarehouse_v1_synonymset_proto_init() |
| 179 |
file_google_cloud_contentwarehouse_v1_synonymset_service_request_proto_init() |
| 180 |
type x struct{} |
| 181 |
out := protoimpl.TypeBuilder{ |
| 182 |
File: protoimpl.DescBuilder{ |
| 183 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 184 |
RawDescriptor: file_google_cloud_contentwarehouse_v1_synonymset_service_proto_rawDesc, |
| 185 |
NumEnums: 0, |
| 186 |
NumMessages: 0, |
| 187 |
NumExtensions: 0, |
| 188 |
NumServices: 1, |
| 189 |
}, |
| 190 |
GoTypes: file_google_cloud_contentwarehouse_v1_synonymset_service_proto_goTypes, |
| 191 |
DependencyIndexes: file_google_cloud_contentwarehouse_v1_synonymset_service_proto_depIdxs, |
| 192 |
}.Build() |
| 193 |
File_google_cloud_contentwarehouse_v1_synonymset_service_proto = out.File |
| 194 |
file_google_cloud_contentwarehouse_v1_synonymset_service_proto_rawDesc = nil |
| 195 |
file_google_cloud_contentwarehouse_v1_synonymset_service_proto_goTypes = nil |
| 196 |
file_google_cloud_contentwarehouse_v1_synonymset_service_proto_depIdxs = nil |
| 197 |
} |
| 198 |
|
| 199 |
// Reference imports to suppress errors if they are not otherwise used. |
| 200 |
var _ context.Context |
| 201 |
var _ grpc.ClientConnInterface |
| 202 |
|
| 203 |
// This is a compile-time assertion to ensure that this generated file |
| 204 |
// is compatible with the grpc package it is being compiled against. |
| 205 |
const _ = grpc.SupportPackageIsVersion6 |
| 206 |
|
| 207 |
// SynonymSetServiceClient is the client API for SynonymSetService service. |
| 208 |
// |
| 209 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 210 |
type SynonymSetServiceClient interface { |
| 211 |
// Creates a SynonymSet for a single context. |
| 212 |
// Throws an ALREADY_EXISTS exception if a synonymset already exists |
| 213 |
// for the context. |
| 214 |
CreateSynonymSet(ctx context.Context, in *CreateSynonymSetRequest, opts ...grpc.CallOption) (*SynonymSet, error) |
| 215 |
// Gets a SynonymSet for a particular context. |
| 216 |
// Throws a NOT_FOUND exception if the Synonymset |
| 217 |
// does not exist |
| 218 |
GetSynonymSet(ctx context.Context, in *GetSynonymSetRequest, opts ...grpc.CallOption) (*SynonymSet, error) |
| 219 |
// Remove the existing SynonymSet for the context and replaces it |
| 220 |
// with a new one. |
| 221 |
// Throws a NOT_FOUND exception if the SynonymSet is not found. |
| 222 |
UpdateSynonymSet(ctx context.Context, in *UpdateSynonymSetRequest, opts ...grpc.CallOption) (*SynonymSet, error) |
| 223 |
// Deletes a SynonymSet for a given context. |
| 224 |
// Throws a NOT_FOUND exception if the SynonymSet is not found. |
| 225 |
DeleteSynonymSet(ctx context.Context, in *DeleteSynonymSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 226 |
// Returns all SynonymSets (for all contexts) for the specified location. |
| 227 |
ListSynonymSets(ctx context.Context, in *ListSynonymSetsRequest, opts ...grpc.CallOption) (*ListSynonymSetsResponse, error) |
| 228 |
} |
| 229 |
|
| 230 |
type synonymSetServiceClient struct { |
| 231 |
cc grpc.ClientConnInterface |
| 232 |
} |
| 233 |
|
| 234 |
func NewSynonymSetServiceClient(cc grpc.ClientConnInterface) SynonymSetServiceClient { |
| 235 |
return &synonymSetServiceClient{cc} |
| 236 |
} |
| 237 |
|
| 238 |
func (c *synonymSetServiceClient) CreateSynonymSet(ctx context.Context, in *CreateSynonymSetRequest, opts ...grpc.CallOption) (*SynonymSet, error) { |
| 239 |
out := new(SynonymSet) |
| 240 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.SynonymSetService/CreateSynonymSet", in, out, opts...) |
| 241 |
if err != nil { |
| 242 |
return nil, err |
| 243 |
} |
| 244 |
return out, nil |
| 245 |
} |
| 246 |
|
| 247 |
func (c *synonymSetServiceClient) GetSynonymSet(ctx context.Context, in *GetSynonymSetRequest, opts ...grpc.CallOption) (*SynonymSet, error) { |
| 248 |
out := new(SynonymSet) |
| 249 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.SynonymSetService/GetSynonymSet", in, out, opts...) |
| 250 |
if err != nil { |
| 251 |
return nil, err |
| 252 |
} |
| 253 |
return out, nil |
| 254 |
} |
| 255 |
|
| 256 |
func (c *synonymSetServiceClient) UpdateSynonymSet(ctx context.Context, in *UpdateSynonymSetRequest, opts ...grpc.CallOption) (*SynonymSet, error) { |
| 257 |
out := new(SynonymSet) |
| 258 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.SynonymSetService/UpdateSynonymSet", in, out, opts...) |
| 259 |
if err != nil { |
| 260 |
return nil, err |
| 261 |
} |
| 262 |
return out, nil |
| 263 |
} |
| 264 |
|
| 265 |
func (c *synonymSetServiceClient) DeleteSynonymSet(ctx context.Context, in *DeleteSynonymSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| 266 |
out := new(emptypb.Empty) |
| 267 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.SynonymSetService/DeleteSynonymSet", in, out, opts...) |
| 268 |
if err != nil { |
| 269 |
return nil, err |
| 270 |
} |
| 271 |
return out, nil |
| 272 |
} |
| 273 |
|
| 274 |
func (c *synonymSetServiceClient) ListSynonymSets(ctx context.Context, in *ListSynonymSetsRequest, opts ...grpc.CallOption) (*ListSynonymSetsResponse, error) { |
| 275 |
out := new(ListSynonymSetsResponse) |
| 276 |
err := c.cc.Invoke(ctx, "/google.cloud.contentwarehouse.v1.SynonymSetService/ListSynonymSets", in, out, opts...) |
| 277 |
if err != nil { |
| 278 |
return nil, err |
| 279 |
} |
| 280 |
return out, nil |
| 281 |
} |
| 282 |
|
| 283 |
// SynonymSetServiceServer is the server API for SynonymSetService service. |
| 284 |
type SynonymSetServiceServer interface { |
| 285 |
// Creates a SynonymSet for a single context. |
| 286 |
// Throws an ALREADY_EXISTS exception if a synonymset already exists |
| 287 |
// for the context. |
| 288 |
CreateSynonymSet(context.Context, *CreateSynonymSetRequest) (*SynonymSet, error) |
| 289 |
// Gets a SynonymSet for a particular context. |
| 290 |
// Throws a NOT_FOUND exception if the Synonymset |
| 291 |
// does not exist |
| 292 |
GetSynonymSet(context.Context, *GetSynonymSetRequest) (*SynonymSet, error) |
| 293 |
// Remove the existing SynonymSet for the context and replaces it |
| 294 |
// with a new one. |
| 295 |
// Throws a NOT_FOUND exception if the SynonymSet is not found. |
| 296 |
UpdateSynonymSet(context.Context, *UpdateSynonymSetRequest) (*SynonymSet, error) |
| 297 |
// Deletes a SynonymSet for a given context. |
| 298 |
// Throws a NOT_FOUND exception if the SynonymSet is not found. |
| 299 |
DeleteSynonymSet(context.Context, *DeleteSynonymSetRequest) (*emptypb.Empty, error) |
| 300 |
// Returns all SynonymSets (for all contexts) for the specified location. |
| 301 |
ListSynonymSets(context.Context, *ListSynonymSetsRequest) (*ListSynonymSetsResponse, error) |
| 302 |
} |
| 303 |
|
| 304 |
// UnimplementedSynonymSetServiceServer can be embedded to have forward compatible implementations. |
| 305 |
type UnimplementedSynonymSetServiceServer struct { |
| 306 |
} |
| 307 |
|
| 308 |
func (*UnimplementedSynonymSetServiceServer) CreateSynonymSet(context.Context, *CreateSynonymSetRequest) (*SynonymSet, error) { |
| 309 |
return nil, status.Errorf(codes.Unimplemented, "method CreateSynonymSet not implemented") |
| 310 |
} |
| 311 |
func (*UnimplementedSynonymSetServiceServer) GetSynonymSet(context.Context, *GetSynonymSetRequest) (*SynonymSet, error) { |
| 312 |
return nil, status.Errorf(codes.Unimplemented, "method GetSynonymSet not implemented") |
| 313 |
} |
| 314 |
func (*UnimplementedSynonymSetServiceServer) UpdateSynonymSet(context.Context, *UpdateSynonymSetRequest) (*SynonymSet, error) { |
| 315 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateSynonymSet not implemented") |
| 316 |
} |
| 317 |
func (*UnimplementedSynonymSetServiceServer) DeleteSynonymSet(context.Context, *DeleteSynonymSetRequest) (*emptypb.Empty, error) { |
| 318 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteSynonymSet not implemented") |
| 319 |
} |
| 320 |
func (*UnimplementedSynonymSetServiceServer) ListSynonymSets(context.Context, *ListSynonymSetsRequest) (*ListSynonymSetsResponse, error) { |
| 321 |
return nil, status.Errorf(codes.Unimplemented, "method ListSynonymSets not implemented") |
| 322 |
} |
| 323 |
|
| 324 |
func RegisterSynonymSetServiceServer(s *grpc.Server, srv SynonymSetServiceServer) { |
| 325 |
s.RegisterService(&_SynonymSetService_serviceDesc, srv) |
| 326 |
} |
| 327 |
|
| 328 |
func _SynonymSetService_CreateSynonymSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 329 |
in := new(CreateSynonymSetRequest) |
| 330 |
if err := dec(in); err != nil { |
| 331 |
return nil, err |
| 332 |
} |
| 333 |
if interceptor == nil { |
| 334 |
return srv.(SynonymSetServiceServer).CreateSynonymSet(ctx, in) |
| 335 |
} |
| 336 |
info := &grpc.UnaryServerInfo{ |
| 337 |
Server: srv, |
| 338 |
FullMethod: "/google.cloud.contentwarehouse.v1.SynonymSetService/CreateSynonymSet", |
| 339 |
} |
| 340 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 341 |
return srv.(SynonymSetServiceServer).CreateSynonymSet(ctx, req.(*CreateSynonymSetRequest)) |
| 342 |
} |
| 343 |
return interceptor(ctx, in, info, handler) |
| 344 |
} |
| 345 |
|
| 346 |
func _SynonymSetService_GetSynonymSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 347 |
in := new(GetSynonymSetRequest) |
| 348 |
if err := dec(in); err != nil { |
| 349 |
return nil, err |
| 350 |
} |
| 351 |
if interceptor == nil { |
| 352 |
return srv.(SynonymSetServiceServer).GetSynonymSet(ctx, in) |
| 353 |
} |
| 354 |
info := &grpc.UnaryServerInfo{ |
| 355 |
Server: srv, |
| 356 |
FullMethod: "/google.cloud.contentwarehouse.v1.SynonymSetService/GetSynonymSet", |
| 357 |
} |
| 358 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 359 |
return srv.(SynonymSetServiceServer).GetSynonymSet(ctx, req.(*GetSynonymSetRequest)) |
| 360 |
} |
| 361 |
return interceptor(ctx, in, info, handler) |
| 362 |
} |
| 363 |
|
| 364 |
func _SynonymSetService_UpdateSynonymSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 365 |
in := new(UpdateSynonymSetRequest) |
| 366 |
if err := dec(in); err != nil { |
| 367 |
return nil, err |
| 368 |
} |
| 369 |
if interceptor == nil { |
| 370 |
return srv.(SynonymSetServiceServer).UpdateSynonymSet(ctx, in) |
| 371 |
} |
| 372 |
info := &grpc.UnaryServerInfo{ |
| 373 |
Server: srv, |
| 374 |
FullMethod: "/google.cloud.contentwarehouse.v1.SynonymSetService/UpdateSynonymSet", |
| 375 |
} |
| 376 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 377 |
return srv.(SynonymSetServiceServer).UpdateSynonymSet(ctx, req.(*UpdateSynonymSetRequest)) |
| 378 |
} |
| 379 |
return interceptor(ctx, in, info, handler) |
| 380 |
} |
| 381 |
|
| 382 |
func _SynonymSetService_DeleteSynonymSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 383 |
in := new(DeleteSynonymSetRequest) |
| 384 |
if err := dec(in); err != nil { |
| 385 |
return nil, err |
| 386 |
} |
| 387 |
if interceptor == nil { |
| 388 |
return srv.(SynonymSetServiceServer).DeleteSynonymSet(ctx, in) |
| 389 |
} |
| 390 |
info := &grpc.UnaryServerInfo{ |
| 391 |
Server: srv, |
| 392 |
FullMethod: "/google.cloud.contentwarehouse.v1.SynonymSetService/DeleteSynonymSet", |
| 393 |
} |
| 394 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 395 |
return srv.(SynonymSetServiceServer).DeleteSynonymSet(ctx, req.(*DeleteSynonymSetRequest)) |
| 396 |
} |
| 397 |
return interceptor(ctx, in, info, handler) |
| 398 |
} |
| 399 |
|
| 400 |
func _SynonymSetService_ListSynonymSets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 401 |
in := new(ListSynonymSetsRequest) |
| 402 |
if err := dec(in); err != nil { |
| 403 |
return nil, err |
| 404 |
} |
| 405 |
if interceptor == nil { |
| 406 |
return srv.(SynonymSetServiceServer).ListSynonymSets(ctx, in) |
| 407 |
} |
| 408 |
info := &grpc.UnaryServerInfo{ |
| 409 |
Server: srv, |
| 410 |
FullMethod: "/google.cloud.contentwarehouse.v1.SynonymSetService/ListSynonymSets", |
| 411 |
} |
| 412 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 413 |
return srv.(SynonymSetServiceServer).ListSynonymSets(ctx, req.(*ListSynonymSetsRequest)) |
| 414 |
} |
| 415 |
return interceptor(ctx, in, info, handler) |
| 416 |
} |
| 417 |
|
| 418 |
var _SynonymSetService_serviceDesc = grpc.ServiceDesc{ |
| 419 |
ServiceName: "google.cloud.contentwarehouse.v1.SynonymSetService", |
| 420 |
HandlerType: (*SynonymSetServiceServer)(nil), |
| 421 |
Methods: []grpc.MethodDesc{ |
| 422 |
{ |
| 423 |
MethodName: "CreateSynonymSet", |
| 424 |
Handler: _SynonymSetService_CreateSynonymSet_Handler, |
| 425 |
}, |
| 426 |
{ |
| 427 |
MethodName: "GetSynonymSet", |
| 428 |
Handler: _SynonymSetService_GetSynonymSet_Handler, |
| 429 |
}, |
| 430 |
{ |
| 431 |
MethodName: "UpdateSynonymSet", |
| 432 |
Handler: _SynonymSetService_UpdateSynonymSet_Handler, |
| 433 |
}, |
| 434 |
{ |
| 435 |
MethodName: "DeleteSynonymSet", |
| 436 |
Handler: _SynonymSetService_DeleteSynonymSet_Handler, |
| 437 |
}, |
| 438 |
{ |
| 439 |
MethodName: "ListSynonymSets", |
| 440 |
Handler: _SynonymSetService_ListSynonymSets_Handler, |
| 441 |
}, |
| 442 |
}, |
| 443 |
Streams: []grpc.StreamDesc{}, |
| 444 |
Metadata: "google/cloud/contentwarehouse/v1/synonymset_service.proto", |
| 445 |
} |