publishpb

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProcessingState_name = map[int32]string{
		0: "PROCESSING_STATE_UNSPECIFIED",
		1: "PENDING",
		2: "PROCESSING",
		3: "PROCESSED",
		4: "FAILED",
	}
	ProcessingState_value = map[string]int32{
		"PROCESSING_STATE_UNSPECIFIED": 0,
		"PENDING":                      1,
		"PROCESSING":                   2,
		"PROCESSED":                    3,
		"FAILED":                       4,
	}
)

Enum value maps for ProcessingState.

View Source
var (
	ProcessingFailureReason_name = map[int32]string{
		0:  "PROCESSING_FAILURE_REASON_UNSPECIFIED",
		1:  "LOW_RESOLUTION",
		2:  "DUPLICATE",
		3:  "INSUFFICIENT_GPS",
		4:  "NO_OVERLAP_GPS",
		5:  "INVALID_GPS",
		6:  "FAILED_TO_REFINE_POSITIONS",
		7:  "TAKEDOWN",
		8:  "CORRUPT_VIDEO",
		9:  "INTERNAL",
		10: "INVALID_VIDEO_FORMAT",
		11: "INVALID_VIDEO_DIMENSIONS",
		12: "INVALID_CAPTURE_TIME",
		13: "GPS_DATA_GAP",
		14: "JUMPY_GPS",
		15: "INVALID_IMU",
		21: "INSUFFICIENT_IMU",
		22: "INSUFFICIENT_OVERLAP_TIME_SERIES",
		16: "IMU_DATA_GAP",
		17: "UNSUPPORTED_CAMERA",
		18: "NOT_OUTDOORS",
		19: "INSUFFICIENT_VIDEO_FRAMES",
		20: "INSUFFICIENT_MOVEMENT",
		27: "MAST_DOWN",
		28: "CAMERA_COVERED",
	}
	ProcessingFailureReason_value = map[string]int32{
		"PROCESSING_FAILURE_REASON_UNSPECIFIED": 0,
		"LOW_RESOLUTION":                        1,
		"DUPLICATE":                             2,
		"INSUFFICIENT_GPS":                      3,
		"NO_OVERLAP_GPS":                        4,
		"INVALID_GPS":                           5,
		"FAILED_TO_REFINE_POSITIONS":            6,
		"TAKEDOWN":                              7,
		"CORRUPT_VIDEO":                         8,
		"INTERNAL":                              9,
		"INVALID_VIDEO_FORMAT":                  10,
		"INVALID_VIDEO_DIMENSIONS":              11,
		"INVALID_CAPTURE_TIME":                  12,
		"GPS_DATA_GAP":                          13,
		"JUMPY_GPS":                             14,
		"INVALID_IMU":                           15,
		"INSUFFICIENT_IMU":                      21,
		"INSUFFICIENT_OVERLAP_TIME_SERIES":      22,
		"IMU_DATA_GAP":                          16,
		"UNSUPPORTED_CAMERA":                    17,
		"NOT_OUTDOORS":                          18,
		"INSUFFICIENT_VIDEO_FRAMES":             19,
		"INSUFFICIENT_MOVEMENT":                 20,
		"MAST_DOWN":                             27,
		"CAMERA_COVERED":                        28,
	}
)

Enum value maps for ProcessingFailureReason.

View Source
var (
	Photo_TransferStatus_name = map[int32]string{
		0: "TRANSFER_STATUS_UNKNOWN",
		1: "NEVER_TRANSFERRED",
		2: "PENDING",
		3: "COMPLETED",
		4: "REJECTED",
		5: "EXPIRED",
		6: "CANCELLED",
		7: "RECEIVED_VIA_TRANSFER",
	}
	Photo_TransferStatus_value = map[string]int32{
		"TRANSFER_STATUS_UNKNOWN": 0,
		"NEVER_TRANSFERRED":       1,
		"PENDING":                 2,
		"COMPLETED":               3,
		"REJECTED":                4,
		"EXPIRED":                 5,
		"CANCELLED":               6,
		"RECEIVED_VIA_TRANSFER":   7,
	}
)

Enum value maps for Photo_TransferStatus.

View Source
var (
	Photo_MapsPublishStatus_name = map[int32]string{
		0: "UNSPECIFIED_MAPS_PUBLISH_STATUS",
		1: "PUBLISHED",
		2: "REJECTED_UNKNOWN",
	}
	Photo_MapsPublishStatus_value = map[string]int32{
		"UNSPECIFIED_MAPS_PUBLISH_STATUS": 0,
		"PUBLISHED":                       1,
		"REJECTED_UNKNOWN":                2,
	}
)

Enum value maps for Photo_MapsPublishStatus.

View Source
var (
	PhotoSequence_GpsSource_name = map[int32]string{
		0: "PHOTO_SEQUENCE",
		1: "CAMERA_MOTION_METADATA_TRACK",
	}
	PhotoSequence_GpsSource_value = map[string]int32{
		"PHOTO_SEQUENCE":               0,
		"CAMERA_MOTION_METADATA_TRACK": 1,
	}
)

Enum value maps for PhotoSequence_GpsSource.

View Source
var (
	PhotoView_name = map[int32]string{
		0: "BASIC",
		1: "INCLUDE_DOWNLOAD_URL",
	}
	PhotoView_value = map[string]int32{
		"BASIC":                0,
		"INCLUDE_DOWNLOAD_URL": 1,
	}
)

Enum value maps for PhotoView.

View Source
var (
	CreatePhotoSequenceRequest_InputType_name = map[int32]string{
		0: "INPUT_TYPE_UNSPECIFIED",
		1: "VIDEO",
		2: "XDM",
	}
	CreatePhotoSequenceRequest_InputType_value = map[string]int32{
		"INPUT_TYPE_UNSPECIFIED": 0,
		"VIDEO":                  1,
		"XDM":                    2,
	}
)

Enum value maps for CreatePhotoSequenceRequest_InputType.

View Source
var File_google_streetview_publish_v1_resources_proto protoreflect.FileDescriptor
View Source
var File_google_streetview_publish_v1_rpcmessages_proto protoreflect.FileDescriptor
View Source
var File_google_streetview_publish_v1_streetview_publish_proto protoreflect.FileDescriptor

Functions

func RegisterStreetViewPublishServiceServer

func RegisterStreetViewPublishServiceServer(s *grpc.Server, srv StreetViewPublishServiceServer)

Types

type BatchDeletePhotosRequest

type BatchDeletePhotosRequest struct {

	// Required. IDs of the [Photos][google.streetview.publish.v1.Photo]. HTTP
	// GET requests require the following syntax for the URL query parameter:
	// `photoIds=<id1>&photoIds=<id2>&...`.
	PhotoIds []string `protobuf:"bytes,1,rep,name=photo_ids,json=photoIds,proto3" json:"photo_ids,omitempty"`
	// contains filtered or unexported fields
}

Request to delete multiple [Photos][google.streetview.publish.v1.Photo].

func (*BatchDeletePhotosRequest) Descriptor deprecated

func (*BatchDeletePhotosRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchDeletePhotosRequest.ProtoReflect.Descriptor instead.

func (*BatchDeletePhotosRequest) GetPhotoIds

func (x *BatchDeletePhotosRequest) GetPhotoIds() []string

func (*BatchDeletePhotosRequest) ProtoMessage

func (*BatchDeletePhotosRequest) ProtoMessage()

func (*BatchDeletePhotosRequest) ProtoReflect

func (x *BatchDeletePhotosRequest) ProtoReflect() protoreflect.Message

func (*BatchDeletePhotosRequest) Reset

func (x *BatchDeletePhotosRequest) Reset()

func (*BatchDeletePhotosRequest) String

func (x *BatchDeletePhotosRequest) String() string

type BatchDeletePhotosResponse

type BatchDeletePhotosResponse struct {

	// The status for the operation to delete a single
	// [Photo][google.streetview.publish.v1.Photo] in the batch request.
	Status []*status.Status `protobuf:"bytes,1,rep,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Response to batch delete of one or more [Photos][google.streetview.publish.v1.Photo].

func (*BatchDeletePhotosResponse) Descriptor deprecated

func (*BatchDeletePhotosResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchDeletePhotosResponse.ProtoReflect.Descriptor instead.

func (*BatchDeletePhotosResponse) GetStatus

func (x *BatchDeletePhotosResponse) GetStatus() []*status.Status

func (*BatchDeletePhotosResponse) ProtoMessage

func (*BatchDeletePhotosResponse) ProtoMessage()

func (*BatchDeletePhotosResponse) ProtoReflect

func (*BatchDeletePhotosResponse) Reset

func (x *BatchDeletePhotosResponse) Reset()

func (*BatchDeletePhotosResponse) String

func (x *BatchDeletePhotosResponse) String() string

type BatchGetPhotosRequest

type BatchGetPhotosRequest struct {

	// Required. IDs of the [Photos][google.streetview.publish.v1.Photo]. For HTTP
	// GET requests, the URL query parameter should be
	// `photoIds=<id1>&photoIds=<id2>&...`.
	PhotoIds []string `protobuf:"bytes,1,rep,name=photo_ids,json=photoIds,proto3" json:"photo_ids,omitempty"`
	// Required. 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"`
	// Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
	// information, see
	// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
	// If language_code is unspecified, the user's language preference for Google
	// services is used.
	LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// contains filtered or unexported fields
}

Request to get one or more [Photos][google.streetview.publish.v1.Photo]. By default

* does not return the download URL for the photo bytes.

Parameters:

* `view` controls if the download URL for the photo bytes is returned.

func (*BatchGetPhotosRequest) Descriptor deprecated

func (*BatchGetPhotosRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetPhotosRequest.ProtoReflect.Descriptor instead.

func (*BatchGetPhotosRequest) GetLanguageCode

func (x *BatchGetPhotosRequest) GetLanguageCode() string

func (*BatchGetPhotosRequest) GetPhotoIds

func (x *BatchGetPhotosRequest) GetPhotoIds() []string

func (*BatchGetPhotosRequest) GetView

func (x *BatchGetPhotosRequest) GetView() PhotoView

func (*BatchGetPhotosRequest) ProtoMessage

func (*BatchGetPhotosRequest) ProtoMessage()

func (*BatchGetPhotosRequest) ProtoReflect

func (x *BatchGetPhotosRequest) ProtoReflect() protoreflect.Message

func (*BatchGetPhotosRequest) Reset

func (x *BatchGetPhotosRequest) Reset()

func (*BatchGetPhotosRequest) String

func (x *BatchGetPhotosRequest) String() string

type BatchGetPhotosResponse

type BatchGetPhotosResponse struct {

	// List of results for each individual
	// [Photo][google.streetview.publish.v1.Photo] requested, in the same order as
	// the requests in
	// [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos].
	Results []*PhotoResponse `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

Response to batch get of [Photos][google.streetview.publish.v1.Photo].

func (*BatchGetPhotosResponse) Descriptor deprecated

func (*BatchGetPhotosResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetPhotosResponse.ProtoReflect.Descriptor instead.

func (*BatchGetPhotosResponse) GetResults

func (x *BatchGetPhotosResponse) GetResults() []*PhotoResponse

func (*BatchGetPhotosResponse) ProtoMessage

func (*BatchGetPhotosResponse) ProtoMessage()

func (*BatchGetPhotosResponse) ProtoReflect

func (x *BatchGetPhotosResponse) ProtoReflect() protoreflect.Message

func (*BatchGetPhotosResponse) Reset

func (x *BatchGetPhotosResponse) Reset()

func (*BatchGetPhotosResponse) String

func (x *BatchGetPhotosResponse) String() string

type BatchUpdatePhotosRequest

type BatchUpdatePhotosRequest struct {

	// Required. List of
	// [UpdatePhotoRequests][google.streetview.publish.v1.UpdatePhotoRequest].
	UpdatePhotoRequests []*UpdatePhotoRequest `protobuf:"bytes,1,rep,name=update_photo_requests,json=updatePhotoRequests,proto3" json:"update_photo_requests,omitempty"`
	// contains filtered or unexported fields
}

Request to update the metadata of photos. Updating the pixels of photos is not supported.

func (*BatchUpdatePhotosRequest) Descriptor deprecated

func (*BatchUpdatePhotosRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchUpdatePhotosRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdatePhotosRequest) GetUpdatePhotoRequests

func (x *BatchUpdatePhotosRequest) GetUpdatePhotoRequests() []*UpdatePhotoRequest

func (*BatchUpdatePhotosRequest) ProtoMessage

func (*BatchUpdatePhotosRequest) ProtoMessage()

func (*BatchUpdatePhotosRequest) ProtoReflect

func (x *BatchUpdatePhotosRequest) ProtoReflect() protoreflect.Message

func (*BatchUpdatePhotosRequest) Reset

func (x *BatchUpdatePhotosRequest) Reset()

func (*BatchUpdatePhotosRequest) String

func (x *BatchUpdatePhotosRequest) String() string

type BatchUpdatePhotosResponse

type BatchUpdatePhotosResponse struct {

	// List of results for each individual
	// [Photo][google.streetview.publish.v1.Photo] updated, in the same order as
	// the request.
	Results []*PhotoResponse `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

Response to batch update of metadata of one or more [Photos][google.streetview.publish.v1.Photo].

func (*BatchUpdatePhotosResponse) Descriptor deprecated

func (*BatchUpdatePhotosResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchUpdatePhotosResponse.ProtoReflect.Descriptor instead.

func (*BatchUpdatePhotosResponse) GetResults

func (x *BatchUpdatePhotosResponse) GetResults() []*PhotoResponse

func (*BatchUpdatePhotosResponse) ProtoMessage

func (*BatchUpdatePhotosResponse) ProtoMessage()

func (*BatchUpdatePhotosResponse) ProtoReflect

func (*BatchUpdatePhotosResponse) Reset

func (x *BatchUpdatePhotosResponse) Reset()

func (*BatchUpdatePhotosResponse) String

func (x *BatchUpdatePhotosResponse) String() string

type Connection

type Connection struct {

	// Required. The destination of the connection from the containing photo to
	// another photo.
	Target *PhotoId `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

A connection is the link from a source photo to a destination photo.

func (*Connection) Descriptor deprecated

func (*Connection) Descriptor() ([]byte, []int)

Deprecated: Use Connection.ProtoReflect.Descriptor instead.

func (*Connection) GetTarget

func (x *Connection) GetTarget() *PhotoId

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) ProtoReflect

func (x *Connection) ProtoReflect() protoreflect.Message

func (*Connection) Reset

func (x *Connection) Reset()

func (*Connection) String

func (x *Connection) String() string

type CreatePhotoRequest

type CreatePhotoRequest struct {

	// Required. Photo to create.
	Photo *Photo `protobuf:"bytes,1,opt,name=photo,proto3" json:"photo,omitempty"`
	// contains filtered or unexported fields
}

Request to create a Photo[google.streetview.publish.v1.Photo].

func (*CreatePhotoRequest) Descriptor deprecated

func (*CreatePhotoRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreatePhotoRequest.ProtoReflect.Descriptor instead.

func (*CreatePhotoRequest) GetPhoto

func (x *CreatePhotoRequest) GetPhoto() *Photo

func (*CreatePhotoRequest) ProtoMessage

func (*CreatePhotoRequest) ProtoMessage()

func (*CreatePhotoRequest) ProtoReflect

func (x *CreatePhotoRequest) ProtoReflect() protoreflect.Message

func (*CreatePhotoRequest) Reset

func (x *CreatePhotoRequest) Reset()

func (*CreatePhotoRequest) String

func (x *CreatePhotoRequest) String() string

type CreatePhotoSequenceRequest

type CreatePhotoSequenceRequest struct {

	// Required. [PhotoSequence][google.streetview.publish.v1.PhotoSequence] to
	// create.
	PhotoSequence *PhotoSequence `protobuf:"bytes,1,opt,name=photo_sequence,json=photoSequence,proto3" json:"photo_sequence,omitempty"`
	// Required. The input form of
	// [PhotoSequence][google.streetview.publish.v1.PhotoSequence].
	InputType CreatePhotoSequenceRequest_InputType `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request to create a PhotoSequence[google.streetview.publish.v1.PhotoSequence] from a video.

func (*CreatePhotoSequenceRequest) Descriptor deprecated

func (*CreatePhotoSequenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreatePhotoSequenceRequest.ProtoReflect.Descriptor instead.

func (*CreatePhotoSequenceRequest) GetInputType

func (*CreatePhotoSequenceRequest) GetPhotoSequence

func (x *CreatePhotoSequenceRequest) GetPhotoSequence() *PhotoSequence

func (*CreatePhotoSequenceRequest) ProtoMessage

func (*CreatePhotoSequenceRequest) ProtoMessage()

func (*CreatePhotoSequenceRequest) ProtoReflect

func (*CreatePhotoSequenceRequest) Reset

func (x *CreatePhotoSequenceRequest) Reset()

func (*CreatePhotoSequenceRequest) String

func (x *CreatePhotoSequenceRequest) String() string

type CreatePhotoSequenceRequest_InputType

type CreatePhotoSequenceRequest_InputType int32

Input forms of PhotoSequence[google.streetview.publish.v1.PhotoSequence].

const (
	// Not specified. Server will return
	// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].
	CreatePhotoSequenceRequest_INPUT_TYPE_UNSPECIFIED CreatePhotoSequenceRequest_InputType = 0
	// 360 Video.
	CreatePhotoSequenceRequest_VIDEO CreatePhotoSequenceRequest_InputType = 1
	// Extensible Device Metadata, http://www.xdm.org
	CreatePhotoSequenceRequest_XDM CreatePhotoSequenceRequest_InputType = 2
)

func (CreatePhotoSequenceRequest_InputType) Descriptor

func (CreatePhotoSequenceRequest_InputType) Enum

func (CreatePhotoSequenceRequest_InputType) EnumDescriptor deprecated

func (CreatePhotoSequenceRequest_InputType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CreatePhotoSequenceRequest_InputType.Descriptor instead.

func (CreatePhotoSequenceRequest_InputType) Number

func (CreatePhotoSequenceRequest_InputType) String

func (CreatePhotoSequenceRequest_InputType) Type

type DeletePhotoRequest

type DeletePhotoRequest struct {

	// Required. ID of the [Photo][google.streetview.publish.v1.Photo].
	PhotoId string `protobuf:"bytes,1,opt,name=photo_id,json=photoId,proto3" json:"photo_id,omitempty"`
	// contains filtered or unexported fields
}

Request to delete a Photo[google.streetview.publish.v1.Photo].

func (*DeletePhotoRequest) Descriptor deprecated

func (*DeletePhotoRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePhotoRequest.ProtoReflect.Descriptor instead.

func (*DeletePhotoRequest) GetPhotoId

func (x *DeletePhotoRequest) GetPhotoId() string

func (*DeletePhotoRequest) ProtoMessage

func (*DeletePhotoRequest) ProtoMessage()

func (*DeletePhotoRequest) ProtoReflect

func (x *DeletePhotoRequest) ProtoReflect() protoreflect.Message

func (*DeletePhotoRequest) Reset

func (x *DeletePhotoRequest) Reset()

func (*DeletePhotoRequest) String

func (x *DeletePhotoRequest) String() string

type DeletePhotoSequenceRequest

type DeletePhotoSequenceRequest struct {

	// Required. ID of the
	// [PhotoSequence][google.streetview.publish.v1.PhotoSequence].
	SequenceId string `protobuf:"bytes,1,opt,name=sequence_id,json=sequenceId,proto3" json:"sequence_id,omitempty"`
	// contains filtered or unexported fields
}

Request to delete a PhotoSequence[google.streetview.publish.v1.PhotoSequence].

func (*DeletePhotoSequenceRequest) Descriptor deprecated

func (*DeletePhotoSequenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePhotoSequenceRequest.ProtoReflect.Descriptor instead.

func (*DeletePhotoSequenceRequest) GetSequenceId

func (x *DeletePhotoSequenceRequest) GetSequenceId() string

func (*DeletePhotoSequenceRequest) ProtoMessage

func (*DeletePhotoSequenceRequest) ProtoMessage()

func (*DeletePhotoSequenceRequest) ProtoReflect

func (*DeletePhotoSequenceRequest) Reset

func (x *DeletePhotoSequenceRequest) Reset()

func (*DeletePhotoSequenceRequest) String

func (x *DeletePhotoSequenceRequest) String() string

type GetPhotoRequest

type GetPhotoRequest struct {

	// Required. ID of the [Photo][google.streetview.publish.v1.Photo].
	PhotoId string `protobuf:"bytes,1,opt,name=photo_id,json=photoId,proto3" json:"photo_id,omitempty"`
	// Required. Specifies if a download URL for the photo bytes should be
	// returned in the [Photo][google.streetview.publish.v1.Photo] response.
	View PhotoView `protobuf:"varint,2,opt,name=view,proto3,enum=google.streetview.publish.v1.PhotoView" json:"view,omitempty"`
	// The BCP-47 language code, such as "en-US" or "sr-Latn". For more
	// information, see
	// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
	// If language_code is unspecified, the user's language preference for Google
	// services is used.
	LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// contains filtered or unexported fields
}

Request to get a Photo[google.streetview.publish.v1.Photo].

By default

* does not return the download URL for the photo bytes.

Parameters:

* `view` controls if the download URL for the photo bytes is returned.

func (*GetPhotoRequest) Descriptor deprecated

func (*GetPhotoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPhotoRequest.ProtoReflect.Descriptor instead.

func (*GetPhotoRequest) GetLanguageCode

func (x *GetPhotoRequest) GetLanguageCode() string

func (*GetPhotoRequest) GetPhotoId

func (x *GetPhotoRequest) GetPhotoId() string

func (*GetPhotoRequest) GetView

func (x *GetPhotoRequest) GetView() PhotoView

func (*GetPhotoRequest) ProtoMessage

func (*GetPhotoRequest) ProtoMessage()

func (*GetPhotoRequest) ProtoReflect

func (x *GetPhotoRequest) ProtoReflect() protoreflect.Message

func (*GetPhotoRequest) Reset

func (x *GetPhotoRequest) Reset()

func (*GetPhotoRequest) String

func (x *GetPhotoRequest) String() string

type GetPhotoSequenceRequest

type GetPhotoSequenceRequest struct {

	// Required. ID of the photo sequence.
	SequenceId string `protobuf:"bytes,1,opt,name=sequence_id,json=sequenceId,proto3" json:"sequence_id,omitempty"`
	// Specifies if a download URL for the photo sequence should be returned in
	// `download_url` of individual photos in the
	// [PhotoSequence][google.streetview.publish.v1.PhotoSequence] response.
	// > Note: Currently not implemented.
	//
	// Deprecated: Marked as deprecated in google/streetview/publish/v1/rpcmessages.proto.
	View PhotoView `protobuf:"varint,2,opt,name=view,proto3,enum=google.streetview.publish.v1.PhotoView" json:"view,omitempty"`
	// Optional. The filter expression. For example: `published_status=PUBLISHED`.
	//
	// The filters supported are: `published_status`.  See
	// https://google.aip.dev/160 for more information.
	Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request to get a PhotoSequence[google.streetview.publish.v1.PhotoSequence].

By default

* does not return the download URL for the PhotoSequence[google.streetview.publish.v1.PhotoSequence].

Parameters:

* `view` controls if the download URL for the PhotoSequence[google.streetview.publish.v1.PhotoSequence] is

returned.

func (*GetPhotoSequenceRequest) Descriptor deprecated

func (*GetPhotoSequenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPhotoSequenceRequest.ProtoReflect.Descriptor instead.

func (*GetPhotoSequenceRequest) GetFilter

func (x *GetPhotoSequenceRequest) GetFilter() string

func (*GetPhotoSequenceRequest) GetSequenceId

func (x *GetPhotoSequenceRequest) GetSequenceId() string

func (*GetPhotoSequenceRequest) GetView deprecated

func (x *GetPhotoSequenceRequest) GetView() PhotoView

Deprecated: Marked as deprecated in google/streetview/publish/v1/rpcmessages.proto.

func (*GetPhotoSequenceRequest) ProtoMessage

func (*GetPhotoSequenceRequest) ProtoMessage()

func (*GetPhotoSequenceRequest) ProtoReflect

func (x *GetPhotoSequenceRequest) ProtoReflect() protoreflect.Message

func (*GetPhotoSequenceRequest) Reset

func (x *GetPhotoSequenceRequest) Reset()

func (*GetPhotoSequenceRequest) String

func (x *GetPhotoSequenceRequest) String() string

type GpsDataGapFailureDetails

type GpsDataGapFailureDetails struct {

	// The duration of the gap in GPS data that was found.
	GapDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=gap_duration,json=gapDuration,proto3,oneof" json:"gap_duration,omitempty"`
	// Relative time (from the start of the video stream) when the gap started.
	GapStartTime *durationpb.Duration `protobuf:"bytes,2,opt,name=gap_start_time,json=gapStartTime,proto3,oneof" json:"gap_start_time,omitempty"`
	// contains filtered or unexported fields
}

Details related to ProcessingFailureReason#GPS_DATA_GAP. If there are multiple GPS data gaps, only the one with the largest duration is reported here.

func (*GpsDataGapFailureDetails) Descriptor deprecated

func (*GpsDataGapFailureDetails) Descriptor() ([]byte, []int)

Deprecated: Use GpsDataGapFailureDetails.ProtoReflect.Descriptor instead.

func (*GpsDataGapFailureDetails) GetGapDuration

func (x *GpsDataGapFailureDetails) GetGapDuration() *durationpb.Duration

func (*GpsDataGapFailureDetails) GetGapStartTime

func (x *GpsDataGapFailureDetails) GetGapStartTime() *durationpb.Duration

func (*GpsDataGapFailureDetails) ProtoMessage

func (*GpsDataGapFailureDetails) ProtoMessage()

func (*GpsDataGapFailureDetails) ProtoReflect

func (x *GpsDataGapFailureDetails) ProtoReflect() protoreflect.Message

func (*GpsDataGapFailureDetails) Reset

func (x *GpsDataGapFailureDetails) Reset()

func (*GpsDataGapFailureDetails) String

func (x *GpsDataGapFailureDetails) String() string

type Imu

type Imu struct {

	// The accelerometer measurements in meters/sec^2 with increasing timestamps
	// from devices.
	AccelMpsps []*Imu_Measurement3D `protobuf:"bytes,1,rep,name=accel_mpsps,json=accelMpsps,proto3" json:"accel_mpsps,omitempty"`
	// The gyroscope measurements in radians/sec with increasing timestamps from
	// devices.
	GyroRps []*Imu_Measurement3D `protobuf:"bytes,2,rep,name=gyro_rps,json=gyroRps,proto3" json:"gyro_rps,omitempty"`
	// The magnetometer measurements of the magnetic field in microtesla (uT) with
	// increasing timestamps from devices.
	MagUt []*Imu_Measurement3D `protobuf:"bytes,3,rep,name=mag_ut,json=magUt,proto3" json:"mag_ut,omitempty"`
	// contains filtered or unexported fields
}

IMU data from the device sensors.

func (*Imu) Descriptor deprecated

func (*Imu) Descriptor() ([]byte, []int)

Deprecated: Use Imu.ProtoReflect.Descriptor instead.

func (*Imu) GetAccelMpsps

func (x *Imu) GetAccelMpsps() []*Imu_Measurement3D

func (*Imu) GetGyroRps

func (x *Imu) GetGyroRps() []*Imu_Measurement3D

func (*Imu) GetMagUt

func (x *Imu) GetMagUt() []*Imu_Measurement3D

func (*Imu) ProtoMessage

func (*Imu) ProtoMessage()

func (*Imu) ProtoReflect

func (x *Imu) ProtoReflect() protoreflect.Message

func (*Imu) Reset

func (x *Imu) Reset()

func (*Imu) String

func (x *Imu) String() string

type ImuDataGapFailureDetails

type ImuDataGapFailureDetails struct {

	// The duration of the gap in IMU data that was found.
	GapDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=gap_duration,json=gapDuration,proto3,oneof" json:"gap_duration,omitempty"`
	// Relative time (from the start of the video stream) when the gap started.
	GapStartTime *durationpb.Duration `protobuf:"bytes,2,opt,name=gap_start_time,json=gapStartTime,proto3,oneof" json:"gap_start_time,omitempty"`
	// contains filtered or unexported fields
}

Details related to ProcessingFailureReason#IMU_DATA_GAP. If there are multiple IMU data gaps, only the one with the largest duration is reported here.

func (*ImuDataGapFailureDetails) Descriptor deprecated

func (*ImuDataGapFailureDetails) Descriptor() ([]byte, []int)

Deprecated: Use ImuDataGapFailureDetails.ProtoReflect.Descriptor instead.

func (*ImuDataGapFailureDetails) GetGapDuration

func (x *ImuDataGapFailureDetails) GetGapDuration() *durationpb.Duration

func (*ImuDataGapFailureDetails) GetGapStartTime

func (x *ImuDataGapFailureDetails) GetGapStartTime() *durationpb.Duration

func (*ImuDataGapFailureDetails) ProtoMessage

func (*ImuDataGapFailureDetails) ProtoMessage()

func (*ImuDataGapFailureDetails) ProtoReflect

func (x *ImuDataGapFailureDetails) ProtoReflect() protoreflect.Message

func (*ImuDataGapFailureDetails) Reset

func (x *ImuDataGapFailureDetails) Reset()

func (*ImuDataGapFailureDetails) String

func (x *ImuDataGapFailureDetails) String() string

type Imu_Measurement3D

type Imu_Measurement3D struct {

	// The timestamp of the IMU measurement.
	CaptureTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=capture_time,json=captureTime,proto3" json:"capture_time,omitempty"`
	// The sensor measurement in the x axis.
	X float32 `protobuf:"fixed32,2,opt,name=x,proto3" json:"x,omitempty"`
	// The sensor measurement in the y axis.
	Y float32 `protobuf:"fixed32,3,opt,name=y,proto3" json:"y,omitempty"`
	// The sensor measurement in the z axis.
	Z float32 `protobuf:"fixed32,4,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

A Generic 3d measurement sample.

func (*Imu_Measurement3D) Descriptor deprecated

func (*Imu_Measurement3D) Descriptor() ([]byte, []int)

Deprecated: Use Imu_Measurement3D.ProtoReflect.Descriptor instead.

func (*Imu_Measurement3D) GetCaptureTime

func (x *Imu_Measurement3D) GetCaptureTime() *timestamppb.Timestamp

func (*Imu_Measurement3D) GetX

func (x *Imu_Measurement3D) GetX() float32

func (*Imu_Measurement3D) GetY

func (x *Imu_Measurement3D) GetY() float32

func (*Imu_Measurement3D) GetZ

func (x *Imu_Measurement3D) GetZ() float32

func (*Imu_Measurement3D) ProtoMessage

func (*Imu_Measurement3D) ProtoMessage()

func (*Imu_Measurement3D) ProtoReflect

func (x *Imu_Measurement3D) ProtoReflect() protoreflect.Message

func (*Imu_Measurement3D) Reset

func (x *Imu_Measurement3D) Reset()

func (*Imu_Measurement3D) String

func (x *Imu_Measurement3D) String() string

type InsufficientGpsFailureDetails

type InsufficientGpsFailureDetails struct {

	// The number of GPS points that were found in the video.
	GpsPointsFound *int32 `protobuf:"varint,1,opt,name=gps_points_found,json=gpsPointsFound,proto3,oneof" json:"gps_points_found,omitempty"`
	// contains filtered or unexported fields
}

Details related to ProcessingFailureReason#INSUFFICIENT_GPS.

func (*InsufficientGpsFailureDetails) Descriptor deprecated

func (*InsufficientGpsFailureDetails) Descriptor() ([]byte, []int)

Deprecated: Use InsufficientGpsFailureDetails.ProtoReflect.Descriptor instead.

func (*InsufficientGpsFailureDetails) GetGpsPointsFound

func (x *InsufficientGpsFailureDetails) GetGpsPointsFound() int32

func (*InsufficientGpsFailureDetails) ProtoMessage

func (*InsufficientGpsFailureDetails) ProtoMessage()

func (*InsufficientGpsFailureDetails) ProtoReflect

func (*InsufficientGpsFailureDetails) Reset

func (x *InsufficientGpsFailureDetails) Reset()

func (*InsufficientGpsFailureDetails) String

type LatLngBounds

type LatLngBounds struct {

	// The southwest corner of these bounds.
	Southwest *latlng.LatLng `protobuf:"bytes,1,opt,name=southwest,proto3" json:"southwest,omitempty"`
	// The northeast corner of these bounds.
	Northeast *latlng.LatLng `protobuf:"bytes,2,opt,name=northeast,proto3" json:"northeast,omitempty"`
	// contains filtered or unexported fields
}

A rectangle in geographical coordinates.

func (*LatLngBounds) Descriptor deprecated

func (*LatLngBounds) Descriptor() ([]byte, []int)

Deprecated: Use LatLngBounds.ProtoReflect.Descriptor instead.

func (*LatLngBounds) GetNortheast

func (x *LatLngBounds) GetNortheast() *latlng.LatLng

func (*LatLngBounds) GetSouthwest

func (x *LatLngBounds) GetSouthwest() *latlng.LatLng

func (*LatLngBounds) ProtoMessage

func (*LatLngBounds) ProtoMessage()

func (*LatLngBounds) ProtoReflect

func (x *LatLngBounds) ProtoReflect() protoreflect.Message

func (*LatLngBounds) Reset

func (x *LatLngBounds) Reset()

func (*LatLngBounds) String

func (x *LatLngBounds) String() string

type Level

type Level struct {

	// Optional. 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,proto3" 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,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Level information containing level number and its corresponding name.

func (*Level) Descriptor deprecated

func (*Level) Descriptor() ([]byte, []int)

Deprecated: Use Level.ProtoReflect.Descriptor instead.

func (*Level) GetName

func (x *Level) GetName() string

func (*Level) GetNumber

func (x *Level) GetNumber() float64

func (*Level) ProtoMessage

func (*Level) ProtoMessage()

func (*Level) ProtoReflect

func (x *Level) ProtoReflect() protoreflect.Message

func (*Level) Reset

func (x *Level) Reset()

func (*Level) String

func (x *Level) String() string

type ListPhotoSequencesRequest

type ListPhotoSequencesRequest struct {

	// Optional. The maximum number of photo sequences to return.
	// `pageSize` must be non-negative. If `pageSize` is zero or is not
	// provided, the default page size of 100 is used.
	// The number of photo sequences returned in the response may be less than
	// `pageSize` if the number of matches is less than `pageSize`.
	// This is currently unimplemented but is in process.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. The
	// [nextPageToken][google.streetview.publish.v1.ListPhotosResponse.next_page_token]
	// value returned from a previous
	// [ListPhotoSequences][google.streetview.publish.v1.StreetViewPublishService.ListPhotoSequences]
	// request, if any.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The filter expression. For example: `imagery_type=SPHERICAL`.
	//
	// The filters supported are: `imagery_type`, `processing_state`,
	// `min_latitude`, `max_latitude`, `min_longitude`, `max_longitude`,
	// `filename_query`, `min_capture_time_seconds`, `max_capture_time_seconds.
	// See https://google.aip.dev/160 for more information. Filename queries
	// should sent as a Phrase in order to support multiple words and special
	// characters by adding escaped quotes. Ex: filename_query="example of a
	// phrase.mp4"
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request to list all photo sequences that belong to the user sending the request.

Parameters:

* `pageSize` determines the maximum number of photo sequences to return. * `pageToken` is the next page token value returned from a previous [ListPhotoSequences][google.streetview.publish.v1.StreetViewPublishService.ListPhotoSequences]

request, if any.

func (*ListPhotoSequencesRequest) Descriptor deprecated

func (*ListPhotoSequencesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPhotoSequencesRequest.ProtoReflect.Descriptor instead.

func (*ListPhotoSequencesRequest) GetFilter

func (x *ListPhotoSequencesRequest) GetFilter() string

func (*ListPhotoSequencesRequest) GetPageSize

func (x *ListPhotoSequencesRequest) GetPageSize() int32

func (*ListPhotoSequencesRequest) GetPageToken

func (x *ListPhotoSequencesRequest) GetPageToken() string

func (*ListPhotoSequencesRequest) ProtoMessage

func (*ListPhotoSequencesRequest) ProtoMessage()

func (*ListPhotoSequencesRequest) ProtoReflect

func (*ListPhotoSequencesRequest) Reset

func (x *ListPhotoSequencesRequest) Reset()

func (*ListPhotoSequencesRequest) String

func (x *ListPhotoSequencesRequest) String() string

type ListPhotoSequencesResponse

type ListPhotoSequencesResponse struct {

	// List of photo sequences via [Operation][google.longrunning.Operation]
	// interface.
	//
	// The maximum number of items returned is based on the
	// [pageSize][google.streetview.publish.v1.ListPhotoSequencesRequest.page_size]
	// field in the request.
	//
	// Each item in the list can have three possible states,
	//
	//   - `Operation.done` = false, if the processing of
	//     [PhotoSequence][google.streetview.publish.v1.PhotoSequence] is not
	//     finished yet.
	//   - `Operation.done` = true and `Operation.error` is populated, if there was
	//     an error in processing.
	//   - `Operation.done` = true and `Operation.response` contains a
	//     [PhotoSequence][google.streetview.publish.v1.PhotoSequence] message,
	//     In each sequence, only
	//     [Id][google.streetview.publish.v1.PhotoSequence.id] is populated.
	PhotoSequences []*longrunningpb.Operation `protobuf:"bytes,1,rep,name=photo_sequences,json=photoSequences,proto3" json:"photo_sequences,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"`
	// contains filtered or unexported fields
}

Response to list all photo sequences that belong to a user.

func (*ListPhotoSequencesResponse) Descriptor deprecated

func (*ListPhotoSequencesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPhotoSequencesResponse.ProtoReflect.Descriptor instead.

func (*ListPhotoSequencesResponse) GetNextPageToken

func (x *ListPhotoSequencesResponse) GetNextPageToken() string

func (*ListPhotoSequencesResponse) GetPhotoSequences

func (x *ListPhotoSequencesResponse) GetPhotoSequences() []*longrunningpb.Operation

func (*ListPhotoSequencesResponse) ProtoMessage

func (*ListPhotoSequencesResponse) ProtoMessage()

func (*ListPhotoSequencesResponse) ProtoReflect

func (*ListPhotoSequencesResponse) Reset

func (x *ListPhotoSequencesResponse) Reset()

func (*ListPhotoSequencesResponse) String

func (x *ListPhotoSequencesResponse) String() string

type ListPhotosRequest

type ListPhotosRequest struct {

	// Required. 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"`
	// Optional. The maximum number of photos to return.
	// `pageSize` must be non-negative. If `pageSize` is zero or is not provided,
	// the default page size of 100 is used.
	// The number of photos returned in the response may be less than `pageSize`
	// if the number of photos that belong to the user is less than `pageSize`.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. The
	// [nextPageToken][google.streetview.publish.v1.ListPhotosResponse.next_page_token]
	// value returned from a previous
	// [ListPhotos][google.streetview.publish.v1.StreetViewPublishService.ListPhotos]
	// request, if any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The filter expression. For example:
	// `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`.
	//
	// The filters supported are: `placeId`, `min_latitude`, `max_latitude`,
	// `min_longitude`, `max_longitude`. See https://google.aip.dev/160 for more
	// information.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more
	// information, see
	// http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
	// If language_code is unspecified, the user's language preference for Google
	// services is used.
	LanguageCode string `protobuf:"bytes,5,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// contains filtered or unexported fields
}

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 is returned. * `pageSize` determines the maximum number of photos to return. * `pageToken` is the next page token value returned from a previous [ListPhotos][google.streetview.publish.v1.StreetViewPublishService.ListPhotos]

request, if any.

* `filter` allows filtering by a given parameter. 'placeId' is the only parameter supported at the moment.

func (*ListPhotosRequest) Descriptor deprecated

func (*ListPhotosRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPhotosRequest.ProtoReflect.Descriptor instead.

func (*ListPhotosRequest) GetFilter

func (x *ListPhotosRequest) GetFilter() string

func (*ListPhotosRequest) GetLanguageCode

func (x *ListPhotosRequest) GetLanguageCode() string

func (*ListPhotosRequest) GetPageSize

func (x *ListPhotosRequest) GetPageSize() int32

func (*ListPhotosRequest) GetPageToken

func (x *ListPhotosRequest) GetPageToken() string

func (*ListPhotosRequest) GetView

func (x *ListPhotosRequest) GetView() PhotoView

func (*ListPhotosRequest) ProtoMessage

func (*ListPhotosRequest) ProtoMessage()

func (*ListPhotosRequest) ProtoReflect

func (x *ListPhotosRequest) ProtoReflect() protoreflect.Message

func (*ListPhotosRequest) Reset

func (x *ListPhotosRequest) Reset()

func (*ListPhotosRequest) String

func (x *ListPhotosRequest) String() string

type ListPhotosResponse

type ListPhotosResponse struct {

	// List of photos. The
	// [pageSize][google.streetview.publish.v1.ListPhotosRequest.page_size] field
	// in the request determines the number of items returned.
	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"`
	// contains filtered or unexported fields
}

Response to list all photos that belong to a user.

func (*ListPhotosResponse) Descriptor deprecated

func (*ListPhotosResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPhotosResponse.ProtoReflect.Descriptor instead.

func (*ListPhotosResponse) GetNextPageToken

func (x *ListPhotosResponse) GetNextPageToken() string

func (*ListPhotosResponse) GetPhotos

func (x *ListPhotosResponse) GetPhotos() []*Photo

func (*ListPhotosResponse) ProtoMessage

func (*ListPhotosResponse) ProtoMessage()

func (*ListPhotosResponse) ProtoReflect

func (x *ListPhotosResponse) ProtoReflect() protoreflect.Message

func (*ListPhotosResponse) Reset

func (x *ListPhotosResponse) Reset()

func (*ListPhotosResponse) String

func (x *ListPhotosResponse) String() string

type NoOverlapGpsFailureDetails

type NoOverlapGpsFailureDetails struct {

	// Time of first recorded GPS point.
	GpsStartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=gps_start_time,json=gpsStartTime,proto3,oneof" json:"gps_start_time,omitempty"`
	// Time of last recorded GPS point.
	GpsEndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=gps_end_time,json=gpsEndTime,proto3,oneof" json:"gps_end_time,omitempty"`
	// Start time of video.
	VideoStartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=video_start_time,json=videoStartTime,proto3,oneof" json:"video_start_time,omitempty"`
	// End time of video.
	VideoEndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=video_end_time,json=videoEndTime,proto3,oneof" json:"video_end_time,omitempty"`
	// contains filtered or unexported fields
}

Details related to PhotoSequenceProcessingFailureReason#NO_OVERLAP_GPS.

func (*NoOverlapGpsFailureDetails) Descriptor deprecated

func (*NoOverlapGpsFailureDetails) Descriptor() ([]byte, []int)

Deprecated: Use NoOverlapGpsFailureDetails.ProtoReflect.Descriptor instead.

func (*NoOverlapGpsFailureDetails) GetGpsEndTime

func (x *NoOverlapGpsFailureDetails) GetGpsEndTime() *timestamppb.Timestamp

func (*NoOverlapGpsFailureDetails) GetGpsStartTime

func (x *NoOverlapGpsFailureDetails) GetGpsStartTime() *timestamppb.Timestamp

func (*NoOverlapGpsFailureDetails) GetVideoEndTime

func (x *NoOverlapGpsFailureDetails) GetVideoEndTime() *timestamppb.Timestamp

func (*NoOverlapGpsFailureDetails) GetVideoStartTime

func (x *NoOverlapGpsFailureDetails) GetVideoStartTime() *timestamppb.Timestamp

func (*NoOverlapGpsFailureDetails) ProtoMessage

func (*NoOverlapGpsFailureDetails) ProtoMessage()

func (*NoOverlapGpsFailureDetails) ProtoReflect

func (*NoOverlapGpsFailureDetails) Reset

func (x *NoOverlapGpsFailureDetails) Reset()

func (*NoOverlapGpsFailureDetails) String

func (x *NoOverlapGpsFailureDetails) String() string

type NotOutdoorsFailureDetails

type NotOutdoorsFailureDetails struct {

	// Relative time (from the start of the video stream) when an indoor frame was
	// found.
	StartTime *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

Details related to ProcessingFailureReason#NOT_OUTDOORS. If there are multiple indoor frames found, the first frame is recorded here.

func (*NotOutdoorsFailureDetails) Descriptor deprecated

func (*NotOutdoorsFailureDetails) Descriptor() ([]byte, []int)

Deprecated: Use NotOutdoorsFailureDetails.ProtoReflect.Descriptor instead.

func (*NotOutdoorsFailureDetails) GetStartTime

func (x *NotOutdoorsFailureDetails) GetStartTime() *durationpb.Duration

func (*NotOutdoorsFailureDetails) ProtoMessage

func (*NotOutdoorsFailureDetails) ProtoMessage()

func (*NotOutdoorsFailureDetails) ProtoReflect

func (*NotOutdoorsFailureDetails) Reset

func (x *NotOutdoorsFailureDetails) Reset()

func (*NotOutdoorsFailureDetails) String

func (x *NotOutdoorsFailureDetails) String() string

type Photo

type Photo struct {

	// Required. Output only. Required when updating a photo. Output only when
	// creating a photo. Identifier for the photo, which is unique among all
	// photos in Google.
	PhotoId *PhotoId `protobuf:"bytes,1,opt,name=photo_id,json=photoId,proto3" json:"photo_id,omitempty"`
	// Input only. Required when creating a photo. Input only. The resource URL
	// where the photo bytes are uploaded to.
	UploadReference *UploadRef `protobuf:"bytes,2,opt,name=upload_reference,json=uploadReference,proto3" json:"upload_reference,omitempty"`
	// Output only. The download URL for the photo bytes. This field is set only
	// when
	// [GetPhotoRequest.view][google.streetview.publish.v1.GetPhotoRequest.view]
	// is set to
	// [PhotoView.INCLUDE_DOWNLOAD_URL][google.streetview.publish.v1.PhotoView.INCLUDE_DOWNLOAD_URL].
	DownloadUrl string `protobuf:"bytes,3,opt,name=download_url,json=downloadUrl,proto3" 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,proto3" json:"thumbnail_url,omitempty"`
	// Output only. The share link for the photo.
	ShareLink string `protobuf:"bytes,11,opt,name=share_link,json=shareLink,proto3" json:"share_link,omitempty"`
	// Optional. Pose of the photo.
	Pose *Pose `protobuf:"bytes,4,opt,name=pose,proto3" json:"pose,omitempty"`
	// Optional. Connections to other photos. A connection represents the link
	// from this photo to another photo.
	Connections []*Connection `protobuf:"bytes,5,rep,name=connections,proto3" json:"connections,omitempty"`
	// Optional. 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 *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=capture_time,json=captureTime,proto3" json:"capture_time,omitempty"`
	// Output only. Time when the image was uploaded.
	UploadTime *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=upload_time,json=uploadTime,proto3" json:"upload_time,omitempty"`
	// Optional. Places where this photo belongs.
	Places []*Place `protobuf:"bytes,7,rep,name=places,proto3" json:"places,omitempty"`
	// Output only. View count of the photo.
	ViewCount int64 `protobuf:"varint,10,opt,name=view_count,json=viewCount,proto3" json:"view_count,omitempty"`
	// Output only. Status of rights transfer on this photo.
	TransferStatus Photo_TransferStatus `` /* 160-byte string literal not displayed */
	// Output only. Status in Google Maps, whether this photo was published or
	// rejected.
	MapsPublishStatus Photo_MapsPublishStatus `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

Photo is used to store 360 photos along with photo metadata.

func (*Photo) Descriptor deprecated

func (*Photo) Descriptor() ([]byte, []int)

Deprecated: Use Photo.ProtoReflect.Descriptor instead.

func (*Photo) GetCaptureTime

func (x *Photo) GetCaptureTime() *timestamppb.Timestamp

func (*Photo) GetConnections

func (x *Photo) GetConnections() []*Connection

func (*Photo) GetDownloadUrl

func (x *Photo) GetDownloadUrl() string

func (*Photo) GetMapsPublishStatus

func (x *Photo) GetMapsPublishStatus() Photo_MapsPublishStatus

func (*Photo) GetPhotoId

func (x *Photo) GetPhotoId() *PhotoId

func (*Photo) GetPlaces

func (x *Photo) GetPlaces() []*Place

func (*Photo) GetPose

func (x *Photo) GetPose() *Pose
func (x *Photo) GetShareLink() string

func (*Photo) GetThumbnailUrl

func (x *Photo) GetThumbnailUrl() string

func (*Photo) GetTransferStatus

func (x *Photo) GetTransferStatus() Photo_TransferStatus

func (*Photo) GetUploadReference

func (x *Photo) GetUploadReference() *UploadRef

func (*Photo) GetUploadTime

func (x *Photo) GetUploadTime() *timestamppb.Timestamp

func (*Photo) GetViewCount

func (x *Photo) GetViewCount() int64

func (*Photo) ProtoMessage

func (*Photo) ProtoMessage()

func (*Photo) ProtoReflect

func (x *Photo) ProtoReflect() protoreflect.Message

func (*Photo) Reset

func (x *Photo) Reset()

func (*Photo) String

func (x *Photo) String() string

type PhotoId

type PhotoId struct {

	// A unique identifier for a photo.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Identifier for a Photo[google.streetview.publish.v1.Photo].

func (*PhotoId) Descriptor deprecated

func (*PhotoId) Descriptor() ([]byte, []int)

Deprecated: Use PhotoId.ProtoReflect.Descriptor instead.

func (*PhotoId) GetId

func (x *PhotoId) GetId() string

func (*PhotoId) ProtoMessage

func (*PhotoId) ProtoMessage()

func (*PhotoId) ProtoReflect

func (x *PhotoId) ProtoReflect() protoreflect.Message

func (*PhotoId) Reset

func (x *PhotoId) Reset()

func (*PhotoId) String

func (x *PhotoId) String() string

type PhotoResponse

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][google.streetview.publish.v1.Photo] resource, if the request
	// was successful.
	Photo *Photo `protobuf:"bytes,2,opt,name=photo,proto3" json:"photo,omitempty"`
	// contains filtered or unexported fields
}

Response payload for a single Photo[google.streetview.publish.v1.Photo] in batch operations including [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos] and [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos].

func (*PhotoResponse) Descriptor deprecated

func (*PhotoResponse) Descriptor() ([]byte, []int)

Deprecated: Use PhotoResponse.ProtoReflect.Descriptor instead.

func (*PhotoResponse) GetPhoto

func (x *PhotoResponse) GetPhoto() *Photo

func (*PhotoResponse) GetStatus

func (x *PhotoResponse) GetStatus() *status.Status

func (*PhotoResponse) ProtoMessage

func (*PhotoResponse) ProtoMessage()

func (*PhotoResponse) ProtoReflect

func (x *PhotoResponse) ProtoReflect() protoreflect.Message

func (*PhotoResponse) Reset

func (x *PhotoResponse) Reset()

func (*PhotoResponse) String

func (x *PhotoResponse) String() string

type PhotoSequence

type PhotoSequence struct {

	// Output only. Unique identifier for the photo sequence.
	// This also acts as a long running operation ID if uploading is performed
	// asynchronously.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Output only. Photos with increasing timestamps.
	Photos []*Photo `protobuf:"bytes,2,rep,name=photos,proto3" json:"photos,omitempty"`
	// Input only. Required when creating photo sequence. The resource name
	// where the bytes of the photo sequence (in the form of video) are uploaded.
	UploadReference *UploadRef `protobuf:"bytes,3,opt,name=upload_reference,json=uploadReference,proto3" json:"upload_reference,omitempty"`
	// Optional. Absolute time when the photo sequence starts to be captured.
	// If the photo sequence is a video, this is the start time of the video.
	// If this field is populated in input, it overrides the capture time in the
	// video or XDM file.
	CaptureTimeOverride *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=capture_time_override,json=captureTimeOverride,proto3" json:"capture_time_override,omitempty"`
	// Output only. The time this photo sequence was created in uSV Store service.
	UploadTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=upload_time,json=uploadTime,proto3" json:"upload_time,omitempty"`
	// Input only. Raw GPS measurements with increasing timestamps from the device
	// that aren't time synced with each photo. These raw measurements will be
	// used to infer the pose of each frame. Required in input when InputType is
	// VIDEO and raw GPS measurements are not in Camera Motion Metadata Track
	// (CAMM). User can indicate which takes precedence using gps_source if raw
	// GPS measurements are provided in both raw_gps_timeline and Camera Motion
	// Metadata Track (CAMM).
	RawGpsTimeline []*Pose `protobuf:"bytes,7,rep,name=raw_gps_timeline,json=rawGpsTimeline,proto3" json:"raw_gps_timeline,omitempty"`
	// Input only. If both raw_gps_timeline and
	// the Camera Motion Metadata Track (CAMM) contain GPS measurements,
	// indicate which takes precedence.
	GpsSource PhotoSequence_GpsSource `` /* 147-byte string literal not displayed */
	// Input only. Three axis IMU data for the collection.
	// If this data is too large to put in the request, then it should be put in
	// the CAMM track for the video. This data always takes precedence over the
	// equivalent CAMM data, if it exists.
	Imu *Imu `protobuf:"bytes,11,opt,name=imu,proto3" json:"imu,omitempty"`
	// Output only. The processing state of this sequence.
	ProcessingState ProcessingState `` /* 158-byte string literal not displayed */
	// Output only. If this sequence has processing_state = FAILED, this will
	// contain the reason why it failed. If the processing_state is any other
	// value, this field will be unset.
	FailureReason ProcessingFailureReason `` /* 160-byte string literal not displayed */
	// Output only. If this sequence has `failure_reason` set, this may contain
	// additional details about the failure.
	FailureDetails *ProcessingFailureDetails `protobuf:"bytes,23,opt,name=failure_details,json=failureDetails,proto3" json:"failure_details,omitempty"`
	// Output only. The computed distance of the photo sequence in meters.
	DistanceMeters float64 `protobuf:"fixed64,16,opt,name=distance_meters,json=distanceMeters,proto3" json:"distance_meters,omitempty"`
	// Output only. A rectangular box that encapsulates every image in this photo
	// sequence.
	SequenceBounds *LatLngBounds `protobuf:"bytes,20,opt,name=sequence_bounds,json=sequenceBounds,proto3" json:"sequence_bounds,omitempty"`
	// Output only. The total number of views that all the published images in
	// this PhotoSequence have received.
	ViewCount int64 `protobuf:"varint,21,opt,name=view_count,json=viewCount,proto3" json:"view_count,omitempty"`
	// Output only. The filename of the upload. Does not include the directory
	// path. Only available if the sequence was uploaded on a platform that
	// provides the filename.
	Filename string `protobuf:"bytes,22,opt,name=filename,proto3" json:"filename,omitempty"`
	// contains filtered or unexported fields
}

A sequence of 360 photos along with metadata.

func (*PhotoSequence) Descriptor deprecated

func (*PhotoSequence) Descriptor() ([]byte, []int)

Deprecated: Use PhotoSequence.ProtoReflect.Descriptor instead.

func (*PhotoSequence) GetCaptureTimeOverride

func (x *PhotoSequence) GetCaptureTimeOverride() *timestamppb.Timestamp

func (*PhotoSequence) GetDistanceMeters

func (x *PhotoSequence) GetDistanceMeters() float64

func (*PhotoSequence) GetFailureDetails

func (x *PhotoSequence) GetFailureDetails() *ProcessingFailureDetails

func (*PhotoSequence) GetFailureReason

func (x *PhotoSequence) GetFailureReason() ProcessingFailureReason

func (*PhotoSequence) GetFilename

func (x *PhotoSequence) GetFilename() string

func (*PhotoSequence) GetGpsSource

func (x *PhotoSequence) GetGpsSource() PhotoSequence_GpsSource

func (*PhotoSequence) GetId

func (x *PhotoSequence) GetId() string

func (*PhotoSequence) GetImu

func (x *PhotoSequence) GetImu() *Imu

func (*PhotoSequence) GetPhotos

func (x *PhotoSequence) GetPhotos() []*Photo

func (*PhotoSequence) GetProcessingState

func (x *PhotoSequence) GetProcessingState() ProcessingState

func (*PhotoSequence) GetRawGpsTimeline

func (x *PhotoSequence) GetRawGpsTimeline() []*Pose

func (*PhotoSequence) GetSequenceBounds

func (x *PhotoSequence) GetSequenceBounds() *LatLngBounds

func (*PhotoSequence) GetUploadReference

func (x *PhotoSequence) GetUploadReference() *UploadRef

func (*PhotoSequence) GetUploadTime

func (x *PhotoSequence) GetUploadTime() *timestamppb.Timestamp

func (*PhotoSequence) GetViewCount

func (x *PhotoSequence) GetViewCount() int64

func (*PhotoSequence) ProtoMessage

func (*PhotoSequence) ProtoMessage()

func (*PhotoSequence) ProtoReflect

func (x *PhotoSequence) ProtoReflect() protoreflect.Message

func (*PhotoSequence) Reset

func (x *PhotoSequence) Reset()

func (*PhotoSequence) String

func (x *PhotoSequence) String() string

type PhotoSequence_GpsSource

type PhotoSequence_GpsSource int32

Primary source of GPS measurements.

const (
	// GPS in raw_gps_timeline takes precedence if it exists.
	PhotoSequence_PHOTO_SEQUENCE PhotoSequence_GpsSource = 0
	// GPS in Camera Motion Metadata Track (CAMM) takes precedence if it exists.
	PhotoSequence_CAMERA_MOTION_METADATA_TRACK PhotoSequence_GpsSource = 1
)

func (PhotoSequence_GpsSource) Descriptor

func (PhotoSequence_GpsSource) Enum

func (PhotoSequence_GpsSource) EnumDescriptor deprecated

func (PhotoSequence_GpsSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use PhotoSequence_GpsSource.Descriptor instead.

func (PhotoSequence_GpsSource) Number

func (PhotoSequence_GpsSource) String

func (x PhotoSequence_GpsSource) String() string

func (PhotoSequence_GpsSource) Type

type PhotoView

type PhotoView int32

Specifies which view of the Photo[google.streetview.publish.v1.Photo] to include in the response.

const (
	// Server responses 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
)

func (PhotoView) Descriptor

func (PhotoView) Descriptor() protoreflect.EnumDescriptor

func (PhotoView) Enum

func (x PhotoView) Enum() *PhotoView

func (PhotoView) EnumDescriptor deprecated

func (PhotoView) EnumDescriptor() ([]byte, []int)

Deprecated: Use PhotoView.Descriptor instead.

func (PhotoView) Number

func (x PhotoView) Number() protoreflect.EnumNumber

func (PhotoView) String

func (x PhotoView) String() string

func (PhotoView) Type

type Photo_MapsPublishStatus

type Photo_MapsPublishStatus int32

Publication status of the photo in Google Maps.

const (
	// The status of the photo is unknown.
	Photo_UNSPECIFIED_MAPS_PUBLISH_STATUS Photo_MapsPublishStatus = 0
	// The photo is published to the public through Google Maps.
	Photo_PUBLISHED Photo_MapsPublishStatus = 1
	// The photo has been rejected for an unknown reason.
	Photo_REJECTED_UNKNOWN Photo_MapsPublishStatus = 2
)

func (Photo_MapsPublishStatus) Descriptor

func (Photo_MapsPublishStatus) Enum

func (Photo_MapsPublishStatus) EnumDescriptor deprecated

func (Photo_MapsPublishStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use Photo_MapsPublishStatus.Descriptor instead.

func (Photo_MapsPublishStatus) Number

func (Photo_MapsPublishStatus) String

func (x Photo_MapsPublishStatus) String() string

func (Photo_MapsPublishStatus) Type

type Photo_TransferStatus

type Photo_TransferStatus int32

Status of rights transfer.

const (
	// The status of this transfer is unspecified.
	Photo_TRANSFER_STATUS_UNKNOWN Photo_TransferStatus = 0
	// This photo has never been in a transfer.
	Photo_NEVER_TRANSFERRED Photo_TransferStatus = 1
	// This photo transfer has been initiated, but the receiver has not yet
	// responded.
	Photo_PENDING Photo_TransferStatus = 2
	// The photo transfer has been completed, and this photo has been
	// transferred to the recipient.
	Photo_COMPLETED Photo_TransferStatus = 3
	// The recipient rejected this photo transfer.
	Photo_REJECTED Photo_TransferStatus = 4
	// The photo transfer expired before the recipient took any action.
	Photo_EXPIRED Photo_TransferStatus = 5
	// The sender cancelled this photo transfer.
	Photo_CANCELLED Photo_TransferStatus = 6
	// The recipient owns this photo due to a rights transfer.
	Photo_RECEIVED_VIA_TRANSFER Photo_TransferStatus = 7
)

func (Photo_TransferStatus) Descriptor

func (Photo_TransferStatus) Enum

func (Photo_TransferStatus) EnumDescriptor deprecated

func (Photo_TransferStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use Photo_TransferStatus.Descriptor instead.

func (Photo_TransferStatus) Number

func (Photo_TransferStatus) String

func (x Photo_TransferStatus) String() string

func (Photo_TransferStatus) Type

type Place

type Place struct {

	// Place identifier, as described in
	// https://developers.google.com/places/place-id.
	PlaceId string `protobuf:"bytes,1,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"`
	// Output only. The name of the place, localized to the language_code.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The language_code that the name is localized with. This should
	// be the language_code specified in the request, but may be a fallback.
	LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// contains filtered or unexported fields
}

Place metadata for an entity.

func (*Place) Descriptor deprecated

func (*Place) Descriptor() ([]byte, []int)

Deprecated: Use Place.ProtoReflect.Descriptor instead.

func (*Place) GetLanguageCode

func (x *Place) GetLanguageCode() string

func (*Place) GetName

func (x *Place) GetName() string

func (*Place) GetPlaceId

func (x *Place) GetPlaceId() string

func (*Place) ProtoMessage

func (*Place) ProtoMessage()

func (*Place) ProtoReflect

func (x *Place) ProtoReflect() protoreflect.Message

func (*Place) Reset

func (x *Place) Reset()

func (*Place) String

func (x *Place) String() string

type Pose

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][google.streetview.publish.v1.Photo], if the
	// latitude and longitude pair are not provided, the geolocation from the
	// exif header is used. A latitude and longitude pair not provided in the
	// photo or exif header causes the photo process to fail.
	LatLngPair *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng_pair,json=latLngPair,proto3" json:"lat_lng_pair,omitempty"`
	// Altitude of the pose in meters above WGS84 ellipsoid.
	// NaN indicates an unmeasured quantity.
	Altitude float64 `protobuf:"fixed64,2,opt,name=altitude,proto3" json:"altitude,omitempty"`
	// The following pose parameters pertain to the center of the photo. They
	// match https://developers.google.com/streetview/spherical-metadata.
	// 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,proto3" 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,proto3" 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,proto3" json:"roll,omitempty"`
	// Time of the GPS record since UTC epoch.
	GpsRecordTimestampUnixEpoch *timestamppb.Timestamp `` /* 148-byte string literal not displayed */
	// Level (the floor in a building) used to configure vertical navigation.
	Level *Level `protobuf:"bytes,7,opt,name=level,proto3" json:"level,omitempty"`
	// The estimated horizontal accuracy of this pose in meters with 68%
	// confidence (one standard deviation). For example, on Android, this value is
	// available from this method:
	// https://developer.android.com/reference/android/location/Location#getAccuracy().
	// Other platforms have different methods of obtaining similar accuracy
	// estimations.
	AccuracyMeters float32 `protobuf:"fixed32,9,opt,name=accuracy_meters,json=accuracyMeters,proto3" json:"accuracy_meters,omitempty"`
	// contains filtered or unexported fields
}

Raw pose measurement for an entity.

func (*Pose) Descriptor deprecated

func (*Pose) Descriptor() ([]byte, []int)

Deprecated: Use Pose.ProtoReflect.Descriptor instead.

func (*Pose) GetAccuracyMeters

func (x *Pose) GetAccuracyMeters() float32

func (*Pose) GetAltitude

func (x *Pose) GetAltitude() float64

func (*Pose) GetGpsRecordTimestampUnixEpoch

func (x *Pose) GetGpsRecordTimestampUnixEpoch() *timestamppb.Timestamp

func (*Pose) GetHeading

func (x *Pose) GetHeading() float64

func (*Pose) GetLatLngPair

func (x *Pose) GetLatLngPair() *latlng.LatLng

func (*Pose) GetLevel

func (x *Pose) GetLevel() *Level

func (*Pose) GetPitch

func (x *Pose) GetPitch() float64

func (*Pose) GetRoll

func (x *Pose) GetRoll() float64

func (*Pose) ProtoMessage

func (*Pose) ProtoMessage()

func (*Pose) ProtoReflect

func (x *Pose) ProtoReflect() protoreflect.Message

func (*Pose) Reset

func (x *Pose) Reset()

func (*Pose) String

func (x *Pose) String() string

type ProcessingFailureDetails

type ProcessingFailureDetails struct {

	// Only one set of details will be set, and must match the corresponding enum
	// in ProcessingFailureReason.
	//
	// Types that are assignable to Details:
	//
	//	*ProcessingFailureDetails_InsufficientGpsDetails
	//	*ProcessingFailureDetails_GpsDataGapDetails
	//	*ProcessingFailureDetails_ImuDataGapDetails
	//	*ProcessingFailureDetails_NotOutdoorsDetails
	//	*ProcessingFailureDetails_NoOverlapGpsDetails
	Details isProcessingFailureDetails_Details `protobuf_oneof:"details"`
	// contains filtered or unexported fields
}

Additional details to accompany the ProcessingFailureReason enum. This message is always expected to be used in conjunction with ProcessingFailureReason, and the oneof value set in this message should match the FailureReason.

func (*ProcessingFailureDetails) Descriptor deprecated

func (*ProcessingFailureDetails) Descriptor() ([]byte, []int)

Deprecated: Use ProcessingFailureDetails.ProtoReflect.Descriptor instead.

func (*ProcessingFailureDetails) GetDetails

func (m *ProcessingFailureDetails) GetDetails() isProcessingFailureDetails_Details

func (*ProcessingFailureDetails) GetGpsDataGapDetails

func (x *ProcessingFailureDetails) GetGpsDataGapDetails() *GpsDataGapFailureDetails

func (*ProcessingFailureDetails) GetImuDataGapDetails

func (x *ProcessingFailureDetails) GetImuDataGapDetails() *ImuDataGapFailureDetails

func (*ProcessingFailureDetails) GetInsufficientGpsDetails

func (x *ProcessingFailureDetails) GetInsufficientGpsDetails() *InsufficientGpsFailureDetails

func (*ProcessingFailureDetails) GetNoOverlapGpsDetails

func (x *ProcessingFailureDetails) GetNoOverlapGpsDetails() *NoOverlapGpsFailureDetails

func (*ProcessingFailureDetails) GetNotOutdoorsDetails

func (x *ProcessingFailureDetails) GetNotOutdoorsDetails() *NotOutdoorsFailureDetails

func (*ProcessingFailureDetails) ProtoMessage

func (*ProcessingFailureDetails) ProtoMessage()

func (*ProcessingFailureDetails) ProtoReflect

func (x *ProcessingFailureDetails) ProtoReflect() protoreflect.Message

func (*ProcessingFailureDetails) Reset

func (x *ProcessingFailureDetails) Reset()

func (*ProcessingFailureDetails) String

func (x *ProcessingFailureDetails) String() string

type ProcessingFailureDetails_GpsDataGapDetails

type ProcessingFailureDetails_GpsDataGapDetails struct {
	// See GpsDataGapFailureDetails.
	GpsDataGapDetails *GpsDataGapFailureDetails `protobuf:"bytes,2,opt,name=gps_data_gap_details,json=gpsDataGapDetails,proto3,oneof"`
}

type ProcessingFailureDetails_ImuDataGapDetails

type ProcessingFailureDetails_ImuDataGapDetails struct {
	// See ImuDataGapFailureDetails.
	ImuDataGapDetails *ImuDataGapFailureDetails `protobuf:"bytes,3,opt,name=imu_data_gap_details,json=imuDataGapDetails,proto3,oneof"`
}

type ProcessingFailureDetails_InsufficientGpsDetails

type ProcessingFailureDetails_InsufficientGpsDetails struct {
	// See InsufficientGpsFailureDetails.
	InsufficientGpsDetails *InsufficientGpsFailureDetails `protobuf:"bytes,1,opt,name=insufficient_gps_details,json=insufficientGpsDetails,proto3,oneof"`
}

type ProcessingFailureDetails_NoOverlapGpsDetails

type ProcessingFailureDetails_NoOverlapGpsDetails struct {
	// See NoOverlapGpsFailureDetails.
	NoOverlapGpsDetails *NoOverlapGpsFailureDetails `protobuf:"bytes,5,opt,name=no_overlap_gps_details,json=noOverlapGpsDetails,proto3,oneof"`
}

type ProcessingFailureDetails_NotOutdoorsDetails

type ProcessingFailureDetails_NotOutdoorsDetails struct {
	// See NotOutdoorsFailureDetails.
	NotOutdoorsDetails *NotOutdoorsFailureDetails `protobuf:"bytes,4,opt,name=not_outdoors_details,json=notOutdoorsDetails,proto3,oneof"`
}

type ProcessingFailureReason

type ProcessingFailureReason int32

The possible reasons this PhotoSequence [google.streetview.publish.v1.PhotoSequence] failed to process.

const (
	// The failure reason is unspecified, this is the default value.
	ProcessingFailureReason_PROCESSING_FAILURE_REASON_UNSPECIFIED ProcessingFailureReason = 0
	// Video frame's resolution is too small.
	ProcessingFailureReason_LOW_RESOLUTION ProcessingFailureReason = 1
	// This video has been uploaded before.
	ProcessingFailureReason_DUPLICATE ProcessingFailureReason = 2
	// Too few GPS points.
	ProcessingFailureReason_INSUFFICIENT_GPS ProcessingFailureReason = 3
	// No overlap between the time frame of GPS track and the time frame of
	// video.
	ProcessingFailureReason_NO_OVERLAP_GPS ProcessingFailureReason = 4
	// GPS is invalid (e.x. all GPS points are at (0,0))
	ProcessingFailureReason_INVALID_GPS ProcessingFailureReason = 5
	// The sequence of photos could not be accurately located in the world.
	ProcessingFailureReason_FAILED_TO_REFINE_POSITIONS ProcessingFailureReason = 6
	// The sequence was taken down for policy reasons.
	ProcessingFailureReason_TAKEDOWN ProcessingFailureReason = 7
	// The video file was corrupt or could not be decoded.
	ProcessingFailureReason_CORRUPT_VIDEO ProcessingFailureReason = 8
	// A permanent failure in the underlying system occurred.
	ProcessingFailureReason_INTERNAL ProcessingFailureReason = 9
	// The video format is invalid or unsupported.
	ProcessingFailureReason_INVALID_VIDEO_FORMAT ProcessingFailureReason = 10
	// Invalid image aspect ratio found.
	ProcessingFailureReason_INVALID_VIDEO_DIMENSIONS ProcessingFailureReason = 11
	// Invalid capture time. Timestamps were from the future.
	ProcessingFailureReason_INVALID_CAPTURE_TIME ProcessingFailureReason = 12
	// GPS data contains a gap greater than 5 seconds in duration.
	ProcessingFailureReason_GPS_DATA_GAP ProcessingFailureReason = 13
	// GPS data is too erratic to be processed.
	ProcessingFailureReason_JUMPY_GPS ProcessingFailureReason = 14
	// IMU (Accelerometer, Gyroscope, etc.) data are not valid. They may be
	// missing required fields (x, y, z or time), may not be formatted correctly,
	// or any other issue that prevents our systems from parsing it.
	ProcessingFailureReason_INVALID_IMU ProcessingFailureReason = 15
	// Too few IMU points.
	ProcessingFailureReason_INSUFFICIENT_IMU ProcessingFailureReason = 21
	// Insufficient overlap in the time frame between GPS, IMU, and other time
	// series data.
	ProcessingFailureReason_INSUFFICIENT_OVERLAP_TIME_SERIES ProcessingFailureReason = 22
	// IMU (Accelerometer, Gyroscope, etc.) data contain gaps greater than 0.1
	// seconds in duration.
	ProcessingFailureReason_IMU_DATA_GAP ProcessingFailureReason = 16
	// The camera is not supported.
	ProcessingFailureReason_UNSUPPORTED_CAMERA ProcessingFailureReason = 17
	// Some frames were indoors, which is unsupported.
	ProcessingFailureReason_NOT_OUTDOORS ProcessingFailureReason = 18
	// Not enough video frames.
	ProcessingFailureReason_INSUFFICIENT_VIDEO_FRAMES ProcessingFailureReason = 19
	// Not enough moving data.
	ProcessingFailureReason_INSUFFICIENT_MOVEMENT ProcessingFailureReason = 20
	// Mast is down.
	ProcessingFailureReason_MAST_DOWN ProcessingFailureReason = 27
	// Camera is covered.
	ProcessingFailureReason_CAMERA_COVERED ProcessingFailureReason = 28
)

func (ProcessingFailureReason) Descriptor

func (ProcessingFailureReason) Enum

func (ProcessingFailureReason) EnumDescriptor deprecated

func (ProcessingFailureReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProcessingFailureReason.Descriptor instead.

func (ProcessingFailureReason) Number

func (ProcessingFailureReason) String

func (x ProcessingFailureReason) String() string

func (ProcessingFailureReason) Type

type ProcessingState

type ProcessingState int32

The processing state of the sequence. The states move as follows:

```

    +-------------------------+
    |                         |
+---v---+  +----------+  +----+----+
|PENDING+-->PROCESSING+-->PROCESSED|
+---+---+  +----+-----+  +----+----+
    |           |             |
    |        +--v---+         |
    +-------->FAILED<---------+
             +------+

```

The sequence may move to FAILED from any state. Additionally, a processed sequence may be re-processed at any time.

const (
	// The state is unspecified, this is the default value.
	ProcessingState_PROCESSING_STATE_UNSPECIFIED ProcessingState = 0
	// The sequence has not yet started processing.
	ProcessingState_PENDING ProcessingState = 1
	// The sequence is currently in processing.
	ProcessingState_PROCESSING ProcessingState = 2
	// The sequence has finished processing including refining position.
	ProcessingState_PROCESSED ProcessingState = 3
	// The sequence failed processing. See FailureReason for more details.
	ProcessingState_FAILED ProcessingState = 4
)

func (ProcessingState) Descriptor

func (ProcessingState) Enum

func (x ProcessingState) Enum() *ProcessingState

func (ProcessingState) EnumDescriptor deprecated

func (ProcessingState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProcessingState.Descriptor instead.

func (ProcessingState) Number

func (ProcessingState) String

func (x ProcessingState) String() string

func (ProcessingState) Type

type StreetViewPublishServiceClient

type StreetViewPublishServiceClient interface {
	// Creates an upload session to start uploading photo bytes.  The method uses
	// the upload URL of the returned
	// [UploadRef][google.streetview.publish.v1.UploadRef] to upload the bytes for
	// the [Photo][google.streetview.publish.v1.Photo].
	//
	// In addition to the photo requirements shown in
	// https://support.google.com/maps/answer/7012050?ref_topic=6275604,
	// the photo must meet the following requirements:
	//
	// * Photo Sphere XMP metadata must be included in the photo metadata. See
	// https://developers.google.com/streetview/spherical-metadata for the
	// required fields.
	// * The pixel size of the photo must meet the size requirements listed in
	// https://support.google.com/maps/answer/7012050?ref_topic=6275604, and
	// the photo must be a full 360 horizontally.
	//
	// After the upload completes, the method uses
	// [UploadRef][google.streetview.publish.v1.UploadRef] with
	// [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]
	// to create the [Photo][google.streetview.publish.v1.Photo] object entry.
	StartUpload(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UploadRef, error)
	// After the client finishes uploading the photo with the returned
	// [UploadRef][google.streetview.publish.v1.UploadRef],
	// [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]
	// publishes the uploaded [Photo][google.streetview.publish.v1.Photo] to
	// Street View on Google Maps.
	//
	// Currently, the only way to set heading, pitch, and roll in CreatePhoto is
	// through the [Photo Sphere XMP
	// metadata](https://developers.google.com/streetview/spherical-metadata) in
	// the photo bytes. CreatePhoto ignores the  `pose.heading`, `pose.pitch`,
	// `pose.roll`, `pose.altitude`, and `pose.level` fields in Pose.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
	// the request is malformed or if the uploaded photo is not a 360 photo.
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload
	// reference does not exist.
	// * [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]
	// if the account has reached the storage limit.
	CreatePhoto(ctx context.Context, in *CreatePhotoRequest, opts ...grpc.CallOption) (*Photo, error)
	// Gets the metadata of the specified
	// [Photo][google.streetview.publish.v1.Photo].
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
	// the requesting user did not create the requested
	// [Photo][google.streetview.publish.v1.Photo].
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
	// [Photo][google.streetview.publish.v1.Photo] does not exist.
	// * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the
	// requested [Photo][google.streetview.publish.v1.Photo] is still being
	// indexed.
	GetPhoto(ctx context.Context, in *GetPhotoRequest, opts ...grpc.CallOption) (*Photo, error)
	// Gets the metadata of the specified
	// [Photo][google.streetview.publish.v1.Photo] batch.
	//
	// Note that if
	// [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]
	// fails, either critical fields are missing or there is an authentication
	// error. Even if
	// [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]
	// succeeds, individual photos in the batch may have failures.
	// These failures are specified in each
	// [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
	// in
	// [BatchGetPhotosResponse.results][google.streetview.publish.v1.BatchGetPhotosResponse.results].
	// See
	// [GetPhoto][google.streetview.publish.v1.StreetViewPublishService.GetPhoto]
	// for specific failures that can occur per photo.
	BatchGetPhotos(ctx context.Context, in *BatchGetPhotosRequest, opts ...grpc.CallOption) (*BatchGetPhotosResponse, error)
	// Lists all the [Photos][google.streetview.publish.v1.Photo] that belong to
	// the user.
	//
	// > Note: Recently created photos that are still
	// being indexed are not returned in the response.
	ListPhotos(ctx context.Context, in *ListPhotosRequest, opts ...grpc.CallOption) (*ListPhotosResponse, error)
	// Updates the metadata of a [Photo][google.streetview.publish.v1.Photo], such
	// as pose, place association, connections, etc. Changing the pixels of a
	// photo is not supported.
	//
	// Only the fields specified in the
	// [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]
	// field are used. If `updateMask` is not present, the update applies to all
	// fields.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
	// the requesting user did not create the requested photo.
	// * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
	// the request is malformed.
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
	// photo does not exist.
	// * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the
	// requested [Photo][google.streetview.publish.v1.Photo] is still being
	// indexed.
	UpdatePhoto(ctx context.Context, in *UpdatePhotoRequest, opts ...grpc.CallOption) (*Photo, error)
	// Updates the metadata of [Photos][google.streetview.publish.v1.Photo], such
	// as pose, place association, connections, etc. Changing the pixels of photos
	// is not supported.
	//
	// Note that if
	// [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]
	// fails, either critical fields are missing or there is an authentication
	// error. Even if
	// [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]
	// succeeds, individual photos in the batch may have failures.
	// These failures are specified in each
	// [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
	// in
	// [BatchUpdatePhotosResponse.results][google.streetview.publish.v1.BatchUpdatePhotosResponse.results].
	// See
	// [UpdatePhoto][google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto]
	// for specific failures that can occur per photo.
	//
	// Only the fields specified in
	// [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]
	// field are used. If `updateMask` is not present, the update applies to all
	// fields.
	//
	// The number of
	// [UpdatePhotoRequest][google.streetview.publish.v1.UpdatePhotoRequest]
	// messages in a
	// [BatchUpdatePhotosRequest][google.streetview.publish.v1.BatchUpdatePhotosRequest]
	// must not exceed 20.
	//
	// > Note: To update
	// [Pose.altitude][google.streetview.publish.v1.Pose.altitude],
	// [Pose.latLngPair][google.streetview.publish.v1.Pose.lat_lng_pair] has to be
	// filled as well. Otherwise, the request will fail.
	BatchUpdatePhotos(ctx context.Context, in *BatchUpdatePhotosRequest, opts ...grpc.CallOption) (*BatchUpdatePhotosResponse, error)
	// Deletes a [Photo][google.streetview.publish.v1.Photo] and its metadata.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
	// the requesting user did not create the requested photo.
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo ID
	// does not exist.
	DeletePhoto(ctx context.Context, in *DeletePhotoRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Deletes a list of [Photos][google.streetview.publish.v1.Photo] and their
	// metadata.
	//
	// Note that if
	// [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]
	// fails, either critical fields are missing or there is an authentication
	// error. Even if
	// [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]
	// succeeds, individual photos in the batch may have failures.
	// These failures are specified in each
	// [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
	// in
	// [BatchDeletePhotosResponse.results][google.streetview.publish.v1.BatchDeletePhotosResponse.status].
	// See
	// [DeletePhoto][google.streetview.publish.v1.StreetViewPublishService.DeletePhoto]
	// for specific failures that can occur per photo.
	BatchDeletePhotos(ctx context.Context, in *BatchDeletePhotosRequest, opts ...grpc.CallOption) (*BatchDeletePhotosResponse, error)
	// Creates an upload session to start uploading photo sequence data.
	// The upload URL of the returned
	// [UploadRef][google.streetview.publish.v1.UploadRef] is used to upload the
	// data for the `photoSequence`.
	//
	// After the upload is complete, the
	// [UploadRef][google.streetview.publish.v1.UploadRef] is used with
	// [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]
	// to create the [PhotoSequence][google.streetview.publish.v1.PhotoSequence]
	// object entry.
	StartPhotoSequenceUpload(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UploadRef, error)
	// After the client finishes uploading the
	// [PhotoSequence][google.streetview.publish.v1.PhotoSequence] with the
	// returned [UploadRef][google.streetview.publish.v1.UploadRef],
	// [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]
	// extracts a sequence of 360 photos from a video or Extensible Device
	// Metadata (XDM, http://www.xdm.org/) to be published to Street View on
	// Google Maps.
	//
	// `CreatePhotoSequence` returns an [Operation][google.longrunning.Operation],
	// with the [PhotoSequence][google.streetview.publish.v1.PhotoSequence] Id set
	// in the `Operation.name` field.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
	// the request is malformed.
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload
	// reference does not exist.
	CreatePhotoSequence(ctx context.Context, in *CreatePhotoSequenceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets the metadata of the specified
	// [PhotoSequence][google.streetview.publish.v1.PhotoSequence] via the
	// [Operation][google.longrunning.Operation] interface.
	//
	// This method returns the following three types of responses:
	//
	//   - `Operation.done` = false, if the processing of
	//     [PhotoSequence][google.streetview.publish.v1.PhotoSequence] is not
	//     finished yet.
	//   - `Operation.done` = true and `Operation.error` is populated, if there was
	//     an error in processing.
	//   - `Operation.done` = true and `Operation.response` is poulated, which
	//     contains a [PhotoSequence][google.streetview.publish.v1.PhotoSequence]
	//     message.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
	// the requesting user did not create the requested
	// [PhotoSequence][google.streetview.publish.v1.PhotoSequence].
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
	// [PhotoSequence][google.streetview.publish.v1.PhotoSequence] does not exist.
	GetPhotoSequence(ctx context.Context, in *GetPhotoSequenceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists all the [PhotoSequences][google.streetview.publish.v1.PhotoSequence]
	// that belong to the user, in descending CreatePhotoSequence timestamp order.
	ListPhotoSequences(ctx context.Context, in *ListPhotoSequencesRequest, opts ...grpc.CallOption) (*ListPhotoSequencesResponse, error)
	// Deletes a [PhotoSequence][google.streetview.publish.v1.PhotoSequence] and
	// its metadata.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
	// the requesting user did not create the requested photo sequence.
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo
	// sequence ID does not exist.
	// * [google.rpc.Code.FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION] if the photo sequence ID is not
	// yet finished processing.
	DeletePhotoSequence(ctx context.Context, in *DeletePhotoSequenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

StreetViewPublishServiceClient is the client API for StreetViewPublishService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type StreetViewPublishServiceServer

type StreetViewPublishServiceServer interface {
	// Creates an upload session to start uploading photo bytes.  The method uses
	// the upload URL of the returned
	// [UploadRef][google.streetview.publish.v1.UploadRef] to upload the bytes for
	// the [Photo][google.streetview.publish.v1.Photo].
	//
	// In addition to the photo requirements shown in
	// https://support.google.com/maps/answer/7012050?ref_topic=6275604,
	// the photo must meet the following requirements:
	//
	// * Photo Sphere XMP metadata must be included in the photo metadata. See
	// https://developers.google.com/streetview/spherical-metadata for the
	// required fields.
	// * The pixel size of the photo must meet the size requirements listed in
	// https://support.google.com/maps/answer/7012050?ref_topic=6275604, and
	// the photo must be a full 360 horizontally.
	//
	// After the upload completes, the method uses
	// [UploadRef][google.streetview.publish.v1.UploadRef] with
	// [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]
	// to create the [Photo][google.streetview.publish.v1.Photo] object entry.
	StartUpload(context.Context, *emptypb.Empty) (*UploadRef, error)
	// After the client finishes uploading the photo with the returned
	// [UploadRef][google.streetview.publish.v1.UploadRef],
	// [CreatePhoto][google.streetview.publish.v1.StreetViewPublishService.CreatePhoto]
	// publishes the uploaded [Photo][google.streetview.publish.v1.Photo] to
	// Street View on Google Maps.
	//
	// Currently, the only way to set heading, pitch, and roll in CreatePhoto is
	// through the [Photo Sphere XMP
	// metadata](https://developers.google.com/streetview/spherical-metadata) in
	// the photo bytes. CreatePhoto ignores the  `pose.heading`, `pose.pitch`,
	// `pose.roll`, `pose.altitude`, and `pose.level` fields in Pose.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
	// the request is malformed or if the uploaded photo is not a 360 photo.
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload
	// reference does not exist.
	// * [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]
	// if the account has reached the storage limit.
	CreatePhoto(context.Context, *CreatePhotoRequest) (*Photo, error)
	// Gets the metadata of the specified
	// [Photo][google.streetview.publish.v1.Photo].
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
	// the requesting user did not create the requested
	// [Photo][google.streetview.publish.v1.Photo].
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
	// [Photo][google.streetview.publish.v1.Photo] does not exist.
	// * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the
	// requested [Photo][google.streetview.publish.v1.Photo] is still being
	// indexed.
	GetPhoto(context.Context, *GetPhotoRequest) (*Photo, error)
	// Gets the metadata of the specified
	// [Photo][google.streetview.publish.v1.Photo] batch.
	//
	// Note that if
	// [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]
	// fails, either critical fields are missing or there is an authentication
	// error. Even if
	// [BatchGetPhotos][google.streetview.publish.v1.StreetViewPublishService.BatchGetPhotos]
	// succeeds, individual photos in the batch may have failures.
	// These failures are specified in each
	// [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
	// in
	// [BatchGetPhotosResponse.results][google.streetview.publish.v1.BatchGetPhotosResponse.results].
	// See
	// [GetPhoto][google.streetview.publish.v1.StreetViewPublishService.GetPhoto]
	// for specific failures that can occur per photo.
	BatchGetPhotos(context.Context, *BatchGetPhotosRequest) (*BatchGetPhotosResponse, error)
	// Lists all the [Photos][google.streetview.publish.v1.Photo] that belong to
	// the user.
	//
	// > Note: Recently created photos that are still
	// being indexed are not returned in the response.
	ListPhotos(context.Context, *ListPhotosRequest) (*ListPhotosResponse, error)
	// Updates the metadata of a [Photo][google.streetview.publish.v1.Photo], such
	// as pose, place association, connections, etc. Changing the pixels of a
	// photo is not supported.
	//
	// Only the fields specified in the
	// [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]
	// field are used. If `updateMask` is not present, the update applies to all
	// fields.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
	// the requesting user did not create the requested photo.
	// * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
	// the request is malformed.
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
	// photo does not exist.
	// * [google.rpc.Code.UNAVAILABLE][google.rpc.Code.UNAVAILABLE] if the
	// requested [Photo][google.streetview.publish.v1.Photo] is still being
	// indexed.
	UpdatePhoto(context.Context, *UpdatePhotoRequest) (*Photo, error)
	// Updates the metadata of [Photos][google.streetview.publish.v1.Photo], such
	// as pose, place association, connections, etc. Changing the pixels of photos
	// is not supported.
	//
	// Note that if
	// [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]
	// fails, either critical fields are missing or there is an authentication
	// error. Even if
	// [BatchUpdatePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchUpdatePhotos]
	// succeeds, individual photos in the batch may have failures.
	// These failures are specified in each
	// [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
	// in
	// [BatchUpdatePhotosResponse.results][google.streetview.publish.v1.BatchUpdatePhotosResponse.results].
	// See
	// [UpdatePhoto][google.streetview.publish.v1.StreetViewPublishService.UpdatePhoto]
	// for specific failures that can occur per photo.
	//
	// Only the fields specified in
	// [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]
	// field are used. If `updateMask` is not present, the update applies to all
	// fields.
	//
	// The number of
	// [UpdatePhotoRequest][google.streetview.publish.v1.UpdatePhotoRequest]
	// messages in a
	// [BatchUpdatePhotosRequest][google.streetview.publish.v1.BatchUpdatePhotosRequest]
	// must not exceed 20.
	//
	// > Note: To update
	// [Pose.altitude][google.streetview.publish.v1.Pose.altitude],
	// [Pose.latLngPair][google.streetview.publish.v1.Pose.lat_lng_pair] has to be
	// filled as well. Otherwise, the request will fail.
	BatchUpdatePhotos(context.Context, *BatchUpdatePhotosRequest) (*BatchUpdatePhotosResponse, error)
	// Deletes a [Photo][google.streetview.publish.v1.Photo] and its metadata.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
	// the requesting user did not create the requested photo.
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo ID
	// does not exist.
	DeletePhoto(context.Context, *DeletePhotoRequest) (*emptypb.Empty, error)
	// Deletes a list of [Photos][google.streetview.publish.v1.Photo] and their
	// metadata.
	//
	// Note that if
	// [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]
	// fails, either critical fields are missing or there is an authentication
	// error. Even if
	// [BatchDeletePhotos][google.streetview.publish.v1.StreetViewPublishService.BatchDeletePhotos]
	// succeeds, individual photos in the batch may have failures.
	// These failures are specified in each
	// [PhotoResponse.status][google.streetview.publish.v1.PhotoResponse.status]
	// in
	// [BatchDeletePhotosResponse.results][google.streetview.publish.v1.BatchDeletePhotosResponse.status].
	// See
	// [DeletePhoto][google.streetview.publish.v1.StreetViewPublishService.DeletePhoto]
	// for specific failures that can occur per photo.
	BatchDeletePhotos(context.Context, *BatchDeletePhotosRequest) (*BatchDeletePhotosResponse, error)
	// Creates an upload session to start uploading photo sequence data.
	// The upload URL of the returned
	// [UploadRef][google.streetview.publish.v1.UploadRef] is used to upload the
	// data for the `photoSequence`.
	//
	// After the upload is complete, the
	// [UploadRef][google.streetview.publish.v1.UploadRef] is used with
	// [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]
	// to create the [PhotoSequence][google.streetview.publish.v1.PhotoSequence]
	// object entry.
	StartPhotoSequenceUpload(context.Context, *emptypb.Empty) (*UploadRef, error)
	// After the client finishes uploading the
	// [PhotoSequence][google.streetview.publish.v1.PhotoSequence] with the
	// returned [UploadRef][google.streetview.publish.v1.UploadRef],
	// [CreatePhotoSequence][google.streetview.publish.v1.StreetViewPublishService.CreatePhotoSequence]
	// extracts a sequence of 360 photos from a video or Extensible Device
	// Metadata (XDM, http://www.xdm.org/) to be published to Street View on
	// Google Maps.
	//
	// `CreatePhotoSequence` returns an [Operation][google.longrunning.Operation],
	// with the [PhotoSequence][google.streetview.publish.v1.PhotoSequence] Id set
	// in the `Operation.name` field.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] if
	// the request is malformed.
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the upload
	// reference does not exist.
	CreatePhotoSequence(context.Context, *CreatePhotoSequenceRequest) (*longrunningpb.Operation, error)
	// Gets the metadata of the specified
	// [PhotoSequence][google.streetview.publish.v1.PhotoSequence] via the
	// [Operation][google.longrunning.Operation] interface.
	//
	// This method returns the following three types of responses:
	//
	//   - `Operation.done` = false, if the processing of
	//     [PhotoSequence][google.streetview.publish.v1.PhotoSequence] is not
	//     finished yet.
	//   - `Operation.done` = true and `Operation.error` is populated, if there was
	//     an error in processing.
	//   - `Operation.done` = true and `Operation.response` is poulated, which
	//     contains a [PhotoSequence][google.streetview.publish.v1.PhotoSequence]
	//     message.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
	// the requesting user did not create the requested
	// [PhotoSequence][google.streetview.publish.v1.PhotoSequence].
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested
	// [PhotoSequence][google.streetview.publish.v1.PhotoSequence] does not exist.
	GetPhotoSequence(context.Context, *GetPhotoSequenceRequest) (*longrunningpb.Operation, error)
	// Lists all the [PhotoSequences][google.streetview.publish.v1.PhotoSequence]
	// that belong to the user, in descending CreatePhotoSequence timestamp order.
	ListPhotoSequences(context.Context, *ListPhotoSequencesRequest) (*ListPhotoSequencesResponse, error)
	// Deletes a [PhotoSequence][google.streetview.publish.v1.PhotoSequence] and
	// its metadata.
	//
	// This method returns the following error codes:
	//
	// * [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED] if
	// the requesting user did not create the requested photo sequence.
	// * [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND] if the photo
	// sequence ID does not exist.
	// * [google.rpc.Code.FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION] if the photo sequence ID is not
	// yet finished processing.
	DeletePhotoSequence(context.Context, *DeletePhotoSequenceRequest) (*emptypb.Empty, error)
}

StreetViewPublishServiceServer is the server API for StreetViewPublishService service.

type UnimplementedStreetViewPublishServiceServer

type UnimplementedStreetViewPublishServiceServer struct {
}

UnimplementedStreetViewPublishServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedStreetViewPublishServiceServer) BatchDeletePhotos

func (*UnimplementedStreetViewPublishServiceServer) BatchGetPhotos

func (*UnimplementedStreetViewPublishServiceServer) BatchUpdatePhotos

func (*UnimplementedStreetViewPublishServiceServer) CreatePhoto

func (*UnimplementedStreetViewPublishServiceServer) CreatePhotoSequence

func (*UnimplementedStreetViewPublishServiceServer) DeletePhoto

func (*UnimplementedStreetViewPublishServiceServer) DeletePhotoSequence

func (*UnimplementedStreetViewPublishServiceServer) GetPhoto

func (*UnimplementedStreetViewPublishServiceServer) GetPhotoSequence

func (*UnimplementedStreetViewPublishServiceServer) ListPhotoSequences

func (*UnimplementedStreetViewPublishServiceServer) ListPhotos

func (*UnimplementedStreetViewPublishServiceServer) StartPhotoSequenceUpload

func (*UnimplementedStreetViewPublishServiceServer) StartUpload

func (*UnimplementedStreetViewPublishServiceServer) UpdatePhoto

type UpdatePhotoRequest

type UpdatePhotoRequest struct {

	// Required. [Photo][google.streetview.publish.v1.Photo] object containing the
	// new metadata.
	Photo *Photo `protobuf:"bytes,1,opt,name=photo,proto3" json:"photo,omitempty"`
	// Required. Mask that identifies fields on the photo metadata to update.
	// If not present, the old [Photo][google.streetview.publish.v1.Photo]
	// metadata is entirely replaced with the
	// new [Photo][google.streetview.publish.v1.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.lat_lng_pair`
	// * `pose.pitch`
	// * `pose.roll`
	// * `pose.level`
	// * `pose.altitude`
	// * `connections`
	// * `places`
	//
	// > Note: When
	// [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]
	// contains repeated fields, the entire set of repeated values get replaced
	// with the new contents. For example, if
	// [updateMask][google.streetview.publish.v1.UpdatePhotoRequest.update_mask]
	// contains `connections` and `UpdatePhotoRequest.photo.connections` is empty,
	// all connections are removed.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request to update the metadata of a Photo[google.streetview.publish.v1.Photo]. Updating the pixels of a photo is not supported.

func (*UpdatePhotoRequest) Descriptor deprecated

func (*UpdatePhotoRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePhotoRequest.ProtoReflect.Descriptor instead.

func (*UpdatePhotoRequest) GetPhoto

func (x *UpdatePhotoRequest) GetPhoto() *Photo

func (*UpdatePhotoRequest) GetUpdateMask

func (x *UpdatePhotoRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdatePhotoRequest) ProtoMessage

func (*UpdatePhotoRequest) ProtoMessage()

func (*UpdatePhotoRequest) ProtoReflect

func (x *UpdatePhotoRequest) ProtoReflect() protoreflect.Message

func (*UpdatePhotoRequest) Reset

func (x *UpdatePhotoRequest) Reset()

func (*UpdatePhotoRequest) String

func (x *UpdatePhotoRequest) String() string

type UploadRef

type UploadRef struct {

	// Required.
	//
	// Types that are assignable to FileSource:
	//
	//	*UploadRef_UploadUrl
	FileSource isUploadRef_FileSource `protobuf_oneof:"file_source"`
	// contains filtered or unexported fields
}

Upload reference for media files.

func (*UploadRef) Descriptor deprecated

func (*UploadRef) Descriptor() ([]byte, []int)

Deprecated: Use UploadRef.ProtoReflect.Descriptor instead.

func (*UploadRef) GetFileSource

func (m *UploadRef) GetFileSource() isUploadRef_FileSource

func (*UploadRef) GetUploadUrl

func (x *UploadRef) GetUploadUrl() string

func (*UploadRef) ProtoMessage

func (*UploadRef) ProtoMessage()

func (*UploadRef) ProtoReflect

func (x *UploadRef) ProtoReflect() protoreflect.Message

func (*UploadRef) Reset

func (x *UploadRef) Reset()

func (*UploadRef) String

func (x *UploadRef) String() string

type UploadRef_UploadUrl

type UploadRef_UploadUrl struct {
	// 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,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL