1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/streetview/publish/v1/resources.proto
5 Package publish is a generated protocol buffer package.
7 It is generated from these files:
8 google/streetview/publish/v1/resources.proto
9 google/streetview/publish/v1/rpcmessages.proto
10 google/streetview/publish/v1/streetview_publish.proto
12 It has these top-level messages:
23 BatchGetPhotosResponse
28 BatchUpdatePhotosRequest
29 BatchUpdatePhotosResponse
31 BatchDeletePhotosRequest
32 BatchDeletePhotosResponse
36 import proto "github.com/golang/protobuf/proto"
39 import _ "google.golang.org/genproto/googleapis/api/annotations"
40 import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
41 import google_type "google.golang.org/genproto/googleapis/type/latlng"
43 // Reference imports to suppress errors if they are not otherwise used.
48 // This is a compile-time assertion to ensure that this generated file
49 // is compatible with the proto package it is being compiled against.
50 // A compilation error at this line likely means your copy of the
51 // proto package needs to be updated.
52 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
54 // Upload reference for media files.
55 type UploadRef struct {
56 // Required. An upload reference should be unique for each user. It follows
58 // "https://streetviewpublish.googleapis.com/media/user/<account_id>/photo/<upload_reference>"
59 UploadUrl string `protobuf:"bytes,1,opt,name=upload_url,json=uploadUrl" json:"upload_url,omitempty"`
62 func (m *UploadRef) Reset() { *m = UploadRef{} }
63 func (m *UploadRef) String() string { return proto.CompactTextString(m) }
64 func (*UploadRef) ProtoMessage() {}
65 func (*UploadRef) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
67 func (m *UploadRef) GetUploadUrl() string {
74 // Identifier for a photo.
76 // Required. A base64 encoded identifier.
77 Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
80 func (m *PhotoId) Reset() { *m = PhotoId{} }
81 func (m *PhotoId) String() string { return proto.CompactTextString(m) }
82 func (*PhotoId) ProtoMessage() {}
83 func (*PhotoId) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
85 func (m *PhotoId) GetId() string {
92 // Level information containing level number and its corresponding name.
94 // Floor number, used for ordering. 0 indicates the ground level, 1 indicates
95 // the first level above ground level, -1 indicates the first level under
96 // ground level. Non-integer values are OK.
97 Number float64 `protobuf:"fixed64,1,opt,name=number" json:"number,omitempty"`
98 // Required. A name assigned to this Level, restricted to 3 characters.
99 // Consider how the elevator buttons would be labeled for this level if there
101 Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
104 func (m *Level) Reset() { *m = Level{} }
105 func (m *Level) String() string { return proto.CompactTextString(m) }
106 func (*Level) ProtoMessage() {}
107 func (*Level) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
109 func (m *Level) GetNumber() float64 {
116 func (m *Level) GetName() string {
123 // Raw pose measurement for an entity.
125 // Latitude and longitude pair of the pose, as explained here:
126 // https://cloud.google.com/datastore/docs/reference/rest/Shared.Types/LatLng
127 // When creating a photo, if the latitude and longitude pair are not provided
128 // here, the geolocation from the exif header will be used.
129 // If the latitude and longitude pair is not provided and cannot be found in
130 // the exif header, the create photo process will fail.
131 LatLngPair *google_type.LatLng `protobuf:"bytes,1,opt,name=lat_lng_pair,json=latLngPair" json:"lat_lng_pair,omitempty"`
132 // Altitude of the pose in meters above ground level (as defined by WGS84).
133 // NaN indicates an unmeasured quantity.
134 Altitude float64 `protobuf:"fixed64,2,opt,name=altitude" json:"altitude,omitempty"`
135 // Compass heading, measured at the center of the photo in degrees clockwise
136 // from North. Value must be >=0 and <360.
137 // NaN indicates an unmeasured quantity.
138 Heading float64 `protobuf:"fixed64,3,opt,name=heading" json:"heading,omitempty"`
139 // Pitch, measured at the center of the photo in degrees. Value must be >=-90
140 // and <= 90. A value of -90 means looking directly down, and a value of 90
141 // means looking directly up.
142 // NaN indicates an unmeasured quantity.
143 Pitch float64 `protobuf:"fixed64,4,opt,name=pitch" json:"pitch,omitempty"`
144 // Roll, measured in degrees. Value must be >= 0 and <360. A value of 0
145 // means level with the horizon.
146 // NaN indicates an unmeasured quantity.
147 Roll float64 `protobuf:"fixed64,5,opt,name=roll" json:"roll,omitempty"`
148 // Level (the floor in a building) used to configure vertical navigation.
149 Level *Level `protobuf:"bytes,7,opt,name=level" json:"level,omitempty"`
152 func (m *Pose) Reset() { *m = Pose{} }
153 func (m *Pose) String() string { return proto.CompactTextString(m) }
154 func (*Pose) ProtoMessage() {}
155 func (*Pose) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
157 func (m *Pose) GetLatLngPair() *google_type.LatLng {
164 func (m *Pose) GetAltitude() float64 {
171 func (m *Pose) GetHeading() float64 {
178 func (m *Pose) GetPitch() float64 {
185 func (m *Pose) GetRoll() float64 {
192 func (m *Pose) GetLevel() *Level {
199 // Place metadata for an entity.
201 // Required. Place identifier, as described in
202 // https://developers.google.com/places/place-id.
203 PlaceId string `protobuf:"bytes,1,opt,name=place_id,json=placeId" json:"place_id,omitempty"`
206 func (m *Place) Reset() { *m = Place{} }
207 func (m *Place) String() string { return proto.CompactTextString(m) }
208 func (*Place) ProtoMessage() {}
209 func (*Place) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
211 func (m *Place) GetPlaceId() string {
218 // A connection is the link from a source photo to a destination photo.
219 type Connection struct {
220 // Required. The destination of the connection from the containing photo to
222 Target *PhotoId `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
225 func (m *Connection) Reset() { *m = Connection{} }
226 func (m *Connection) String() string { return proto.CompactTextString(m) }
227 func (*Connection) ProtoMessage() {}
228 func (*Connection) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
230 func (m *Connection) GetTarget() *PhotoId {
237 // Photo is used to store 360 photos along with photo metadata.
239 // Output only. Identifier for the photo, which is unique among all photos in
241 PhotoId *PhotoId `protobuf:"bytes,1,opt,name=photo_id,json=photoId" json:"photo_id,omitempty"`
242 // Required (when creating photo). Input only. The resource URL where the
243 // photo bytes are uploaded to.
244 UploadReference *UploadRef `protobuf:"bytes,2,opt,name=upload_reference,json=uploadReference" json:"upload_reference,omitempty"`
245 // Output only. The download URL for the photo bytes. This field is set only
246 // when the `view` parameter in a `GetPhotoRequest` is set to
247 // `INCLUDE_DOWNLOAD_URL`.
248 DownloadUrl string `protobuf:"bytes,3,opt,name=download_url,json=downloadUrl" json:"download_url,omitempty"`
249 // Output only. The thumbnail URL for showing a preview of the given photo.
250 ThumbnailUrl string `protobuf:"bytes,9,opt,name=thumbnail_url,json=thumbnailUrl" json:"thumbnail_url,omitempty"`
251 // Output only. The share link for the photo.
252 ShareLink string `protobuf:"bytes,11,opt,name=share_link,json=shareLink" json:"share_link,omitempty"`
253 // Pose of the photo.
254 Pose *Pose `protobuf:"bytes,4,opt,name=pose" json:"pose,omitempty"`
255 // Connections to other photos. A connection represents the link from this
256 // photo to another photo.
257 Connections []*Connection `protobuf:"bytes,5,rep,name=connections" json:"connections,omitempty"`
258 // Absolute time when the photo was captured.
259 // When the photo has no exif timestamp, this is used to set a timestamp in
260 // the photo metadata.
261 CaptureTime *google_protobuf1.Timestamp `protobuf:"bytes,6,opt,name=capture_time,json=captureTime" json:"capture_time,omitempty"`
262 // Places where this photo belongs.
263 Places []*Place `protobuf:"bytes,7,rep,name=places" json:"places,omitempty"`
264 // Output only. View count of the photo.
265 ViewCount int64 `protobuf:"varint,10,opt,name=view_count,json=viewCount" json:"view_count,omitempty"`
268 func (m *Photo) Reset() { *m = Photo{} }
269 func (m *Photo) String() string { return proto.CompactTextString(m) }
270 func (*Photo) ProtoMessage() {}
271 func (*Photo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
273 func (m *Photo) GetPhotoId() *PhotoId {
280 func (m *Photo) GetUploadReference() *UploadRef {
282 return m.UploadReference
287 func (m *Photo) GetDownloadUrl() string {
294 func (m *Photo) GetThumbnailUrl() string {
296 return m.ThumbnailUrl
301 func (m *Photo) GetShareLink() string {
308 func (m *Photo) GetPose() *Pose {
315 func (m *Photo) GetConnections() []*Connection {
322 func (m *Photo) GetCaptureTime() *google_protobuf1.Timestamp {
329 func (m *Photo) GetPlaces() []*Place {
336 func (m *Photo) GetViewCount() int64 {
344 proto.RegisterType((*UploadRef)(nil), "google.streetview.publish.v1.UploadRef")
345 proto.RegisterType((*PhotoId)(nil), "google.streetview.publish.v1.PhotoId")
346 proto.RegisterType((*Level)(nil), "google.streetview.publish.v1.Level")
347 proto.RegisterType((*Pose)(nil), "google.streetview.publish.v1.Pose")
348 proto.RegisterType((*Place)(nil), "google.streetview.publish.v1.Place")
349 proto.RegisterType((*Connection)(nil), "google.streetview.publish.v1.Connection")
350 proto.RegisterType((*Photo)(nil), "google.streetview.publish.v1.Photo")
353 func init() { proto.RegisterFile("google/streetview/publish/v1/resources.proto", fileDescriptor0) }
355 var fileDescriptor0 = []byte{
356 // 651 bytes of a gzipped FileDescriptorProto
357 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdb, 0x6a, 0xdb, 0x4c,
358 0x10, 0xc6, 0xf1, 0x29, 0x1e, 0xf9, 0x3f, 0xb0, 0xff, 0x4f, 0x51, 0x4c, 0x43, 0x53, 0x85, 0x52,
359 0x53, 0x8a, 0x44, 0x1c, 0x5a, 0x28, 0x21, 0x50, 0x92, 0xab, 0xb4, 0xbe, 0x30, 0xdb, 0xa6, 0x17,
360 0xbd, 0x11, 0x6b, 0x69, 0x22, 0x2f, 0x59, 0xef, 0x2e, 0xab, 0x95, 0x43, 0x9f, 0xa1, 0x8f, 0xd1,
361 0x97, 0xea, 0xe3, 0x14, 0xad, 0x56, 0x4e, 0x2f, 0x82, 0xd3, 0x2b, 0xcf, 0x7c, 0xf3, 0x7d, 0xe3,
362 0x39, 0xad, 0xe0, 0x75, 0xa1, 0x54, 0x21, 0x30, 0x29, 0xad, 0x41, 0xb4, 0x1b, 0x8e, 0x77, 0x89,
363 0xae, 0x96, 0x82, 0x97, 0xab, 0x64, 0x73, 0x92, 0x18, 0x2c, 0x55, 0x65, 0x32, 0x2c, 0x63, 0x6d,
364 0x94, 0x55, 0xe4, 0x69, 0xc3, 0x8e, 0xef, 0xd9, 0xb1, 0x67, 0xc7, 0x9b, 0x93, 0x89, 0x8f, 0x26,
365 0x4c, 0xf3, 0x84, 0x49, 0xa9, 0x2c, 0xb3, 0x5c, 0x49, 0xaf, 0x9d, 0x3c, 0xf3, 0x51, 0xe7, 0x2d,
366 0xab, 0x9b, 0xc4, 0xf2, 0x35, 0x96, 0x96, 0xad, 0xb5, 0x27, 0x84, 0x9e, 0x60, 0xbf, 0x69, 0x4c,
367 0x04, 0xb3, 0x42, 0x16, 0x4d, 0x24, 0x7a, 0x05, 0xa3, 0x6b, 0x2d, 0x14, 0xcb, 0x29, 0xde, 0x90,
368 0x43, 0x80, 0xca, 0x39, 0x69, 0x65, 0x44, 0xd8, 0x39, 0xea, 0x4c, 0x47, 0x74, 0xd4, 0x20, 0xd7,
369 0x46, 0x44, 0x07, 0x30, 0x5c, 0xac, 0x94, 0x55, 0x57, 0x39, 0xf9, 0x1b, 0xf6, 0x78, 0xee, 0x19,
370 0x7b, 0x3c, 0x8f, 0x4e, 0xa1, 0x3f, 0xc7, 0x0d, 0x0a, 0xf2, 0x04, 0x06, 0xb2, 0x5a, 0x2f, 0xd1,
371 0xb8, 0x60, 0x87, 0x7a, 0x8f, 0x10, 0xe8, 0x49, 0xb6, 0xc6, 0x70, 0xcf, 0x49, 0x9c, 0x1d, 0xfd,
372 0xec, 0x40, 0x6f, 0xa1, 0x4a, 0x24, 0x6f, 0x60, 0x2c, 0x98, 0x4d, 0x85, 0x2c, 0x52, 0xcd, 0x78,
373 0x23, 0x0d, 0x66, 0xff, 0xc5, 0x7e, 0x24, 0x75, 0xd5, 0xf1, 0x9c, 0xd9, 0xb9, 0x2c, 0x28, 0x08,
374 0xf7, 0xbb, 0x60, 0xdc, 0x90, 0x09, 0xec, 0x33, 0x61, 0xb9, 0xad, 0xf2, 0x26, 0x6f, 0x87, 0x6e,
375 0x7d, 0x12, 0xc2, 0x70, 0x85, 0x2c, 0xe7, 0xb2, 0x08, 0xbb, 0x2e, 0xd4, 0xba, 0xe4, 0x7f, 0xe8,
376 0x6b, 0x6e, 0xb3, 0x55, 0xd8, 0x73, 0x78, 0xe3, 0xd4, 0xf5, 0x19, 0x25, 0x44, 0xd8, 0x77, 0xa0,
377 0xb3, 0xc9, 0x3b, 0xe8, 0x8b, 0xba, 0xa9, 0x70, 0xe8, 0xea, 0x39, 0x8e, 0x77, 0xad, 0x28, 0x76,
378 0xfd, 0xd3, 0x46, 0x11, 0x45, 0xd0, 0x5f, 0x08, 0x96, 0x21, 0x39, 0x80, 0x7d, 0x5d, 0x1b, 0xe9,
379 0x76, 0x5c, 0x43, 0xe7, 0x5f, 0xe5, 0xd1, 0x47, 0x80, 0x4b, 0x25, 0x25, 0x66, 0xf5, 0x2a, 0xc9,
380 0x39, 0x0c, 0x2c, 0x33, 0x05, 0x5a, 0xdf, 0xfd, 0x8b, 0xdd, 0xff, 0xe6, 0x17, 0x41, 0xbd, 0x28,
381 0xfa, 0xd1, 0x83, 0xbe, 0xc3, 0xc8, 0x7b, 0xd8, 0xd7, 0xb5, 0xd1, 0xfe, 0xe3, 0x1f, 0xa7, 0x1a,
382 0x6a, 0xbf, 0x5c, 0x0a, 0xff, 0xfa, 0x33, 0x30, 0x78, 0x83, 0x06, 0x65, 0xd6, 0xcc, 0x37, 0x98,
383 0xbd, 0xdc, 0x9d, 0x69, 0x7b, 0x49, 0xf4, 0x9f, 0xaa, 0x35, 0x1b, 0x3d, 0x79, 0x0e, 0xe3, 0x5c,
384 0xdd, 0xc9, 0xed, 0x71, 0x75, 0xdd, 0x2c, 0x82, 0x16, 0xbb, 0x36, 0x82, 0x1c, 0xc3, 0x5f, 0x76,
385 0x55, 0xad, 0x97, 0x92, 0x71, 0xe1, 0x38, 0x23, 0xc7, 0x19, 0x6f, 0xc1, 0x9a, 0x74, 0x08, 0x50,
386 0xae, 0x98, 0xc1, 0x54, 0x70, 0x79, 0x1b, 0x06, 0xcd, 0x89, 0x3a, 0x64, 0xce, 0xe5, 0x2d, 0x79,
387 0x0b, 0x3d, 0xad, 0x4a, 0x74, 0xbb, 0x0d, 0x66, 0xd1, 0x23, 0x8d, 0xab, 0x12, 0xa9, 0xe3, 0x93,
388 0x0f, 0x10, 0x64, 0xdb, 0x5d, 0x94, 0x61, 0xff, 0xa8, 0x3b, 0x0d, 0x66, 0xd3, 0xdd, 0xf2, 0xfb,
389 0xe5, 0xd1, 0xdf, 0xc5, 0xe4, 0x1c, 0xc6, 0x19, 0xd3, 0xb6, 0x32, 0x98, 0xd6, 0xef, 0x30, 0x1c,
390 0xb8, 0x5a, 0x26, 0x6d, 0xb2, 0xf6, 0x91, 0xc6, 0x9f, 0xdb, 0x47, 0x4a, 0x03, 0xcf, 0xaf, 0x11,
391 0x72, 0x06, 0x03, 0x77, 0x21, 0x65, 0x38, 0x74, 0x55, 0x3c, 0x72, 0x76, 0xee, 0xcc, 0xa8, 0x97,
392 0xd4, 0xe3, 0xa9, 0x09, 0x69, 0xa6, 0x2a, 0x69, 0x43, 0x38, 0xea, 0x4c, 0xbb, 0x74, 0x54, 0x23,
393 0x97, 0x35, 0x70, 0xf1, 0xbd, 0x03, 0xd3, 0x4c, 0xad, 0xdb, 0x8c, 0x05, 0xaa, 0xb8, 0x2a, 0xb2,
394 0x87, 0x33, 0x5f, 0x4c, 0x3e, 0x39, 0xf8, 0x0b, 0xc7, 0xbb, 0x45, 0x83, 0xd2, 0xf6, 0x9b, 0xf5,
395 0xf5, 0xb2, 0xcd, 0xa0, 0x04, 0x93, 0x45, 0xac, 0x4c, 0x91, 0x14, 0x28, 0x5d, 0x6b, 0x49, 0x13,
396 0x62, 0x9a, 0x97, 0x0f, 0x7f, 0xfa, 0xce, 0xbc, 0xb9, 0x1c, 0x38, 0xfe, 0xe9, 0xaf, 0x00, 0x00,
397 0x00, 0xff, 0xff, 0xad, 0x4e, 0x7a, 0x51, 0x29, 0x05, 0x00, 0x00,