All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.solar.v1.Solar.DataLayers.Get.html Maven / Gradle / Ivy







Solar.DataLayers.Get (Solar API v1-rev20241211-2.0.0)












com.google.api.services.solar.v1

Class Solar.DataLayers.Get

    • Constructor Detail

      • Get

        protected Get()
        Gets solar information for a region surrounding a location. Returns an error with code `NOT_FOUND` if the location is outside the coverage area. Create a request for the method "dataLayers.get". This request holds the parameters needed by the the solar server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

        Solar.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be called to initialize this instance immediately after invoking the constructor.

        Since:
        1.13
    • Method Detail

      • executeUsingHead

        public com.google.api.client.http.HttpResponse executeUsingHead()
                                                                 throws IOException
        Overrides:
        executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<DataLayers>
        Throws:
        IOException
      • buildHttpRequestUsingHead

        public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
                                                                         throws IOException
        Overrides:
        buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<DataLayers>
        Throws:
        IOException
      • getExactQualityRequired

        public Boolean getExactQualityRequired()
        Optional. Whether to require exact quality of the imagery. If set to false, the `required_quality` field is interpreted as the minimum required quality, such that HIGH quality imagery may be returned when `required_quality` is set to MEDIUM. If set to true, `required_quality` is interpreted as the exact required quality and only `MEDIUM` quality imagery is returned if `required_quality` is set to `MEDIUM`.
      • setExactQualityRequired

        public Solar.DataLayers.Get setExactQualityRequired(Boolean exactQualityRequired)
        Optional. Whether to require exact quality of the imagery. If set to false, the `required_quality` field is interpreted as the minimum required quality, such that HIGH quality imagery may be returned when `required_quality` is set to MEDIUM. If set to true, `required_quality` is interpreted as the exact required quality and only `MEDIUM` quality imagery is returned if `required_quality` is set to `MEDIUM`.
      • getExperiments

        public List<String> getExperiments()
        Optional. Specifies the pre-GA experiments to enable.
      • getLocationLatitude

        public Double getLocationLatitude()
        The latitude in degrees. It must be in the range [-90.0, +90.0].
      • setLocationLatitude

        public Solar.DataLayers.Get setLocationLatitude(Double locationLatitude)
        The latitude in degrees. It must be in the range [-90.0, +90.0].
      • getLocationLongitude

        public Double getLocationLongitude()
        The longitude in degrees. It must be in the range [-180.0, +180.0].
      • setLocationLongitude

        public Solar.DataLayers.Get setLocationLongitude(Double locationLongitude)
        The longitude in degrees. It must be in the range [-180.0, +180.0].
      • getPixelSizeMeters

        public Float getPixelSizeMeters()
        Optional. The minimum scale, in meters per pixel, of the data to return. Values of 0.1 (the default, if this field is not set explicitly), 0.25, 0.5, and 1.0 are supported. Imagery components whose normal resolution is less than `pixel_size_meters` will be returned at the resolution specified by `pixel_size_meters`; imagery components whose normal resolution is equal to or greater than `pixel_size_meters` will be returned at that normal resolution.
      • setPixelSizeMeters

        public Solar.DataLayers.Get setPixelSizeMeters(Float pixelSizeMeters)
        Optional. The minimum scale, in meters per pixel, of the data to return. Values of 0.1 (the default, if this field is not set explicitly), 0.25, 0.5, and 1.0 are supported. Imagery components whose normal resolution is less than `pixel_size_meters` will be returned at the resolution specified by `pixel_size_meters`; imagery components whose normal resolution is equal to or greater than `pixel_size_meters` will be returned at that normal resolution.
      • getRadiusMeters

        public Float getRadiusMeters()
        Required. The radius, in meters, defining the region surrounding that centre point for which data should be returned. The limitations on this value are: * Any value up to 100m can always be specified. * Values over 100m can be specified, as long as `radius_meters` <= `pixel_size_meters * 1000`. * However, for values over 175m, the `DataLayerView` in the request must not include monthly flux or hourly shade.
      • setRadiusMeters

        public Solar.DataLayers.Get setRadiusMeters(Float radiusMeters)
        Required. The radius, in meters, defining the region surrounding that centre point for which data should be returned. The limitations on this value are: * Any value up to 100m can always be specified. * Values over 100m can be specified, as long as `radius_meters` <= `pixel_size_meters * 1000`. * However, for values over 175m, the `DataLayerView` in the request must not include monthly flux or hourly shade.
      • getRequiredQuality

        public String getRequiredQuality()
        Optional. The minimum quality level allowed in the results. No result with lower quality than this will be returned. Not specifying this is equivalent to restricting to HIGH quality only.
      • setRequiredQuality

        public Solar.DataLayers.Get setRequiredQuality(String requiredQuality)
        Optional. The minimum quality level allowed in the results. No result with lower quality than this will be returned. Not specifying this is equivalent to restricting to HIGH quality only.
      • getView

        public String getView()
        Optional. The desired subset of the data to return.

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy