Class protos.google.streetview.publish.v1.PhotoSequence (0.1.0)

Represents a PhotoSequence.

Package

@googlemaps/streetview-publish

Constructors

(constructor)(properties)

constructor(properties?: google.streetview.publish.v1.IPhotoSequence);

Constructs a new PhotoSequence.

Parameter
Name Description
properties IPhotoSequence

Properties to set

Properties

captureTimeOverride

public captureTimeOverride?: (google.protobuf.ITimestamp|null);

PhotoSequence captureTimeOverride.

distanceMeters

public distanceMeters: number;

PhotoSequence distanceMeters.

failureDetails

public failureDetails?: (google.streetview.publish.v1.IProcessingFailureDetails|null);

PhotoSequence failureDetails.

failureReason

public failureReason: (google.streetview.publish.v1.ProcessingFailureReason|keyof typeof google.streetview.publish.v1.ProcessingFailureReason);

PhotoSequence failureReason.

filename

public filename: string;

PhotoSequence filename.

gpsSource

public gpsSource: (google.streetview.publish.v1.PhotoSequence.GpsSource|keyof typeof google.streetview.publish.v1.PhotoSequence.GpsSource);

PhotoSequence gpsSource.

id

public id: string;

PhotoSequence id.

imu

public imu?: (google.streetview.publish.v1.IImu|null);

PhotoSequence imu.

photos

public photos: google.streetview.publish.v1.IPhoto[];

PhotoSequence photos.

processingState

public processingState: (google.streetview.publish.v1.ProcessingState|keyof typeof google.streetview.publish.v1.ProcessingState);

PhotoSequence processingState.

rawGpsTimeline

public rawGpsTimeline: google.streetview.publish.v1.IPose[];

PhotoSequence rawGpsTimeline.

sequenceBounds

public sequenceBounds?: (google.streetview.publish.v1.ILatLngBounds|null);

PhotoSequence sequenceBounds.

uploadReference

public uploadReference?: (google.streetview.publish.v1.IUploadRef|null);

PhotoSequence uploadReference.

uploadTime

public uploadTime?: (google.protobuf.ITimestamp|null);

PhotoSequence uploadTime.

viewCount

public viewCount: (number|Long|string);

PhotoSequence viewCount.

Methods

create(properties)

public static create(properties?: google.streetview.publish.v1.IPhotoSequence): google.streetview.publish.v1.PhotoSequence;

Creates a new PhotoSequence instance using the specified properties.

Parameter
Name Description
properties IPhotoSequence

Properties to set

Returns
Type Description
PhotoSequence

PhotoSequence instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.streetview.publish.v1.PhotoSequence;

Decodes a PhotoSequence message from the specified reader or buffer.

Parameters
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
Type Description
PhotoSequence

PhotoSequence

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.streetview.publish.v1.PhotoSequence;

Decodes a PhotoSequence message from the specified reader or buffer, length delimited.

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
PhotoSequence

PhotoSequence

encode(message, writer)

public static encode(message: google.streetview.publish.v1.IPhotoSequence, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified PhotoSequence message. Does not implicitly messages.

Parameters
Name Description
message IPhotoSequence

PhotoSequence message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.streetview.publish.v1.IPhotoSequence, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified PhotoSequence message, length delimited. Does not implicitly messages.

Parameters
Name Description
message IPhotoSequence

PhotoSequence message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.streetview.publish.v1.PhotoSequence;

Creates a PhotoSequence message from a plain object. Also converts values to their respective internal types.

Parameter
Name Description
object { [k: string]: any }

Plain object

Returns
Type Description
PhotoSequence

PhotoSequence

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for PhotoSequence

Parameter
Name Description
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
Type Description
string

The default type url

toJSON()

public toJSON(): { [k: string]: any };

Converts this PhotoSequence to JSON.

Returns
Type Description
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.streetview.publish.v1.PhotoSequence, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from a PhotoSequence message. Also converts values to other types if specified.

Parameters
Name Description
message PhotoSequence

PhotoSequence

options $protobuf.IConversionOptions

Conversion options

Returns
Type Description
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a PhotoSequence message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not