| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/streetview/publish/v1/rpcmessages.proto |
| |
| package publish // import "google.golang.org/genproto/googleapis/streetview/publish/v1" |
| |
| import proto "github.com/golang/protobuf/proto" |
| import fmt "fmt" |
| import math "math" |
| import status "google.golang.org/genproto/googleapis/rpc/status" |
| import field_mask "google.golang.org/genproto/protobuf/field_mask" |
| |
| // 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 |
| |
| // 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 fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{0} |
| } |
| |
| // Request to create a photo. |
| type CreatePhotoRequest struct { |
| // Required. Photo to create. |
| Photo *Photo `protobuf:"bytes,1,opt,name=photo,proto3" json:"photo,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *CreatePhotoRequest) Reset() { *m = CreatePhotoRequest{} } |
| func (m *CreatePhotoRequest) String() string { return proto.CompactTextString(m) } |
| func (*CreatePhotoRequest) ProtoMessage() {} |
| func (*CreatePhotoRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{0} |
| } |
| func (m *CreatePhotoRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_CreatePhotoRequest.Unmarshal(m, b) |
| } |
| func (m *CreatePhotoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_CreatePhotoRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *CreatePhotoRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_CreatePhotoRequest.Merge(dst, src) |
| } |
| func (m *CreatePhotoRequest) XXX_Size() int { |
| return xxx_messageInfo_CreatePhotoRequest.Size(m) |
| } |
| func (m *CreatePhotoRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_CreatePhotoRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_CreatePhotoRequest proto.InternalMessageInfo |
| |
| 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,proto3" 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,proto3,enum=google.streetview.publish.v1.PhotoView" json:"view,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *GetPhotoRequest) Reset() { *m = GetPhotoRequest{} } |
| func (m *GetPhotoRequest) String() string { return proto.CompactTextString(m) } |
| func (*GetPhotoRequest) ProtoMessage() {} |
| func (*GetPhotoRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{1} |
| } |
| func (m *GetPhotoRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_GetPhotoRequest.Unmarshal(m, b) |
| } |
| func (m *GetPhotoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_GetPhotoRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *GetPhotoRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_GetPhotoRequest.Merge(dst, src) |
| } |
| func (m *GetPhotoRequest) XXX_Size() int { |
| return xxx_messageInfo_GetPhotoRequest.Size(m) |
| } |
| func (m *GetPhotoRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_GetPhotoRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_GetPhotoRequest proto.InternalMessageInfo |
| |
| 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,proto3" 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,proto3,enum=google.streetview.publish.v1.PhotoView" json:"view,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BatchGetPhotosRequest) Reset() { *m = BatchGetPhotosRequest{} } |
| func (m *BatchGetPhotosRequest) String() string { return proto.CompactTextString(m) } |
| func (*BatchGetPhotosRequest) ProtoMessage() {} |
| func (*BatchGetPhotosRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{2} |
| } |
| func (m *BatchGetPhotosRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BatchGetPhotosRequest.Unmarshal(m, b) |
| } |
| func (m *BatchGetPhotosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BatchGetPhotosRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *BatchGetPhotosRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BatchGetPhotosRequest.Merge(dst, src) |
| } |
| func (m *BatchGetPhotosRequest) XXX_Size() int { |
| return xxx_messageInfo_BatchGetPhotosRequest.Size(m) |
| } |
| func (m *BatchGetPhotosRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_BatchGetPhotosRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BatchGetPhotosRequest proto.InternalMessageInfo |
| |
| 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,proto3" json:"results,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BatchGetPhotosResponse) Reset() { *m = BatchGetPhotosResponse{} } |
| func (m *BatchGetPhotosResponse) String() string { return proto.CompactTextString(m) } |
| func (*BatchGetPhotosResponse) ProtoMessage() {} |
| func (*BatchGetPhotosResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{3} |
| } |
| func (m *BatchGetPhotosResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BatchGetPhotosResponse.Unmarshal(m, b) |
| } |
| func (m *BatchGetPhotosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BatchGetPhotosResponse.Marshal(b, m, deterministic) |
| } |
| func (dst *BatchGetPhotosResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BatchGetPhotosResponse.Merge(dst, src) |
| } |
| func (m *BatchGetPhotosResponse) XXX_Size() int { |
| return xxx_messageInfo_BatchGetPhotosResponse.Size(m) |
| } |
| func (m *BatchGetPhotosResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_BatchGetPhotosResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BatchGetPhotosResponse proto.InternalMessageInfo |
| |
| 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 *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` |
| // The photo resource, if the request was successful. |
| Photo *Photo `protobuf:"bytes,2,opt,name=photo,proto3" json:"photo,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *PhotoResponse) Reset() { *m = PhotoResponse{} } |
| func (m *PhotoResponse) String() string { return proto.CompactTextString(m) } |
| func (*PhotoResponse) ProtoMessage() {} |
| func (*PhotoResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{4} |
| } |
| func (m *PhotoResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_PhotoResponse.Unmarshal(m, b) |
| } |
| func (m *PhotoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_PhotoResponse.Marshal(b, m, deterministic) |
| } |
| func (dst *PhotoResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_PhotoResponse.Merge(dst, src) |
| } |
| func (m *PhotoResponse) XXX_Size() int { |
| return xxx_messageInfo_PhotoResponse.Size(m) |
| } |
| func (m *PhotoResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_PhotoResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_PhotoResponse proto.InternalMessageInfo |
| |
| func (m *PhotoResponse) GetStatus() *status.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,proto3,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,proto3" 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,proto3" json:"page_token,omitempty"` |
| // The filter expression. |
| // Example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw` |
| Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListPhotosRequest) Reset() { *m = ListPhotosRequest{} } |
| func (m *ListPhotosRequest) String() string { return proto.CompactTextString(m) } |
| func (*ListPhotosRequest) ProtoMessage() {} |
| func (*ListPhotosRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{5} |
| } |
| func (m *ListPhotosRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListPhotosRequest.Unmarshal(m, b) |
| } |
| func (m *ListPhotosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListPhotosRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *ListPhotosRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListPhotosRequest.Merge(dst, src) |
| } |
| func (m *ListPhotosRequest) XXX_Size() int { |
| return xxx_messageInfo_ListPhotosRequest.Size(m) |
| } |
| func (m *ListPhotosRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListPhotosRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListPhotosRequest proto.InternalMessageInfo |
| |
| 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,proto3" 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,proto3" json:"next_page_token,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *ListPhotosResponse) Reset() { *m = ListPhotosResponse{} } |
| func (m *ListPhotosResponse) String() string { return proto.CompactTextString(m) } |
| func (*ListPhotosResponse) ProtoMessage() {} |
| func (*ListPhotosResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{6} |
| } |
| func (m *ListPhotosResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_ListPhotosResponse.Unmarshal(m, b) |
| } |
| func (m *ListPhotosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_ListPhotosResponse.Marshal(b, m, deterministic) |
| } |
| func (dst *ListPhotosResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_ListPhotosResponse.Merge(dst, src) |
| } |
| func (m *ListPhotosResponse) XXX_Size() int { |
| return xxx_messageInfo_ListPhotosResponse.Size(m) |
| } |
| func (m *ListPhotosResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_ListPhotosResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_ListPhotosResponse proto.InternalMessageInfo |
| |
| 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,proto3" 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 *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *UpdatePhotoRequest) Reset() { *m = UpdatePhotoRequest{} } |
| func (m *UpdatePhotoRequest) String() string { return proto.CompactTextString(m) } |
| func (*UpdatePhotoRequest) ProtoMessage() {} |
| func (*UpdatePhotoRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{7} |
| } |
| func (m *UpdatePhotoRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_UpdatePhotoRequest.Unmarshal(m, b) |
| } |
| func (m *UpdatePhotoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_UpdatePhotoRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *UpdatePhotoRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_UpdatePhotoRequest.Merge(dst, src) |
| } |
| func (m *UpdatePhotoRequest) XXX_Size() int { |
| return xxx_messageInfo_UpdatePhotoRequest.Size(m) |
| } |
| func (m *UpdatePhotoRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_UpdatePhotoRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_UpdatePhotoRequest proto.InternalMessageInfo |
| |
| func (m *UpdatePhotoRequest) GetPhoto() *Photo { |
| if m != nil { |
| return m.Photo |
| } |
| return nil |
| } |
| |
| func (m *UpdatePhotoRequest) GetUpdateMask() *field_mask.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,proto3" json:"update_photo_requests,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BatchUpdatePhotosRequest) Reset() { *m = BatchUpdatePhotosRequest{} } |
| func (m *BatchUpdatePhotosRequest) String() string { return proto.CompactTextString(m) } |
| func (*BatchUpdatePhotosRequest) ProtoMessage() {} |
| func (*BatchUpdatePhotosRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{8} |
| } |
| func (m *BatchUpdatePhotosRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BatchUpdatePhotosRequest.Unmarshal(m, b) |
| } |
| func (m *BatchUpdatePhotosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BatchUpdatePhotosRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *BatchUpdatePhotosRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BatchUpdatePhotosRequest.Merge(dst, src) |
| } |
| func (m *BatchUpdatePhotosRequest) XXX_Size() int { |
| return xxx_messageInfo_BatchUpdatePhotosRequest.Size(m) |
| } |
| func (m *BatchUpdatePhotosRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_BatchUpdatePhotosRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BatchUpdatePhotosRequest proto.InternalMessageInfo |
| |
| 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,proto3" json:"results,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BatchUpdatePhotosResponse) Reset() { *m = BatchUpdatePhotosResponse{} } |
| func (m *BatchUpdatePhotosResponse) String() string { return proto.CompactTextString(m) } |
| func (*BatchUpdatePhotosResponse) ProtoMessage() {} |
| func (*BatchUpdatePhotosResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{9} |
| } |
| func (m *BatchUpdatePhotosResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BatchUpdatePhotosResponse.Unmarshal(m, b) |
| } |
| func (m *BatchUpdatePhotosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BatchUpdatePhotosResponse.Marshal(b, m, deterministic) |
| } |
| func (dst *BatchUpdatePhotosResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BatchUpdatePhotosResponse.Merge(dst, src) |
| } |
| func (m *BatchUpdatePhotosResponse) XXX_Size() int { |
| return xxx_messageInfo_BatchUpdatePhotosResponse.Size(m) |
| } |
| func (m *BatchUpdatePhotosResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_BatchUpdatePhotosResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BatchUpdatePhotosResponse proto.InternalMessageInfo |
| |
| 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,proto3" json:"photo_id,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *DeletePhotoRequest) Reset() { *m = DeletePhotoRequest{} } |
| func (m *DeletePhotoRequest) String() string { return proto.CompactTextString(m) } |
| func (*DeletePhotoRequest) ProtoMessage() {} |
| func (*DeletePhotoRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{10} |
| } |
| func (m *DeletePhotoRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_DeletePhotoRequest.Unmarshal(m, b) |
| } |
| func (m *DeletePhotoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_DeletePhotoRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *DeletePhotoRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_DeletePhotoRequest.Merge(dst, src) |
| } |
| func (m *DeletePhotoRequest) XXX_Size() int { |
| return xxx_messageInfo_DeletePhotoRequest.Size(m) |
| } |
| func (m *DeletePhotoRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_DeletePhotoRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_DeletePhotoRequest proto.InternalMessageInfo |
| |
| 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,proto3" json:"photo_ids,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BatchDeletePhotosRequest) Reset() { *m = BatchDeletePhotosRequest{} } |
| func (m *BatchDeletePhotosRequest) String() string { return proto.CompactTextString(m) } |
| func (*BatchDeletePhotosRequest) ProtoMessage() {} |
| func (*BatchDeletePhotosRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{11} |
| } |
| func (m *BatchDeletePhotosRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BatchDeletePhotosRequest.Unmarshal(m, b) |
| } |
| func (m *BatchDeletePhotosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BatchDeletePhotosRequest.Marshal(b, m, deterministic) |
| } |
| func (dst *BatchDeletePhotosRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BatchDeletePhotosRequest.Merge(dst, src) |
| } |
| func (m *BatchDeletePhotosRequest) XXX_Size() int { |
| return xxx_messageInfo_BatchDeletePhotosRequest.Size(m) |
| } |
| func (m *BatchDeletePhotosRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_BatchDeletePhotosRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BatchDeletePhotosRequest proto.InternalMessageInfo |
| |
| 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 []*status.Status `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *BatchDeletePhotosResponse) Reset() { *m = BatchDeletePhotosResponse{} } |
| func (m *BatchDeletePhotosResponse) String() string { return proto.CompactTextString(m) } |
| func (*BatchDeletePhotosResponse) ProtoMessage() {} |
| func (*BatchDeletePhotosResponse) Descriptor() ([]byte, []int) { |
| return fileDescriptor_rpcmessages_f5aa79e45963eccc, []int{12} |
| } |
| func (m *BatchDeletePhotosResponse) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_BatchDeletePhotosResponse.Unmarshal(m, b) |
| } |
| func (m *BatchDeletePhotosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_BatchDeletePhotosResponse.Marshal(b, m, deterministic) |
| } |
| func (dst *BatchDeletePhotosResponse) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_BatchDeletePhotosResponse.Merge(dst, src) |
| } |
| func (m *BatchDeletePhotosResponse) XXX_Size() int { |
| return xxx_messageInfo_BatchDeletePhotosResponse.Size(m) |
| } |
| func (m *BatchDeletePhotosResponse) XXX_DiscardUnknown() { |
| xxx_messageInfo_BatchDeletePhotosResponse.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_BatchDeletePhotosResponse proto.InternalMessageInfo |
| |
| func (m *BatchDeletePhotosResponse) GetStatus() []*status.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", fileDescriptor_rpcmessages_f5aa79e45963eccc) |
| } |
| |
| var fileDescriptor_rpcmessages_f5aa79e45963eccc = []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,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