Debian Codegraph @

streetview/publish/apiv1/publishpb/streetview_publish.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/streetview/publish/v1/streetview_publish.proto
20
21 package publishpb
22
23 import (
24 longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
25 context "context"
26 _ "google.golang.org/genproto/googleapis/api/annotations"
27 grpc "google.golang.org/grpc"
28 codes "google.golang.org/grpc/codes"
29 status "google.golang.org/grpc/status"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 emptypb "google.golang.org/protobuf/types/known/emptypb"
33 reflect "reflect"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 var File_google_streetview_publish_v1_streetview_publish_proto protoreflect.FileDescriptor
44
45 var file_google_streetview_publish_v1_streetview_publish_proto_rawDesc = []byte{
46 0x0a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76,
47 0x69, 0x65, 0x77, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x73,
48 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
49 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
50 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69,
51 0x73, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
52 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
53 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
54 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f,
55 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
56 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
57 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72,
58 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f,
59 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d,
60 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
61 0x65, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2f, 0x70, 0x75, 0x62,
62 0x6c, 0x69, 0x73, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
63 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
64 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69,
65 0x73, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x70, 0x63, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
66 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xce, 0x12, 0x0a, 0x18, 0x53, 0x74, 0x72, 0x65,
67 0x65, 0x74, 0x56, 0x69, 0x65, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x53, 0x65, 0x72,
68 0x76, 0x69, 0x63, 0x65, 0x12, 0x70, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x55, 0x70, 0x6c,
69 0x6f, 0x61, 0x64, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
70 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x27, 0x2e, 0x67, 0x6f,
71 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e,
72 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61,
73 0x64, 0x52, 0x65, 0x66, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x3a, 0x01, 0x2a, 0x22,
74 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x3a, 0x73, 0x74, 0x61, 0x72, 0x74,
75 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x86, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74,
76 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
77 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69,
78 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74,
79 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
80 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62,
81 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x22, 0x20, 0xda,
82 0x41, 0x05, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x3a, 0x05, 0x70,
83 0x68, 0x6f, 0x74, 0x6f, 0x22, 0x09, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x12,
84 0x8c, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x2d, 0x2e, 0x67,
85 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77,
86 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50,
87 0x68, 0x6f, 0x74, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f,
88 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e,
89 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x6f, 0x74, 0x6f,
90 0x22, 0x2c, 0xda, 0x41, 0x0d, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x2c, 0x76, 0x69,
91 0x65, 0x77, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68,
92 0x6f, 0x74, 0x6f, 0x2f, 0x7b, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa9,
93 0x01, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f,
94 0x73, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65,
95 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31,
96 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x52,
97 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
98 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69,
99 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x50, 0x68,
100 0x6f, 0x74, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0xda, 0x41,
101 0x0e, 0x76, 0x69, 0x65, 0x77, 0x2c, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x73, 0x82,
102 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f,
103 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x12, 0x91, 0x01, 0x0a, 0x0a, 0x4c,
104 0x69, 0x73, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
105 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75,
106 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68, 0x6f,
107 0x74, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f,
108 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70,
109 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68,
110 0x6f, 0x74, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0xda, 0x41,
111 0x0b, 0x76, 0x69, 0x65, 0x77, 0x2c, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x82, 0xd3, 0xe4, 0x93,
112 0x02, 0x0c, 0x12, 0x0a, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x12, 0xa6,
113 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x30,
114 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69,
115 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70,
116 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
117 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74,
118 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e,
119 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x22, 0x40, 0xda, 0x41, 0x11, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x2c,
120 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02,
121 0x26, 0x3a, 0x05, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68,
122 0x6f, 0x74, 0x6f, 0x2f, 0x7b, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x68, 0x6f, 0x74, 0x6f,
123 0x5f, 0x69, 0x64, 0x2e, 0x69, 0x64, 0x7d, 0x12, 0xbf, 0x01, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x63,
124 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x12, 0x36, 0x2e,
125 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65,
126 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74,
127 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x52, 0x65,
128 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73,
129 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
130 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
131 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39,
132 0xda, 0x41, 0x15, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f,
133 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x3a, 0x01,
134 0x2a, 0x22, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x3a, 0x62, 0x61,
135 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x0b, 0x44, 0x65,
136 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
137 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75,
138 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50,
139 0x68, 0x6f, 0x74, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
140 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
141 0x70, 0x74, 0x79, 0x22, 0x27, 0xda, 0x41, 0x08, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64,
142 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x2a, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74,
143 0x6f, 0x2f, 0x7b, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xb3, 0x01, 0x0a,
144 0x11, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74,
145 0x6f, 0x73, 0x12, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65,
146 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76,
147 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f,
148 0x74, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x67, 0x6f, 0x6f,
149 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70,
150 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44,
151 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
152 0x6e, 0x73, 0x65, 0x22, 0x2d, 0xda, 0x41, 0x09, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x69, 0x64,
153 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x3a, 0x01, 0x2a, 0x22, 0x16, 0x2f, 0x76, 0x31, 0x2f,
154 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x6c, 0x65,
155 0x74, 0x65, 0x12, 0x85, 0x01, 0x0a, 0x18, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x68, 0x6f, 0x74,
156 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12,
157 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
158 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
159 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c,
160 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x66,
161 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x3a, 0x01, 0x2a, 0x22, 0x1d, 0x2f, 0x76, 0x31,
162 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x3a, 0x73,
163 0x74, 0x61, 0x72, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0xde, 0x01, 0x0a, 0x13, 0x43,
164 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e,
165 0x63, 0x65, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65,
166 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76,
167 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71,
168 0x75, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67,
169 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e,
170 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6e, 0xca, 0x41, 0x26,
171 0x0a, 0x0d, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12,
172 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
173 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0xda, 0x41, 0x19, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x73,
174 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x2c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79,
175 0x70, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x0e, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f,
176 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68,
177 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0xba, 0x01, 0x0a, 0x10,
178 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65,
179 0x12, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74,
180 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e,
181 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65,
182 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
183 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65,
184 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x50, 0xca, 0x41, 0x26, 0x0a, 0x0d, 0x50, 0x68, 0x6f,
185 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67,
186 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
187 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f,
188 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x7b, 0x73, 0x65, 0x71, 0x75,
189 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xa3, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73,
190 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12,
191 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76,
192 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
193 0x69, 0x73, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65,
194 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
195 0x65, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62,
196 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68, 0x6f, 0x74,
197 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
198 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x76, 0x31, 0x2f,
199 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x9e,
200 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65,
201 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
202 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69,
203 0x73, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x6f, 0x74,
204 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
205 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
206 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x35, 0xda, 0x41, 0x0b, 0x73, 0x65, 0x71,
207 0x75, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x2a, 0x1f,
208 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
209 0x65, 0x2f, 0x7b, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x1a,
210 0x57, 0xca, 0x41, 0x20, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x70, 0x75,
211 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
212 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x31, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77,
213 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
214 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65,
215 0x77, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x42, 0xc3, 0x01, 0xea, 0x41, 0x41, 0x0a, 0x29,
216 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73,
217 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
218 0x2f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x12, 0x14, 0x63, 0x6f, 0x6e, 0x74, 0x72,
219 0x61, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x7d, 0x0a,
220 0x28, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6f, 0x2e,
221 0x75, 0x67, 0x63, 0x2e, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70,
222 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x53, 0x74, 0x72, 0x65, 0x65,
223 0x74, 0x56, 0x69, 0x65, 0x77, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5a, 0x40, 0x63, 0x6c,
224 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
225 0x6f, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x65, 0x74, 0x76, 0x69, 0x65, 0x77, 0x2f, 0x70, 0x75, 0x62,
226 0x6c, 0x69, 0x73, 0x68, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69,
227 0x73, 0x68, 0x70, 0x62, 0x3b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x70, 0x62, 0x62, 0x06,
228 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
229 }
230
231 var file_google_streetview_publish_v1_streetview_publish_proto_goTypes = []any{
232 (*emptypb.Empty)(nil), // 0: google.protobuf.Empty
233 (*CreatePhotoRequest)(nil), // 1: google.streetview.publish.v1.CreatePhotoRequest
234 (*GetPhotoRequest)(nil), // 2: google.streetview.publish.v1.GetPhotoRequest
235 (*BatchGetPhotosRequest)(nil), // 3: google.streetview.publish.v1.BatchGetPhotosRequest
236 (*ListPhotosRequest)(nil), // 4: google.streetview.publish.v1.ListPhotosRequest
237 (*UpdatePhotoRequest)(nil), // 5: google.streetview.publish.v1.UpdatePhotoRequest
238 (*BatchUpdatePhotosRequest)(nil), // 6: google.streetview.publish.v1.BatchUpdatePhotosRequest
239 (*DeletePhotoRequest)(nil), // 7: google.streetview.publish.v1.DeletePhotoRequest
240 (*BatchDeletePhotosRequest)(nil), // 8: google.streetview.publish.v1.BatchDeletePhotosRequest
241 (*CreatePhotoSequenceRequest)(nil), // 9: google.streetview.publish.v1.CreatePhotoSequenceRequest
242 (*GetPhotoSequenceRequest)(nil), // 10: google.streetview.publish.v1.GetPhotoSequenceRequest
243 (*ListPhotoSequencesRequest)(nil), // 11: google.streetview.publish.v1.ListPhotoSequencesRequest
244 (*DeletePhotoSequenceRequest)(nil), // 12: google.streetview.publish.v1.DeletePhotoSequenceRequest
245 (*UploadRef)(nil), // 13: google.streetview.publish.v1.UploadRef
246 (*Photo)(nil), // 14: google.streetview.publish.v1.Photo
247 (*BatchGetPhotosResponse)(nil), // 15: google.streetview.publish.v1.BatchGetPhotosResponse
248 (*ListPhotosResponse)(nil), // 16: google.streetview.publish.v1.ListPhotosResponse
249 (*BatchUpdatePhotosResponse)(nil), // 17: google.streetview.publish.v1.BatchUpdatePhotosResponse
250 (*BatchDeletePhotosResponse)(nil), // 18: google.streetview.publish.v1.BatchDeletePhotosResponse
251 (*longrunningpb.Operation)(nil), // 19: google.longrunning.Operation
252 (*ListPhotoSequencesResponse)(nil), // 20: google.streetview.publish.v1.ListPhotoSequencesResponse
253 }
254 var file_google_streetview_publish_v1_streetview_publish_proto_depIdxs = []int32{
255 0, // 0: google.streetview.publish.v1.StreetViewPublishService.StartUpload:input_type -> google.protobuf.Empty
256 1, // 1: google.streetview.publish.v1.StreetViewPublishService.CreatePhoto:input_type -> google.streetview.publish.v1.CreatePhotoRequest
257 2, // 2: google.streetview.publish.v1.StreetViewPublishService.GetPhoto:input_type -> google.streetview.publish.v1.GetPhotoRequest
258 3, // 3: google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos:input_type -> google.streetview.publish.v1.BatchGetPhotosRequest
259 4, // 4: google.streetview.publish.v1.StreetViewPublishService.ListPhotos:input_type -> google.streetview.publish.v1.ListPhotosRequest
260 5, // 5: google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto:input_type -> google.streetview.publish.v1.UpdatePhotoRequest
261 6, // 6: google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos:input_type -> google.streetview.publish.v1.BatchUpdatePhotosRequest
262 7, // 7: google.streetview.publish.v1.StreetViewPublishService.DeletePhoto:input_type -> google.streetview.publish.v1.DeletePhotoRequest
263 8, // 8: google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos:input_type -> google.streetview.publish.v1.BatchDeletePhotosRequest
264 0, // 9: google.streetview.publish.v1.StreetViewPublishService.StartPhotoSequenceUpload:input_type -> google.protobuf.Empty
265 9, // 10: google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence:input_type -> google.streetview.publish.v1.CreatePhotoSequenceRequest
266 10, // 11: google.streetview.publish.v1.StreetViewPublishService.GetPhotoSequence:input_type -> google.streetview.publish.v1.GetPhotoSequenceRequest
267 11, // 12: google.streetview.publish.v1.StreetViewPublishService.ListPhotoSequences:input_type -> google.streetview.publish.v1.ListPhotoSequencesRequest
268 12, // 13: google.streetview.publish.v1.StreetViewPublishService.DeletePhotoSequence:input_type -> google.streetview.publish.v1.DeletePhotoSequenceRequest
269 13, // 14: google.streetview.publish.v1.StreetViewPublishService.StartUpload:output_type -> google.streetview.publish.v1.UploadRef
270 14, // 15: google.streetview.publish.v1.StreetViewPublishService.CreatePhoto:output_type -> google.streetview.publish.v1.Photo
271 14, // 16: google.streetview.publish.v1.StreetViewPublishService.GetPhoto:output_type -> google.streetview.publish.v1.Photo
272 15, // 17: google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos:output_type -> google.streetview.publish.v1.BatchGetPhotosResponse
273 16, // 18: google.streetview.publish.v1.StreetViewPublishService.ListPhotos:output_type -> google.streetview.publish.v1.ListPhotosResponse
274 14, // 19: google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto:output_type -> google.streetview.publish.v1.Photo
275 17, // 20: google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos:output_type -> google.streetview.publish.v1.BatchUpdatePhotosResponse
276 0, // 21: google.streetview.publish.v1.StreetViewPublishService.DeletePhoto:output_type -> google.protobuf.Empty
277 18, // 22: google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos:output_type -> google.streetview.publish.v1.BatchDeletePhotosResponse
278 13, // 23: google.streetview.publish.v1.StreetViewPublishService.StartPhotoSequenceUpload:output_type -> google.streetview.publish.v1.UploadRef
279 19, // 24: google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence:output_type -> google.longrunning.Operation
280 19, // 25: google.streetview.publish.v1.StreetViewPublishService.GetPhotoSequence:output_type -> google.longrunning.Operation
281 20, // 26: google.streetview.publish.v1.StreetViewPublishService.ListPhotoSequences:output_type -> google.streetview.publish.v1.ListPhotoSequencesResponse
282 0, // 27: google.streetview.publish.v1.StreetViewPublishService.DeletePhotoSequence:output_type -> google.protobuf.Empty
283 14, // [14:28] is the sub-list for method output_type
284 0, // [0:14] is the sub-list for method input_type
285 0, // [0:0] is the sub-list for extension type_name
286 0, // [0:0] is the sub-list for extension extendee
287 0, // [0:0] is the sub-list for field type_name
288 }
289
290 func init() { file_google_streetview_publish_v1_streetview_publish_proto_init() }
291 func file_google_streetview_publish_v1_streetview_publish_proto_init() {
292 if File_google_streetview_publish_v1_streetview_publish_proto != nil {
293 return
294 }
295 file_google_streetview_publish_v1_resources_proto_init()
296 file_google_streetview_publish_v1_rpcmessages_proto_init()
297 type x struct{}
298 out := protoimpl.TypeBuilder{
299 File: protoimpl.DescBuilder{
300 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
301 RawDescriptor: file_google_streetview_publish_v1_streetview_publish_proto_rawDesc,
302 NumEnums: 0,
303 NumMessages: 0,
304 NumExtensions: 0,
305 NumServices: 1,
306 },
307 GoTypes: file_google_streetview_publish_v1_streetview_publish_proto_goTypes,
308 DependencyIndexes: file_google_streetview_publish_v1_streetview_publish_proto_depIdxs,
309 }.Build()
310 File_google_streetview_publish_v1_streetview_publish_proto = out.File
311 file_google_streetview_publish_v1_streetview_publish_proto_rawDesc = nil
312 file_google_streetview_publish_v1_streetview_publish_proto_goTypes = nil
313 file_google_streetview_publish_v1_streetview_publish_proto_depIdxs = nil
314 }
315
316 // Reference imports to suppress errors if they are not otherwise used.
317 var _ context.Context
318 var _ grpc.ClientConnInterface
319
320 // This is a compile-time assertion to ensure that this generated file
321 // is compatible with the grpc package it is being compiled against.
322 const _ = grpc.SupportPackageIsVersion6
323
324 // StreetViewPublishServiceClient is the client API for StreetViewPublishService service.
325 //
326 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
327 type StreetViewPublishServiceClient interface {
328 // Creates an upload session to start uploading photo bytes. The method uses
329 // the upload URL of the returned
330 // [UploadRef][google.streetview.publish.v1.UploadRef] to upload the bytes for
331 // the [Photo][google.streetview.publish.v1.Photo].
332 //
333 // In addition to the photo requirements shown in
334 // https://support.google.com/maps/answer/7012050?ref_topic=6275604,
335 // the photo must meet the following requirements:
336 //
337 // * Photo Sphere XMP metadata must be included in the photo metadata. See
338 // https://developers.google.com/streetview/spherical-metadata for the
339 // required fields.
340 // * The pixel size of the photo must meet the size requirements listed in
341 // https://support.google.com/maps/answer/7012050?ref_topic=6275604, and
342 // the photo must be a full 360 horizontally.
343 //
344 // After the upload completes, the method uses
345 // [UploadRef][google.streetview.publish.v1.UploadRef] with
346 // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]
347 // to create the [Photo][google.streetview.publish.v1.Photo] object entry.
348 StartUpload(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UploadRef, error)
349 // After the client finishes uploading the photo with the returned
350 // [UploadRef][google.streetview.publish.v1.UploadRef],
351 // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]
352 // publishes the uploaded [Photo][google.streetview.publish.v1.Photo] to
353 // Street View on Google Maps.
354 //
355 // Currently, the only way to set heading, pitch, and roll in CreatePhoto is
356 // through the [Photo Sphere XMP
357 // metadata](https://developers.google.com/streetview/spherical-metadata) in
358 // the photo bytes. CreatePhoto ignores the `pose.heading`, `pose.pitch`,
359 // `pose.roll`, `pose.altitude`, and `pose.level` fields in Pose.
360 //
361 // This method returns the following error codes:
362 //
363 // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
364 // the request is malformed or if the uploaded photo is not a 360 photo.
365 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload
366 // reference does not exist.
367 // * [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]
368 // if the account has reached the storage limit.
369 CreatePhoto(ctx context.Context, in *CreatePhotoRequest, opts ...grpc.CallOption) (*Photo, error)
370 // Gets the metadata of the specified
371 // [Photo][google.streetview.publish.v1.Photo].
372 //
373 // This method returns the following error codes:
374 //
375 // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
376 // the requesting user did not create the requested
377 // [Photo][google.streetview.publish.v1.Photo].
378 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
379 // [Photo][google.streetview.publish.v1.Photo] does not exist.
380 // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the
381 // requested [Photo][google.streetview.publish.v1.Photo] is still being
382 // indexed.
383 GetPhoto(ctx context.Context, in *GetPhotoRequest, opts ...grpc.CallOption) (*Photo, error)
384 // Gets the metadata of the specified
385 // [Photo][google.streetview.publish.v1.Photo] batch.
386 //
387 // Note that if
388 // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]
389 // fails, either critical fields are missing or there is an authentication
390 // error. Even if
391 // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]
392 // succeeds, individual photos in the batch may have failures.
393 // These failures are specified in each
394 // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
395 // in
396 // [BatchGetPhotosResponse.results][google.streetview.publish.v1.BatchGetPhotosResponse.results].
397 // See
398 // [GetPhoto][google.streetview.publish.v1.StreetViewPublishService.GetPhoto]
399 // for specific failures that can occur per photo.
400 BatchGetPhotos(ctx context.Context, in *BatchGetPhotosRequest, opts ...grpc.CallOption) (*BatchGetPhotosResponse, error)
401 // Lists all the [Photos][google.streetview.publish.v1.Photo] that belong to
402 // the user.
403 //
404 // > Note: Recently created photos that are still
405 // being indexed are not returned in the response.
406 ListPhotos(ctx context.Context, in *ListPhotosRequest, opts ...grpc.CallOption) (*ListPhotosResponse, error)
407 // Updates the metadata of a [Photo][google.streetview.publish.v1.Photo], such
408 // as pose, place association, connections, etc. Changing the pixels of a
409 // photo is not supported.
410 //
411 // Only the fields specified in the
412 // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]
413 // field are used. If `updateMask` is not present, the update applies to all
414 // fields.
415 //
416 // This method returns the following error codes:
417 //
418 // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
419 // the requesting user did not create the requested photo.
420 // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
421 // the request is malformed.
422 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
423 // photo does not exist.
424 // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the
425 // requested [Photo][google.streetview.publish.v1.Photo] is still being
426 // indexed.
427 UpdatePhoto(ctx context.Context, in *UpdatePhotoRequest, opts ...grpc.CallOption) (*Photo, error)
428 // Updates the metadata of [Photos][google.streetview.publish.v1.Photo], such
429 // as pose, place association, connections, etc. Changing the pixels of photos
430 // is not supported.
431 //
432 // Note that if
433 // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]
434 // fails, either critical fields are missing or there is an authentication
435 // error. Even if
436 // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]
437 // succeeds, individual photos in the batch may have failures.
438 // These failures are specified in each
439 // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
440 // in
441 // [BatchUpdatePhotosResponse.results][google.streetview.publish.v1.BatchUpdatePhotosResponse.results].
442 // See
443 // [UpdatePhoto][google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto]
444 // for specific failures that can occur per photo.
445 //
446 // Only the fields specified in
447 // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]
448 // field are used. If `updateMask` is not present, the update applies to all
449 // fields.
450 //
451 // The number of
452 // [UpdatePhotoRequest][google.streetview.publish.v1.UpdatePhotoRequest]
453 // messages in a
454 // [BatchUpdatePhotosRequest][google.streetview.publish.v1.BatchUpdatePhotosRequest]
455 // must not exceed 20.
456 //
457 // > Note: To update
458 // [Pose.altitude][google.streetview.publish.v1.Pose.altitude],
459 // [Pose.latLngPair][google.streetview.publish.v1.Pose.lat_lng_pair] has to be
460 // filled as well. Otherwise, the request will fail.
461 BatchUpdatePhotos(ctx context.Context, in *BatchUpdatePhotosRequest, opts ...grpc.CallOption) (*BatchUpdatePhotosResponse, error)
462 // Deletes a [Photo][google.streetview.publish.v1.Photo] and its metadata.
463 //
464 // This method returns the following error codes:
465 //
466 // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
467 // the requesting user did not create the requested photo.
468 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo ID
469 // does not exist.
470 DeletePhoto(ctx context.Context, in *DeletePhotoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
471 // Deletes a list of [Photos][google.streetview.publish.v1.Photo] and their
472 // metadata.
473 //
474 // Note that if
475 // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]
476 // fails, either critical fields are missing or there is an authentication
477 // error. Even if
478 // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]
479 // succeeds, individual photos in the batch may have failures.
480 // These failures are specified in each
481 // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
482 // in
483 // [BatchDeletePhotosResponse.results][google.streetview.publish.v1.BatchDeletePhotosResponse.status].
484 // See
485 // [DeletePhoto][google.streetview.publish.v1.StreetViewPublishService.DeletePhoto]
486 // for specific failures that can occur per photo.
487 BatchDeletePhotos(ctx context.Context, in *BatchDeletePhotosRequest, opts ...grpc.CallOption) (*BatchDeletePhotosResponse, error)
488 // Creates an upload session to start uploading photo sequence data.
489 // The upload URL of the returned
490 // [UploadRef][google.streetview.publish.v1.UploadRef] is used to upload the
491 // data for the `photoSequence`.
492 //
493 // After the upload is complete, the
494 // [UploadRef][google.streetview.publish.v1.UploadRef] is used with
495 // [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]
496 // to create the [PhotoSequence][google.streetview.publish.v1.PhotoSequence]
497 // object entry.
498 StartPhotoSequenceUpload(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UploadRef, error)
499 // After the client finishes uploading the
500 // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] with the
501 // returned [UploadRef][google.streetview.publish.v1.UploadRef],
502 // [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]
503 // extracts a sequence of 360 photos from a video or Extensible Device
504 // Metadata (XDM, http://www.xdm.org/) to be published to Street View on
505 // Google Maps.
506 //
507 // `CreatePhotoSequence` returns an [Operation][google.longrunning.Operation],
508 // with the [PhotoSequence][google.streetview.publish.v1.PhotoSequence] Id set
509 // in the `Operation.name` field.
510 //
511 // This method returns the following error codes:
512 //
513 // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
514 // the request is malformed.
515 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload
516 // reference does not exist.
517 CreatePhotoSequence(ctx context.Context, in *CreatePhotoSequenceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
518 // Gets the metadata of the specified
519 // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] via the
520 // [Operation][google.longrunning.Operation] interface.
521 //
522 // This method returns the following three types of responses:
523 //
524 // - `Operation.done` = false, if the processing of
525 // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] is not
526 // finished yet.
527 // - `Operation.done` = true and `Operation.error` is populated, if there was
528 // an error in processing.
529 // - `Operation.done` = true and `Operation.response` is poulated, which
530 // contains a [PhotoSequence][google.streetview.publish.v1.PhotoSequence]
531 // message.
532 //
533 // This method returns the following error codes:
534 //
535 // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
536 // the requesting user did not create the requested
537 // [PhotoSequence][google.streetview.publish.v1.PhotoSequence].
538 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
539 // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] does not exist.
540 GetPhotoSequence(ctx context.Context, in *GetPhotoSequenceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
541 // Lists all the [PhotoSequences][google.streetview.publish.v1.PhotoSequence]
542 // that belong to the user, in descending CreatePhotoSequence timestamp order.
543 ListPhotoSequences(ctx context.Context, in *ListPhotoSequencesRequest, opts ...grpc.CallOption) (*ListPhotoSequencesResponse, error)
544 // Deletes a [PhotoSequence][google.streetview.publish.v1.PhotoSequence] and
545 // its metadata.
546 //
547 // This method returns the following error codes:
548 //
549 // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
550 // the requesting user did not create the requested photo sequence.
551 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo
552 // sequence ID does not exist.
553 // * [google.rpc.Code.FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION] if the photo sequence ID is not
554 // yet finished processing.
555 DeletePhotoSequence(ctx context.Context, in *DeletePhotoSequenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
556 }
557
558 type streetViewPublishServiceClient struct {
559 cc grpc.ClientConnInterface
560 }
561
562 func NewStreetViewPublishServiceClient(cc grpc.ClientConnInterface) StreetViewPublishServiceClient {
563 return &streetViewPublishServiceClient{cc}
564 }
565
566 func (c *streetViewPublishServiceClient) StartUpload(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UploadRef, error) {
567 out := new(UploadRef)
568 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/StartUpload", in, out, opts...)
569 if err != nil {
570 return nil, err
571 }
572 return out, nil
573 }
574
575 func (c *streetViewPublishServiceClient) CreatePhoto(ctx context.Context, in *CreatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) {
576 out := new(Photo)
577 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/CreatePhoto", in, out, opts...)
578 if err != nil {
579 return nil, err
580 }
581 return out, nil
582 }
583
584 func (c *streetViewPublishServiceClient) GetPhoto(ctx context.Context, in *GetPhotoRequest, opts ...grpc.CallOption) (*Photo, error) {
585 out := new(Photo)
586 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/GetPhoto", in, out, opts...)
587 if err != nil {
588 return nil, err
589 }
590 return out, nil
591 }
592
593 func (c *streetViewPublishServiceClient) BatchGetPhotos(ctx context.Context, in *BatchGetPhotosRequest, opts ...grpc.CallOption) (*BatchGetPhotosResponse, error) {
594 out := new(BatchGetPhotosResponse)
595 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchGetPhotos", in, out, opts...)
596 if err != nil {
597 return nil, err
598 }
599 return out, nil
600 }
601
602 func (c *streetViewPublishServiceClient) ListPhotos(ctx context.Context, in *ListPhotosRequest, opts ...grpc.CallOption) (*ListPhotosResponse, error) {
603 out := new(ListPhotosResponse)
604 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/ListPhotos", in, out, opts...)
605 if err != nil {
606 return nil, err
607 }
608 return out, nil
609 }
610
611 func (c *streetViewPublishServiceClient) UpdatePhoto(ctx context.Context, in *UpdatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) {
612 out := new(Photo)
613 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/UpdatePhoto", in, out, opts...)
614 if err != nil {
615 return nil, err
616 }
617 return out, nil
618 }
619
620 func (c *streetViewPublishServiceClient) BatchUpdatePhotos(ctx context.Context, in *BatchUpdatePhotosRequest, opts ...grpc.CallOption) (*BatchUpdatePhotosResponse, error) {
621 out := new(BatchUpdatePhotosResponse)
622 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchUpdatePhotos", in, out, opts...)
623 if err != nil {
624 return nil, err
625 }
626 return out, nil
627 }
628
629 func (c *streetViewPublishServiceClient) DeletePhoto(ctx context.Context, in *DeletePhotoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
630 out := new(emptypb.Empty)
631 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/DeletePhoto", in, out, opts...)
632 if err != nil {
633 return nil, err
634 }
635 return out, nil
636 }
637
638 func (c *streetViewPublishServiceClient) BatchDeletePhotos(ctx context.Context, in *BatchDeletePhotosRequest, opts ...grpc.CallOption) (*BatchDeletePhotosResponse, error) {
639 out := new(BatchDeletePhotosResponse)
640 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchDeletePhotos", in, out, opts...)
641 if err != nil {
642 return nil, err
643 }
644 return out, nil
645 }
646
647 func (c *streetViewPublishServiceClient) StartPhotoSequenceUpload(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UploadRef, error) {
648 out := new(UploadRef)
649 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/StartPhotoSequenceUpload", in, out, opts...)
650 if err != nil {
651 return nil, err
652 }
653 return out, nil
654 }
655
656 func (c *streetViewPublishServiceClient) CreatePhotoSequence(ctx context.Context, in *CreatePhotoSequenceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
657 out := new(longrunningpb.Operation)
658 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/CreatePhotoSequence", in, out, opts...)
659 if err != nil {
660 return nil, err
661 }
662 return out, nil
663 }
664
665 func (c *streetViewPublishServiceClient) GetPhotoSequence(ctx context.Context, in *GetPhotoSequenceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
666 out := new(longrunningpb.Operation)
667 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/GetPhotoSequence", in, out, opts...)
668 if err != nil {
669 return nil, err
670 }
671 return out, nil
672 }
673
674 func (c *streetViewPublishServiceClient) ListPhotoSequences(ctx context.Context, in *ListPhotoSequencesRequest, opts ...grpc.CallOption) (*ListPhotoSequencesResponse, error) {
675 out := new(ListPhotoSequencesResponse)
676 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/ListPhotoSequences", in, out, opts...)
677 if err != nil {
678 return nil, err
679 }
680 return out, nil
681 }
682
683 func (c *streetViewPublishServiceClient) DeletePhotoSequence(ctx context.Context, in *DeletePhotoSequenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
684 out := new(emptypb.Empty)
685 err := c.cc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/DeletePhotoSequence", in, out, opts...)
686 if err != nil {
687 return nil, err
688 }
689 return out, nil
690 }
691
692 // StreetViewPublishServiceServer is the server API for StreetViewPublishService service.
693 type StreetViewPublishServiceServer interface {
694 // Creates an upload session to start uploading photo bytes. The method uses
695 // the upload URL of the returned
696 // [UploadRef][google.streetview.publish.v1.UploadRef] to upload the bytes for
697 // the [Photo][google.streetview.publish.v1.Photo].
698 //
699 // In addition to the photo requirements shown in
700 // https://support.google.com/maps/answer/7012050?ref_topic=6275604,
701 // the photo must meet the following requirements:
702 //
703 // * Photo Sphere XMP metadata must be included in the photo metadata. See
704 // https://developers.google.com/streetview/spherical-metadata for the
705 // required fields.
706 // * The pixel size of the photo must meet the size requirements listed in
707 // https://support.google.com/maps/answer/7012050?ref_topic=6275604, and
708 // the photo must be a full 360 horizontally.
709 //
710 // After the upload completes, the method uses
711 // [UploadRef][google.streetview.publish.v1.UploadRef] with
712 // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]
713 // to create the [Photo][google.streetview.publish.v1.Photo] object entry.
714 StartUpload(context.Context, *emptypb.Empty) (*UploadRef, error)
715 // After the client finishes uploading the photo with the returned
716 // [UploadRef][google.streetview.publish.v1.UploadRef],
717 // [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]
718 // publishes the uploaded [Photo][google.streetview.publish.v1.Photo] to
719 // Street View on Google Maps.
720 //
721 // Currently, the only way to set heading, pitch, and roll in CreatePhoto is
722 // through the [Photo Sphere XMP
723 // metadata](https://developers.google.com/streetview/spherical-metadata) in
724 // the photo bytes. CreatePhoto ignores the `pose.heading`, `pose.pitch`,
725 // `pose.roll`, `pose.altitude`, and `pose.level` fields in Pose.
726 //
727 // This method returns the following error codes:
728 //
729 // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
730 // the request is malformed or if the uploaded photo is not a 360 photo.
731 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload
732 // reference does not exist.
733 // * [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]
734 // if the account has reached the storage limit.
735 CreatePhoto(context.Context, *CreatePhotoRequest) (*Photo, error)
736 // Gets the metadata of the specified
737 // [Photo][google.streetview.publish.v1.Photo].
738 //
739 // This method returns the following error codes:
740 //
741 // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
742 // the requesting user did not create the requested
743 // [Photo][google.streetview.publish.v1.Photo].
744 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
745 // [Photo][google.streetview.publish.v1.Photo] does not exist.
746 // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the
747 // requested [Photo][google.streetview.publish.v1.Photo] is still being
748 // indexed.
749 GetPhoto(context.Context, *GetPhotoRequest) (*Photo, error)
750 // Gets the metadata of the specified
751 // [Photo][google.streetview.publish.v1.Photo] batch.
752 //
753 // Note that if
754 // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]
755 // fails, either critical fields are missing or there is an authentication
756 // error. Even if
757 // [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]
758 // succeeds, individual photos in the batch may have failures.
759 // These failures are specified in each
760 // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
761 // in
762 // [BatchGetPhotosResponse.results][google.streetview.publish.v1.BatchGetPhotosResponse.results].
763 // See
764 // [GetPhoto][google.streetview.publish.v1.StreetViewPublishService.GetPhoto]
765 // for specific failures that can occur per photo.
766 BatchGetPhotos(context.Context, *BatchGetPhotosRequest) (*BatchGetPhotosResponse, error)
767 // Lists all the [Photos][google.streetview.publish.v1.Photo] that belong to
768 // the user.
769 //
770 // > Note: Recently created photos that are still
771 // being indexed are not returned in the response.
772 ListPhotos(context.Context, *ListPhotosRequest) (*ListPhotosResponse, error)
773 // Updates the metadata of a [Photo][google.streetview.publish.v1.Photo], such
774 // as pose, place association, connections, etc. Changing the pixels of a
775 // photo is not supported.
776 //
777 // Only the fields specified in the
778 // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]
779 // field are used. If `updateMask` is not present, the update applies to all
780 // fields.
781 //
782 // This method returns the following error codes:
783 //
784 // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
785 // the requesting user did not create the requested photo.
786 // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
787 // the request is malformed.
788 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
789 // photo does not exist.
790 // * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the
791 // requested [Photo][google.streetview.publish.v1.Photo] is still being
792 // indexed.
793 UpdatePhoto(context.Context, *UpdatePhotoRequest) (*Photo, error)
794 // Updates the metadata of [Photos][google.streetview.publish.v1.Photo], such
795 // as pose, place association, connections, etc. Changing the pixels of photos
796 // is not supported.
797 //
798 // Note that if
799 // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]
800 // fails, either critical fields are missing or there is an authentication
801 // error. Even if
802 // [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]
803 // succeeds, individual photos in the batch may have failures.
804 // These failures are specified in each
805 // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
806 // in
807 // [BatchUpdatePhotosResponse.results][google.streetview.publish.v1.BatchUpdatePhotosResponse.results].
808 // See
809 // [UpdatePhoto][google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto]
810 // for specific failures that can occur per photo.
811 //
812 // Only the fields specified in
813 // [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]
814 // field are used. If `updateMask` is not present, the update applies to all
815 // fields.
816 //
817 // The number of
818 // [UpdatePhotoRequest][google.streetview.publish.v1.UpdatePhotoRequest]
819 // messages in a
820 // [BatchUpdatePhotosRequest][google.streetview.publish.v1.BatchUpdatePhotosRequest]
821 // must not exceed 20.
822 //
823 // > Note: To update
824 // [Pose.altitude][google.streetview.publish.v1.Pose.altitude],
825 // [Pose.latLngPair][google.streetview.publish.v1.Pose.lat_lng_pair] has to be
826 // filled as well. Otherwise, the request will fail.
827 BatchUpdatePhotos(context.Context, *BatchUpdatePhotosRequest) (*BatchUpdatePhotosResponse, error)
828 // Deletes a [Photo][google.streetview.publish.v1.Photo] and its metadata.
829 //
830 // This method returns the following error codes:
831 //
832 // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
833 // the requesting user did not create the requested photo.
834 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo ID
835 // does not exist.
836 DeletePhoto(context.Context, *DeletePhotoRequest) (*emptypb.Empty, error)
837 // Deletes a list of [Photos][google.streetview.publish.v1.Photo] and their
838 // metadata.
839 //
840 // Note that if
841 // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]
842 // fails, either critical fields are missing or there is an authentication
843 // error. Even if
844 // [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]
845 // succeeds, individual photos in the batch may have failures.
846 // These failures are specified in each
847 // [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
848 // in
849 // [BatchDeletePhotosResponse.results][google.streetview.publish.v1.BatchDeletePhotosResponse.status].
850 // See
851 // [DeletePhoto][google.streetview.publish.v1.StreetViewPublishService.DeletePhoto]
852 // for specific failures that can occur per photo.
853 BatchDeletePhotos(context.Context, *BatchDeletePhotosRequest) (*BatchDeletePhotosResponse, error)
854 // Creates an upload session to start uploading photo sequence data.
855 // The upload URL of the returned
856 // [UploadRef][google.streetview.publish.v1.UploadRef] is used to upload the
857 // data for the `photoSequence`.
858 //
859 // After the upload is complete, the
860 // [UploadRef][google.streetview.publish.v1.UploadRef] is used with
861 // [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]
862 // to create the [PhotoSequence][google.streetview.publish.v1.PhotoSequence]
863 // object entry.
864 StartPhotoSequenceUpload(context.Context, *emptypb.Empty) (*UploadRef, error)
865 // After the client finishes uploading the
866 // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] with the
867 // returned [UploadRef][google.streetview.publish.v1.UploadRef],
868 // [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]
869 // extracts a sequence of 360 photos from a video or Extensible Device
870 // Metadata (XDM, http://www.xdm.org/) to be published to Street View on
871 // Google Maps.
872 //
873 // `CreatePhotoSequence` returns an [Operation][google.longrunning.Operation],
874 // with the [PhotoSequence][google.streetview.publish.v1.PhotoSequence] Id set
875 // in the `Operation.name` field.
876 //
877 // This method returns the following error codes:
878 //
879 // * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
880 // the request is malformed.
881 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload
882 // reference does not exist.
883 CreatePhotoSequence(context.Context, *CreatePhotoSequenceRequest) (*longrunningpb.Operation, error)
884 // Gets the metadata of the specified
885 // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] via the
886 // [Operation][google.longrunning.Operation] interface.
887 //
888 // This method returns the following three types of responses:
889 //
890 // - `Operation.done` = false, if the processing of
891 // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] is not
892 // finished yet.
893 // - `Operation.done` = true and `Operation.error` is populated, if there was
894 // an error in processing.
895 // - `Operation.done` = true and `Operation.response` is poulated, which
896 // contains a [PhotoSequence][google.streetview.publish.v1.PhotoSequence]
897 // message.
898 //
899 // This method returns the following error codes:
900 //
901 // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
902 // the requesting user did not create the requested
903 // [PhotoSequence][google.streetview.publish.v1.PhotoSequence].
904 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
905 // [PhotoSequence][google.streetview.publish.v1.PhotoSequence] does not exist.
906 GetPhotoSequence(context.Context, *GetPhotoSequenceRequest) (*longrunningpb.Operation, error)
907 // Lists all the [PhotoSequences][google.streetview.publish.v1.PhotoSequence]
908 // that belong to the user, in descending CreatePhotoSequence timestamp order.
909 ListPhotoSequences(context.Context, *ListPhotoSequencesRequest) (*ListPhotoSequencesResponse, error)
910 // Deletes a [PhotoSequence][google.streetview.publish.v1.PhotoSequence] and
911 // its metadata.
912 //
913 // This method returns the following error codes:
914 //
915 // * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
916 // the requesting user did not create the requested photo sequence.
917 // * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo
918 // sequence ID does not exist.
919 // * [google.rpc.Code.FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION] if the photo sequence ID is not
920 // yet finished processing.
921 DeletePhotoSequence(context.Context, *DeletePhotoSequenceRequest) (*emptypb.Empty, error)
922 }
923
924 // UnimplementedStreetViewPublishServiceServer can be embedded to have forward compatible implementations.
925 type UnimplementedStreetViewPublishServiceServer struct {
926 }
927
928 func (*UnimplementedStreetViewPublishServiceServer) StartUpload(context.Context, *emptypb.Empty) (*UploadRef, error) {
929 return nil, status.Errorf(codes.Unimplemented, "method StartUpload not implemented")
930 }
931 func (*UnimplementedStreetViewPublishServiceServer) CreatePhoto(context.Context, *CreatePhotoRequest) (*Photo, error) {
932 return nil, status.Errorf(codes.Unimplemented, "method CreatePhoto not implemented")
933 }
934 func (*UnimplementedStreetViewPublishServiceServer) GetPhoto(context.Context, *GetPhotoRequest) (*Photo, error) {
935 return nil, status.Errorf(codes.Unimplemented, "method GetPhoto not implemented")
936 }
937 func (*UnimplementedStreetViewPublishServiceServer) BatchGetPhotos(context.Context, *BatchGetPhotosRequest) (*BatchGetPhotosResponse, error) {
938 return nil, status.Errorf(codes.Unimplemented, "method BatchGetPhotos not implemented")
939 }
940 func (*UnimplementedStreetViewPublishServiceServer) ListPhotos(context.Context, *ListPhotosRequest) (*ListPhotosResponse, error) {
941 return nil, status.Errorf(codes.Unimplemented, "method ListPhotos not implemented")
942 }
943 func (*UnimplementedStreetViewPublishServiceServer) UpdatePhoto(context.Context, *UpdatePhotoRequest) (*Photo, error) {
944 return nil, status.Errorf(codes.Unimplemented, "method UpdatePhoto not implemented")
945 }
946 func (*UnimplementedStreetViewPublishServiceServer) BatchUpdatePhotos(context.Context, *BatchUpdatePhotosRequest) (*BatchUpdatePhotosResponse, error) {
947 return nil, status.Errorf(codes.Unimplemented, "method BatchUpdatePhotos not implemented")
948 }
949 func (*UnimplementedStreetViewPublishServiceServer) DeletePhoto(context.Context, *DeletePhotoRequest) (*emptypb.Empty, error) {
950 return nil, status.Errorf(codes.Unimplemented, "method DeletePhoto not implemented")
951 }
952 func (*UnimplementedStreetViewPublishServiceServer) BatchDeletePhotos(context.Context, *BatchDeletePhotosRequest) (*BatchDeletePhotosResponse, error) {
953 return nil, status.Errorf(codes.Unimplemented, "method BatchDeletePhotos not implemented")
954 }
955 func (*UnimplementedStreetViewPublishServiceServer) StartPhotoSequenceUpload(context.Context, *emptypb.Empty) (*UploadRef, error) {
956 return nil, status.Errorf(codes.Unimplemented, "method StartPhotoSequenceUpload not implemented")
957 }
958 func (*UnimplementedStreetViewPublishServiceServer) CreatePhotoSequence(context.Context, *CreatePhotoSequenceRequest) (*longrunningpb.Operation, error) {
959 return nil, status.Errorf(codes.Unimplemented, "method CreatePhotoSequence not implemented")
960 }
961 func (*UnimplementedStreetViewPublishServiceServer) GetPhotoSequence(context.Context, *GetPhotoSequenceRequest) (*longrunningpb.Operation, error) {
962 return nil, status.Errorf(codes.Unimplemented, "method GetPhotoSequence not implemented")
963 }
964 func (*UnimplementedStreetViewPublishServiceServer) ListPhotoSequences(context.Context, *ListPhotoSequencesRequest) (*ListPhotoSequencesResponse, error) {
965 return nil, status.Errorf(codes.Unimplemented, "method ListPhotoSequences not implemented")
966 }
967 func (*UnimplementedStreetViewPublishServiceServer) DeletePhotoSequence(context.Context, *DeletePhotoSequenceRequest) (*emptypb.Empty, error) {
968 return nil, status.Errorf(codes.Unimplemented, "method DeletePhotoSequence not implemented")
969 }
970
971 func RegisterStreetViewPublishServiceServer(s *grpc.Server, srv StreetViewPublishServiceServer) {
972 s.RegisterService(&_StreetViewPublishService_serviceDesc, srv)
973 }
974
975 func _StreetViewPublishService_StartUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
976 in := new(emptypb.Empty)
977 if err := dec(in); err != nil {
978 return nil, err
979 }
980 if interceptor == nil {
981 return srv.(StreetViewPublishServiceServer).StartUpload(ctx, in)
982 }
983 info := &grpc.UnaryServerInfo{
984 Server: srv,
985 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/StartUpload",
986 }
987 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
988 return srv.(StreetViewPublishServiceServer).StartUpload(ctx, req.(*emptypb.Empty))
989 }
990 return interceptor(ctx, in, info, handler)
991 }
992
993 func _StreetViewPublishService_CreatePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
994 in := new(CreatePhotoRequest)
995 if err := dec(in); err != nil {
996 return nil, err
997 }
998 if interceptor == nil {
999 return srv.(StreetViewPublishServiceServer).CreatePhoto(ctx, in)
1000 }
1001 info := &grpc.UnaryServerInfo{
1002 Server: srv,
1003 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/CreatePhoto",
1004 }
1005 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1006 return srv.(StreetViewPublishServiceServer).CreatePhoto(ctx, req.(*CreatePhotoRequest))
1007 }
1008 return interceptor(ctx, in, info, handler)
1009 }
1010
1011 func _StreetViewPublishService_GetPhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1012 in := new(GetPhotoRequest)
1013 if err := dec(in); err != nil {
1014 return nil, err
1015 }
1016 if interceptor == nil {
1017 return srv.(StreetViewPublishServiceServer).GetPhoto(ctx, in)
1018 }
1019 info := &grpc.UnaryServerInfo{
1020 Server: srv,
1021 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/GetPhoto",
1022 }
1023 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1024 return srv.(StreetViewPublishServiceServer).GetPhoto(ctx, req.(*GetPhotoRequest))
1025 }
1026 return interceptor(ctx, in, info, handler)
1027 }
1028
1029 func _StreetViewPublishService_BatchGetPhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1030 in := new(BatchGetPhotosRequest)
1031 if err := dec(in); err != nil {
1032 return nil, err
1033 }
1034 if interceptor == nil {
1035 return srv.(StreetViewPublishServiceServer).BatchGetPhotos(ctx, in)
1036 }
1037 info := &grpc.UnaryServerInfo{
1038 Server: srv,
1039 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchGetPhotos",
1040 }
1041 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1042 return srv.(StreetViewPublishServiceServer).BatchGetPhotos(ctx, req.(*BatchGetPhotosRequest))
1043 }
1044 return interceptor(ctx, in, info, handler)
1045 }
1046
1047 func _StreetViewPublishService_ListPhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1048 in := new(ListPhotosRequest)
1049 if err := dec(in); err != nil {
1050 return nil, err
1051 }
1052 if interceptor == nil {
1053 return srv.(StreetViewPublishServiceServer).ListPhotos(ctx, in)
1054 }
1055 info := &grpc.UnaryServerInfo{
1056 Server: srv,
1057 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/ListPhotos",
1058 }
1059 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1060 return srv.(StreetViewPublishServiceServer).ListPhotos(ctx, req.(*ListPhotosRequest))
1061 }
1062 return interceptor(ctx, in, info, handler)
1063 }
1064
1065 func _StreetViewPublishService_UpdatePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1066 in := new(UpdatePhotoRequest)
1067 if err := dec(in); err != nil {
1068 return nil, err
1069 }
1070 if interceptor == nil {
1071 return srv.(StreetViewPublishServiceServer).UpdatePhoto(ctx, in)
1072 }
1073 info := &grpc.UnaryServerInfo{
1074 Server: srv,
1075 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/UpdatePhoto",
1076 }
1077 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1078 return srv.(StreetViewPublishServiceServer).UpdatePhoto(ctx, req.(*UpdatePhotoRequest))
1079 }
1080 return interceptor(ctx, in, info, handler)
1081 }
1082
1083 func _StreetViewPublishService_BatchUpdatePhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1084 in := new(BatchUpdatePhotosRequest)
1085 if err := dec(in); err != nil {
1086 return nil, err
1087 }
1088 if interceptor == nil {
1089 return srv.(StreetViewPublishServiceServer).BatchUpdatePhotos(ctx, in)
1090 }
1091 info := &grpc.UnaryServerInfo{
1092 Server: srv,
1093 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchUpdatePhotos",
1094 }
1095 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1096 return srv.(StreetViewPublishServiceServer).BatchUpdatePhotos(ctx, req.(*BatchUpdatePhotosRequest))
1097 }
1098 return interceptor(ctx, in, info, handler)
1099 }
1100
1101 func _StreetViewPublishService_DeletePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1102 in := new(DeletePhotoRequest)
1103 if err := dec(in); err != nil {
1104 return nil, err
1105 }
1106 if interceptor == nil {
1107 return srv.(StreetViewPublishServiceServer).DeletePhoto(ctx, in)
1108 }
1109 info := &grpc.UnaryServerInfo{
1110 Server: srv,
1111 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/DeletePhoto",
1112 }
1113 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1114 return srv.(StreetViewPublishServiceServer).DeletePhoto(ctx, req.(*DeletePhotoRequest))
1115 }
1116 return interceptor(ctx, in, info, handler)
1117 }
1118
1119 func _StreetViewPublishService_BatchDeletePhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1120 in := new(BatchDeletePhotosRequest)
1121 if err := dec(in); err != nil {
1122 return nil, err
1123 }
1124 if interceptor == nil {
1125 return srv.(StreetViewPublishServiceServer).BatchDeletePhotos(ctx, in)
1126 }
1127 info := &grpc.UnaryServerInfo{
1128 Server: srv,
1129 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchDeletePhotos",
1130 }
1131 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1132 return srv.(StreetViewPublishServiceServer).BatchDeletePhotos(ctx, req.(*BatchDeletePhotosRequest))
1133 }
1134 return interceptor(ctx, in, info, handler)
1135 }
1136
1137 func _StreetViewPublishService_StartPhotoSequenceUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1138 in := new(emptypb.Empty)
1139 if err := dec(in); err != nil {
1140 return nil, err
1141 }
1142 if interceptor == nil {
1143 return srv.(StreetViewPublishServiceServer).StartPhotoSequenceUpload(ctx, in)
1144 }
1145 info := &grpc.UnaryServerInfo{
1146 Server: srv,
1147 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/StartPhotoSequenceUpload",
1148 }
1149 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1150 return srv.(StreetViewPublishServiceServer).StartPhotoSequenceUpload(ctx, req.(*emptypb.Empty))
1151 }
1152 return interceptor(ctx, in, info, handler)
1153 }
1154
1155 func _StreetViewPublishService_CreatePhotoSequence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1156 in := new(CreatePhotoSequenceRequest)
1157 if err := dec(in); err != nil {
1158 return nil, err
1159 }
1160 if interceptor == nil {
1161 return srv.(StreetViewPublishServiceServer).CreatePhotoSequence(ctx, in)
1162 }
1163 info := &grpc.UnaryServerInfo{
1164 Server: srv,
1165 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/CreatePhotoSequence",
1166 }
1167 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1168 return srv.(StreetViewPublishServiceServer).CreatePhotoSequence(ctx, req.(*CreatePhotoSequenceRequest))
1169 }
1170 return interceptor(ctx, in, info, handler)
1171 }
1172
1173 func _StreetViewPublishService_GetPhotoSequence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1174 in := new(GetPhotoSequenceRequest)
1175 if err := dec(in); err != nil {
1176 return nil, err
1177 }
1178 if interceptor == nil {
1179 return srv.(StreetViewPublishServiceServer).GetPhotoSequence(ctx, in)
1180 }
1181 info := &grpc.UnaryServerInfo{
1182 Server: srv,
1183 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/GetPhotoSequence",
1184 }
1185 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1186 return srv.(StreetViewPublishServiceServer).GetPhotoSequence(ctx, req.(*GetPhotoSequenceRequest))
1187 }
1188 return interceptor(ctx, in, info, handler)
1189 }
1190
1191 func _StreetViewPublishService_ListPhotoSequences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1192 in := new(ListPhotoSequencesRequest)
1193 if err := dec(in); err != nil {
1194 return nil, err
1195 }
1196 if interceptor == nil {
1197 return srv.(StreetViewPublishServiceServer).ListPhotoSequences(ctx, in)
1198 }
1199 info := &grpc.UnaryServerInfo{
1200 Server: srv,
1201 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/ListPhotoSequences",
1202 }
1203 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1204 return srv.(StreetViewPublishServiceServer).ListPhotoSequences(ctx, req.(*ListPhotoSequencesRequest))
1205 }
1206 return interceptor(ctx, in, info, handler)
1207 }
1208
1209 func _StreetViewPublishService_DeletePhotoSequence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1210 in := new(DeletePhotoSequenceRequest)
1211 if err := dec(in); err != nil {
1212 return nil, err
1213 }
1214 if interceptor == nil {
1215 return srv.(StreetViewPublishServiceServer).DeletePhotoSequence(ctx, in)
1216 }
1217 info := &grpc.UnaryServerInfo{
1218 Server: srv,
1219 FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/DeletePhotoSequence",
1220 }
1221 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1222 return srv.(StreetViewPublishServiceServer).DeletePhotoSequence(ctx, req.(*DeletePhotoSequenceRequest))
1223 }
1224 return interceptor(ctx, in, info, handler)
1225 }
1226
1227 var _StreetViewPublishService_serviceDesc = grpc.ServiceDesc{
1228 ServiceName: "google.streetview.publish.v1.StreetViewPublishService",
1229 HandlerType: (*StreetViewPublishServiceServer)(nil),
1230 Methods: []grpc.MethodDesc{
1231 {
1232 MethodName: "StartUpload",
1233 Handler: _StreetViewPublishService_StartUpload_Handler,
1234 },
1235 {
1236 MethodName: "CreatePhoto",
1237 Handler: _StreetViewPublishService_CreatePhoto_Handler,
1238 },
1239 {
1240 MethodName: "GetPhoto",
1241 Handler: _StreetViewPublishService_GetPhoto_Handler,
1242 },
1243 {
1244 MethodName: "BatchGetPhotos",
1245 Handler: _StreetViewPublishService_BatchGetPhotos_Handler,
1246 },
1247 {
1248 MethodName: "ListPhotos",
1249 Handler: _StreetViewPublishService_ListPhotos_Handler,
1250 },
1251 {
1252 MethodName: "UpdatePhoto",
1253 Handler: _StreetViewPublishService_UpdatePhoto_Handler,
1254 },
1255 {
1256 MethodName: "BatchUpdatePhotos",
1257 Handler: _StreetViewPublishService_BatchUpdatePhotos_Handler,
1258 },
1259 {
1260 MethodName: "DeletePhoto",
1261 Handler: _StreetViewPublishService_DeletePhoto_Handler,
1262 },
1263 {
1264 MethodName: "BatchDeletePhotos",
1265 Handler: _StreetViewPublishService_BatchDeletePhotos_Handler,
1266 },
1267 {
1268 MethodName: "StartPhotoSequenceUpload",
1269 Handler: _StreetViewPublishService_StartPhotoSequenceUpload_Handler,
1270 },
1271 {
1272 MethodName: "CreatePhotoSequence",
1273 Handler: _StreetViewPublishService_CreatePhotoSequence_Handler,
1274 },
1275 {
1276 MethodName: "GetPhotoSequence",
1277 Handler: _StreetViewPublishService_GetPhotoSequence_Handler,
1278 },
1279 {
1280 MethodName: "ListPhotoSequences",
1281 Handler: _StreetViewPublishService_ListPhotoSequences_Handler,
1282 },
1283 {
1284 MethodName: "DeletePhotoSequence",
1285 Handler: _StreetViewPublishService_DeletePhotoSequence_Handler,
1286 },
1287 },
1288 Streams: []grpc.StreamDesc{},
1289 Metadata: "google/streetview/publish/v1/streetview_publish.proto",
1290 }