ReadObjectResponse

com.google.storage.v2.storage.ReadObjectResponse
See theReadObjectResponse companion object
final case class ReadObjectResponse(checksummedData: Option[ChecksummedData], objectChecksums: Option[ObjectChecksums], contentRange: Option[ContentRange], metadata: Option[Object], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[ReadObjectResponse]

Response message for ReadObject.

Value parameters

checksummedData

A portion of the data for the object. The service **may** leave data empty for any given ReadResponse. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.

contentRange

If read_offset and or read_limit was specified on the ReadObjectRequest, ContentRange will be populated on the first ReadObjectResponse message of the read stream.

metadata

Metadata of the object whose media is being returned. Only populated in the first response in the stream.

objectChecksums

The checksums of the complete object. The client should compute one of these checksums over the downloaded object and compare it against the value provided here.

Attributes

Companion
object
Source
ReadObjectResponse.scala
Graph
Supertypes
trait Updatable[ReadObjectResponse]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
ReadObjectResponse.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
ReadObjectResponse.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
ReadObjectResponse.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
ReadObjectResponse.scala
def withUnknownFields(`__v`: UnknownFieldSet): ReadObjectResponse

Attributes

Source
ReadObjectResponse.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
ReadObjectResponse.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala