Class protos.google.maps.solar.v1.Solar (0.1.0)

Represents a Solar

Inheritance

$protobuf.rpc.Service > protos.google.maps.solar.v1.Solar

Package

@googlemaps/solar

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new Solar service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Solar;

Creates new Solar service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
Solar

RPC service. Useful where requests and/or responses are streamed.

findClosestBuildingInsights(request, callback)

public findClosestBuildingInsights(request: google.maps.solar.v1.IFindClosestBuildingInsightsRequest, callback: google.maps.solar.v1.Solar.FindClosestBuildingInsightsCallback): void;

Calls FindClosestBuildingInsights.

Parameters
Name Description
request IFindClosestBuildingInsightsRequest

FindClosestBuildingInsightsRequest message or plain object

callback FindClosestBuildingInsightsCallback

Node-style callback called with the error, if any, and BuildingInsights

Returns
Type Description
void

findClosestBuildingInsights(request)

public findClosestBuildingInsights(request: google.maps.solar.v1.IFindClosestBuildingInsightsRequest): Promise<google.maps.solar.v1.BuildingInsights>;

Calls FindClosestBuildingInsights.

Parameter
Name Description
request IFindClosestBuildingInsightsRequest

FindClosestBuildingInsightsRequest message or plain object

Returns
Type Description
Promise<google.maps.solar.v1.BuildingInsights>

Promise

getDataLayers(request, callback)

public getDataLayers(request: google.maps.solar.v1.IGetDataLayersRequest, callback: google.maps.solar.v1.Solar.GetDataLayersCallback): void;

Calls GetDataLayers.

Parameters
Name Description
request IGetDataLayersRequest

GetDataLayersRequest message or plain object

callback GetDataLayersCallback

Node-style callback called with the error, if any, and DataLayers

Returns
Type Description
void

getDataLayers(request)

public getDataLayers(request: google.maps.solar.v1.IGetDataLayersRequest): Promise<google.maps.solar.v1.DataLayers>;

Calls GetDataLayers.

Parameter
Name Description
request IGetDataLayersRequest

GetDataLayersRequest message or plain object

Returns
Type Description
Promise<google.maps.solar.v1.DataLayers>

Promise

getGeoTiff(request, callback)

public getGeoTiff(request: google.maps.solar.v1.IGetGeoTiffRequest, callback: google.maps.solar.v1.Solar.GetGeoTiffCallback): void;

Calls GetGeoTiff.

Parameters
Name Description
request IGetGeoTiffRequest

GetGeoTiffRequest message or plain object

callback GetGeoTiffCallback

Node-style callback called with the error, if any, and HttpBody

Returns
Type Description
void

getGeoTiff(request)

public getGeoTiff(request: google.maps.solar.v1.IGetGeoTiffRequest): Promise<google.api.HttpBody>;

Calls GetGeoTiff.

Parameter
Name Description
request IGetGeoTiffRequest

GetGeoTiffRequest message or plain object

Returns
Type Description
Promise<google.api.HttpBody>

Promise