Debian Codegraph @

googleapis/streetview/publish/v1/streetview_publish.pb.go

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