NOTE: This site is deprecated. The site will be turned down after January 31, 2023, and traffic will redirect to the new site at https://protobuf.dev. In the meantime, updates will be made only to protobuf.dev.

get

Stay organized with collections Save and categorize content based on your preferences.

//protobuf-kotlin/com.google.protobuf.kotlin/get

[JVM]
Content
operator fun ByteString.get(index: Int): Byte
More info

Gets the byte at index.

[JVM]
Content
operator fun <M : GeneratedMessageV3.ExtendableMessage<M>, MorBT : GeneratedMessageV3.ExtendableMessageOrBuilder<M>, T : Any> MorBT.get(extension: ExtensionLite<M, T>): T
More info

Gets the current value of the proto extension.