RewriteResponse

com.google.storage.v2.storage.RewriteResponse
See theRewriteResponse companion object
final case class RewriteResponse(totalBytesRewritten: Long, objectSize: Long, done: Boolean, rewriteToken: String, resource: Option[Object], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[RewriteResponse]

A rewrite response.

Value parameters

done

true if the copy is finished; otherwise, false if the copy is in progress. This property is always present in the response.

objectSize

The total size of the object being copied in bytes. This property is always present in the response.

resource

A resource containing the metadata for the copied-to object. This property is present in the response only when copying completes.

rewriteToken

A token to use in subsequent requests to continue copying data. This token is present in the response only when there is more data to copy.

totalBytesRewritten

The total bytes written so far, which can be used to provide a waiting user with a progress indicator. This property is always present in the response.

Attributes

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

Members list

Value members

Concrete methods

Attributes

Source
RewriteResponse.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

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

Attributes

Source
RewriteResponse.scala

Attributes

Source
RewriteResponse.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
RewriteResponse.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
RewriteResponse.scala
def withDone(`__v`: Boolean): RewriteResponse

Attributes

Source
RewriteResponse.scala
def withObjectSize(`__v`: Long): RewriteResponse

Attributes

Source
RewriteResponse.scala

Attributes

Source
RewriteResponse.scala
def withRewriteToken(`__v`: String): RewriteResponse

Attributes

Source
RewriteResponse.scala

Attributes

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

Attributes

Source
RewriteResponse.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
RewriteResponse.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
def update(ms: Lens[RewriteResponse, RewriteResponse] => () => RewriteResponse*): A

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