Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

682 righe
26 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/streetview/publish/v1/resources.proto
  3. package publish // import "google.golang.org/genproto/googleapis/streetview/publish/v1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  8. import _ "google.golang.org/genproto/googleapis/api/annotations"
  9. import latlng "google.golang.org/genproto/googleapis/type/latlng"
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  19. // Status of rights transfer.
  20. type Photo_TransferStatus int32
  21. const (
  22. // The status of this transfer is unspecified.
  23. Photo_TRANSFER_STATUS_UNKNOWN Photo_TransferStatus = 0
  24. // This photo has never been in a transfer.
  25. Photo_NEVER_TRANSFERRED Photo_TransferStatus = 1
  26. // This photo transfer has been initiated, but the receiver has not yet
  27. // responded.
  28. Photo_PENDING Photo_TransferStatus = 2
  29. // The photo transfer has been completed, and this photo has been
  30. // transferred to the recipient.
  31. Photo_COMPLETED Photo_TransferStatus = 3
  32. // The recipient rejected this photo transfer.
  33. Photo_REJECTED Photo_TransferStatus = 4
  34. // The photo transfer expired before the recipient took any action.
  35. Photo_EXPIRED Photo_TransferStatus = 5
  36. // The sender cancelled this photo transfer.
  37. Photo_CANCELLED Photo_TransferStatus = 6
  38. // The recipient owns this photo due to a rights transfer.
  39. Photo_RECEIVED_VIA_TRANSFER Photo_TransferStatus = 7
  40. )
  41. var Photo_TransferStatus_name = map[int32]string{
  42. 0: "TRANSFER_STATUS_UNKNOWN",
  43. 1: "NEVER_TRANSFERRED",
  44. 2: "PENDING",
  45. 3: "COMPLETED",
  46. 4: "REJECTED",
  47. 5: "EXPIRED",
  48. 6: "CANCELLED",
  49. 7: "RECEIVED_VIA_TRANSFER",
  50. }
  51. var Photo_TransferStatus_value = map[string]int32{
  52. "TRANSFER_STATUS_UNKNOWN": 0,
  53. "NEVER_TRANSFERRED": 1,
  54. "PENDING": 2,
  55. "COMPLETED": 3,
  56. "REJECTED": 4,
  57. "EXPIRED": 5,
  58. "CANCELLED": 6,
  59. "RECEIVED_VIA_TRANSFER": 7,
  60. }
  61. func (x Photo_TransferStatus) String() string {
  62. return proto.EnumName(Photo_TransferStatus_name, int32(x))
  63. }
  64. func (Photo_TransferStatus) EnumDescriptor() ([]byte, []int) {
  65. return fileDescriptor_resources_b993b06e21d9eff4, []int{6, 0}
  66. }
  67. // Publication status of the photo in Google Maps.
  68. type Photo_MapsPublishStatus int32
  69. const (
  70. // The status of the photo is unknown.
  71. Photo_UNSPECIFIED_MAPS_PUBLISH_STATUS Photo_MapsPublishStatus = 0
  72. // The photo is published to the public through Google Maps.
  73. Photo_PUBLISHED Photo_MapsPublishStatus = 1
  74. // The photo has been rejected for an unknown reason.
  75. Photo_REJECTED_UNKNOWN Photo_MapsPublishStatus = 2
  76. )
  77. var Photo_MapsPublishStatus_name = map[int32]string{
  78. 0: "UNSPECIFIED_MAPS_PUBLISH_STATUS",
  79. 1: "PUBLISHED",
  80. 2: "REJECTED_UNKNOWN",
  81. }
  82. var Photo_MapsPublishStatus_value = map[string]int32{
  83. "UNSPECIFIED_MAPS_PUBLISH_STATUS": 0,
  84. "PUBLISHED": 1,
  85. "REJECTED_UNKNOWN": 2,
  86. }
  87. func (x Photo_MapsPublishStatus) String() string {
  88. return proto.EnumName(Photo_MapsPublishStatus_name, int32(x))
  89. }
  90. func (Photo_MapsPublishStatus) EnumDescriptor() ([]byte, []int) {
  91. return fileDescriptor_resources_b993b06e21d9eff4, []int{6, 1}
  92. }
  93. // Upload reference for media files.
  94. type UploadRef struct {
  95. // Required. An upload reference should be unique for each user. It follows
  96. // the form:
  97. // "https://streetviewpublish.googleapis.com/media/user/{account_id}/photo/{upload_reference}"
  98. UploadUrl string `protobuf:"bytes,1,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
  99. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  100. XXX_unrecognized []byte `json:"-"`
  101. XXX_sizecache int32 `json:"-"`
  102. }
  103. func (m *UploadRef) Reset() { *m = UploadRef{} }
  104. func (m *UploadRef) String() string { return proto.CompactTextString(m) }
  105. func (*UploadRef) ProtoMessage() {}
  106. func (*UploadRef) Descriptor() ([]byte, []int) {
  107. return fileDescriptor_resources_b993b06e21d9eff4, []int{0}
  108. }
  109. func (m *UploadRef) XXX_Unmarshal(b []byte) error {
  110. return xxx_messageInfo_UploadRef.Unmarshal(m, b)
  111. }
  112. func (m *UploadRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  113. return xxx_messageInfo_UploadRef.Marshal(b, m, deterministic)
  114. }
  115. func (dst *UploadRef) XXX_Merge(src proto.Message) {
  116. xxx_messageInfo_UploadRef.Merge(dst, src)
  117. }
  118. func (m *UploadRef) XXX_Size() int {
  119. return xxx_messageInfo_UploadRef.Size(m)
  120. }
  121. func (m *UploadRef) XXX_DiscardUnknown() {
  122. xxx_messageInfo_UploadRef.DiscardUnknown(m)
  123. }
  124. var xxx_messageInfo_UploadRef proto.InternalMessageInfo
  125. func (m *UploadRef) GetUploadUrl() string {
  126. if m != nil {
  127. return m.UploadUrl
  128. }
  129. return ""
  130. }
  131. // Identifier for a [Photo][google.streetview.publish.v1.Photo].
  132. type PhotoId struct {
  133. // Required. A unique identifier for a photo.
  134. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  135. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  136. XXX_unrecognized []byte `json:"-"`
  137. XXX_sizecache int32 `json:"-"`
  138. }
  139. func (m *PhotoId) Reset() { *m = PhotoId{} }
  140. func (m *PhotoId) String() string { return proto.CompactTextString(m) }
  141. func (*PhotoId) ProtoMessage() {}
  142. func (*PhotoId) Descriptor() ([]byte, []int) {
  143. return fileDescriptor_resources_b993b06e21d9eff4, []int{1}
  144. }
  145. func (m *PhotoId) XXX_Unmarshal(b []byte) error {
  146. return xxx_messageInfo_PhotoId.Unmarshal(m, b)
  147. }
  148. func (m *PhotoId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  149. return xxx_messageInfo_PhotoId.Marshal(b, m, deterministic)
  150. }
  151. func (dst *PhotoId) XXX_Merge(src proto.Message) {
  152. xxx_messageInfo_PhotoId.Merge(dst, src)
  153. }
  154. func (m *PhotoId) XXX_Size() int {
  155. return xxx_messageInfo_PhotoId.Size(m)
  156. }
  157. func (m *PhotoId) XXX_DiscardUnknown() {
  158. xxx_messageInfo_PhotoId.DiscardUnknown(m)
  159. }
  160. var xxx_messageInfo_PhotoId proto.InternalMessageInfo
  161. func (m *PhotoId) GetId() string {
  162. if m != nil {
  163. return m.Id
  164. }
  165. return ""
  166. }
  167. // Level information containing level number and its corresponding name.
  168. type Level struct {
  169. // Floor number, used for ordering. 0 indicates the ground level, 1 indicates
  170. // the first level above ground level, -1 indicates the first level under
  171. // ground level. Non-integer values are OK.
  172. Number float64 `protobuf:"fixed64,1,opt,name=number,proto3" json:"number,omitempty"`
  173. // Required. A name assigned to this Level, restricted to 3 characters.
  174. // Consider how the elevator buttons would be labeled for this level if there
  175. // was an elevator.
  176. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  177. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  178. XXX_unrecognized []byte `json:"-"`
  179. XXX_sizecache int32 `json:"-"`
  180. }
  181. func (m *Level) Reset() { *m = Level{} }
  182. func (m *Level) String() string { return proto.CompactTextString(m) }
  183. func (*Level) ProtoMessage() {}
  184. func (*Level) Descriptor() ([]byte, []int) {
  185. return fileDescriptor_resources_b993b06e21d9eff4, []int{2}
  186. }
  187. func (m *Level) XXX_Unmarshal(b []byte) error {
  188. return xxx_messageInfo_Level.Unmarshal(m, b)
  189. }
  190. func (m *Level) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  191. return xxx_messageInfo_Level.Marshal(b, m, deterministic)
  192. }
  193. func (dst *Level) XXX_Merge(src proto.Message) {
  194. xxx_messageInfo_Level.Merge(dst, src)
  195. }
  196. func (m *Level) XXX_Size() int {
  197. return xxx_messageInfo_Level.Size(m)
  198. }
  199. func (m *Level) XXX_DiscardUnknown() {
  200. xxx_messageInfo_Level.DiscardUnknown(m)
  201. }
  202. var xxx_messageInfo_Level proto.InternalMessageInfo
  203. func (m *Level) GetNumber() float64 {
  204. if m != nil {
  205. return m.Number
  206. }
  207. return 0
  208. }
  209. func (m *Level) GetName() string {
  210. if m != nil {
  211. return m.Name
  212. }
  213. return ""
  214. }
  215. // Raw pose measurement for an entity.
  216. type Pose struct {
  217. // Latitude and longitude pair of the pose, as explained here:
  218. // https://cloud.google.com/datastore/docs/reference/rest/Shared.Types/LatLng
  219. // When creating a [Photo][google.streetview.publish.v1.Photo], if the
  220. // latitude and longitude pair are not provided, the geolocation from the
  221. // exif header is used. A latitude and longitude pair not provided in the
  222. // photo or exif header causes the create photo process to fail.
  223. LatLngPair *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng_pair,json=latLngPair,proto3" json:"lat_lng_pair,omitempty"`
  224. // Altitude of the pose in meters above WGS84 ellipsoid.
  225. // NaN indicates an unmeasured quantity.
  226. Altitude float64 `protobuf:"fixed64,2,opt,name=altitude,proto3" json:"altitude,omitempty"`
  227. // Compass heading, measured at the center of the photo in degrees clockwise
  228. // from North. Value must be >=0 and <360.
  229. // NaN indicates an unmeasured quantity.
  230. Heading float64 `protobuf:"fixed64,3,opt,name=heading,proto3" json:"heading,omitempty"`
  231. // Pitch, measured at the center of the photo in degrees. Value must be >=-90
  232. // and <= 90. A value of -90 means looking directly down, and a value of 90
  233. // means looking directly up.
  234. // NaN indicates an unmeasured quantity.
  235. Pitch float64 `protobuf:"fixed64,4,opt,name=pitch,proto3" json:"pitch,omitempty"`
  236. // Roll, measured in degrees. Value must be >= 0 and <360. A value of 0
  237. // means level with the horizon.
  238. // NaN indicates an unmeasured quantity.
  239. Roll float64 `protobuf:"fixed64,5,opt,name=roll,proto3" json:"roll,omitempty"`
  240. // Level (the floor in a building) used to configure vertical navigation.
  241. Level *Level `protobuf:"bytes,7,opt,name=level,proto3" json:"level,omitempty"`
  242. // The estimated horizontal accuracy of this pose in meters with 68%
  243. // confidence (one standard deviation). For example, on Android, this value is
  244. // available from this method:
  245. // https://developer.android.com/reference/android/location/Location#getAccuracy().
  246. // Other platforms have different methods of obtaining similar accuracy
  247. // estimations.
  248. AccuracyMeters float32 `protobuf:"fixed32,9,opt,name=accuracy_meters,json=accuracyMeters,proto3" json:"accuracy_meters,omitempty"`
  249. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  250. XXX_unrecognized []byte `json:"-"`
  251. XXX_sizecache int32 `json:"-"`
  252. }
  253. func (m *Pose) Reset() { *m = Pose{} }
  254. func (m *Pose) String() string { return proto.CompactTextString(m) }
  255. func (*Pose) ProtoMessage() {}
  256. func (*Pose) Descriptor() ([]byte, []int) {
  257. return fileDescriptor_resources_b993b06e21d9eff4, []int{3}
  258. }
  259. func (m *Pose) XXX_Unmarshal(b []byte) error {
  260. return xxx_messageInfo_Pose.Unmarshal(m, b)
  261. }
  262. func (m *Pose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  263. return xxx_messageInfo_Pose.Marshal(b, m, deterministic)
  264. }
  265. func (dst *Pose) XXX_Merge(src proto.Message) {
  266. xxx_messageInfo_Pose.Merge(dst, src)
  267. }
  268. func (m *Pose) XXX_Size() int {
  269. return xxx_messageInfo_Pose.Size(m)
  270. }
  271. func (m *Pose) XXX_DiscardUnknown() {
  272. xxx_messageInfo_Pose.DiscardUnknown(m)
  273. }
  274. var xxx_messageInfo_Pose proto.InternalMessageInfo
  275. func (m *Pose) GetLatLngPair() *latlng.LatLng {
  276. if m != nil {
  277. return m.LatLngPair
  278. }
  279. return nil
  280. }
  281. func (m *Pose) GetAltitude() float64 {
  282. if m != nil {
  283. return m.Altitude
  284. }
  285. return 0
  286. }
  287. func (m *Pose) GetHeading() float64 {
  288. if m != nil {
  289. return m.Heading
  290. }
  291. return 0
  292. }
  293. func (m *Pose) GetPitch() float64 {
  294. if m != nil {
  295. return m.Pitch
  296. }
  297. return 0
  298. }
  299. func (m *Pose) GetRoll() float64 {
  300. if m != nil {
  301. return m.Roll
  302. }
  303. return 0
  304. }
  305. func (m *Pose) GetLevel() *Level {
  306. if m != nil {
  307. return m.Level
  308. }
  309. return nil
  310. }
  311. func (m *Pose) GetAccuracyMeters() float32 {
  312. if m != nil {
  313. return m.AccuracyMeters
  314. }
  315. return 0
  316. }
  317. // Place metadata for an entity.
  318. type Place struct {
  319. // Place identifier, as described in
  320. // https://developers.google.com/places/place-id.
  321. PlaceId string `protobuf:"bytes,1,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"`
  322. // Output-only. The name of the place, localized to the language_code.
  323. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  324. // Output-only. The language_code that the name is localized with. This should
  325. // be the language_code specified in the request, but may be a fallback.
  326. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
  327. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  328. XXX_unrecognized []byte `json:"-"`
  329. XXX_sizecache int32 `json:"-"`
  330. }
  331. func (m *Place) Reset() { *m = Place{} }
  332. func (m *Place) String() string { return proto.CompactTextString(m) }
  333. func (*Place) ProtoMessage() {}
  334. func (*Place) Descriptor() ([]byte, []int) {
  335. return fileDescriptor_resources_b993b06e21d9eff4, []int{4}
  336. }
  337. func (m *Place) XXX_Unmarshal(b []byte) error {
  338. return xxx_messageInfo_Place.Unmarshal(m, b)
  339. }
  340. func (m *Place) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  341. return xxx_messageInfo_Place.Marshal(b, m, deterministic)
  342. }
  343. func (dst *Place) XXX_Merge(src proto.Message) {
  344. xxx_messageInfo_Place.Merge(dst, src)
  345. }
  346. func (m *Place) XXX_Size() int {
  347. return xxx_messageInfo_Place.Size(m)
  348. }
  349. func (m *Place) XXX_DiscardUnknown() {
  350. xxx_messageInfo_Place.DiscardUnknown(m)
  351. }
  352. var xxx_messageInfo_Place proto.InternalMessageInfo
  353. func (m *Place) GetPlaceId() string {
  354. if m != nil {
  355. return m.PlaceId
  356. }
  357. return ""
  358. }
  359. func (m *Place) GetName() string {
  360. if m != nil {
  361. return m.Name
  362. }
  363. return ""
  364. }
  365. func (m *Place) GetLanguageCode() string {
  366. if m != nil {
  367. return m.LanguageCode
  368. }
  369. return ""
  370. }
  371. // A connection is the link from a source photo to a destination photo.
  372. type Connection struct {
  373. // Required. The destination of the connection from the containing photo to
  374. // another photo.
  375. Target *PhotoId `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
  376. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  377. XXX_unrecognized []byte `json:"-"`
  378. XXX_sizecache int32 `json:"-"`
  379. }
  380. func (m *Connection) Reset() { *m = Connection{} }
  381. func (m *Connection) String() string { return proto.CompactTextString(m) }
  382. func (*Connection) ProtoMessage() {}
  383. func (*Connection) Descriptor() ([]byte, []int) {
  384. return fileDescriptor_resources_b993b06e21d9eff4, []int{5}
  385. }
  386. func (m *Connection) XXX_Unmarshal(b []byte) error {
  387. return xxx_messageInfo_Connection.Unmarshal(m, b)
  388. }
  389. func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  390. return xxx_messageInfo_Connection.Marshal(b, m, deterministic)
  391. }
  392. func (dst *Connection) XXX_Merge(src proto.Message) {
  393. xxx_messageInfo_Connection.Merge(dst, src)
  394. }
  395. func (m *Connection) XXX_Size() int {
  396. return xxx_messageInfo_Connection.Size(m)
  397. }
  398. func (m *Connection) XXX_DiscardUnknown() {
  399. xxx_messageInfo_Connection.DiscardUnknown(m)
  400. }
  401. var xxx_messageInfo_Connection proto.InternalMessageInfo
  402. func (m *Connection) GetTarget() *PhotoId {
  403. if m != nil {
  404. return m.Target
  405. }
  406. return nil
  407. }
  408. // Photo is used to store 360 photos along with photo metadata.
  409. type Photo struct {
  410. // Required when updating a photo. Output only when creating a photo.
  411. // Identifier for the photo, which is unique among all photos in
  412. // Google.
  413. PhotoId *PhotoId `protobuf:"bytes,1,opt,name=photo_id,json=photoId,proto3" json:"photo_id,omitempty"`
  414. // Required when creating a photo. Input only. The resource URL where the
  415. // photo bytes are uploaded to.
  416. UploadReference *UploadRef `protobuf:"bytes,2,opt,name=upload_reference,json=uploadReference,proto3" json:"upload_reference,omitempty"`
  417. // Output only. The download URL for the photo bytes. This field is set only
  418. // when
  419. // [GetPhotoRequest.view][google.streetview.publish.v1.GetPhotoRequest.view]
  420. // is set to
  421. // [PhotoView.INCLUDE_DOWNLOAD_URL][google.streetview.publish.v1.PhotoView.INCLUDE_DOWNLOAD_URL].
  422. DownloadUrl string `protobuf:"bytes,3,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
  423. // Output only. The thumbnail URL for showing a preview of the given photo.
  424. ThumbnailUrl string `protobuf:"bytes,9,opt,name=thumbnail_url,json=thumbnailUrl,proto3" json:"thumbnail_url,omitempty"`
  425. // Output only. The share link for the photo.
  426. ShareLink string `protobuf:"bytes,11,opt,name=share_link,json=shareLink,proto3" json:"share_link,omitempty"`
  427. // Pose of the photo.
  428. Pose *Pose `protobuf:"bytes,4,opt,name=pose,proto3" json:"pose,omitempty"`
  429. // Connections to other photos. A connection represents the link from this
  430. // photo to another photo.
  431. Connections []*Connection `protobuf:"bytes,5,rep,name=connections,proto3" json:"connections,omitempty"`
  432. // Absolute time when the photo was captured.
  433. // When the photo has no exif timestamp, this is used to set a timestamp in
  434. // the photo metadata.
  435. CaptureTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=capture_time,json=captureTime,proto3" json:"capture_time,omitempty"`
  436. // Places where this photo belongs.
  437. Places []*Place `protobuf:"bytes,7,rep,name=places,proto3" json:"places,omitempty"`
  438. // Output only. View count of the photo.
  439. ViewCount int64 `protobuf:"varint,10,opt,name=view_count,json=viewCount,proto3" json:"view_count,omitempty"`
  440. // Output only. Status of rights transfer on this photo.
  441. TransferStatus Photo_TransferStatus `protobuf:"varint,12,opt,name=transfer_status,json=transferStatus,proto3,enum=google.streetview.publish.v1.Photo_TransferStatus" json:"transfer_status,omitempty"`
  442. // Output only. Status in Google Maps, whether this photo was published or
  443. // rejected.
  444. MapsPublishStatus Photo_MapsPublishStatus `protobuf:"varint,13,opt,name=maps_publish_status,json=mapsPublishStatus,proto3,enum=google.streetview.publish.v1.Photo_MapsPublishStatus" json:"maps_publish_status,omitempty"`
  445. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  446. XXX_unrecognized []byte `json:"-"`
  447. XXX_sizecache int32 `json:"-"`
  448. }
  449. func (m *Photo) Reset() { *m = Photo{} }
  450. func (m *Photo) String() string { return proto.CompactTextString(m) }
  451. func (*Photo) ProtoMessage() {}
  452. func (*Photo) Descriptor() ([]byte, []int) {
  453. return fileDescriptor_resources_b993b06e21d9eff4, []int{6}
  454. }
  455. func (m *Photo) XXX_Unmarshal(b []byte) error {
  456. return xxx_messageInfo_Photo.Unmarshal(m, b)
  457. }
  458. func (m *Photo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  459. return xxx_messageInfo_Photo.Marshal(b, m, deterministic)
  460. }
  461. func (dst *Photo) XXX_Merge(src proto.Message) {
  462. xxx_messageInfo_Photo.Merge(dst, src)
  463. }
  464. func (m *Photo) XXX_Size() int {
  465. return xxx_messageInfo_Photo.Size(m)
  466. }
  467. func (m *Photo) XXX_DiscardUnknown() {
  468. xxx_messageInfo_Photo.DiscardUnknown(m)
  469. }
  470. var xxx_messageInfo_Photo proto.InternalMessageInfo
  471. func (m *Photo) GetPhotoId() *PhotoId {
  472. if m != nil {
  473. return m.PhotoId
  474. }
  475. return nil
  476. }
  477. func (m *Photo) GetUploadReference() *UploadRef {
  478. if m != nil {
  479. return m.UploadReference
  480. }
  481. return nil
  482. }
  483. func (m *Photo) GetDownloadUrl() string {
  484. if m != nil {
  485. return m.DownloadUrl
  486. }
  487. return ""
  488. }
  489. func (m *Photo) GetThumbnailUrl() string {
  490. if m != nil {
  491. return m.ThumbnailUrl
  492. }
  493. return ""
  494. }
  495. func (m *Photo) GetShareLink() string {
  496. if m != nil {
  497. return m.ShareLink
  498. }
  499. return ""
  500. }
  501. func (m *Photo) GetPose() *Pose {
  502. if m != nil {
  503. return m.Pose
  504. }
  505. return nil
  506. }
  507. func (m *Photo) GetConnections() []*Connection {
  508. if m != nil {
  509. return m.Connections
  510. }
  511. return nil
  512. }
  513. func (m *Photo) GetCaptureTime() *timestamp.Timestamp {
  514. if m != nil {
  515. return m.CaptureTime
  516. }
  517. return nil
  518. }
  519. func (m *Photo) GetPlaces() []*Place {
  520. if m != nil {
  521. return m.Places
  522. }
  523. return nil
  524. }
  525. func (m *Photo) GetViewCount() int64 {
  526. if m != nil {
  527. return m.ViewCount
  528. }
  529. return 0
  530. }
  531. func (m *Photo) GetTransferStatus() Photo_TransferStatus {
  532. if m != nil {
  533. return m.TransferStatus
  534. }
  535. return Photo_TRANSFER_STATUS_UNKNOWN
  536. }
  537. func (m *Photo) GetMapsPublishStatus() Photo_MapsPublishStatus {
  538. if m != nil {
  539. return m.MapsPublishStatus
  540. }
  541. return Photo_UNSPECIFIED_MAPS_PUBLISH_STATUS
  542. }
  543. func init() {
  544. proto.RegisterType((*UploadRef)(nil), "google.streetview.publish.v1.UploadRef")
  545. proto.RegisterType((*PhotoId)(nil), "google.streetview.publish.v1.PhotoId")
  546. proto.RegisterType((*Level)(nil), "google.streetview.publish.v1.Level")
  547. proto.RegisterType((*Pose)(nil), "google.streetview.publish.v1.Pose")
  548. proto.RegisterType((*Place)(nil), "google.streetview.publish.v1.Place")
  549. proto.RegisterType((*Connection)(nil), "google.streetview.publish.v1.Connection")
  550. proto.RegisterType((*Photo)(nil), "google.streetview.publish.v1.Photo")
  551. proto.RegisterEnum("google.streetview.publish.v1.Photo_TransferStatus", Photo_TransferStatus_name, Photo_TransferStatus_value)
  552. proto.RegisterEnum("google.streetview.publish.v1.Photo_MapsPublishStatus", Photo_MapsPublishStatus_name, Photo_MapsPublishStatus_value)
  553. }
  554. func init() {
  555. proto.RegisterFile("google/streetview/publish/v1/resources.proto", fileDescriptor_resources_b993b06e21d9eff4)
  556. }
  557. var fileDescriptor_resources_b993b06e21d9eff4 = []byte{
  558. // 940 bytes of a gzipped FileDescriptorProto
  559. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x6f, 0x6f, 0xdb, 0xb6,
  560. 0x13, 0xae, 0x9d, 0xd8, 0x8e, 0xcf, 0x4e, 0xe2, 0xb0, 0xed, 0xef, 0xa7, 0x64, 0x2b, 0x9a, 0x29,
  561. 0x18, 0x6a, 0x0c, 0x83, 0x84, 0xba, 0xe8, 0x80, 0xa1, 0x28, 0xb0, 0xc4, 0x56, 0x37, 0xb7, 0x8e,
  562. 0x2b, 0xd0, 0x76, 0x36, 0xac, 0x18, 0x04, 0x5a, 0x62, 0x64, 0xa1, 0x34, 0x29, 0x50, 0x54, 0x82,
  563. 0xbe, 0xdc, 0xeb, 0x7d, 0x8e, 0x7d, 0xbd, 0x7d, 0x86, 0x41, 0x14, 0xe5, 0xae, 0x5b, 0x90, 0xe6,
  564. 0x95, 0xef, 0x9e, 0x7b, 0x1e, 0xde, 0x1f, 0x9e, 0x29, 0xf8, 0x36, 0x16, 0x22, 0x66, 0xd4, 0xcd,
  565. 0x94, 0xa4, 0x54, 0x5d, 0x25, 0xf4, 0xda, 0x4d, 0xf3, 0x25, 0x4b, 0xb2, 0x95, 0x7b, 0xf5, 0xd4,
  566. 0x95, 0x34, 0x13, 0xb9, 0x0c, 0x69, 0xe6, 0xa4, 0x52, 0x28, 0x81, 0xbe, 0x2c, 0xd9, 0xce, 0x47,
  567. 0xb6, 0x63, 0xd8, 0xce, 0xd5, 0xd3, 0x23, 0x13, 0x75, 0x49, 0x9a, 0xb8, 0x84, 0x73, 0xa1, 0x88,
  568. 0x4a, 0x04, 0x37, 0xda, 0xa3, 0xc7, 0x26, 0xaa, 0xbd, 0x65, 0x7e, 0xe9, 0xaa, 0x64, 0x4d, 0x33,
  569. 0x45, 0xd6, 0xa9, 0x21, 0x58, 0x86, 0xa0, 0x3e, 0xa4, 0xd4, 0x65, 0x44, 0x31, 0x1e, 0x97, 0x11,
  570. 0xfb, 0x1b, 0x68, 0x2f, 0x52, 0x26, 0x48, 0x84, 0xe9, 0x25, 0x7a, 0x04, 0x90, 0x6b, 0x27, 0xc8,
  571. 0x25, 0xb3, 0x6a, 0xc7, 0xb5, 0x7e, 0x1b, 0xb7, 0x4b, 0x64, 0x21, 0x99, 0x7d, 0x08, 0x2d, 0x7f,
  572. 0x25, 0x94, 0x18, 0x47, 0x68, 0x0f, 0xea, 0x49, 0x64, 0x18, 0xf5, 0x24, 0xb2, 0x9f, 0x41, 0x63,
  573. 0x42, 0xaf, 0x28, 0x43, 0xff, 0x83, 0x26, 0xcf, 0xd7, 0x4b, 0x2a, 0x75, 0xb0, 0x86, 0x8d, 0x87,
  574. 0x10, 0x6c, 0x73, 0xb2, 0xa6, 0x56, 0x5d, 0x4b, 0xb4, 0x6d, 0xff, 0x5e, 0x87, 0x6d, 0x5f, 0x64,
  575. 0x14, 0x3d, 0x87, 0x2e, 0x23, 0x2a, 0x60, 0x3c, 0x0e, 0x52, 0x92, 0x94, 0xd2, 0xce, 0xe0, 0xbe,
  576. 0x63, 0x46, 0x52, 0x54, 0xed, 0x4c, 0x88, 0x9a, 0xf0, 0x18, 0x03, 0xd3, 0xbf, 0x3e, 0x49, 0x24,
  577. 0x3a, 0x82, 0x1d, 0xc2, 0x54, 0xa2, 0xf2, 0xa8, 0x3c, 0xb7, 0x86, 0x37, 0x3e, 0xb2, 0xa0, 0xb5,
  578. 0xa2, 0x24, 0x4a, 0x78, 0x6c, 0x6d, 0xe9, 0x50, 0xe5, 0xa2, 0x07, 0xd0, 0x48, 0x13, 0x15, 0xae,
  579. 0xac, 0x6d, 0x8d, 0x97, 0x4e, 0x51, 0x9f, 0x14, 0x8c, 0x59, 0x0d, 0x0d, 0x6a, 0x1b, 0x7d, 0x0f,
  580. 0x0d, 0x56, 0x34, 0x65, 0xb5, 0x74, 0x3d, 0x27, 0xce, 0x6d, 0x57, 0xe4, 0xe8, 0xfe, 0x71, 0xa9,
  581. 0x40, 0x4f, 0x60, 0x9f, 0x84, 0x61, 0x2e, 0x49, 0xf8, 0x21, 0x58, 0x53, 0x45, 0x65, 0x66, 0xb5,
  582. 0x8f, 0x6b, 0xfd, 0x3a, 0xde, 0xab, 0xe0, 0x73, 0x8d, 0xda, 0xef, 0xa0, 0xe1, 0x33, 0x12, 0x52,
  583. 0x74, 0x08, 0x3b, 0x69, 0x61, 0x04, 0x9b, 0xb9, 0xb6, 0xb4, 0x3f, 0x8e, 0x6e, 0x9a, 0x1d, 0x3a,
  584. 0x81, 0x5d, 0x46, 0x78, 0x9c, 0x93, 0x98, 0x06, 0xa1, 0x88, 0xa8, 0xee, 0xb2, 0x8d, 0xbb, 0x15,
  585. 0x38, 0x14, 0x11, 0xb5, 0xdf, 0x00, 0x0c, 0x05, 0xe7, 0x34, 0x2c, 0x96, 0x05, 0xbd, 0x84, 0xa6,
  586. 0x22, 0x32, 0xa6, 0xca, 0xcc, 0xf7, 0xeb, 0xdb, 0xfb, 0x31, 0x57, 0x8d, 0x8d, 0xc8, 0xfe, 0xab,
  587. 0x05, 0x0d, 0x8d, 0xa1, 0x1f, 0x60, 0x27, 0x2d, 0x8c, 0xaa, 0xd4, 0x3b, 0x1f, 0xd5, 0x4a, 0xcd,
  588. 0xfa, 0x60, 0xe8, 0x99, 0x45, 0x93, 0xf4, 0x92, 0x4a, 0xca, 0xc3, 0xb2, 0xbb, 0xce, 0xe0, 0xc9,
  589. 0xed, 0x27, 0x6d, 0x76, 0x15, 0xef, 0xe7, 0x95, 0x59, 0xea, 0xd1, 0x57, 0xd0, 0x8d, 0xc4, 0x35,
  590. 0xdf, 0xac, 0x6f, 0x39, 0x90, 0x4e, 0x85, 0x2d, 0x24, 0x2b, 0x86, 0xa6, 0x56, 0xf9, 0x7a, 0xc9,
  591. 0x49, 0xc2, 0x34, 0xa7, 0x5d, 0x0e, 0x6d, 0x03, 0x16, 0xa4, 0x47, 0x00, 0xd9, 0x8a, 0x48, 0x1a,
  592. 0xb0, 0x84, 0xbf, 0xb7, 0x3a, 0xe5, 0x9f, 0x40, 0x23, 0x93, 0x84, 0xbf, 0x47, 0xdf, 0xc1, 0x76,
  593. 0x2a, 0x32, 0xaa, 0xb7, 0xa7, 0x33, 0xb0, 0x3f, 0xd3, 0xb8, 0xc8, 0x28, 0xd6, 0x7c, 0xf4, 0x1a,
  594. 0x3a, 0xe1, 0xe6, 0x2e, 0x32, 0xab, 0x71, 0xbc, 0xd5, 0xef, 0x0c, 0xfa, 0xb7, 0xcb, 0x3f, 0x5e,
  595. 0x1e, 0xfe, 0xa7, 0x18, 0xbd, 0x84, 0x6e, 0x48, 0x52, 0x95, 0x4b, 0x1a, 0x14, 0xff, 0x74, 0xab,
  596. 0xa9, 0x6b, 0x39, 0xaa, 0x0e, 0xab, 0x9e, 0x01, 0x67, 0x5e, 0x3d, 0x03, 0xb8, 0x63, 0xf8, 0x05,
  597. 0x82, 0x5e, 0x40, 0x53, 0xaf, 0x56, 0x66, 0xb5, 0x74, 0x15, 0x9f, 0x59, 0x6c, 0xbd, 0x9f, 0xd8,
  598. 0x48, 0x8a, 0xf1, 0x14, 0x84, 0x20, 0x14, 0x39, 0x57, 0x16, 0x1c, 0xd7, 0xfa, 0x5b, 0xb8, 0x5d,
  599. 0x20, 0xc3, 0x02, 0x40, 0xef, 0x60, 0x5f, 0x49, 0xc2, 0xb3, 0x4b, 0x2a, 0x83, 0x4c, 0x11, 0x95,
  600. 0x67, 0x56, 0xf7, 0xb8, 0xd6, 0xdf, 0x1b, 0x0c, 0xee, 0xb0, 0x22, 0xce, 0xdc, 0x48, 0x67, 0x5a,
  601. 0x89, 0xf7, 0xd4, 0x27, 0x3e, 0xa2, 0x70, 0x7f, 0x4d, 0xd2, 0x2c, 0x30, 0xba, 0x2a, 0xc1, 0xae,
  602. 0x4e, 0xf0, 0xfc, 0x2e, 0x09, 0xce, 0x49, 0x9a, 0xf9, 0x25, 0x68, 0x72, 0x1c, 0xac, 0xff, 0x0d,
  603. 0xd9, 0x7f, 0xd6, 0x60, 0xef, 0xd3, 0x4a, 0xd0, 0x17, 0xf0, 0xff, 0x39, 0x3e, 0x9d, 0xce, 0x5e,
  604. 0x79, 0x38, 0x98, 0xcd, 0x4f, 0xe7, 0x8b, 0x59, 0xb0, 0x98, 0xbe, 0x99, 0xbe, 0xfd, 0x79, 0xda,
  605. 0xbb, 0x87, 0x1e, 0xc2, 0xc1, 0xd4, 0xbb, 0xf0, 0x70, 0x50, 0x51, 0xb0, 0x37, 0xea, 0xd5, 0x50,
  606. 0x07, 0x5a, 0xbe, 0x37, 0x1d, 0x8d, 0xa7, 0x3f, 0xf6, 0xea, 0x68, 0x17, 0xda, 0xc3, 0xb7, 0xe7,
  607. 0xfe, 0xc4, 0x9b, 0x7b, 0xa3, 0xde, 0x16, 0xea, 0xc2, 0x0e, 0xf6, 0x5e, 0x7b, 0xc3, 0xc2, 0xdb,
  608. 0x2e, 0x98, 0xde, 0x2f, 0xfe, 0xb8, 0x90, 0x35, 0x34, 0xf3, 0x74, 0x3a, 0xf4, 0x26, 0x13, 0x6f,
  609. 0xd4, 0x6b, 0xa2, 0x43, 0x78, 0x88, 0xbd, 0xa1, 0x37, 0xbe, 0xf0, 0x46, 0xc1, 0xc5, 0xf8, 0x74,
  610. 0x93, 0xa3, 0xd7, 0xb2, 0x7f, 0x83, 0x83, 0xff, 0xf4, 0x83, 0x4e, 0xe0, 0xf1, 0x62, 0x3a, 0xf3,
  611. 0xbd, 0xe1, 0xf8, 0xd5, 0xd8, 0x1b, 0x05, 0xe7, 0xa7, 0xfe, 0x2c, 0xf0, 0x17, 0x67, 0x93, 0xf1,
  612. 0xec, 0x27, 0x53, 0x79, 0xef, 0x5e, 0x91, 0xc3, 0x60, 0xba, 0xd2, 0x07, 0xd0, 0xab, 0xaa, 0xd9,
  613. 0xb4, 0x55, 0x3f, 0xfb, 0xa3, 0x06, 0xfd, 0x50, 0xac, 0xab, 0xb1, 0xc6, 0x54, 0x38, 0x79, 0x1c,
  614. 0xde, 0x3c, 0xde, 0xb3, 0xa3, 0x99, 0x86, 0x2f, 0x12, 0x7a, 0x6d, 0xea, 0xc1, 0xd5, 0x07, 0xee,
  615. 0xd7, 0x61, 0x75, 0x82, 0x28, 0x5e, 0x27, 0x47, 0xc8, 0xd8, 0x8d, 0x29, 0xd7, 0x5b, 0xea, 0x96,
  616. 0x21, 0x92, 0x26, 0xd9, 0xcd, 0xdf, 0xc9, 0x17, 0xc6, 0x5c, 0x36, 0x35, 0xff, 0xd9, 0xdf, 0x01,
  617. 0x00, 0x00, 0xff, 0xff, 0x6d, 0x23, 0x7d, 0x07, 0x56, 0x07, 0x00, 0x00,
  618. }