Add generated file

This PR adds generated files under pkg/client and vendor folder.
This commit is contained in:
xing-yang
2018-07-12 10:55:15 -07:00
parent 36b1de0341
commit e213d1890d
17729 changed files with 5090889 additions and 0 deletions

View File

@@ -0,0 +1,398 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/streetview/publish/v1/resources.proto
/*
Package publish is a generated protocol buffer package.
It is generated from these files:
google/streetview/publish/v1/resources.proto
google/streetview/publish/v1/rpcmessages.proto
google/streetview/publish/v1/streetview_publish.proto
It has these top-level messages:
UploadRef
PhotoId
Level
Pose
Place
Connection
Photo
CreatePhotoRequest
GetPhotoRequest
BatchGetPhotosRequest
BatchGetPhotosResponse
PhotoResponse
ListPhotosRequest
ListPhotosResponse
UpdatePhotoRequest
BatchUpdatePhotosRequest
BatchUpdatePhotosResponse
DeletePhotoRequest
BatchDeletePhotosRequest
BatchDeletePhotosResponse
*/
package publish
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_protobuf1 "github.com/golang/protobuf/ptypes/timestamp"
import google_type "google.golang.org/genproto/googleapis/type/latlng"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// Upload reference for media files.
type UploadRef struct {
// Required. An upload reference should be unique for each user. It follows
// the form:
// "https://streetviewpublish.googleapis.com/media/user/<account_id>/photo/<upload_reference>"
UploadUrl string `protobuf:"bytes,1,opt,name=upload_url,json=uploadUrl" json:"upload_url,omitempty"`
}
func (m *UploadRef) Reset() { *m = UploadRef{} }
func (m *UploadRef) String() string { return proto.CompactTextString(m) }
func (*UploadRef) ProtoMessage() {}
func (*UploadRef) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *UploadRef) GetUploadUrl() string {
if m != nil {
return m.UploadUrl
}
return ""
}
// Identifier for a photo.
type PhotoId struct {
// Required. A base64 encoded identifier.
Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (m *PhotoId) Reset() { *m = PhotoId{} }
func (m *PhotoId) String() string { return proto.CompactTextString(m) }
func (*PhotoId) ProtoMessage() {}
func (*PhotoId) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *PhotoId) GetId() string {
if m != nil {
return m.Id
}
return ""
}
// Level information containing level number and its corresponding name.
type Level struct {
// Floor number, used for ordering. 0 indicates the ground level, 1 indicates
// the first level above ground level, -1 indicates the first level under
// ground level. Non-integer values are OK.
Number float64 `protobuf:"fixed64,1,opt,name=number" json:"number,omitempty"`
// Required. A name assigned to this Level, restricted to 3 characters.
// Consider how the elevator buttons would be labeled for this level if there
// was an elevator.
Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
}
func (m *Level) Reset() { *m = Level{} }
func (m *Level) String() string { return proto.CompactTextString(m) }
func (*Level) ProtoMessage() {}
func (*Level) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
func (m *Level) GetNumber() float64 {
if m != nil {
return m.Number
}
return 0
}
func (m *Level) GetName() string {
if m != nil {
return m.Name
}
return ""
}
// Raw pose measurement for an entity.
type Pose struct {
// Latitude and longitude pair of the pose, as explained here:
// https://cloud.google.com/datastore/docs/reference/rest/Shared.Types/LatLng
// When creating a photo, if the latitude and longitude pair are not provided
// here, the geolocation from the exif header will be used.
// If the latitude and longitude pair is not provided and cannot be found in
// the exif header, the create photo process will fail.
LatLngPair *google_type.LatLng `protobuf:"bytes,1,opt,name=lat_lng_pair,json=latLngPair" json:"lat_lng_pair,omitempty"`
// Altitude of the pose in meters above ground level (as defined by WGS84).
// NaN indicates an unmeasured quantity.
Altitude float64 `protobuf:"fixed64,2,opt,name=altitude" json:"altitude,omitempty"`
// Compass heading, measured at the center of the photo in degrees clockwise
// from North. Value must be >=0 and <360.
// NaN indicates an unmeasured quantity.
Heading float64 `protobuf:"fixed64,3,opt,name=heading" json:"heading,omitempty"`
// Pitch, measured at the center of the photo in degrees. Value must be >=-90
// and <= 90. A value of -90 means looking directly down, and a value of 90
// means looking directly up.
// NaN indicates an unmeasured quantity.
Pitch float64 `protobuf:"fixed64,4,opt,name=pitch" json:"pitch,omitempty"`
// Roll, measured in degrees. Value must be >= 0 and <360. A value of 0
// means level with the horizon.
// NaN indicates an unmeasured quantity.
Roll float64 `protobuf:"fixed64,5,opt,name=roll" json:"roll,omitempty"`
// Level (the floor in a building) used to configure vertical navigation.
Level *Level `protobuf:"bytes,7,opt,name=level" json:"level,omitempty"`
}
func (m *Pose) Reset() { *m = Pose{} }
func (m *Pose) String() string { return proto.CompactTextString(m) }
func (*Pose) ProtoMessage() {}
func (*Pose) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
func (m *Pose) GetLatLngPair() *google_type.LatLng {
if m != nil {
return m.LatLngPair
}
return nil
}
func (m *Pose) GetAltitude() float64 {
if m != nil {
return m.Altitude
}
return 0
}
func (m *Pose) GetHeading() float64 {
if m != nil {
return m.Heading
}
return 0
}
func (m *Pose) GetPitch() float64 {
if m != nil {
return m.Pitch
}
return 0
}
func (m *Pose) GetRoll() float64 {
if m != nil {
return m.Roll
}
return 0
}
func (m *Pose) GetLevel() *Level {
if m != nil {
return m.Level
}
return nil
}
// Place metadata for an entity.
type Place struct {
// Required. Place identifier, as described in
// https://developers.google.com/places/place-id.
PlaceId string `protobuf:"bytes,1,opt,name=place_id,json=placeId" json:"place_id,omitempty"`
}
func (m *Place) Reset() { *m = Place{} }
func (m *Place) String() string { return proto.CompactTextString(m) }
func (*Place) ProtoMessage() {}
func (*Place) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
func (m *Place) GetPlaceId() string {
if m != nil {
return m.PlaceId
}
return ""
}
// A connection is the link from a source photo to a destination photo.
type Connection struct {
// Required. The destination of the connection from the containing photo to
// another photo.
Target *PhotoId `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
}
func (m *Connection) Reset() { *m = Connection{} }
func (m *Connection) String() string { return proto.CompactTextString(m) }
func (*Connection) ProtoMessage() {}
func (*Connection) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
func (m *Connection) GetTarget() *PhotoId {
if m != nil {
return m.Target
}
return nil
}
// Photo is used to store 360 photos along with photo metadata.
type Photo struct {
// Output only. Identifier for the photo, which is unique among all photos in
// Google.
PhotoId *PhotoId `protobuf:"bytes,1,opt,name=photo_id,json=photoId" json:"photo_id,omitempty"`
// Required (when creating photo). Input only. The resource URL where the
// photo bytes are uploaded to.
UploadReference *UploadRef `protobuf:"bytes,2,opt,name=upload_reference,json=uploadReference" json:"upload_reference,omitempty"`
// Output only. The download URL for the photo bytes. This field is set only
// when the `view` parameter in a `GetPhotoRequest` is set to
// `INCLUDE_DOWNLOAD_URL`.
DownloadUrl string `protobuf:"bytes,3,opt,name=download_url,json=downloadUrl" json:"download_url,omitempty"`
// Output only. The thumbnail URL for showing a preview of the given photo.
ThumbnailUrl string `protobuf:"bytes,9,opt,name=thumbnail_url,json=thumbnailUrl" json:"thumbnail_url,omitempty"`
// Output only. The share link for the photo.
ShareLink string `protobuf:"bytes,11,opt,name=share_link,json=shareLink" json:"share_link,omitempty"`
// Pose of the photo.
Pose *Pose `protobuf:"bytes,4,opt,name=pose" json:"pose,omitempty"`
// Connections to other photos. A connection represents the link from this
// photo to another photo.
Connections []*Connection `protobuf:"bytes,5,rep,name=connections" json:"connections,omitempty"`
// Absolute time when the photo was captured.
// When the photo has no exif timestamp, this is used to set a timestamp in
// the photo metadata.
CaptureTime *google_protobuf1.Timestamp `protobuf:"bytes,6,opt,name=capture_time,json=captureTime" json:"capture_time,omitempty"`
// Places where this photo belongs.
Places []*Place `protobuf:"bytes,7,rep,name=places" json:"places,omitempty"`
// Output only. View count of the photo.
ViewCount int64 `protobuf:"varint,10,opt,name=view_count,json=viewCount" json:"view_count,omitempty"`
}
func (m *Photo) Reset() { *m = Photo{} }
func (m *Photo) String() string { return proto.CompactTextString(m) }
func (*Photo) ProtoMessage() {}
func (*Photo) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
func (m *Photo) GetPhotoId() *PhotoId {
if m != nil {
return m.PhotoId
}
return nil
}
func (m *Photo) GetUploadReference() *UploadRef {
if m != nil {
return m.UploadReference
}
return nil
}
func (m *Photo) GetDownloadUrl() string {
if m != nil {
return m.DownloadUrl
}
return ""
}
func (m *Photo) GetThumbnailUrl() string {
if m != nil {
return m.ThumbnailUrl
}
return ""
}
func (m *Photo) GetShareLink() string {
if m != nil {
return m.ShareLink
}
return ""
}
func (m *Photo) GetPose() *Pose {
if m != nil {
return m.Pose
}
return nil
}
func (m *Photo) GetConnections() []*Connection {
if m != nil {
return m.Connections
}
return nil
}
func (m *Photo) GetCaptureTime() *google_protobuf1.Timestamp {
if m != nil {
return m.CaptureTime
}
return nil
}
func (m *Photo) GetPlaces() []*Place {
if m != nil {
return m.Places
}
return nil
}
func (m *Photo) GetViewCount() int64 {
if m != nil {
return m.ViewCount
}
return 0
}
func init() {
proto.RegisterType((*UploadRef)(nil), "google.streetview.publish.v1.UploadRef")
proto.RegisterType((*PhotoId)(nil), "google.streetview.publish.v1.PhotoId")
proto.RegisterType((*Level)(nil), "google.streetview.publish.v1.Level")
proto.RegisterType((*Pose)(nil), "google.streetview.publish.v1.Pose")
proto.RegisterType((*Place)(nil), "google.streetview.publish.v1.Place")
proto.RegisterType((*Connection)(nil), "google.streetview.publish.v1.Connection")
proto.RegisterType((*Photo)(nil), "google.streetview.publish.v1.Photo")
}
func init() { proto.RegisterFile("google/streetview/publish/v1/resources.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 651 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x54, 0xdb, 0x6a, 0xdb, 0x4c,
0x10, 0xc6, 0xf1, 0x29, 0x1e, 0xf9, 0x3f, 0xb0, 0xff, 0x4f, 0x51, 0x4c, 0x43, 0x53, 0x85, 0x52,
0x53, 0x8a, 0x44, 0x1c, 0x5a, 0x28, 0x21, 0x50, 0x92, 0xab, 0xb4, 0xbe, 0x30, 0xdb, 0xa6, 0x17,
0xbd, 0x11, 0x6b, 0x69, 0x22, 0x2f, 0x59, 0xef, 0x2e, 0xab, 0x95, 0x43, 0x9f, 0xa1, 0x8f, 0xd1,
0x97, 0xea, 0xe3, 0x14, 0xad, 0x56, 0x4e, 0x2f, 0x82, 0xd3, 0x2b, 0xcf, 0x7c, 0xf3, 0x7d, 0xe3,
0x39, 0xad, 0xe0, 0x75, 0xa1, 0x54, 0x21, 0x30, 0x29, 0xad, 0x41, 0xb4, 0x1b, 0x8e, 0x77, 0x89,
0xae, 0x96, 0x82, 0x97, 0xab, 0x64, 0x73, 0x92, 0x18, 0x2c, 0x55, 0x65, 0x32, 0x2c, 0x63, 0x6d,
0x94, 0x55, 0xe4, 0x69, 0xc3, 0x8e, 0xef, 0xd9, 0xb1, 0x67, 0xc7, 0x9b, 0x93, 0x89, 0x8f, 0x26,
0x4c, 0xf3, 0x84, 0x49, 0xa9, 0x2c, 0xb3, 0x5c, 0x49, 0xaf, 0x9d, 0x3c, 0xf3, 0x51, 0xe7, 0x2d,
0xab, 0x9b, 0xc4, 0xf2, 0x35, 0x96, 0x96, 0xad, 0xb5, 0x27, 0x84, 0x9e, 0x60, 0xbf, 0x69, 0x4c,
0x04, 0xb3, 0x42, 0x16, 0x4d, 0x24, 0x7a, 0x05, 0xa3, 0x6b, 0x2d, 0x14, 0xcb, 0x29, 0xde, 0x90,
0x43, 0x80, 0xca, 0x39, 0x69, 0x65, 0x44, 0xd8, 0x39, 0xea, 0x4c, 0x47, 0x74, 0xd4, 0x20, 0xd7,
0x46, 0x44, 0x07, 0x30, 0x5c, 0xac, 0x94, 0x55, 0x57, 0x39, 0xf9, 0x1b, 0xf6, 0x78, 0xee, 0x19,
0x7b, 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, 0x70, 0xf1, 0xbd, 0x03, 0xd3, 0x4c, 0xad, 0xdb, 0x8c, 0x05, 0xaa, 0xb8, 0x2a, 0xb2,
0x87, 0x33, 0x5f, 0x4c, 0x3e, 0x39, 0xf8, 0x0b, 0xc7, 0xbb, 0x45, 0x83, 0xd2, 0xf6, 0x9b, 0xf5,
0xf5, 0xb2, 0xcd, 0xa0, 0x04, 0x93, 0x45, 0xac, 0x4c, 0x91, 0x14, 0x28, 0x5d, 0x6b, 0x49, 0x13,
0x62, 0x9a, 0x97, 0x0f, 0x7f, 0xfa, 0xce, 0xbc, 0xb9, 0x1c, 0x38, 0xfe, 0xe9, 0xaf, 0x00, 0x00,
0x00, 0xff, 0xff, 0xad, 0x4e, 0x7a, 0x51, 0x29, 0x05, 0x00, 0x00,
}

View File

@@ -0,0 +1,470 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/streetview/publish/v1/rpcmessages.proto
package publish
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import google_protobuf2 "google.golang.org/genproto/protobuf/field_mask"
import google_rpc "google.golang.org/genproto/googleapis/rpc/status"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// Specifies which view of the `Photo` should be included in the response.
type PhotoView int32
const (
// Server reponses do not include the download URL for the photo bytes.
// The default value.
PhotoView_BASIC PhotoView = 0
// Server responses include the download URL for the photo bytes.
PhotoView_INCLUDE_DOWNLOAD_URL PhotoView = 1
)
var PhotoView_name = map[int32]string{
0: "BASIC",
1: "INCLUDE_DOWNLOAD_URL",
}
var PhotoView_value = map[string]int32{
"BASIC": 0,
"INCLUDE_DOWNLOAD_URL": 1,
}
func (x PhotoView) String() string {
return proto.EnumName(PhotoView_name, int32(x))
}
func (PhotoView) EnumDescriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
// Request to create a photo.
type CreatePhotoRequest struct {
// Required. Photo to create.
Photo *Photo `protobuf:"bytes,1,opt,name=photo" json:"photo,omitempty"`
}
func (m *CreatePhotoRequest) Reset() { *m = CreatePhotoRequest{} }
func (m *CreatePhotoRequest) String() string { return proto.CompactTextString(m) }
func (*CreatePhotoRequest) ProtoMessage() {}
func (*CreatePhotoRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *CreatePhotoRequest) GetPhoto() *Photo {
if m != nil {
return m.Photo
}
return nil
}
// Request to get a photo.
//
// By default
// - does not return the download URL for the photo bytes.
//
// Parameters:
// - 'view' controls if the download URL for the photo bytes will be returned.
type GetPhotoRequest struct {
// Required. ID of the photo.
PhotoId string `protobuf:"bytes,1,opt,name=photo_id,json=photoId" json:"photo_id,omitempty"`
// Specifies if a download URL for the photo bytes should be returned in the
// Photo response.
View PhotoView `protobuf:"varint,2,opt,name=view,enum=google.streetview.publish.v1.PhotoView" json:"view,omitempty"`
}
func (m *GetPhotoRequest) Reset() { *m = GetPhotoRequest{} }
func (m *GetPhotoRequest) String() string { return proto.CompactTextString(m) }
func (*GetPhotoRequest) ProtoMessage() {}
func (*GetPhotoRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
func (m *GetPhotoRequest) GetPhotoId() string {
if m != nil {
return m.PhotoId
}
return ""
}
func (m *GetPhotoRequest) GetView() PhotoView {
if m != nil {
return m.View
}
return PhotoView_BASIC
}
// Request to get one or more photos.
// By default
// - does not return the download URL for the photo bytes.
//
// Parameters:
// - 'view' controls if the download URL for the photo bytes will be returned.
type BatchGetPhotosRequest struct {
// Required. IDs of the photos.
PhotoIds []string `protobuf:"bytes,1,rep,name=photo_ids,json=photoIds" json:"photo_ids,omitempty"`
// Specifies if a download URL for the photo bytes should be returned in the
// Photo response.
View PhotoView `protobuf:"varint,2,opt,name=view,enum=google.streetview.publish.v1.PhotoView" json:"view,omitempty"`
}
func (m *BatchGetPhotosRequest) Reset() { *m = BatchGetPhotosRequest{} }
func (m *BatchGetPhotosRequest) String() string { return proto.CompactTextString(m) }
func (*BatchGetPhotosRequest) ProtoMessage() {}
func (*BatchGetPhotosRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
func (m *BatchGetPhotosRequest) GetPhotoIds() []string {
if m != nil {
return m.PhotoIds
}
return nil
}
func (m *BatchGetPhotosRequest) GetView() PhotoView {
if m != nil {
return m.View
}
return PhotoView_BASIC
}
// Response to batch get of photos.
type BatchGetPhotosResponse struct {
// List of results for each individual photo requested, in the same order as
// the request.
Results []*PhotoResponse `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}
func (m *BatchGetPhotosResponse) Reset() { *m = BatchGetPhotosResponse{} }
func (m *BatchGetPhotosResponse) String() string { return proto.CompactTextString(m) }
func (*BatchGetPhotosResponse) ProtoMessage() {}
func (*BatchGetPhotosResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
func (m *BatchGetPhotosResponse) GetResults() []*PhotoResponse {
if m != nil {
return m.Results
}
return nil
}
// Response payload for a single `Photo` in batch operations including
// `BatchGetPhotosRequest` and `BatchUpdatePhotosRequest`.
type PhotoResponse struct {
// The status for the operation to get or update a single photo in the batch
// request.
Status *google_rpc.Status `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
// The photo resource, if the request was successful.
Photo *Photo `protobuf:"bytes,2,opt,name=photo" json:"photo,omitempty"`
}
func (m *PhotoResponse) Reset() { *m = PhotoResponse{} }
func (m *PhotoResponse) String() string { return proto.CompactTextString(m) }
func (*PhotoResponse) ProtoMessage() {}
func (*PhotoResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }
func (m *PhotoResponse) GetStatus() *google_rpc.Status {
if m != nil {
return m.Status
}
return nil
}
func (m *PhotoResponse) GetPhoto() *Photo {
if m != nil {
return m.Photo
}
return nil
}
// Request to list all photos that belong to the user sending the request.
//
// By default
// - does not return the download URL for the photo bytes.
//
// Parameters:
// - 'view' controls if the download URL for the photo bytes will be returned.
// - 'page_size' determines the maximum number of photos to return.
// - 'page_token' is the next page token value returned from a previous List
// request, if any.
type ListPhotosRequest struct {
// Specifies if a download URL for the photos bytes should be returned in the
// Photos response.
View PhotoView `protobuf:"varint,1,opt,name=view,enum=google.streetview.publish.v1.PhotoView" json:"view,omitempty"`
// The maximum number of photos to return.
// `page_size` must be non-negative. If `page_size` is zero or is not
// provided, the default page size of 100 will be used.
// The number of photos returned in the response may be less than `page_size`
// if the number of photos that belong to the user is less than `page_size`.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
// The next_page_token value returned from a previous List request, if any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
// The filter expression.
// Example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`
Filter string `protobuf:"bytes,4,opt,name=filter" json:"filter,omitempty"`
}
func (m *ListPhotosRequest) Reset() { *m = ListPhotosRequest{} }
func (m *ListPhotosRequest) String() string { return proto.CompactTextString(m) }
func (*ListPhotosRequest) ProtoMessage() {}
func (*ListPhotosRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }
func (m *ListPhotosRequest) GetView() PhotoView {
if m != nil {
return m.View
}
return PhotoView_BASIC
}
func (m *ListPhotosRequest) GetPageSize() int32 {
if m != nil {
return m.PageSize
}
return 0
}
func (m *ListPhotosRequest) GetPageToken() string {
if m != nil {
return m.PageToken
}
return ""
}
func (m *ListPhotosRequest) GetFilter() string {
if m != nil {
return m.Filter
}
return ""
}
// Response to list all photos that belong to a user.
type ListPhotosResponse struct {
// List of photos. There will be a maximum number of items returned based on
// the page_size field in the request.
Photos []*Photo `protobuf:"bytes,1,rep,name=photos" json:"photos,omitempty"`
// Token to retrieve the next page of results, or empty if there are no
// more results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
}
func (m *ListPhotosResponse) Reset() { *m = ListPhotosResponse{} }
func (m *ListPhotosResponse) String() string { return proto.CompactTextString(m) }
func (*ListPhotosResponse) ProtoMessage() {}
func (*ListPhotosResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} }
func (m *ListPhotosResponse) GetPhotos() []*Photo {
if m != nil {
return m.Photos
}
return nil
}
func (m *ListPhotosResponse) GetNextPageToken() string {
if m != nil {
return m.NextPageToken
}
return ""
}
// Request to update the metadata of a photo.
// Updating the pixels of a photo is not supported.
type UpdatePhotoRequest struct {
// Required. Photo object containing the new metadata. Only the fields
// specified in `update_mask` are used. If `update_mask` is not present, the
// update applies to all fields.
// **Note:** To update `pose.altitude`, `pose.latlngpair` has to be filled as
// well. Otherwise, the request will fail.
Photo *Photo `protobuf:"bytes,1,opt,name=photo" json:"photo,omitempty"`
// Mask that identifies fields on the photo metadata to update.
// If not present, the old Photo metadata will be entirely replaced with the
// new Photo metadata in this request. The update fails if invalid fields are
// specified. Multiple fields can be specified in a comma-delimited list.
//
// The following fields are valid:
//
// * `pose.heading`
// * `pose.latlngpair`
// * `pose.pitch`
// * `pose.roll`
// * `pose.level`
// * `pose.altitude`
// * `connections`
// * `places`
//
//
// **Note:** Repeated fields in `update_mask` mean the entire set of repeated
// values will be replaced with the new contents. For example, if
// `UpdatePhotoRequest.photo.update_mask` contains `connections` and
// `UpdatePhotoRequest.photo.connections` is empty, all connections will be
// removed.
UpdateMask *google_protobuf2.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
}
func (m *UpdatePhotoRequest) Reset() { *m = UpdatePhotoRequest{} }
func (m *UpdatePhotoRequest) String() string { return proto.CompactTextString(m) }
func (*UpdatePhotoRequest) ProtoMessage() {}
func (*UpdatePhotoRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} }
func (m *UpdatePhotoRequest) GetPhoto() *Photo {
if m != nil {
return m.Photo
}
return nil
}
func (m *UpdatePhotoRequest) GetUpdateMask() *google_protobuf2.FieldMask {
if m != nil {
return m.UpdateMask
}
return nil
}
// Request to update the metadata of photos.
// Updating the pixels of photos is not supported.
type BatchUpdatePhotosRequest struct {
// Required. List of update photo requests.
UpdatePhotoRequests []*UpdatePhotoRequest `protobuf:"bytes,1,rep,name=update_photo_requests,json=updatePhotoRequests" json:"update_photo_requests,omitempty"`
}
func (m *BatchUpdatePhotosRequest) Reset() { *m = BatchUpdatePhotosRequest{} }
func (m *BatchUpdatePhotosRequest) String() string { return proto.CompactTextString(m) }
func (*BatchUpdatePhotosRequest) ProtoMessage() {}
func (*BatchUpdatePhotosRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} }
func (m *BatchUpdatePhotosRequest) GetUpdatePhotoRequests() []*UpdatePhotoRequest {
if m != nil {
return m.UpdatePhotoRequests
}
return nil
}
// Response to batch update of metadata of one or more photos.
type BatchUpdatePhotosResponse struct {
// List of results for each individual photo updated, in the same order as
// the request.
Results []*PhotoResponse `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}
func (m *BatchUpdatePhotosResponse) Reset() { *m = BatchUpdatePhotosResponse{} }
func (m *BatchUpdatePhotosResponse) String() string { return proto.CompactTextString(m) }
func (*BatchUpdatePhotosResponse) ProtoMessage() {}
func (*BatchUpdatePhotosResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{9} }
func (m *BatchUpdatePhotosResponse) GetResults() []*PhotoResponse {
if m != nil {
return m.Results
}
return nil
}
// Request to delete a photo.
type DeletePhotoRequest struct {
// Required. ID of the photo.
PhotoId string `protobuf:"bytes,1,opt,name=photo_id,json=photoId" json:"photo_id,omitempty"`
}
func (m *DeletePhotoRequest) Reset() { *m = DeletePhotoRequest{} }
func (m *DeletePhotoRequest) String() string { return proto.CompactTextString(m) }
func (*DeletePhotoRequest) ProtoMessage() {}
func (*DeletePhotoRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{10} }
func (m *DeletePhotoRequest) GetPhotoId() string {
if m != nil {
return m.PhotoId
}
return ""
}
// Request to delete multiple photos.
type BatchDeletePhotosRequest struct {
// Required. List of delete photo requests.
PhotoIds []string `protobuf:"bytes,1,rep,name=photo_ids,json=photoIds" json:"photo_ids,omitempty"`
}
func (m *BatchDeletePhotosRequest) Reset() { *m = BatchDeletePhotosRequest{} }
func (m *BatchDeletePhotosRequest) String() string { return proto.CompactTextString(m) }
func (*BatchDeletePhotosRequest) ProtoMessage() {}
func (*BatchDeletePhotosRequest) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{11} }
func (m *BatchDeletePhotosRequest) GetPhotoIds() []string {
if m != nil {
return m.PhotoIds
}
return nil
}
// Response to batch delete of one or more photos.
type BatchDeletePhotosResponse struct {
// The status for the operation to delete a single photo in the batch request.
Status []*google_rpc.Status `protobuf:"bytes,1,rep,name=status" json:"status,omitempty"`
}
func (m *BatchDeletePhotosResponse) Reset() { *m = BatchDeletePhotosResponse{} }
func (m *BatchDeletePhotosResponse) String() string { return proto.CompactTextString(m) }
func (*BatchDeletePhotosResponse) ProtoMessage() {}
func (*BatchDeletePhotosResponse) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{12} }
func (m *BatchDeletePhotosResponse) GetStatus() []*google_rpc.Status {
if m != nil {
return m.Status
}
return nil
}
func init() {
proto.RegisterType((*CreatePhotoRequest)(nil), "google.streetview.publish.v1.CreatePhotoRequest")
proto.RegisterType((*GetPhotoRequest)(nil), "google.streetview.publish.v1.GetPhotoRequest")
proto.RegisterType((*BatchGetPhotosRequest)(nil), "google.streetview.publish.v1.BatchGetPhotosRequest")
proto.RegisterType((*BatchGetPhotosResponse)(nil), "google.streetview.publish.v1.BatchGetPhotosResponse")
proto.RegisterType((*PhotoResponse)(nil), "google.streetview.publish.v1.PhotoResponse")
proto.RegisterType((*ListPhotosRequest)(nil), "google.streetview.publish.v1.ListPhotosRequest")
proto.RegisterType((*ListPhotosResponse)(nil), "google.streetview.publish.v1.ListPhotosResponse")
proto.RegisterType((*UpdatePhotoRequest)(nil), "google.streetview.publish.v1.UpdatePhotoRequest")
proto.RegisterType((*BatchUpdatePhotosRequest)(nil), "google.streetview.publish.v1.BatchUpdatePhotosRequest")
proto.RegisterType((*BatchUpdatePhotosResponse)(nil), "google.streetview.publish.v1.BatchUpdatePhotosResponse")
proto.RegisterType((*DeletePhotoRequest)(nil), "google.streetview.publish.v1.DeletePhotoRequest")
proto.RegisterType((*BatchDeletePhotosRequest)(nil), "google.streetview.publish.v1.BatchDeletePhotosRequest")
proto.RegisterType((*BatchDeletePhotosResponse)(nil), "google.streetview.publish.v1.BatchDeletePhotosResponse")
proto.RegisterEnum("google.streetview.publish.v1.PhotoView", PhotoView_name, PhotoView_value)
}
func init() { proto.RegisterFile("google/streetview/publish/v1/rpcmessages.proto", fileDescriptor1) }
var fileDescriptor1 = []byte{
// 639 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcb, 0x6e, 0xd3, 0x40,
0x14, 0xc5, 0x7d, 0xa4, 0xcd, 0xad, 0x4a, 0xcb, 0x40, 0x8b, 0x1b, 0x8a, 0x14, 0x19, 0x09, 0xa2,
0x82, 0xec, 0xb6, 0x2c, 0x10, 0xca, 0xaa, 0x49, 0x4a, 0x55, 0x29, 0x7d, 0xc8, 0xa1, 0x20, 0xb1,
0xb1, 0x1c, 0xe7, 0xc6, 0xb1, 0xe2, 0x64, 0x5c, 0xcf, 0x38, 0x85, 0xae, 0xf8, 0x00, 0xf8, 0x0b,
0x3e, 0x14, 0x79, 0x3c, 0xd3, 0x26, 0x69, 0x88, 0x02, 0x74, 0x67, 0xdf, 0xc7, 0xb9, 0x67, 0xce,
0x9d, 0x63, 0x83, 0xe9, 0x53, 0xea, 0x87, 0x68, 0x31, 0x1e, 0x23, 0xf2, 0x41, 0x80, 0x57, 0x56,
0x94, 0x34, 0xc3, 0x80, 0x75, 0xac, 0xc1, 0x9e, 0x15, 0x47, 0x5e, 0x0f, 0x19, 0x73, 0x7d, 0x64,
0x66, 0x14, 0x53, 0x4e, 0xc9, 0x76, 0x56, 0x6f, 0xde, 0xd6, 0x9b, 0xb2, 0xde,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fa, 0xc1,
0x02, 0x52, 0xc3, 0x10, 0xc7, 0x44, 0xff, 0xf3, 0x17, 0xc5, 0x78, 0x27, 0x65, 0x19, 0xea, 0x9a,
0xe9, 0xbb, 0x60, 0x1c, 0xc9, 0xd3, 0x8c, 0x36, 0x4e, 0x70, 0xe1, 0xfc, 0x74, 0x17, 0xee, 0xec,
0x42, 0xfe, 0xc6, 0x0a, 0x24, 0x0f, 0x8b, 0x95, 0x83, 0xc6, 0x71, 0x75, 0xfd, 0x01, 0xd1, 0xe1,
0xc9, 0xf1, 0x69, 0xb5, 0x7e, 0x51, 0x3b, 0x74, 0x6a, 0x67, 0x9f, 0x4f, 0xeb, 0x67, 0x07, 0x35,
0xe7, 0xc2, 0xae, 0xaf, 0x6b, 0x95, 0x9f, 0x1a, 0x94, 0x3c, 0xda, 0x53, 0x98, 0x3e, 0x52, 0x33,
0xf1, 0xbd, 0xc9, 0x42, 0x55, 0xb6, 0x1b, 0x22, 0x9c, 0xa2, 0x9f, 0x67, 0x51, 0x3b, 0xf2, 0x4e,
0xe4, 0xcf, 0xe5, 0x4b, 0x55, 0x61, 0xd0, 0xd0, 0xed, 0xfb, 0x26, 0x8d, 0x7d, 0xcb, 0xc7, 0xbe,
0xb8, 0x4b, 0x56, 0x96, 0x72, 0xa3, 0x80, 0x4d, 0xfe, 0x39, 0x94, 0xe5, 0x63, 0x33, 0x27, 0xea,
0xdf, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x5c, 0x7c, 0xa0, 0x45, 0xd4, 0x06, 0x00, 0x00,
}

View File

@@ -0,0 +1,524 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/streetview/publish/v1/streetview_publish.proto
package publish
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/annotations"
import google_protobuf4 "github.com/golang/protobuf/ptypes/empty"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for StreetViewPublishService service
type StreetViewPublishServiceClient interface {
// Creates an upload session to start uploading photo data. The upload URL of
// the returned `UploadRef` is used to upload the data for the photo.
//
// After the upload is complete, the `UploadRef` is used with
// `StreetViewPublishService:CreatePhoto()` to create the `Photo` object
// entry.
StartUpload(ctx context.Context, in *google_protobuf4.Empty, opts ...grpc.CallOption) (*UploadRef, error)
// After the client finishes uploading the photo with the returned
// `UploadRef`, `photo.create` publishes the uploaded photo to Street View on
// Google Maps.
//
// This method returns the following error codes:
//
// * `INVALID_ARGUMENT` if the request is malformed.
// * `NOT_FOUND` if the upload reference does not exist.
CreatePhoto(ctx context.Context, in *CreatePhotoRequest, opts ...grpc.CallOption) (*Photo, error)
// Gets the metadata of the specified `Photo`.
//
// This method returns the following error codes:
//
// * `PERMISSION_DENIED` if the requesting user did not create the requested
// photo.
// * `NOT_FOUND` if the requested photo does not exist.
GetPhoto(ctx context.Context, in *GetPhotoRequest, opts ...grpc.CallOption) (*Photo, error)
// Gets the metadata of the specified `Photo` batch.
//
// Note that if `photos.batchGet` fails, either critical fields are
// missing or there was an authentication error.
// Even if `photos.batchGet` succeeds, there may have been failures
// for single photos in the batch. These failures will be specified in
// `BatchGetPhotosResponse.results.status`.
// See `photo.get` for specific failures that will occur per photo.
BatchGetPhotos(ctx context.Context, in *BatchGetPhotosRequest, opts ...grpc.CallOption) (*BatchGetPhotosResponse, error)
// Lists all the photos that belong to the user.
ListPhotos(ctx context.Context, in *ListPhotosRequest, opts ...grpc.CallOption) (*ListPhotosResponse, error)
// Updates the metadata of a photo, such as pose, place association, etc.
// Changing the pixels of a photo is not supported.
//
// This method returns the following error codes:
//
// * `PERMISSION_DENIED` if the requesting user did not create the requested
// photo.
// * `INVALID_ARGUMENT` if the request is malformed.
// * `NOT_FOUND` if the photo ID does not exist.
UpdatePhoto(ctx context.Context, in *UpdatePhotoRequest, opts ...grpc.CallOption) (*Photo, error)
// Updates the metadata of photos, such as pose, place association, etc.
// Changing the pixels of a photo is not supported.
//
// Note that if `photos.batchUpdate` fails, either critical fields
// are missing or there was an authentication error.
// Even if `photos.batchUpdate` succeeds, there may have been
// failures for single photos in the batch. These failures will be specified
// in `BatchUpdatePhotosResponse.results.status`.
// See `UpdatePhoto` for specific failures that will occur per photo.
BatchUpdatePhotos(ctx context.Context, in *BatchUpdatePhotosRequest, opts ...grpc.CallOption) (*BatchUpdatePhotosResponse, error)
// Deletes a photo and its metadata.
//
// This method returns the following error codes:
//
// * `PERMISSION_DENIED` if the requesting user did not create the requested
// photo.
// * `NOT_FOUND` if the photo ID does not exist.
DeletePhoto(ctx context.Context, in *DeletePhotoRequest, opts ...grpc.CallOption) (*google_protobuf4.Empty, error)
// Deletes a list of photos and their metadata.
//
// Note that if `photos.batchDelete` fails, either critical fields
// are missing or there was an authentication error.
// Even if `photos.batchDelete` succeeds, there may have been
// failures for single photos in the batch. These failures will be specified
// in `BatchDeletePhotosResponse.status`.
// See `photo.update` for specific failures that will occur per photo.
BatchDeletePhotos(ctx context.Context, in *BatchDeletePhotosRequest, opts ...grpc.CallOption) (*BatchDeletePhotosResponse, error)
}
type streetViewPublishServiceClient struct {
cc *grpc.ClientConn
}
func NewStreetViewPublishServiceClient(cc *grpc.ClientConn) StreetViewPublishServiceClient {
return &streetViewPublishServiceClient{cc}
}
func (c *streetViewPublishServiceClient) StartUpload(ctx context.Context, in *google_protobuf4.Empty, opts ...grpc.CallOption) (*UploadRef, error) {
out := new(UploadRef)
err := grpc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/StartUpload", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *streetViewPublishServiceClient) CreatePhoto(ctx context.Context, in *CreatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) {
out := new(Photo)
err := grpc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/CreatePhoto", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *streetViewPublishServiceClient) GetPhoto(ctx context.Context, in *GetPhotoRequest, opts ...grpc.CallOption) (*Photo, error) {
out := new(Photo)
err := grpc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/GetPhoto", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *streetViewPublishServiceClient) BatchGetPhotos(ctx context.Context, in *BatchGetPhotosRequest, opts ...grpc.CallOption) (*BatchGetPhotosResponse, error) {
out := new(BatchGetPhotosResponse)
err := grpc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchGetPhotos", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *streetViewPublishServiceClient) ListPhotos(ctx context.Context, in *ListPhotosRequest, opts ...grpc.CallOption) (*ListPhotosResponse, error) {
out := new(ListPhotosResponse)
err := grpc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/ListPhotos", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *streetViewPublishServiceClient) UpdatePhoto(ctx context.Context, in *UpdatePhotoRequest, opts ...grpc.CallOption) (*Photo, error) {
out := new(Photo)
err := grpc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/UpdatePhoto", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *streetViewPublishServiceClient) BatchUpdatePhotos(ctx context.Context, in *BatchUpdatePhotosRequest, opts ...grpc.CallOption) (*BatchUpdatePhotosResponse, error) {
out := new(BatchUpdatePhotosResponse)
err := grpc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchUpdatePhotos", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *streetViewPublishServiceClient) DeletePhoto(ctx context.Context, in *DeletePhotoRequest, opts ...grpc.CallOption) (*google_protobuf4.Empty, error) {
out := new(google_protobuf4.Empty)
err := grpc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/DeletePhoto", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *streetViewPublishServiceClient) BatchDeletePhotos(ctx context.Context, in *BatchDeletePhotosRequest, opts ...grpc.CallOption) (*BatchDeletePhotosResponse, error) {
out := new(BatchDeletePhotosResponse)
err := grpc.Invoke(ctx, "/google.streetview.publish.v1.StreetViewPublishService/BatchDeletePhotos", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for StreetViewPublishService service
type StreetViewPublishServiceServer interface {
// Creates an upload session to start uploading photo data. The upload URL of
// the returned `UploadRef` is used to upload the data for the photo.
//
// After the upload is complete, the `UploadRef` is used with
// `StreetViewPublishService:CreatePhoto()` to create the `Photo` object
// entry.
StartUpload(context.Context, *google_protobuf4.Empty) (*UploadRef, error)
// After the client finishes uploading the photo with the returned
// `UploadRef`, `photo.create` publishes the uploaded photo to Street View on
// Google Maps.
//
// This method returns the following error codes:
//
// * `INVALID_ARGUMENT` if the request is malformed.
// * `NOT_FOUND` if the upload reference does not exist.
CreatePhoto(context.Context, *CreatePhotoRequest) (*Photo, error)
// Gets the metadata of the specified `Photo`.
//
// This method returns the following error codes:
//
// * `PERMISSION_DENIED` if the requesting user did not create the requested
// photo.
// * `NOT_FOUND` if the requested photo does not exist.
GetPhoto(context.Context, *GetPhotoRequest) (*Photo, error)
// Gets the metadata of the specified `Photo` batch.
//
// Note that if `photos.batchGet` fails, either critical fields are
// missing or there was an authentication error.
// Even if `photos.batchGet` succeeds, there may have been failures
// for single photos in the batch. These failures will be specified in
// `BatchGetPhotosResponse.results.status`.
// See `photo.get` for specific failures that will occur per photo.
BatchGetPhotos(context.Context, *BatchGetPhotosRequest) (*BatchGetPhotosResponse, error)
// Lists all the photos that belong to the user.
ListPhotos(context.Context, *ListPhotosRequest) (*ListPhotosResponse, error)
// Updates the metadata of a photo, such as pose, place association, etc.
// Changing the pixels of a photo is not supported.
//
// This method returns the following error codes:
//
// * `PERMISSION_DENIED` if the requesting user did not create the requested
// photo.
// * `INVALID_ARGUMENT` if the request is malformed.
// * `NOT_FOUND` if the photo ID does not exist.
UpdatePhoto(context.Context, *UpdatePhotoRequest) (*Photo, error)
// Updates the metadata of photos, such as pose, place association, etc.
// Changing the pixels of a photo is not supported.
//
// Note that if `photos.batchUpdate` fails, either critical fields
// are missing or there was an authentication error.
// Even if `photos.batchUpdate` succeeds, there may have been
// failures for single photos in the batch. These failures will be specified
// in `BatchUpdatePhotosResponse.results.status`.
// See `UpdatePhoto` for specific failures that will occur per photo.
BatchUpdatePhotos(context.Context, *BatchUpdatePhotosRequest) (*BatchUpdatePhotosResponse, error)
// Deletes a photo and its metadata.
//
// This method returns the following error codes:
//
// * `PERMISSION_DENIED` if the requesting user did not create the requested
// photo.
// * `NOT_FOUND` if the photo ID does not exist.
DeletePhoto(context.Context, *DeletePhotoRequest) (*google_protobuf4.Empty, error)
// Deletes a list of photos and their metadata.
//
// Note that if `photos.batchDelete` fails, either critical fields
// are missing or there was an authentication error.
// Even if `photos.batchDelete` succeeds, there may have been
// failures for single photos in the batch. These failures will be specified
// in `BatchDeletePhotosResponse.status`.
// See `photo.update` for specific failures that will occur per photo.
BatchDeletePhotos(context.Context, *BatchDeletePhotosRequest) (*BatchDeletePhotosResponse, error)
}
func RegisterStreetViewPublishServiceServer(s *grpc.Server, srv StreetViewPublishServiceServer) {
s.RegisterService(&_StreetViewPublishService_serviceDesc, srv)
}
func _StreetViewPublishService_StartUpload_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(google_protobuf4.Empty)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StreetViewPublishServiceServer).StartUpload(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/StartUpload",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StreetViewPublishServiceServer).StartUpload(ctx, req.(*google_protobuf4.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _StreetViewPublishService_CreatePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreatePhotoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StreetViewPublishServiceServer).CreatePhoto(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/CreatePhoto",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StreetViewPublishServiceServer).CreatePhoto(ctx, req.(*CreatePhotoRequest))
}
return interceptor(ctx, in, info, handler)
}
func _StreetViewPublishService_GetPhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetPhotoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StreetViewPublishServiceServer).GetPhoto(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/GetPhoto",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StreetViewPublishServiceServer).GetPhoto(ctx, req.(*GetPhotoRequest))
}
return interceptor(ctx, in, info, handler)
}
func _StreetViewPublishService_BatchGetPhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchGetPhotosRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StreetViewPublishServiceServer).BatchGetPhotos(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchGetPhotos",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StreetViewPublishServiceServer).BatchGetPhotos(ctx, req.(*BatchGetPhotosRequest))
}
return interceptor(ctx, in, info, handler)
}
func _StreetViewPublishService_ListPhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListPhotosRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StreetViewPublishServiceServer).ListPhotos(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/ListPhotos",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StreetViewPublishServiceServer).ListPhotos(ctx, req.(*ListPhotosRequest))
}
return interceptor(ctx, in, info, handler)
}
func _StreetViewPublishService_UpdatePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdatePhotoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StreetViewPublishServiceServer).UpdatePhoto(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/UpdatePhoto",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StreetViewPublishServiceServer).UpdatePhoto(ctx, req.(*UpdatePhotoRequest))
}
return interceptor(ctx, in, info, handler)
}
func _StreetViewPublishService_BatchUpdatePhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchUpdatePhotosRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StreetViewPublishServiceServer).BatchUpdatePhotos(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchUpdatePhotos",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StreetViewPublishServiceServer).BatchUpdatePhotos(ctx, req.(*BatchUpdatePhotosRequest))
}
return interceptor(ctx, in, info, handler)
}
func _StreetViewPublishService_DeletePhoto_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeletePhotoRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StreetViewPublishServiceServer).DeletePhoto(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/DeletePhoto",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StreetViewPublishServiceServer).DeletePhoto(ctx, req.(*DeletePhotoRequest))
}
return interceptor(ctx, in, info, handler)
}
func _StreetViewPublishService_BatchDeletePhotos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(BatchDeletePhotosRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(StreetViewPublishServiceServer).BatchDeletePhotos(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/google.streetview.publish.v1.StreetViewPublishService/BatchDeletePhotos",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(StreetViewPublishServiceServer).BatchDeletePhotos(ctx, req.(*BatchDeletePhotosRequest))
}
return interceptor(ctx, in, info, handler)
}
var _StreetViewPublishService_serviceDesc = grpc.ServiceDesc{
ServiceName: "google.streetview.publish.v1.StreetViewPublishService",
HandlerType: (*StreetViewPublishServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "StartUpload",
Handler: _StreetViewPublishService_StartUpload_Handler,
},
{
MethodName: "CreatePhoto",
Handler: _StreetViewPublishService_CreatePhoto_Handler,
},
{
MethodName: "GetPhoto",
Handler: _StreetViewPublishService_GetPhoto_Handler,
},
{
MethodName: "BatchGetPhotos",
Handler: _StreetViewPublishService_BatchGetPhotos_Handler,
},
{
MethodName: "ListPhotos",
Handler: _StreetViewPublishService_ListPhotos_Handler,
},
{
MethodName: "UpdatePhoto",
Handler: _StreetViewPublishService_UpdatePhoto_Handler,
},
{
MethodName: "BatchUpdatePhotos",
Handler: _StreetViewPublishService_BatchUpdatePhotos_Handler,
},
{
MethodName: "DeletePhoto",
Handler: _StreetViewPublishService_DeletePhoto_Handler,
},
{
MethodName: "BatchDeletePhotos",
Handler: _StreetViewPublishService_BatchDeletePhotos_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/streetview/publish/v1/streetview_publish.proto",
}
func init() {
proto.RegisterFile("google/streetview/publish/v1/streetview_publish.proto", fileDescriptor2)
}
var fileDescriptor2 = []byte{
// 533 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x4f, 0x6f, 0xd3, 0x30,
0x18, 0xc6, 0x15, 0x24, 0x10, 0xb8, 0x08, 0x69, 0x86, 0x55, 0x53, 0x3a, 0x24, 0x08, 0x12, 0xa0,
0x6a, 0xd8, 0x1b, 0xe3, 0x8f, 0x54, 0x6e, 0x1d, 0x88, 0x0b, 0x87, 0x69, 0xd5, 0x38, 0x70, 0x99,
0xdc, 0xf4, 0x5d, 0x6a, 0x29, 0x8d, 0x4d, 0xec, 0x74, 0x42, 0x30, 0x0e, 0xe3, 0xc8, 0x0d, 0x2e,
0x7c, 0x03, 0x3e, 0x10, 0x5f, 0x81, 0x0f, 0x82, 0xea, 0xd8, 0x4d, 0x36, 0x8a, 0x49, 0x4e, 0x69,
0xf3, 0x3e, 0xcf, 0xfb, 0xfc, 0xfa, 0xbe, 0xae, 0xd1, 0xd3, 0x44, 0x88, 0x24, 0x05, 0xaa, 0x74,
0x0e, 0xa0, 0xe7, 0x1c, 0x4e, 0xa8, 0x2c, 0xc6, 0x29, 0x57, 0x53, 0x3a, 0xdf, 0xa9, 0xbd, 0x3d,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0x92, 0x78, 0x75, 0xd2, 0x70, 0xed, 0xaf, 0x7b, 0xf3, 0xdd, 0x9e, 0x33, 0x8a, 0x94, 0x65,
0x09, 0x11, 0x79, 0x42, 0x13, 0xc8, 0xcc, 0xb0, 0x68, 0x59, 0x62, 0x92, 0xab, 0xd5, 0x97, 0xf3,
0x0b, 0xfb, 0x71, 0x7c, 0xc5, 0xe8, 0x77, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x9d, 0xfe,
0x1c, 0x89, 0x06, 0x00, 0x00,
}