1// Copyright 2020 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/gaming/v1/realms_service.proto 20 21package gaming 22 23import ( 24 context "context" 25 reflect "reflect" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 longrunning "google.golang.org/genproto/googleapis/longrunning" 29 grpc "google.golang.org/grpc" 30 codes "google.golang.org/grpc/codes" 31 status "google.golang.org/grpc/status" 32 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 33 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 34) 35 36const ( 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 43var File_google_cloud_gaming_v1_realms_service_proto protoreflect.FileDescriptor 44 45var file_google_cloud_gaming_v1_realms_service_proto_rawDesc = []byte{ 46 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 47 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x73, 0x5f, 48 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 49 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x61, 0x6d, 0x69, 50 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 51 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 52 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 53 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 54 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x67, 0x61, 0x6d, 0x69, 0x6e, 55 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 56 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 57 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 58 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xbb, 0x09, 0x0a, 0x0d, 0x52, 0x65, 0x61, 0x6c, 0x6d, 59 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa0, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 60 0x74, 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x73, 0x12, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 61 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 62 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 63 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 64 0x64, 0x2e, 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 65 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 66 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 67 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 68 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x61, 0x6c, 69 0x6d, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x8d, 0x01, 0x0a, 0x08, 70 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x12, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 71 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x76, 72 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 73 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 74 0x2e, 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x6c, 0x6d, 75 0x22, 0x39, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 76 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 77 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x61, 0x6c, 0x6d, 78 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xc8, 0x01, 0x0a, 0x0b, 79 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 80 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x61, 0x6d, 0x69, 0x6e, 81 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x6c, 0x6d, 82 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 83 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 84 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x22, 0x2a, 85 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 86 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 87 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x73, 0x3a, 0x05, 0x72, 0x65, 0x61, 0x6c, 88 0x6d, 0xda, 0x41, 0x15, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x72, 0x65, 0x61, 0x6c, 0x6d, 89 0x2c, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x5f, 0x69, 0x64, 0xca, 0x41, 0x1a, 0x0a, 0x05, 0x52, 0x65, 90 0x61, 0x6c, 0x6d, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 91 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xc0, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, 92 0x65, 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 93 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 94 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 95 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 96 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 97 0x6e, 0x22, 0x66, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x2a, 0x2a, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 98 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 99 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x61, 0x6c, 100 0x6d, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x2a, 0x0a, 101 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 102 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 103 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xca, 0x01, 0x0a, 0x0b, 0x55, 0x70, 104 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 105 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 106 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x52, 0x65, 107 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 108 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 109 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x70, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x32, 0x30, 0x2f, 0x76, 110 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 111 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 112 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x05, 113 0x72, 0x65, 0x61, 0x6c, 0x6d, 0xda, 0x41, 0x11, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x2c, 0x75, 0x70, 114 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0xca, 0x41, 0x1a, 0x0a, 0x05, 0x52, 0x65, 115 0x61, 0x6c, 0x6d, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 116 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xca, 0x01, 0x0a, 0x12, 0x50, 0x72, 0x65, 0x76, 0x69, 117 0x65, 0x77, 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x31, 0x2e, 118 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x61, 0x6d, 119 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 120 0x61, 0x6c, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 121 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 122 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 123 0x77, 0x52, 0x65, 0x61, 0x6c, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 124 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x32, 0x3e, 0x2f, 0x76, 125 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 126 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 127 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x72, 0x65, 0x61, 0x6c, 0x6d, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 128 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x05, 0x72, 0x65, 129 0x61, 0x6c, 0x6d, 0x1a, 0x4f, 0xca, 0x41, 0x1b, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x65, 0x72, 0x76, 130 0x69, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 131 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 132 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 133 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 134 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x5c, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 135 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2e, 136 0x76, 0x31, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 137 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 138 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 139 0x64, 0x2f, 0x67, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x61, 0x6d, 0x69, 140 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 141} 142 143var file_google_cloud_gaming_v1_realms_service_proto_goTypes = []interface{}{ 144 (*ListRealmsRequest)(nil), // 0: google.cloud.gaming.v1.ListRealmsRequest 145 (*GetRealmRequest)(nil), // 1: google.cloud.gaming.v1.GetRealmRequest 146 (*CreateRealmRequest)(nil), // 2: google.cloud.gaming.v1.CreateRealmRequest 147 (*DeleteRealmRequest)(nil), // 3: google.cloud.gaming.v1.DeleteRealmRequest 148 (*UpdateRealmRequest)(nil), // 4: google.cloud.gaming.v1.UpdateRealmRequest 149 (*PreviewRealmUpdateRequest)(nil), // 5: google.cloud.gaming.v1.PreviewRealmUpdateRequest 150 (*ListRealmsResponse)(nil), // 6: google.cloud.gaming.v1.ListRealmsResponse 151 (*Realm)(nil), // 7: google.cloud.gaming.v1.Realm 152 (*longrunning.Operation)(nil), // 8: google.longrunning.Operation 153 (*PreviewRealmUpdateResponse)(nil), // 9: google.cloud.gaming.v1.PreviewRealmUpdateResponse 154} 155var file_google_cloud_gaming_v1_realms_service_proto_depIdxs = []int32{ 156 0, // 0: google.cloud.gaming.v1.RealmsService.ListRealms:input_type -> google.cloud.gaming.v1.ListRealmsRequest 157 1, // 1: google.cloud.gaming.v1.RealmsService.GetRealm:input_type -> google.cloud.gaming.v1.GetRealmRequest 158 2, // 2: google.cloud.gaming.v1.RealmsService.CreateRealm:input_type -> google.cloud.gaming.v1.CreateRealmRequest 159 3, // 3: google.cloud.gaming.v1.RealmsService.DeleteRealm:input_type -> google.cloud.gaming.v1.DeleteRealmRequest 160 4, // 4: google.cloud.gaming.v1.RealmsService.UpdateRealm:input_type -> google.cloud.gaming.v1.UpdateRealmRequest 161 5, // 5: google.cloud.gaming.v1.RealmsService.PreviewRealmUpdate:input_type -> google.cloud.gaming.v1.PreviewRealmUpdateRequest 162 6, // 6: google.cloud.gaming.v1.RealmsService.ListRealms:output_type -> google.cloud.gaming.v1.ListRealmsResponse 163 7, // 7: google.cloud.gaming.v1.RealmsService.GetRealm:output_type -> google.cloud.gaming.v1.Realm 164 8, // 8: google.cloud.gaming.v1.RealmsService.CreateRealm:output_type -> google.longrunning.Operation 165 8, // 9: google.cloud.gaming.v1.RealmsService.DeleteRealm:output_type -> google.longrunning.Operation 166 8, // 10: google.cloud.gaming.v1.RealmsService.UpdateRealm:output_type -> google.longrunning.Operation 167 9, // 11: google.cloud.gaming.v1.RealmsService.PreviewRealmUpdate:output_type -> google.cloud.gaming.v1.PreviewRealmUpdateResponse 168 6, // [6:12] is the sub-list for method output_type 169 0, // [0:6] is the sub-list for method input_type 170 0, // [0:0] is the sub-list for extension type_name 171 0, // [0:0] is the sub-list for extension extendee 172 0, // [0:0] is the sub-list for field type_name 173} 174 175func init() { file_google_cloud_gaming_v1_realms_service_proto_init() } 176func file_google_cloud_gaming_v1_realms_service_proto_init() { 177 if File_google_cloud_gaming_v1_realms_service_proto != nil { 178 return 179 } 180 file_google_cloud_gaming_v1_realms_proto_init() 181 type x struct{} 182 out := protoimpl.TypeBuilder{ 183 File: protoimpl.DescBuilder{ 184 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 185 RawDescriptor: file_google_cloud_gaming_v1_realms_service_proto_rawDesc, 186 NumEnums: 0, 187 NumMessages: 0, 188 NumExtensions: 0, 189 NumServices: 1, 190 }, 191 GoTypes: file_google_cloud_gaming_v1_realms_service_proto_goTypes, 192 DependencyIndexes: file_google_cloud_gaming_v1_realms_service_proto_depIdxs, 193 }.Build() 194 File_google_cloud_gaming_v1_realms_service_proto = out.File 195 file_google_cloud_gaming_v1_realms_service_proto_rawDesc = nil 196 file_google_cloud_gaming_v1_realms_service_proto_goTypes = nil 197 file_google_cloud_gaming_v1_realms_service_proto_depIdxs = nil 198} 199 200// Reference imports to suppress errors if they are not otherwise used. 201var _ context.Context 202var _ grpc.ClientConnInterface 203 204// This is a compile-time assertion to ensure that this generated file 205// is compatible with the grpc package it is being compiled against. 206const _ = grpc.SupportPackageIsVersion6 207 208// RealmsServiceClient is the client API for RealmsService service. 209// 210// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 211type RealmsServiceClient interface { 212 // Lists realms in a given project and location. 213 ListRealms(ctx context.Context, in *ListRealmsRequest, opts ...grpc.CallOption) (*ListRealmsResponse, error) 214 // Gets details of a single realm. 215 GetRealm(ctx context.Context, in *GetRealmRequest, opts ...grpc.CallOption) (*Realm, error) 216 // Creates a new realm in a given project and location. 217 CreateRealm(ctx context.Context, in *CreateRealmRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 218 // Deletes a single realm. 219 DeleteRealm(ctx context.Context, in *DeleteRealmRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 220 // Patches a single realm. 221 UpdateRealm(ctx context.Context, in *UpdateRealmRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) 222 // Previews patches to a single realm. 223 PreviewRealmUpdate(ctx context.Context, in *PreviewRealmUpdateRequest, opts ...grpc.CallOption) (*PreviewRealmUpdateResponse, error) 224} 225 226type realmsServiceClient struct { 227 cc grpc.ClientConnInterface 228} 229 230func NewRealmsServiceClient(cc grpc.ClientConnInterface) RealmsServiceClient { 231 return &realmsServiceClient{cc} 232} 233 234func (c *realmsServiceClient) ListRealms(ctx context.Context, in *ListRealmsRequest, opts ...grpc.CallOption) (*ListRealmsResponse, error) { 235 out := new(ListRealmsResponse) 236 err := c.cc.Invoke(ctx, "/google.cloud.gaming.v1.RealmsService/ListRealms", in, out, opts...) 237 if err != nil { 238 return nil, err 239 } 240 return out, nil 241} 242 243func (c *realmsServiceClient) GetRealm(ctx context.Context, in *GetRealmRequest, opts ...grpc.CallOption) (*Realm, error) { 244 out := new(Realm) 245 err := c.cc.Invoke(ctx, "/google.cloud.gaming.v1.RealmsService/GetRealm", in, out, opts...) 246 if err != nil { 247 return nil, err 248 } 249 return out, nil 250} 251 252func (c *realmsServiceClient) CreateRealm(ctx context.Context, in *CreateRealmRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 253 out := new(longrunning.Operation) 254 err := c.cc.Invoke(ctx, "/google.cloud.gaming.v1.RealmsService/CreateRealm", in, out, opts...) 255 if err != nil { 256 return nil, err 257 } 258 return out, nil 259} 260 261func (c *realmsServiceClient) DeleteRealm(ctx context.Context, in *DeleteRealmRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 262 out := new(longrunning.Operation) 263 err := c.cc.Invoke(ctx, "/google.cloud.gaming.v1.RealmsService/DeleteRealm", in, out, opts...) 264 if err != nil { 265 return nil, err 266 } 267 return out, nil 268} 269 270func (c *realmsServiceClient) UpdateRealm(ctx context.Context, in *UpdateRealmRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { 271 out := new(longrunning.Operation) 272 err := c.cc.Invoke(ctx, "/google.cloud.gaming.v1.RealmsService/UpdateRealm", in, out, opts...) 273 if err != nil { 274 return nil, err 275 } 276 return out, nil 277} 278 279func (c *realmsServiceClient) PreviewRealmUpdate(ctx context.Context, in *PreviewRealmUpdateRequest, opts ...grpc.CallOption) (*PreviewRealmUpdateResponse, error) { 280 out := new(PreviewRealmUpdateResponse) 281 err := c.cc.Invoke(ctx, "/google.cloud.gaming.v1.RealmsService/PreviewRealmUpdate", in, out, opts...) 282 if err != nil { 283 return nil, err 284 } 285 return out, nil 286} 287 288// RealmsServiceServer is the server API for RealmsService service. 289type RealmsServiceServer interface { 290 // Lists realms in a given project and location. 291 ListRealms(context.Context, *ListRealmsRequest) (*ListRealmsResponse, error) 292 // Gets details of a single realm. 293 GetRealm(context.Context, *GetRealmRequest) (*Realm, error) 294 // Creates a new realm in a given project and location. 295 CreateRealm(context.Context, *CreateRealmRequest) (*longrunning.Operation, error) 296 // Deletes a single realm. 297 DeleteRealm(context.Context, *DeleteRealmRequest) (*longrunning.Operation, error) 298 // Patches a single realm. 299 UpdateRealm(context.Context, *UpdateRealmRequest) (*longrunning.Operation, error) 300 // Previews patches to a single realm. 301 PreviewRealmUpdate(context.Context, *PreviewRealmUpdateRequest) (*PreviewRealmUpdateResponse, error) 302} 303 304// UnimplementedRealmsServiceServer can be embedded to have forward compatible implementations. 305type UnimplementedRealmsServiceServer struct { 306} 307 308func (*UnimplementedRealmsServiceServer) ListRealms(context.Context, *ListRealmsRequest) (*ListRealmsResponse, error) { 309 return nil, status.Errorf(codes.Unimplemented, "method ListRealms not implemented") 310} 311func (*UnimplementedRealmsServiceServer) GetRealm(context.Context, *GetRealmRequest) (*Realm, error) { 312 return nil, status.Errorf(codes.Unimplemented, "method GetRealm not implemented") 313} 314func (*UnimplementedRealmsServiceServer) CreateRealm(context.Context, *CreateRealmRequest) (*longrunning.Operation, error) { 315 return nil, status.Errorf(codes.Unimplemented, "method CreateRealm not implemented") 316} 317func (*UnimplementedRealmsServiceServer) DeleteRealm(context.Context, *DeleteRealmRequest) (*longrunning.Operation, error) { 318 return nil, status.Errorf(codes.Unimplemented, "method DeleteRealm not implemented") 319} 320func (*UnimplementedRealmsServiceServer) UpdateRealm(context.Context, *UpdateRealmRequest) (*longrunning.Operation, error) { 321 return nil, status.Errorf(codes.Unimplemented, "method UpdateRealm not implemented") 322} 323func (*UnimplementedRealmsServiceServer) PreviewRealmUpdate(context.Context, *PreviewRealmUpdateRequest) (*PreviewRealmUpdateResponse, error) { 324 return nil, status.Errorf(codes.Unimplemented, "method PreviewRealmUpdate not implemented") 325} 326 327func RegisterRealmsServiceServer(s *grpc.Server, srv RealmsServiceServer) { 328 s.RegisterService(&_RealmsService_serviceDesc, srv) 329} 330 331func _RealmsService_ListRealms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 332 in := new(ListRealmsRequest) 333 if err := dec(in); err != nil { 334 return nil, err 335 } 336 if interceptor == nil { 337 return srv.(RealmsServiceServer).ListRealms(ctx, in) 338 } 339 info := &grpc.UnaryServerInfo{ 340 Server: srv, 341 FullMethod: "/google.cloud.gaming.v1.RealmsService/ListRealms", 342 } 343 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 344 return srv.(RealmsServiceServer).ListRealms(ctx, req.(*ListRealmsRequest)) 345 } 346 return interceptor(ctx, in, info, handler) 347} 348 349func _RealmsService_GetRealm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 350 in := new(GetRealmRequest) 351 if err := dec(in); err != nil { 352 return nil, err 353 } 354 if interceptor == nil { 355 return srv.(RealmsServiceServer).GetRealm(ctx, in) 356 } 357 info := &grpc.UnaryServerInfo{ 358 Server: srv, 359 FullMethod: "/google.cloud.gaming.v1.RealmsService/GetRealm", 360 } 361 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 362 return srv.(RealmsServiceServer).GetRealm(ctx, req.(*GetRealmRequest)) 363 } 364 return interceptor(ctx, in, info, handler) 365} 366 367func _RealmsService_CreateRealm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 368 in := new(CreateRealmRequest) 369 if err := dec(in); err != nil { 370 return nil, err 371 } 372 if interceptor == nil { 373 return srv.(RealmsServiceServer).CreateRealm(ctx, in) 374 } 375 info := &grpc.UnaryServerInfo{ 376 Server: srv, 377 FullMethod: "/google.cloud.gaming.v1.RealmsService/CreateRealm", 378 } 379 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 380 return srv.(RealmsServiceServer).CreateRealm(ctx, req.(*CreateRealmRequest)) 381 } 382 return interceptor(ctx, in, info, handler) 383} 384 385func _RealmsService_DeleteRealm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 386 in := new(DeleteRealmRequest) 387 if err := dec(in); err != nil { 388 return nil, err 389 } 390 if interceptor == nil { 391 return srv.(RealmsServiceServer).DeleteRealm(ctx, in) 392 } 393 info := &grpc.UnaryServerInfo{ 394 Server: srv, 395 FullMethod: "/google.cloud.gaming.v1.RealmsService/DeleteRealm", 396 } 397 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 398 return srv.(RealmsServiceServer).DeleteRealm(ctx, req.(*DeleteRealmRequest)) 399 } 400 return interceptor(ctx, in, info, handler) 401} 402 403func _RealmsService_UpdateRealm_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 404 in := new(UpdateRealmRequest) 405 if err := dec(in); err != nil { 406 return nil, err 407 } 408 if interceptor == nil { 409 return srv.(RealmsServiceServer).UpdateRealm(ctx, in) 410 } 411 info := &grpc.UnaryServerInfo{ 412 Server: srv, 413 FullMethod: "/google.cloud.gaming.v1.RealmsService/UpdateRealm", 414 } 415 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 416 return srv.(RealmsServiceServer).UpdateRealm(ctx, req.(*UpdateRealmRequest)) 417 } 418 return interceptor(ctx, in, info, handler) 419} 420 421func _RealmsService_PreviewRealmUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 422 in := new(PreviewRealmUpdateRequest) 423 if err := dec(in); err != nil { 424 return nil, err 425 } 426 if interceptor == nil { 427 return srv.(RealmsServiceServer).PreviewRealmUpdate(ctx, in) 428 } 429 info := &grpc.UnaryServerInfo{ 430 Server: srv, 431 FullMethod: "/google.cloud.gaming.v1.RealmsService/PreviewRealmUpdate", 432 } 433 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 434 return srv.(RealmsServiceServer).PreviewRealmUpdate(ctx, req.(*PreviewRealmUpdateRequest)) 435 } 436 return interceptor(ctx, in, info, handler) 437} 438 439var _RealmsService_serviceDesc = grpc.ServiceDesc{ 440 ServiceName: "google.cloud.gaming.v1.RealmsService", 441 HandlerType: (*RealmsServiceServer)(nil), 442 Methods: []grpc.MethodDesc{ 443 { 444 MethodName: "ListRealms", 445 Handler: _RealmsService_ListRealms_Handler, 446 }, 447 { 448 MethodName: "GetRealm", 449 Handler: _RealmsService_GetRealm_Handler, 450 }, 451 { 452 MethodName: "CreateRealm", 453 Handler: _RealmsService_CreateRealm_Handler, 454 }, 455 { 456 MethodName: "DeleteRealm", 457 Handler: _RealmsService_DeleteRealm_Handler, 458 }, 459 { 460 MethodName: "UpdateRealm", 461 Handler: _RealmsService_UpdateRealm_Handler, 462 }, 463 { 464 MethodName: "PreviewRealmUpdate", 465 Handler: _RealmsService_PreviewRealmUpdate_Handler, 466 }, 467 }, 468 Streams: []grpc.StreamDesc{}, 469 Metadata: "google/cloud/gaming/v1/realms_service.proto", 470} 471