| // Copyright 2023 Google LLC |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.26.0 |
| // protoc v4.24.4 |
| // source: google/streetview/publish/v1/streetview_publish.proto |
| |
| package publish |
| |
| import ( |
| context "context" |
| reflect "reflect" |
| |
| longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| grpc "google.golang.org/grpc" |
| codes "google.golang.org/grpc/codes" |
| status "google.golang.org/grpc/status" |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| emptypb "google.golang.org/protobuf/types/known/emptypb" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| var File_google_streetview_publish_v1_streetview_publish_proto protoreflect.FileDescriptor |
| |
| var file_google_streetview_publish_v1_streetview_publish_proto_rawDesc = []byte{ |
| 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, |
| 0x69, 0x65, 0x77, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x73, |
| 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, |
| 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, |
| 0x73, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, |
| 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, |
| 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, |
| 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 0x65, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2f, 0x70, 0x75, 0x62, |
| 0x6c, 0x69, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, |
| 0x73, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x70, 0x63, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xce, 0x12, 0x0a, 0x18, 0x53, 0x74, 0x72, 0x65, |
| 0x65, 0x74, 0x56, 0x69, 0x65, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x72, |
| 0x76, 0x69, 0x63, 0x65, 0x12, 0x70, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x55, 0x70, 0x6c, |
| 0x6f, 0x61, 0x64, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, |
| 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x27, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, |
| 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, |
| 0x64, 0x52, 0x65, 0x66, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x15, 0x2f, 0x76, |
| 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x3a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x55, 0x70, 0x6c, |
| 0x6f, 0x61, 0x64, 0x3a, 0x01, 0x2a, 0x12, 0x86, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, |
| 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, |
| 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, |
| 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, |
| 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x22, 0x20, 0xda, |
| 0x41, 0x05, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x22, 0x09, 0x2f, |
| 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x3a, 0x05, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x12, |
| 0x8c, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x2e, 0x67, |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, |
| 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, |
| 0x68, 0x6f, 0x74, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, |
| 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x6f, 0x74, 0x6f, |
| 0x22, 0x2c, 0xda, 0x41, 0x0d, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x2c, 0x76, 0x69, |
| 0x65, 0x77, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, |
| 0x6f, 0x74, 0x6f, 0x2f, 0x7b, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa9, |
| 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, |
| 0x73, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, |
| 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, |
| 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x52, |
| 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, |
| 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x50, 0x68, |
| 0x6f, 0x74, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0xda, 0x41, |
| 0x0e, 0x76, 0x69, 0x65, 0x77, 0x2c, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x73, 0x82, |
| 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, |
| 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x12, 0x91, 0x01, 0x0a, 0x0a, 0x4c, |
| 0x69, 0x73, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, |
| 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68, 0x6f, |
| 0x74, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, |
| 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, |
| 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68, |
| 0x6f, 0x74, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0xda, 0x41, |
| 0x0b, 0x76, 0x69, 0x65, 0x77, 0x2c, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x82, 0xd3, 0xe4, 0x93, |
| 0x02, 0x0c, 0x12, 0x0a, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x12, 0xa6, |
| 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x30, |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, |
| 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, |
| 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, |
| 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, |
| 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0xda, 0x41, 0x11, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x2c, |
| 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, |
| 0x26, 0x1a, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x2f, 0x7b, 0x70, 0x68, |
| 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x2e, 0x69, 0x64, 0x7d, |
| 0x3a, 0x05, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0xbf, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63, |
| 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x12, 0x36, 0x2e, |
| 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, |
| 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, |
| 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x52, 0x65, |
| 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, |
| 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, |
| 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, |
| 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, |
| 0xda, 0x41, 0x15, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, |
| 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x16, |
| 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, |
| 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x80, 0x01, 0x0a, 0x0b, 0x44, 0x65, |
| 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, |
| 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, |
| 0x68, 0x6f, 0x74, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, |
| 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, |
| 0x70, 0x74, 0x79, 0x22, 0x27, 0xda, 0x41, 0x08, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64, |
| 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x2a, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, |
| 0x6f, 0x2f, 0x7b, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xb3, 0x01, 0x0a, |
| 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, |
| 0x6f, 0x73, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, |
| 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, |
| 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f, |
| 0x74, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f, |
| 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, |
| 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, |
| 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 0x6e, 0x73, 0x65, 0x22, 0x2d, 0xda, 0x41, 0x09, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64, |
| 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, |
| 0x74, 0x6f, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x3a, |
| 0x01, 0x2a, 0x12, 0x85, 0x01, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x68, 0x6f, 0x74, |
| 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, |
| 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, |
| 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x66, |
| 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x22, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, |
| 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x3a, 0x73, 0x74, 0x61, 0x72, |
| 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x3a, 0x01, 0x2a, 0x12, 0xde, 0x01, 0x0a, 0x13, 0x43, |
| 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, |
| 0x63, 0x65, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, |
| 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, |
| 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, |
| 0x75, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, |
| 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, |
| 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6e, 0xca, 0x41, 0x26, |
| 0x0a, 0x0d, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, |
| 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0xda, 0x41, 0x19, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x73, |
| 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x2c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, |
| 0x70, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x22, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, |
| 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x3a, 0x0e, 0x70, 0x68, 0x6f, |
| 0x74, 0x6f, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0xba, 0x01, 0x0a, 0x10, |
| 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, |
| 0x12, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, |
| 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, |
| 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, |
| 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, |
| 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x50, 0xca, 0x41, 0x26, 0x0a, 0x0d, 0x50, 0x68, 0x6f, |
| 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, |
| 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, |
| 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, |
| 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x73, 0x65, 0x71, 0x75, |
| 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa3, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, |
| 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, |
| 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, |
| 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, |
| 0x69, 0x73, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, |
| 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, |
| 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68, 0x6f, 0x74, |
| 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f, |
| 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x9e, |
| 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, |
| 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, |
| 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, |
| 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x35, 0xda, 0x41, 0x0b, 0x73, 0x65, 0x71, |
| 0x75, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x2a, 0x1f, |
| 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, |
| 0x65, 0x2f, 0x7b, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x1a, |
| 0x57, 0xca, 0x41, 0x20, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x70, 0x75, |
| 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x31, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, |
| 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, |
| 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, |
| 0x77, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x42, 0xc6, 0x01, 0x0a, 0x28, 0x63, 0x6f, 0x6d, |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6f, 0x2e, 0x75, 0x67, 0x63, 0x2e, |
| 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, |
| 0x73, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x53, 0x74, 0x72, 0x65, 0x65, 0x74, 0x56, 0x69, 0x65, |
| 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, |
| 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, |
| 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, |
| 0x73, 0x68, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0xea, 0x41, 0x41, |
| 0x0a, 0x29, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x70, 0x75, 0x62, 0x6c, |
| 0x69, 0x73, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, |
| 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x14, 0x63, 0x6f, 0x6e, |
| 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, |
| 0x7d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var file_google_streetview_publish_v1_streetview_publish_proto_goTypes = []interface{}{ |
| (*emptypb.Empty)(nil), // 0: google.protobuf.Empty |
| (*CreatePhotoRequest)(nil), // 1: google.streetview.publish.v1.CreatePhotoRequest |
| (*GetPhotoRequest)(nil), // 2: google.streetview.publish.v1.GetPhotoRequest |
| (*BatchGetPhotosRequest)(nil), // 3: google.streetview.publish.v1.BatchGetPhotosRequest |
| (*ListPhotosRequest)(nil), // 4: google.streetview.publish.v1.ListPhotosRequest |
| (*UpdatePhotoRequest)(nil), // 5: google.streetview.publish.v1.UpdatePhotoRequest |
| (*BatchUpdatePhotosRequest)(nil), // 6: google.streetview.publish.v1.BatchUpdatePhotosRequest |
| (*DeletePhotoRequest)(nil), // 7: google.streetview.publish.v1.DeletePhotoRequest |
| (*BatchDeletePhotosRequest)(nil), // 8: google.streetview.publish.v1.BatchDeletePhotosRequest |
| (*CreatePhotoSequenceRequest)(nil), // 9: google.streetview.publish.v1.CreatePhotoSequenceRequest |
| (*GetPhotoSequenceRequest)(nil), // 10: google.streetview.publish.v1.GetPhotoSequenceRequest |
| (*ListPhotoSequencesRequest)(nil), // 11: google.streetview.publish.v1.ListPhotoSequencesRequest |
| (*DeletePhotoSequenceRequest)(nil), // 12: google.streetview.publish.v1.DeletePhotoSequenceRequest |
| (*UploadRef)(nil), // 13: google.streetview.publish.v1.UploadRef |
| (*Photo)(nil), // 14: google.streetview.publish.v1.Photo |
| (*BatchGetPhotosResponse)(nil), // 15: google.streetview.publish.v1.BatchGetPhotosResponse |
| (*ListPhotosResponse)(nil), // 16: google.streetview.publish.v1.ListPhotosResponse |
| (*BatchUpdatePhotosResponse)(nil), // 17: google.streetview.publish.v1.BatchUpdatePhotosResponse |
| (*BatchDeletePhotosResponse)(nil), // 18: google.streetview.publish.v1.BatchDeletePhotosResponse |
| (*longrunningpb.Operation)(nil), // 19: google.longrunning.Operation |
| (*ListPhotoSequencesResponse)(nil), // 20: google.streetview.publish.v1.ListPhotoSequencesResponse |
| } |
| var file_google_streetview_publish_v1_streetview_publish_proto_depIdxs = []int32{ |
| 0, // 0: google.streetview.publish.v1.StreetViewPublishService.StartUpload:input_type -> google.protobuf.Empty |
| 1, // 1: google.streetview.publish.v1.StreetViewPublishService.CreatePhoto:input_type -> google.streetview.publish.v1.CreatePhotoRequest |
| 2, // 2: google.streetview.publish.v1.StreetViewPublishService.GetPhoto:input_type -> google.streetview.publish.v1.GetPhotoRequest |
| 3, // 3: google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos:input_type -> google.streetview.publish.v1.BatchGetPhotosRequest |
| 4, // 4: google.streetview.publish.v1.StreetViewPublishService.ListPhotos:input_type -> google.streetview.publish.v1.ListPhotosRequest |
| 5, // 5: google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto:input_type -> google.streetview.publish.v1.UpdatePhotoRequest |
| 6, // 6: google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos:input_type -> google.streetview.publish.v1.BatchUpdatePhotosRequest |
| 7, // 7: google.streetview.publish.v1.StreetViewPublishService.DeletePhoto:input_type -> google.streetview.publish.v1.DeletePhotoRequest |
| 8, // 8: google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos:input_type -> google.streetview.publish.v1.BatchDeletePhotosRequest |
| 0, // 9: google.streetview.publish.v1.StreetViewPublishService.StartPhotoSequenceUpload:input_type -> google.protobuf.Empty |
| 9, // 10: google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence:input_type -> google.streetview.publish.v1.CreatePhotoSequenceRequest |
| 10, // 11: google.streetview.publish.v1.StreetViewPublishService.GetPhotoSequence:input_type -> google.streetview.publish.v1.GetPhotoSequenceRequest |
| 11, // 12: google.streetview.publish.v1.StreetViewPublishService.ListPhotoSequences:input_type -> google.streetview.publish.v1.ListPhotoSequencesRequest |
| 12, // 13: google.streetview.publish.v1.StreetViewPublishService.DeletePhotoSequence:input_type -> google.streetview.publish.v1.DeletePhotoSequenceRequest |
| 13, // 14: google.streetview.publish.v1.StreetViewPublishService.StartUpload:output_type -> google.streetview.publish.v1.UploadRef |
| 14, // 15: google.streetview.publish.v1.StreetViewPublishService.CreatePhoto:output_type -> google.streetview.publish.v1.Photo |
| 14, // 16: google.streetview.publish.v1.StreetViewPublishService.GetPhoto:output_type -> google.streetview.publish.v1.Photo |
| 15, // 17: google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos:output_type -> google.streetview.publish.v1.BatchGetPhotosResponse |
| 16, // 18: google.streetview.publish.v1.StreetViewPublishService.ListPhotos:output_type -> google.streetview.publish.v1.ListPhotosResponse |
| 14, // 19: google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto:output_type -> google.streetview.publish.v1.Photo |
| 17, // 20: google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos:output_type -> google.streetview.publish.v1.BatchUpdatePhotosResponse |
| 0, // 21: google.streetview.publish.v1.StreetViewPublishService.DeletePhoto:output_type -> google.protobuf.Empty |
| 18, // 22: google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos:output_type -> google.streetview.publish.v1.BatchDeletePhotosResponse |
| 13, // 23: google.streetview.publish.v1.StreetViewPublishService.StartPhotoSequenceUpload:output_type -> google.streetview.publish.v1.UploadRef |
| 19, // 24: google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence:output_type -> google.longrunning.Operation |
| 19, // 25: google.streetview.publish.v1.StreetViewPublishService.GetPhotoSequence:output_type -> google.longrunning.Operation |
| 20, // 26: google.streetview.publish.v1.StreetViewPublishService.ListPhotoSequences:output_type -> google.streetview.publish.v1.ListPhotoSequencesResponse |
| 0, // 27: google.streetview.publish.v1.StreetViewPublishService.DeletePhotoSequence:output_type -> google.protobuf.Empty |
| 14, // [14:28] is the sub-list for method output_type |
| 0, // [0:14] is the sub-list for method input_type |
| 0, // [0:0] is the sub-list for extension type_name |
| 0, // [0:0] is the sub-list for extension extendee |
| 0, // [0:0] is the sub-list for field type_name |
| } |
| |
| func init() { file_google_streetview_publish_v1_streetview_publish_proto_init() } |
| func file_google_streetview_publish_v1_streetview_publish_proto_init() { |
| if File_google_streetview_publish_v1_streetview_publish_proto != nil { |
| return |
| } |
| file_google_streetview_publish_v1_resources_proto_init() |
| file_google_streetview_publish_v1_rpcmessages_proto_init() |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_google_streetview_publish_v1_streetview_publish_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 0, |
| NumExtensions: 0, |
| NumServices: 1, |
| }, |
| GoTypes: file_google_streetview_publish_v1_streetview_publish_proto_goTypes, |
| DependencyIndexes: file_google_streetview_publish_v1_streetview_publish_proto_depIdxs, |
| }.Build() |
| File_google_streetview_publish_v1_streetview_publish_proto = out.File |
| file_google_streetview_publish_v1_streetview_publish_proto_rawDesc = nil |
| file_google_streetview_publish_v1_streetview_publish_proto_goTypes = nil |
| file_google_streetview_publish_v1_streetview_publish_proto_depIdxs = nil |
| } |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ context.Context |
| var _ grpc.ClientConnInterface |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the grpc package it is being compiled against. |
| const _ = grpc.SupportPackageIsVersion6 |
| |
| // StreetViewPublishServiceClient is the client API for StreetViewPublishService service. |
| // |
| // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| type StreetViewPublishServiceClient interface { |
| // Creates an upload session to start uploading photo bytes. The method uses |
| // the upload URL of the returned |
| // [UploadRef][google.streetview.publish.v1.UploadRef] to upload the bytes for |
| // the [Photo][google.streetview.publish.v1.Photo]. |
| // |
| // In addition to the photo requirements shown in |
| // https://support.google.com/maps/answer/7012050?ref_topic=6275604, |
| // the photo must meet the following requirements: |
| // |
| // * Photo Sphere XMP metadata must be included in the photo metadata. See |
| // https://developers.google.com/streetview/spherical-metadata for the |
| // required fields. |
| // * The pixel size of the photo must meet the size requirements listed in |
| // https://support.google.com/maps/answer/7012050?ref_topic=6275604, and |
| // the photo must be a full 360 horizontally. |
| // |
| // After the upload completes, the method uses |
| // [UploadRef][google.streetview.publish.v1.UploadRef] with |
| // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto] |
| // to create the [Photo][google.streetview.publish.v1.Photo] object entry. |
| StartUpload(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UploadRef, error) |
| // After the client finishes uploading the photo with the returned |
| // [UploadRef][google.streetview.publish.v1.UploadRef], |
| // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto] |
| // publishes the uploaded [Photo][google.streetview.publish.v1.Photo] to |
| // Street View on Google Maps. |
| // |
| // Currently, the only way to set heading, pitch, and roll in CreatePhoto is |
| // through the [Photo Sphere XMP |
| // metadata](https://developers.google.com/streetview/spherical-metadata) in |
| // the photo bytes. CreatePhoto ignores the `pose.heading`, `pose.pitch`, |
| // `pose.roll`, `pose.altitude`, and `pose.level` fields in Pose. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if |
| // the request is malformed or if the uploaded photo is not a 360 photo. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload |
| // reference does not exist. |
| // * [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] |
| // if the account has reached the storage limit. |
| CreatePhoto(ctx context.Context, in *CreatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) |
| // Gets the metadata of the specified |
| // [Photo][google.streetview.publish.v1.Photo]. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if |
| // the requesting user did not create the requested |
| // [Photo][google.streetview.publish.v1.Photo]. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested |
| // [Photo][google.streetview.publish.v1.Photo] does not exist. |
| // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the |
| // requested [Photo][google.streetview.publish.v1.Photo] is still being |
| // indexed. |
| GetPhoto(ctx context.Context, in *GetPhotoRequest, opts ...grpc.CallOption) (*Photo, error) |
| // Gets the metadata of the specified |
| // [Photo][google.streetview.publish.v1.Photo] batch. |
| // |
| // Note that if |
| // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos] |
| // fails, either critical fields are missing or there is an authentication |
| // error. Even if |
| // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos] |
| // succeeds, individual photos in the batch may have failures. |
| // These failures are specified in each |
| // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] |
| // in |
| // [BatchGetPhotosResponse.results][google.streetview.publish.v1.BatchGetPhotosResponse.results]. |
| // See |
| // [GetPhoto][google.streetview.publish.v1.StreetViewPublishService.GetPhoto] |
| // for specific failures that can occur per photo. |
| BatchGetPhotos(ctx context.Context, in *BatchGetPhotosRequest, opts ...grpc.CallOption) (*BatchGetPhotosResponse, error) |
| // Lists all the [Photos][google.streetview.publish.v1.Photo] that belong to |
| // the user. |
| // |
| // > Note: Recently created photos that are still |
| // being indexed are not returned in the response. |
| ListPhotos(ctx context.Context, in *ListPhotosRequest, opts ...grpc.CallOption) (*ListPhotosResponse, error) |
| // Updates the metadata of a [Photo][google.streetview.publish.v1.Photo], such |
| // as pose, place association, connections, etc. Changing the pixels of a |
| // photo is not supported. |
| // |
| // Only the fields specified in the |
| // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask] |
| // field are used. If `updateMask` is not present, the update applies to all |
| // fields. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if |
| // the requesting user did not create the requested photo. |
| // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if |
| // the request is malformed. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested |
| // photo does not exist. |
| // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the |
| // requested [Photo][google.streetview.publish.v1.Photo] is still being |
| // indexed. |
| UpdatePhoto(ctx context.Context, in *UpdatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) |
| // Updates the metadata of [Photos][google.streetview.publish.v1.Photo], such |
| // as pose, place association, connections, etc. Changing the pixels of photos |
| // is not supported. |
| // |
| // Note that if |
| // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos] |
| // fails, either critical fields are missing or there is an authentication |
| // error. Even if |
| // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos] |
| // succeeds, individual photos in the batch may have failures. |
| // These failures are specified in each |
| // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] |
| // in |
| // [BatchUpdatePhotosResponse.results][google.streetview.publish.v1.BatchUpdatePhotosResponse.results]. |
| // See |
| // [UpdatePhoto][google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto] |
| // for specific failures that can occur per photo. |
| // |
| // Only the fields specified in |
| // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask] |
| // field are used. If `updateMask` is not present, the update applies to all |
| // fields. |
| // |
| // The number of |
| // [UpdatePhotoRequest][google.streetview.publish.v1.UpdatePhotoRequest] |
| // messages in a |
| // [BatchUpdatePhotosRequest][google.streetview.publish.v1.BatchUpdatePhotosRequest] |
| // must not exceed 20. |
| // |
| // > Note: To update |
| // [Pose.altitude][google.streetview.publish.v1.Pose.altitude], |
| // [Pose.latLngPair][google.streetview.publish.v1.Pose.lat_lng_pair] has to be |
| // filled as well. Otherwise, the request will fail. |
| BatchUpdatePhotos(ctx context.Context, in *BatchUpdatePhotosRequest, opts ...grpc.CallOption) (*BatchUpdatePhotosResponse, error) |
| // Deletes a [Photo][google.streetview.publish.v1.Photo] and its metadata. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if |
| // the requesting user did not create the requested photo. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo ID |
| // does not exist. |
| DeletePhoto(ctx context.Context, in *DeletePhotoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| // Deletes a list of [Photos][google.streetview.publish.v1.Photo] and their |
| // metadata. |
| // |
| // Note that if |
| // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos] |
| // fails, either critical fields are missing or there is an authentication |
| // error. Even if |
| // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos] |
| // succeeds, individual photos in the batch may have failures. |
| // These failures are specified in each |
| // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] |
| // in |
| // [BatchDeletePhotosResponse.results][google.streetview.publish.v1.BatchDeletePhotosResponse.status]. |
| // See |
| // [DeletePhoto][google.streetview.publish.v1.StreetViewPublishService.DeletePhoto] |
| // for specific failures that can occur per photo. |
| BatchDeletePhotos(ctx context.Context, in *BatchDeletePhotosRequest, opts ...grpc.CallOption) (*BatchDeletePhotosResponse, error) |
| // Creates an upload session to start uploading photo sequence data. |
| // The upload URL of the returned |
| // [UploadRef][google.streetview.publish.v1.UploadRef] is used to upload the |
| // data for the `photoSequence`. |
| // |
| // After the upload is complete, the |
| // [UploadRef][google.streetview.publish.v1.UploadRef] is used with |
| // [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence] |
| // to create the [PhotoSequence][google.streetview.publish.v1.PhotoSequence] |
| // object entry. |
| StartPhotoSequenceUpload(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UploadRef, error) |
| // After the client finishes uploading the |
| // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] with the |
| // returned [UploadRef][google.streetview.publish.v1.UploadRef], |
| // [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence] |
| // extracts a sequence of 360 photos from a video or Extensible Device |
| // Metadata (XDM, http://www.xdm.org/) to be published to Street View on |
| // Google Maps. |
| // |
| // `CreatePhotoSequence` returns an [Operation][google.longrunning.Operation], |
| // with the [PhotoSequence][google.streetview.publish.v1.PhotoSequence] Id set |
| // in the `Operation.name` field. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if |
| // the request is malformed. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload |
| // reference does not exist. |
| CreatePhotoSequence(ctx context.Context, in *CreatePhotoSequenceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| // Gets the metadata of the specified |
| // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] via the |
| // [Operation][google.longrunning.Operation] interface. |
| // |
| // This method returns the following three types of responses: |
| // |
| // - `Operation.done` = false, if the processing of |
| // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] is not |
| // finished yet. |
| // - `Operation.done` = true and `Operation.error` is populated, if there was |
| // an error in processing. |
| // - `Operation.done` = true and `Operation.response` is poulated, which |
| // contains a [PhotoSequence][google.streetview.publish.v1.PhotoSequence] |
| // message. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if |
| // the requesting user did not create the requested |
| // [PhotoSequence][google.streetview.publish.v1.PhotoSequence]. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested |
| // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] does not exist. |
| GetPhotoSequence(ctx context.Context, in *GetPhotoSequenceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| // Lists all the [PhotoSequences][google.streetview.publish.v1.PhotoSequence] |
| // that belong to the user, in descending CreatePhotoSequence timestamp order. |
| ListPhotoSequences(ctx context.Context, in *ListPhotoSequencesRequest, opts ...grpc.CallOption) (*ListPhotoSequencesResponse, error) |
| // Deletes a [PhotoSequence][google.streetview.publish.v1.PhotoSequence] and |
| // its metadata. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if |
| // the requesting user did not create the requested photo sequence. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo |
| // sequence ID does not exist. |
| // * [google.rpc.Code.FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION] if the photo sequence ID is not |
| // yet finished processing. |
| DeletePhotoSequence(ctx context.Context, in *DeletePhotoSequenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| } |
| |
| type streetViewPublishServiceClient struct { |
| cc grpc.ClientConnInterface |
| } |
| |
| func NewStreetViewPublishServiceClient(cc grpc.ClientConnInterface) StreetViewPublishServiceClient { |
| return &streetViewPublishServiceClient{cc} |
| } |
| |
| func (c *streetViewPublishServiceClient) StartUpload(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UploadRef, error) { |
| out := new(UploadRef) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/StartUpload", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) CreatePhoto(ctx context.Context, in *CreatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) { |
| out := new(Photo) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/CreatePhoto", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) GetPhoto(ctx context.Context, in *GetPhotoRequest, opts ...grpc.CallOption) (*Photo, error) { |
| out := new(Photo) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/GetPhoto", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) BatchGetPhotos(ctx context.Context, in *BatchGetPhotosRequest, opts ...grpc.CallOption) (*BatchGetPhotosResponse, error) { |
| out := new(BatchGetPhotosResponse) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchGetPhotos", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) ListPhotos(ctx context.Context, in *ListPhotosRequest, opts ...grpc.CallOption) (*ListPhotosResponse, error) { |
| out := new(ListPhotosResponse) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/ListPhotos", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) UpdatePhoto(ctx context.Context, in *UpdatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) { |
| out := new(Photo) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/UpdatePhoto", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) BatchUpdatePhotos(ctx context.Context, in *BatchUpdatePhotosRequest, opts ...grpc.CallOption) (*BatchUpdatePhotosResponse, error) { |
| out := new(BatchUpdatePhotosResponse) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchUpdatePhotos", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) DeletePhoto(ctx context.Context, in *DeletePhotoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| out := new(emptypb.Empty) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/DeletePhoto", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) BatchDeletePhotos(ctx context.Context, in *BatchDeletePhotosRequest, opts ...grpc.CallOption) (*BatchDeletePhotosResponse, error) { |
| out := new(BatchDeletePhotosResponse) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchDeletePhotos", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) StartPhotoSequenceUpload(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UploadRef, error) { |
| out := new(UploadRef) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/StartPhotoSequenceUpload", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) CreatePhotoSequence(ctx context.Context, in *CreatePhotoSequenceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| out := new(longrunningpb.Operation) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/CreatePhotoSequence", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) GetPhotoSequence(ctx context.Context, in *GetPhotoSequenceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| out := new(longrunningpb.Operation) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/GetPhotoSequence", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) ListPhotoSequences(ctx context.Context, in *ListPhotoSequencesRequest, opts ...grpc.CallOption) (*ListPhotoSequencesResponse, error) { |
| out := new(ListPhotoSequencesResponse) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/ListPhotoSequences", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| func (c *streetViewPublishServiceClient) DeletePhotoSequence(ctx context.Context, in *DeletePhotoSequenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { |
| out := new(emptypb.Empty) |
| err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/DeletePhotoSequence", in, out, opts...) |
| if err != nil { |
| return nil, err |
| } |
| return out, nil |
| } |
| |
| // StreetViewPublishServiceServer is the server API for StreetViewPublishService service. |
| type StreetViewPublishServiceServer interface { |
| // Creates an upload session to start uploading photo bytes. The method uses |
| // the upload URL of the returned |
| // [UploadRef][google.streetview.publish.v1.UploadRef] to upload the bytes for |
| // the [Photo][google.streetview.publish.v1.Photo]. |
| // |
| // In addition to the photo requirements shown in |
| // https://support.google.com/maps/answer/7012050?ref_topic=6275604, |
| // the photo must meet the following requirements: |
| // |
| // * Photo Sphere XMP metadata must be included in the photo metadata. See |
| // https://developers.google.com/streetview/spherical-metadata for the |
| // required fields. |
| // * The pixel size of the photo must meet the size requirements listed in |
| // https://support.google.com/maps/answer/7012050?ref_topic=6275604, and |
| // the photo must be a full 360 horizontally. |
| // |
| // After the upload completes, the method uses |
| // [UploadRef][google.streetview.publish.v1.UploadRef] with |
| // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto] |
| // to create the [Photo][google.streetview.publish.v1.Photo] object entry. |
| StartUpload(context.Context, *emptypb.Empty) (*UploadRef, error) |
| // After the client finishes uploading the photo with the returned |
| // [UploadRef][google.streetview.publish.v1.UploadRef], |
| // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto] |
| // publishes the uploaded [Photo][google.streetview.publish.v1.Photo] to |
| // Street View on Google Maps. |
| // |
| // Currently, the only way to set heading, pitch, and roll in CreatePhoto is |
| // through the [Photo Sphere XMP |
| // metadata](https://developers.google.com/streetview/spherical-metadata) in |
| // the photo bytes. CreatePhoto ignores the `pose.heading`, `pose.pitch`, |
| // `pose.roll`, `pose.altitude`, and `pose.level` fields in Pose. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if |
| // the request is malformed or if the uploaded photo is not a 360 photo. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload |
| // reference does not exist. |
| // * [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] |
| // if the account has reached the storage limit. |
| CreatePhoto(context.Context, *CreatePhotoRequest) (*Photo, error) |
| // Gets the metadata of the specified |
| // [Photo][google.streetview.publish.v1.Photo]. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if |
| // the requesting user did not create the requested |
| // [Photo][google.streetview.publish.v1.Photo]. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested |
| // [Photo][google.streetview.publish.v1.Photo] does not exist. |
| // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the |
| // requested [Photo][google.streetview.publish.v1.Photo] is still being |
| // indexed. |
| GetPhoto(context.Context, *GetPhotoRequest) (*Photo, error) |
| // Gets the metadata of the specified |
| // [Photo][google.streetview.publish.v1.Photo] batch. |
| // |
| // Note that if |
| // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos] |
| // fails, either critical fields are missing or there is an authentication |
| // error. Even if |
| // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos] |
| // succeeds, individual photos in the batch may have failures. |
| // These failures are specified in each |
| // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] |
| // in |
| // [BatchGetPhotosResponse.results][google.streetview.publish.v1.BatchGetPhotosResponse.results]. |
| // See |
| // [GetPhoto][google.streetview.publish.v1.StreetViewPublishService.GetPhoto] |
| // for specific failures that can occur per photo. |
| BatchGetPhotos(context.Context, *BatchGetPhotosRequest) (*BatchGetPhotosResponse, error) |
| // Lists all the [Photos][google.streetview.publish.v1.Photo] that belong to |
| // the user. |
| // |
| // > Note: Recently created photos that are still |
| // being indexed are not returned in the response. |
| ListPhotos(context.Context, *ListPhotosRequest) (*ListPhotosResponse, error) |
| // Updates the metadata of a [Photo][google.streetview.publish.v1.Photo], such |
| // as pose, place association, connections, etc. Changing the pixels of a |
| // photo is not supported. |
| // |
| // Only the fields specified in the |
| // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask] |
| // field are used. If `updateMask` is not present, the update applies to all |
| // fields. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if |
| // the requesting user did not create the requested photo. |
| // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if |
| // the request is malformed. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested |
| // photo does not exist. |
| // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the |
| // requested [Photo][google.streetview.publish.v1.Photo] is still being |
| // indexed. |
| UpdatePhoto(context.Context, *UpdatePhotoRequest) (*Photo, error) |
| // Updates the metadata of [Photos][google.streetview.publish.v1.Photo], such |
| // as pose, place association, connections, etc. Changing the pixels of photos |
| // is not supported. |
| // |
| // Note that if |
| // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos] |
| // fails, either critical fields are missing or there is an authentication |
| // error. Even if |
| // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos] |
| // succeeds, individual photos in the batch may have failures. |
| // These failures are specified in each |
| // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] |
| // in |
| // [BatchUpdatePhotosResponse.results][google.streetview.publish.v1.BatchUpdatePhotosResponse.results]. |
| // See |
| // [UpdatePhoto][google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto] |
| // for specific failures that can occur per photo. |
| // |
| // Only the fields specified in |
| // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask] |
| // field are used. If `updateMask` is not present, the update applies to all |
| // fields. |
| // |
| // The number of |
| // [UpdatePhotoRequest][google.streetview.publish.v1.UpdatePhotoRequest] |
| // messages in a |
| // [BatchUpdatePhotosRequest][google.streetview.publish.v1.BatchUpdatePhotosRequest] |
| // must not exceed 20. |
| // |
| // > Note: To update |
| // [Pose.altitude][google.streetview.publish.v1.Pose.altitude], |
| // [Pose.latLngPair][google.streetview.publish.v1.Pose.lat_lng_pair] has to be |
| // filled as well. Otherwise, the request will fail. |
| BatchUpdatePhotos(context.Context, *BatchUpdatePhotosRequest) (*BatchUpdatePhotosResponse, error) |
| // Deletes a [Photo][google.streetview.publish.v1.Photo] and its metadata. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if |
| // the requesting user did not create the requested photo. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo ID |
| // does not exist. |
| DeletePhoto(context.Context, *DeletePhotoRequest) (*emptypb.Empty, error) |
| // Deletes a list of [Photos][google.streetview.publish.v1.Photo] and their |
| // metadata. |
| // |
| // Note that if |
| // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos] |
| // fails, either critical fields are missing or there is an authentication |
| // error. Even if |
| // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos] |
| // succeeds, individual photos in the batch may have failures. |
| // These failures are specified in each |
| // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status] |
| // in |
| // [BatchDeletePhotosResponse.results][google.streetview.publish.v1.BatchDeletePhotosResponse.status]. |
| // See |
| // [DeletePhoto][google.streetview.publish.v1.StreetViewPublishService.DeletePhoto] |
| // for specific failures that can occur per photo. |
| BatchDeletePhotos(context.Context, *BatchDeletePhotosRequest) (*BatchDeletePhotosResponse, error) |
| // Creates an upload session to start uploading photo sequence data. |
| // The upload URL of the returned |
| // [UploadRef][google.streetview.publish.v1.UploadRef] is used to upload the |
| // data for the `photoSequence`. |
| // |
| // After the upload is complete, the |
| // [UploadRef][google.streetview.publish.v1.UploadRef] is used with |
| // [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence] |
| // to create the [PhotoSequence][google.streetview.publish.v1.PhotoSequence] |
| // object entry. |
| StartPhotoSequenceUpload(context.Context, *emptypb.Empty) (*UploadRef, error) |
| // After the client finishes uploading the |
| // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] with the |
| // returned [UploadRef][google.streetview.publish.v1.UploadRef], |
| // [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence] |
| // extracts a sequence of 360 photos from a video or Extensible Device |
| // Metadata (XDM, http://www.xdm.org/) to be published to Street View on |
| // Google Maps. |
| // |
| // `CreatePhotoSequence` returns an [Operation][google.longrunning.Operation], |
| // with the [PhotoSequence][google.streetview.publish.v1.PhotoSequence] Id set |
| // in the `Operation.name` field. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if |
| // the request is malformed. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload |
| // reference does not exist. |
| CreatePhotoSequence(context.Context, *CreatePhotoSequenceRequest) (*longrunningpb.Operation, error) |
| // Gets the metadata of the specified |
| // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] via the |
| // [Operation][google.longrunning.Operation] interface. |
| // |
| // This method returns the following three types of responses: |
| // |
| // - `Operation.done` = false, if the processing of |
| // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] is not |
| // finished yet. |
| // - `Operation.done` = true and `Operation.error` is populated, if there was |
| // an error in processing. |
| // - `Operation.done` = true and `Operation.response` is poulated, which |
| // contains a [PhotoSequence][google.streetview.publish.v1.PhotoSequence] |
| // message. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if |
| // the requesting user did not create the requested |
| // [PhotoSequence][google.streetview.publish.v1.PhotoSequence]. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested |
| // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] does not exist. |
| GetPhotoSequence(context.Context, *GetPhotoSequenceRequest) (*longrunningpb.Operation, error) |
| // Lists all the [PhotoSequences][google.streetview.publish.v1.PhotoSequence] |
| // that belong to the user, in descending CreatePhotoSequence timestamp order. |
| ListPhotoSequences(context.Context, *ListPhotoSequencesRequest) (*ListPhotoSequencesResponse, error) |
| // Deletes a [PhotoSequence][google.streetview.publish.v1.PhotoSequence] and |
| // its metadata. |
| // |
| // This method returns the following error codes: |
| // |
| // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if |
| // the requesting user did not create the requested photo sequence. |
| // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo |
| // sequence ID does not exist. |
| // * [google.rpc.Code.FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION] if the photo sequence ID is not |
| // yet finished processing. |
| DeletePhotoSequence(context.Context, *DeletePhotoSequenceRequest) (*emptypb.Empty, error) |
| } |
| |
| // UnimplementedStreetViewPublishServiceServer can be embedded to have forward compatible implementations. |
| type UnimplementedStreetViewPublishServiceServer struct { |
| } |
| |
| func (*UnimplementedStreetViewPublishServiceServer) StartUpload(context.Context, *emptypb.Empty) (*UploadRef, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method StartUpload not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) CreatePhoto(context.Context, *CreatePhotoRequest) (*Photo, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method CreatePhoto not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) GetPhoto(context.Context, *GetPhotoRequest) (*Photo, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method GetPhoto not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) BatchGetPhotos(context.Context, *BatchGetPhotosRequest) (*BatchGetPhotosResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BatchGetPhotos not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) ListPhotos(context.Context, *ListPhotosRequest) (*ListPhotosResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method ListPhotos not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) UpdatePhoto(context.Context, *UpdatePhotoRequest) (*Photo, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method UpdatePhoto not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) BatchUpdatePhotos(context.Context, *BatchUpdatePhotosRequest) (*BatchUpdatePhotosResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BatchUpdatePhotos not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) DeletePhoto(context.Context, *DeletePhotoRequest) (*emptypb.Empty, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method DeletePhoto not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) BatchDeletePhotos(context.Context, *BatchDeletePhotosRequest) (*BatchDeletePhotosResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method BatchDeletePhotos not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) StartPhotoSequenceUpload(context.Context, *emptypb.Empty) (*UploadRef, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method StartPhotoSequenceUpload not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) CreatePhotoSequence(context.Context, *CreatePhotoSequenceRequest) (*longrunningpb.Operation, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method CreatePhotoSequence not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) GetPhotoSequence(context.Context, *GetPhotoSequenceRequest) (*longrunningpb.Operation, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method GetPhotoSequence not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) ListPhotoSequences(context.Context, *ListPhotoSequencesRequest) (*ListPhotoSequencesResponse, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method ListPhotoSequences not implemented") |
| } |
| func (*UnimplementedStreetViewPublishServiceServer) DeletePhotoSequence(context.Context, *DeletePhotoSequenceRequest) (*emptypb.Empty, error) { |
| return nil, status.Errorf(codes.Unimplemented, "method DeletePhotoSequence not implemented") |
| } |
| |
| func RegisterStreetViewPublishServiceServer(s *grpc.Server, srv StreetViewPublishServiceServer) { |
| s.RegisterService(&_StreetViewPublishService_serviceDesc, srv) |
| } |
| |
| func _StreetViewPublishService_StartUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(emptypb.Empty) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).StartUpload(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/StartUpload", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).StartUpload(ctx, req.(*emptypb.Empty)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_CreatePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(CreatePhotoRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).CreatePhoto(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/CreatePhoto", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).CreatePhoto(ctx, req.(*CreatePhotoRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_GetPhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetPhotoRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).GetPhoto(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/GetPhoto", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).GetPhoto(ctx, req.(*GetPhotoRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_BatchGetPhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BatchGetPhotosRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).BatchGetPhotos(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchGetPhotos", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).BatchGetPhotos(ctx, req.(*BatchGetPhotosRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_ListPhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListPhotosRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).ListPhotos(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/ListPhotos", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).ListPhotos(ctx, req.(*ListPhotosRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_UpdatePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(UpdatePhotoRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).UpdatePhoto(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/UpdatePhoto", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).UpdatePhoto(ctx, req.(*UpdatePhotoRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_BatchUpdatePhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BatchUpdatePhotosRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).BatchUpdatePhotos(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchUpdatePhotos", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).BatchUpdatePhotos(ctx, req.(*BatchUpdatePhotosRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_DeletePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(DeletePhotoRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).DeletePhoto(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/DeletePhoto", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).DeletePhoto(ctx, req.(*DeletePhotoRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_BatchDeletePhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(BatchDeletePhotosRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).BatchDeletePhotos(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchDeletePhotos", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).BatchDeletePhotos(ctx, req.(*BatchDeletePhotosRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_StartPhotoSequenceUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(emptypb.Empty) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).StartPhotoSequenceUpload(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/StartPhotoSequenceUpload", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).StartPhotoSequenceUpload(ctx, req.(*emptypb.Empty)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_CreatePhotoSequence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(CreatePhotoSequenceRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).CreatePhotoSequence(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/CreatePhotoSequence", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).CreatePhotoSequence(ctx, req.(*CreatePhotoSequenceRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_GetPhotoSequence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(GetPhotoSequenceRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).GetPhotoSequence(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/GetPhotoSequence", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).GetPhotoSequence(ctx, req.(*GetPhotoSequenceRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_ListPhotoSequences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(ListPhotoSequencesRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).ListPhotoSequences(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/ListPhotoSequences", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).ListPhotoSequences(ctx, req.(*ListPhotoSequencesRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| func _StreetViewPublishService_DeletePhotoSequence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| in := new(DeletePhotoSequenceRequest) |
| if err := dec(in); err != nil { |
| return nil, err |
| } |
| if interceptor == nil { |
| return srv.(StreetViewPublishServiceServer).DeletePhotoSequence(ctx, in) |
| } |
| info := &grpc.UnaryServerInfo{ |
| Server: srv, |
| FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/DeletePhotoSequence", |
| } |
| handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| return srv.(StreetViewPublishServiceServer).DeletePhotoSequence(ctx, req.(*DeletePhotoSequenceRequest)) |
| } |
| return interceptor(ctx, in, info, handler) |
| } |
| |
| var _StreetViewPublishService_serviceDesc = grpc.ServiceDesc{ |
| ServiceName: "google.streetview.publish.v1.StreetViewPublishService", |
| HandlerType: (*StreetViewPublishServiceServer)(nil), |
| Methods: []grpc.MethodDesc{ |
| { |
| MethodName: "StartUpload", |
| Handler: _StreetViewPublishService_StartUpload_Handler, |
| }, |
| { |
| MethodName: "CreatePhoto", |
| Handler: _StreetViewPublishService_CreatePhoto_Handler, |
| }, |
| { |
| MethodName: "GetPhoto", |
| Handler: _StreetViewPublishService_GetPhoto_Handler, |
| }, |
| { |
| MethodName: "BatchGetPhotos", |
| Handler: _StreetViewPublishService_BatchGetPhotos_Handler, |
| }, |
| { |
| MethodName: "ListPhotos", |
| Handler: _StreetViewPublishService_ListPhotos_Handler, |
| }, |
| { |
| MethodName: "UpdatePhoto", |
| Handler: _StreetViewPublishService_UpdatePhoto_Handler, |
| }, |
| { |
| MethodName: "BatchUpdatePhotos", |
| Handler: _StreetViewPublishService_BatchUpdatePhotos_Handler, |
| }, |
| { |
| MethodName: "DeletePhoto", |
| Handler: _StreetViewPublishService_DeletePhoto_Handler, |
| }, |
| { |
| MethodName: "BatchDeletePhotos", |
| Handler: _StreetViewPublishService_BatchDeletePhotos_Handler, |
| }, |
| { |
| MethodName: "StartPhotoSequenceUpload", |
| Handler: _StreetViewPublishService_StartPhotoSequenceUpload_Handler, |
| }, |
| { |
| MethodName: "CreatePhotoSequence", |
| Handler: _StreetViewPublishService_CreatePhotoSequence_Handler, |
| }, |
| { |
| MethodName: "GetPhotoSequence", |
| Handler: _StreetViewPublishService_GetPhotoSequence_Handler, |
| }, |
| { |
| MethodName: "ListPhotoSequences", |
| Handler: _StreetViewPublishService_ListPhotoSequences_Handler, |
| }, |
| { |
| MethodName: "DeletePhotoSequence", |
| Handler: _StreetViewPublishService_DeletePhotoSequence_Handler, |
| }, |
| }, |
| Streams: []grpc.StreamDesc{}, |
| Metadata: "google/streetview/publish/v1/streetview_publish.proto", |
| } |