JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "DiffChecksumsResponse.php"
Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/Walletobjects/DiffChecksumsResponse.php
File size: 3.44 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Walletobjects;
class DiffChecksumsResponse extends \Google\Model
{
protected $checksumsLocationType = CompositeMedia::class;
protected $checksumsLocationDataType = '';
/**
* The chunk size of checksums. Must be a multiple of 256KB.
*
* @var string
*/
public $chunkSizeBytes;
protected $objectLocationType = CompositeMedia::class;
protected $objectLocationDataType = '';
/**
* The total size of the server object.
*
* @var string
*/
public $objectSizeBytes;
/**
* The object version of the object the checksums are being returned for.
*
* @var string
*/
public $objectVersion;
/**
* Exactly one of these fields must be populated. If checksums_location is
* filled, the server will return the corresponding contents to the user. If
* object_location is filled, the server will calculate the checksums based on
* the content there and return that to the user. For details on the format of
* the checksums, see http://go/scotty-diff-protocol.
*
* @param CompositeMedia $checksumsLocation
*/
public function setChecksumsLocation(CompositeMedia $checksumsLocation)
{
$this->checksumsLocation = $checksumsLocation;
}
/**
* @return CompositeMedia
*/
public function getChecksumsLocation()
{
return $this->checksumsLocation;
}
/**
* The chunk size of checksums. Must be a multiple of 256KB.
*
* @param string $chunkSizeBytes
*/
public function setChunkSizeBytes($chunkSizeBytes)
{
$this->chunkSizeBytes = $chunkSizeBytes;
}
/**
* @return string
*/
public function getChunkSizeBytes()
{
return $this->chunkSizeBytes;
}
/**
* If set, calculate the checksums based on the contents and return them to
* the caller.
*
* @param CompositeMedia $objectLocation
*/
public function setObjectLocation(CompositeMedia $objectLocation)
{
$this->objectLocation = $objectLocation;
}
/**
* @return CompositeMedia
*/
public function getObjectLocation()
{
return $this->objectLocation;
}
/**
* The total size of the server object.
*
* @param string $objectSizeBytes
*/
public function setObjectSizeBytes($objectSizeBytes)
{
$this->objectSizeBytes = $objectSizeBytes;
}
/**
* @return string
*/
public function getObjectSizeBytes()
{
return $this->objectSizeBytes;
}
/**
* The object version of the object the checksums are being returned for.
*
* @param string $objectVersion
*/
public function setObjectVersion($objectVersion)
{
$this->objectVersion = $objectVersion;
}
/**
* @return string
*/
public function getObjectVersion()
{
return $this->objectVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DiffChecksumsResponse::class, 'Google_Service_Walletobjects_DiffChecksumsResponse');