Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now available in preview.

google.appengine.datastore.sortable_pb_encoder.Encoder

Encodes protocol buffers in a form that sorts nicely.

Inherits From: expected_type

Methods

Buffer

View source

EncodeMessage

View source

Put16

View source

Encode a fixed size 16 bit value in the buffer.

Put32

View source

Encode a fixed size 32 bit value in the buffer.

Put64

View source

Encode a fixed size 64 bit value in the buffer.

PutBoolean

View source

Encode a boolean value in the buffer.

PutBytes

View source

Encode a byte array in the buffer.

PutDouble

View source

Encode a double value in the buffer.

PutFloat

View source

Encode a floating point value in the buffer.

PutMessage

View source

Encode a protocol buffer message on the buffer.

PutPrefixedString

View source

PutVarInt32

View source

Encode a 32 bit varint value in the buffer.

PutVarInt64

View source

Encode a 64 bit varint value in the buffer.

PutVarUint64

View source

Encode a 64 bit unsigned varint value in the buffer.