blob: b83f3661454cd019442ff9c701fb2d160babd106 [file] [log] [blame]
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: com/google/protobuf/evil_names_proto2.proto
package evil_names_proto2;
@kotlin.jvm.JvmSynthetic
inline fun evilNamesProto2(block: evil_names_proto2.EvilNamesProto2Kt.Dsl.() -> Unit): evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2 =
evil_names_proto2.EvilNamesProto2Kt.Dsl._create(evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2.newBuilder()).apply { block() }._build()
object EvilNamesProto2Kt {
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
@com.google.protobuf.kotlin.ProtoDslMarker
class Dsl private constructor(
@kotlin.jvm.JvmField private val _builder: evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2.Builder
) {
companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2 = _builder.build()
/**
* <code>optional bool initialized = 1;</code>
*/
var initialized: kotlin.Boolean
@JvmName("getInitialized")
get() = _builder.getInitialized()
@JvmName("setInitialized")
set(value) {
_builder.setInitialized(value)
}
/**
* <code>optional bool initialized = 1;</code>
*/
fun clearInitialized() {
_builder.clearInitialized()
}
/**
* <code>optional bool initialized = 1;</code>
* @return Whether the initialized field is set.
*/
fun hasInitialized(): kotlin.Boolean {
return _builder.hasInitialized()
}
/**
* <code>optional bool has_foo = 2;</code>
*/
var hasFoo: kotlin.Boolean
@JvmName("getHasFoo")
get() = _builder.getHasFoo()
@JvmName("setHasFoo")
set(value) {
_builder.setHasFoo(value)
}
/**
* <code>optional bool has_foo = 2;</code>
*/
fun clearHasFoo() {
_builder.clearHasFoo()
}
/**
* <code>optional bool has_foo = 2;</code>
* @return Whether the hasFoo field is set.
*/
fun hasHasFoo(): kotlin.Boolean {
return _builder.hasHasFoo()
}
/**
* <code>optional string Bar = 3;</code>
*/
var bar: kotlin.String
@JvmName("getBar")
get() = _builder.getBar()
@JvmName("setBar")
set(value) {
_builder.setBar(value)
}
/**
* <code>optional string Bar = 3;</code>
*/
fun clearBar() {
_builder.clearBar()
}
/**
* <code>optional string Bar = 3;</code>
* @return Whether the bar field is set.
*/
fun hasBar(): kotlin.Boolean {
return _builder.hasBar()
}
/**
* <code>optional bool is_initialized = 4;</code>
*/
var isInitialized: kotlin.Boolean
@JvmName("getIsInitialized")
get() = _builder.getIsInitialized()
@JvmName("setIsInitialized")
set(value) {
_builder.setIsInitialized(value)
}
/**
* <code>optional bool is_initialized = 4;</code>
*/
fun clearIsInitialized() {
_builder.clearIsInitialized()
}
/**
* <code>optional bool is_initialized = 4;</code>
* @return Whether the isInitialized field is set.
*/
fun hasIsInitialized(): kotlin.Boolean {
return _builder.hasIsInitialized()
}
/**
* <code>string fooBar = 5;</code>
*/
var fooBar: kotlin.String
@JvmName("getFooBar")
get() = _builder.getFooBar()
@JvmName("setFooBar")
set(value) {
_builder.setFooBar(value)
}
/**
* <code>string fooBar = 5;</code>
*/
fun clearFooBar() {
_builder.clearFooBar()
}
/**
* <code>string fooBar = 5;</code>
* @return Whether the fooBar field is set.
*/
fun hasFooBar(): kotlin.Boolean {
return _builder.hasFooBar()
}
/**
* An uninstantiable, behaviorless type to represent the field in
* generics.
*/
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
class ALLCAPSProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
/**
* <code>repeated string ALL_CAPS = 7;</code>
* @return A list containing the aLLCAPS.
*/
val aLLCAPS: com.google.protobuf.kotlin.DslList<kotlin.String, ALLCAPSProxy>
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
get() = com.google.protobuf.kotlin.DslList(
_builder.getALLCAPSList()
)
/**
* <code>repeated string ALL_CAPS = 7;</code>
* @param value The aLLCAPS to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("addALLCAPS")
fun com.google.protobuf.kotlin.DslList<kotlin.String, ALLCAPSProxy>.add(value: kotlin.String) {
_builder.addALLCAPS(value)
}
/**
* <code>repeated string ALL_CAPS = 7;</code>
* @param value The aLLCAPS to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("plusAssignALLCAPS")
inline operator fun com.google.protobuf.kotlin.DslList<kotlin.String, ALLCAPSProxy>.plusAssign(value: kotlin.String) {
add(value)
}
/**
* <code>repeated string ALL_CAPS = 7;</code>
* @param values The aLLCAPS to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("addAllALLCAPS")
fun com.google.protobuf.kotlin.DslList<kotlin.String, ALLCAPSProxy>.addAll(values: kotlin.collections.Iterable<kotlin.String>) {
_builder.addAllALLCAPS(values)
}
/**
* <code>repeated string ALL_CAPS = 7;</code>
* @param values The aLLCAPS to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("plusAssignAllALLCAPS")
inline operator fun com.google.protobuf.kotlin.DslList<kotlin.String, ALLCAPSProxy>.plusAssign(values: kotlin.collections.Iterable<kotlin.String>) {
addAll(values)
}
/**
* <code>repeated string ALL_CAPS = 7;</code>
* @param index The index to set the value at.
* @param value The aLLCAPS to set.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("setALLCAPS")
operator fun com.google.protobuf.kotlin.DslList<kotlin.String, ALLCAPSProxy>.set(index: kotlin.Int, value: kotlin.String) {
_builder.setALLCAPS(index, value)
}/**
* <code>repeated string ALL_CAPS = 7;</code>
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("clearALLCAPS")
fun com.google.protobuf.kotlin.DslList<kotlin.String, ALLCAPSProxy>.clear() {
_builder.clearALLCAPS()
}
/**
* An uninstantiable, behaviorless type to represent the field in
* generics.
*/
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
class ALLCAPSMAPProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
/**
* <code>map&lt;int32, bool&gt; ALL_CAPS_MAP = 8;</code>
*/
val aLLCAPSMAP: com.google.protobuf.kotlin.DslMap<kotlin.Int, kotlin.Boolean, ALLCAPSMAPProxy>
@kotlin.jvm.JvmSynthetic
@JvmName("getALLCAPSMAPMap")
get() = com.google.protobuf.kotlin.DslMap(
_builder.getALLCAPSMAPMap()
)
/**
* <code>map&lt;int32, bool&gt; ALL_CAPS_MAP = 8;</code>
*/
@JvmName("putALLCAPSMAP")
fun com.google.protobuf.kotlin.DslMap<kotlin.Int, kotlin.Boolean, ALLCAPSMAPProxy>
.put(key: kotlin.Int, value: kotlin.Boolean) {
_builder.putALLCAPSMAP(key, value)
}
/**
* <code>map&lt;int32, bool&gt; ALL_CAPS_MAP = 8;</code>
*/
@kotlin.jvm.JvmSynthetic
@JvmName("setALLCAPSMAP")
inline operator fun com.google.protobuf.kotlin.DslMap<kotlin.Int, kotlin.Boolean, ALLCAPSMAPProxy>
.set(key: kotlin.Int, value: kotlin.Boolean) {
put(key, value)
}
/**
* <code>map&lt;int32, bool&gt; ALL_CAPS_MAP = 8;</code>
*/
@kotlin.jvm.JvmSynthetic
@JvmName("removeALLCAPSMAP")
fun com.google.protobuf.kotlin.DslMap<kotlin.Int, kotlin.Boolean, ALLCAPSMAPProxy>
.remove(key: kotlin.Int) {
_builder.removeALLCAPSMAP(key)
}
/**
* <code>map&lt;int32, bool&gt; ALL_CAPS_MAP = 8;</code>
*/
@kotlin.jvm.JvmSynthetic
@JvmName("putAllALLCAPSMAP")
fun com.google.protobuf.kotlin.DslMap<kotlin.Int, kotlin.Boolean, ALLCAPSMAPProxy>
.putAll(map: kotlin.collections.Map<kotlin.Int, kotlin.Boolean>) {
_builder.putAllALLCAPSMAP(map)
}
/**
* <code>map&lt;int32, bool&gt; ALL_CAPS_MAP = 8;</code>
*/
@kotlin.jvm.JvmSynthetic
@JvmName("clearALLCAPSMAP")
fun com.google.protobuf.kotlin.DslMap<kotlin.Int, kotlin.Boolean, ALLCAPSMAPProxy>
.clear() {
_builder.clearALLCAPSMAP()
}
/**
* <code>optional bool has_underbar_preceding_numeric_1foo = 9;</code>
*/
var hasUnderbarPrecedingNumeric1Foo: kotlin.Boolean
@JvmName("getHasUnderbarPrecedingNumeric1Foo")
get() = _builder.getHasUnderbarPrecedingNumeric1Foo()
@JvmName("setHasUnderbarPrecedingNumeric1Foo")
set(value) {
_builder.setHasUnderbarPrecedingNumeric1Foo(value)
}
/**
* <code>optional bool has_underbar_preceding_numeric_1foo = 9;</code>
*/
fun clearHasUnderbarPrecedingNumeric1Foo() {
_builder.clearHasUnderbarPrecedingNumeric1Foo()
}
/**
* <code>optional bool has_underbar_preceding_numeric_1foo = 9;</code>
* @return Whether the hasUnderbarPrecedingNumeric1foo field is set.
*/
fun hasHasUnderbarPrecedingNumeric1Foo(): kotlin.Boolean {
return _builder.hasHasUnderbarPrecedingNumeric1Foo()
}
/**
* <code>optional bool has_underbar_preceding_numeric_42bar = 13;</code>
*/
var hasUnderbarPrecedingNumeric42Bar: kotlin.Boolean
@JvmName("getHasUnderbarPrecedingNumeric42Bar")
get() = _builder.getHasUnderbarPrecedingNumeric42Bar()
@JvmName("setHasUnderbarPrecedingNumeric42Bar")
set(value) {
_builder.setHasUnderbarPrecedingNumeric42Bar(value)
}
/**
* <code>optional bool has_underbar_preceding_numeric_42bar = 13;</code>
*/
fun clearHasUnderbarPrecedingNumeric42Bar() {
_builder.clearHasUnderbarPrecedingNumeric42Bar()
}
/**
* <code>optional bool has_underbar_preceding_numeric_42bar = 13;</code>
* @return Whether the hasUnderbarPrecedingNumeric42bar field is set.
*/
fun hasHasUnderbarPrecedingNumeric42Bar(): kotlin.Boolean {
return _builder.hasHasUnderbarPrecedingNumeric42Bar()
}
/**
* <code>optional bool has_underbar_preceding_numeric_123foo42bar_baz = 14;</code>
*/
var hasUnderbarPrecedingNumeric123Foo42BarBaz: kotlin.Boolean
@JvmName("getHasUnderbarPrecedingNumeric123Foo42BarBaz")
get() = _builder.getHasUnderbarPrecedingNumeric123Foo42BarBaz()
@JvmName("setHasUnderbarPrecedingNumeric123Foo42BarBaz")
set(value) {
_builder.setHasUnderbarPrecedingNumeric123Foo42BarBaz(value)
}
/**
* <code>optional bool has_underbar_preceding_numeric_123foo42bar_baz = 14;</code>
*/
fun clearHasUnderbarPrecedingNumeric123Foo42BarBaz() {
_builder.clearHasUnderbarPrecedingNumeric123Foo42BarBaz()
}
/**
* <code>optional bool has_underbar_preceding_numeric_123foo42bar_baz = 14;</code>
* @return Whether the hasUnderbarPrecedingNumeric123foo42barBaz field is set.
*/
fun hasHasUnderbarPrecedingNumeric123Foo42BarBaz(): kotlin.Boolean {
return _builder.hasHasUnderbarPrecedingNumeric123Foo42BarBaz()
}
/**
* An uninstantiable, behaviorless type to represent the field in
* generics.
*/
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
class ExtensionProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
/**
* <code>repeated string extension = 12;</code>
* @return A list containing the extension.
*/
val extension: com.google.protobuf.kotlin.DslList<kotlin.String, ExtensionProxy>
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
get() = com.google.protobuf.kotlin.DslList(
_builder.getExtensionList()
)
/**
* <code>repeated string extension = 12;</code>
* @param value The extension to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("addExtension")
fun com.google.protobuf.kotlin.DslList<kotlin.String, ExtensionProxy>.add(value: kotlin.String) {
_builder.addExtension(value)
}
/**
* <code>repeated string extension = 12;</code>
* @param value The extension to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("plusAssignExtension")
inline operator fun com.google.protobuf.kotlin.DslList<kotlin.String, ExtensionProxy>.plusAssign(value: kotlin.String) {
add(value)
}
/**
* <code>repeated string extension = 12;</code>
* @param values The extension to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("addAllExtension")
fun com.google.protobuf.kotlin.DslList<kotlin.String, ExtensionProxy>.addAll(values: kotlin.collections.Iterable<kotlin.String>) {
_builder.addAllExtension(values)
}
/**
* <code>repeated string extension = 12;</code>
* @param values The extension to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("plusAssignAllExtension")
inline operator fun com.google.protobuf.kotlin.DslList<kotlin.String, ExtensionProxy>.plusAssign(values: kotlin.collections.Iterable<kotlin.String>) {
addAll(values)
}
/**
* <code>repeated string extension = 12;</code>
* @param index The index to set the value at.
* @param value The extension to set.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("setExtension")
operator fun com.google.protobuf.kotlin.DslList<kotlin.String, ExtensionProxy>.set(index: kotlin.Int, value: kotlin.String) {
_builder.setExtension(index, value)
}/**
* <code>repeated string extension = 12;</code>
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("clearExtension")
fun com.google.protobuf.kotlin.DslList<kotlin.String, ExtensionProxy>.clear() {
_builder.clearExtension()
}
/**
* An uninstantiable, behaviorless type to represent the field in
* generics.
*/
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
class Class_Proxy private constructor() : com.google.protobuf.kotlin.DslProxy()
/**
* <code>repeated int32 class = 15;</code>
*/
val class_: com.google.protobuf.kotlin.DslList<kotlin.Int, Class_Proxy>
@kotlin.jvm.JvmSynthetic
get() = com.google.protobuf.kotlin.DslList(
_builder.getClass_List()
)
/**
* <code>repeated int32 class = 15;</code>
* @param value The class to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("addClass_")
fun com.google.protobuf.kotlin.DslList<kotlin.Int, Class_Proxy>.add(value: kotlin.Int) {
_builder.addClass_(value)
}/**
* <code>repeated int32 class = 15;</code>
* @param value The class to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("plusAssignClass_")
inline operator fun com.google.protobuf.kotlin.DslList<kotlin.Int, Class_Proxy>.plusAssign(value: kotlin.Int) {
add(value)
}/**
* <code>repeated int32 class = 15;</code>
* @param values The class to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("addAllClass_")
fun com.google.protobuf.kotlin.DslList<kotlin.Int, Class_Proxy>.addAll(values: kotlin.collections.Iterable<kotlin.Int>) {
_builder.addAllClass_(values)
}/**
* <code>repeated int32 class = 15;</code>
* @param values The class to add.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("plusAssignAllClass_")
inline operator fun com.google.protobuf.kotlin.DslList<kotlin.Int, Class_Proxy>.plusAssign(values: kotlin.collections.Iterable<kotlin.Int>) {
addAll(values)
}/**
* <code>repeated int32 class = 15;</code>
* @param index The index to set the value at.
* @param value The class to set.
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("setClass_")
operator fun com.google.protobuf.kotlin.DslList<kotlin.Int, Class_Proxy>.set(index: kotlin.Int, value: kotlin.Int) {
_builder.setClass_(index, value)
}/**
* <code>repeated int32 class = 15;</code>
*/
@kotlin.jvm.JvmSynthetic
@kotlin.jvm.JvmName("clearClass_")
fun com.google.protobuf.kotlin.DslList<kotlin.Int, Class_Proxy>.clear() {
_builder.clearClass_()
}
/**
* <code>optional double int = 16;</code>
*/
var int: kotlin.Double
@JvmName("getInt")
get() = _builder.getInt()
@JvmName("setInt")
set(value) {
_builder.setInt(value)
}
/**
* <code>optional double int = 16;</code>
*/
fun clearInt() {
_builder.clearInt()
}
/**
* <code>optional double int = 16;</code>
* @return Whether the int field is set.
*/
fun hasInt(): kotlin.Boolean {
return _builder.hasInt()
}
/**
* <code>optional bool long = 17;</code>
*/
var long: kotlin.Boolean
@JvmName("getLong")
get() = _builder.getLong()
@JvmName("setLong")
set(value) {
_builder.setLong(value)
}
/**
* <code>optional bool long = 17;</code>
*/
fun clearLong() {
_builder.clearLong()
}
/**
* <code>optional bool long = 17;</code>
* @return Whether the long field is set.
*/
fun hasLong(): kotlin.Boolean {
return _builder.hasLong()
}
/**
* <code>optional int64 boolean = 18;</code>
*/
var boolean: kotlin.Long
@JvmName("getBoolean")
get() = _builder.getBoolean()
@JvmName("setBoolean")
set(value) {
_builder.setBoolean(value)
}
/**
* <code>optional int64 boolean = 18;</code>
*/
fun clearBoolean() {
_builder.clearBoolean()
}
/**
* <code>optional int64 boolean = 18;</code>
* @return Whether the boolean field is set.
*/
fun hasBoolean(): kotlin.Boolean {
return _builder.hasBoolean()
}
/**
* <code>optional string sealed = 19;</code>
*/
var sealed: kotlin.String
@JvmName("getSealed")
get() = _builder.getSealed()
@JvmName("setSealed")
set(value) {
_builder.setSealed(value)
}
/**
* <code>optional string sealed = 19;</code>
*/
fun clearSealed() {
_builder.clearSealed()
}
/**
* <code>optional string sealed = 19;</code>
* @return Whether the sealed field is set.
*/
fun hasSealed(): kotlin.Boolean {
return _builder.hasSealed()
}
/**
* <code>optional float interface = 20;</code>
*/
var interface_: kotlin.Float
@JvmName("getInterface_")
get() = _builder.getInterface()
@JvmName("setInterface_")
set(value) {
_builder.setInterface(value)
}
/**
* <code>optional float interface = 20;</code>
*/
fun clearInterface_() {
_builder.clearInterface()
}
/**
* <code>optional float interface = 20;</code>
* @return Whether the interface field is set.
*/
fun hasInterface_(): kotlin.Boolean {
return _builder.hasInterface()
}
/**
* <code>optional int32 in = 21;</code>
*/
var in_: kotlin.Int
@JvmName("getIn_")
get() = _builder.getIn()
@JvmName("setIn_")
set(value) {
_builder.setIn(value)
}
/**
* <code>optional int32 in = 21;</code>
*/
fun clearIn_() {
_builder.clearIn()
}
/**
* <code>optional int32 in = 21;</code>
* @return Whether the in field is set.
*/
fun hasIn_(): kotlin.Boolean {
return _builder.hasIn()
}
/**
* <code>optional string object = 22;</code>
*/
var object_: kotlin.String
@JvmName("getObject_")
get() = _builder.getObject()
@JvmName("setObject_")
set(value) {
_builder.setObject(value)
}
/**
* <code>optional string object = 22;</code>
*/
fun clearObject_() {
_builder.clearObject()
}
/**
* <code>optional string object = 22;</code>
* @return Whether the object field is set.
*/
fun hasObject_(): kotlin.Boolean {
return _builder.hasObject()
}
/**
* <code>optional string cached_size = 23;</code>
*/
var cachedSize_: kotlin.String
@JvmName("getCachedSize_")
get() = _builder.getCachedSize_()
@JvmName("setCachedSize_")
set(value) {
_builder.setCachedSize_(value)
}
/**
* <code>optional string cached_size = 23;</code>
*/
fun clearCachedSize_() {
_builder.clearCachedSize_()
}
/**
* <code>optional string cached_size = 23;</code>
* @return Whether the cachedSize field is set.
*/
fun hasCachedSize_(): kotlin.Boolean {
return _builder.hasCachedSize_()
}
/**
* <code>optional bool serialized_size = 24;</code>
*/
var serializedSize_: kotlin.Boolean
@JvmName("getSerializedSize_")
get() = _builder.getSerializedSize_()
@JvmName("setSerializedSize_")
set(value) {
_builder.setSerializedSize_(value)
}
/**
* <code>optional bool serialized_size = 24;</code>
*/
fun clearSerializedSize_() {
_builder.clearSerializedSize_()
}
/**
* <code>optional bool serialized_size = 24;</code>
* @return Whether the serializedSize field is set.
*/
fun hasSerializedSize_(): kotlin.Boolean {
return _builder.hasSerializedSize_()
}
/**
* <code>optional string by = 25;</code>
*/
var by: kotlin.String
@JvmName("getBy")
get() = _builder.getBy()
@JvmName("setBy")
set(value) {
_builder.setBy(value)
}
/**
* <code>optional string by = 25;</code>
*/
fun clearBy() {
_builder.clearBy()
}
/**
* <code>optional string by = 25;</code>
* @return Whether the by field is set.
*/
fun hasBy(): kotlin.Boolean {
return _builder.hasBy()
}
val camelCaseCase: evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2.CamelCaseCase
@JvmName("getCamelCaseCase")
get() = _builder.getCamelCaseCase()
fun clearCamelCase() {
_builder.clearCamelCase()
}
@Suppress("UNCHECKED_CAST")
@kotlin.jvm.JvmSynthetic
operator fun <T> get(extension: com.google.protobuf.ExtensionLite<evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2, T>): T {
return if (extension.isRepeated) {
get(extension as com.google.protobuf.ExtensionLite<evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2, List<*>>) as T
} else {
_builder.getExtension(extension)
}
}
@kotlin.jvm.JvmSynthetic
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
@kotlin.jvm.JvmName("-getRepeatedExtension")
operator fun <E> get(
extension: com.google.protobuf.ExtensionLite<evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2, List<E>>
): com.google.protobuf.kotlin.ExtensionList<E, evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2> {
return com.google.protobuf.kotlin.ExtensionList(extension, _builder.getExtension(extension))
}
@kotlin.jvm.JvmSynthetic
operator fun contains(extension: com.google.protobuf.ExtensionLite<evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2, *>): Boolean {
return _builder.hasExtension(extension)
}
@kotlin.jvm.JvmSynthetic
fun clear(extension: com.google.protobuf.ExtensionLite<evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2, *>) {
_builder.clearExtension(extension)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun <T> setExtension(extension: com.google.protobuf.ExtensionLite<evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2, T>, value: T) {
_builder.setExtension(extension, value)
}
@kotlin.jvm.JvmSynthetic
inline operator fun <T : Comparable<T>> set(
extension: com.google.protobuf.ExtensionLite<evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2, T>,
value: T
) {
setExtension(extension, value)
}
@kotlin.jvm.JvmSynthetic
inline operator fun set(
extension: com.google.protobuf.ExtensionLite<evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2, com.google.protobuf.ByteString>,
value: com.google.protobuf.ByteString
) {
setExtension(extension, value)
}
@kotlin.jvm.JvmSynthetic
inline operator fun <T : com.google.protobuf.MessageLite> set(
extension: com.google.protobuf.ExtensionLite<evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2, T>,
value: T
) {
setExtension(extension, value)
}
@kotlin.jvm.JvmSynthetic
fun <E> com.google.protobuf.kotlin.ExtensionList<E, evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2>.add(value: E) {
_builder.addExtension(this.extension, value)
}
@kotlin.jvm.JvmSynthetic
inline operator fun <E> com.google.protobuf.kotlin.ExtensionList<E, evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2>.plusAssign(value: E) {
add(value)
}
@kotlin.jvm.JvmSynthetic
fun <E> com.google.protobuf.kotlin.ExtensionList<E, evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2>.addAll(values: Iterable<E>) {
for (value in values) {
add(value)
}
}
@kotlin.jvm.JvmSynthetic
inline operator fun <E> com.google.protobuf.kotlin.ExtensionList<E, evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2>.plusAssign(values: Iterable<E>) {
addAll(values)
}
@kotlin.jvm.JvmSynthetic
operator fun <E> com.google.protobuf.kotlin.ExtensionList<E, evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2>.set(index: Int, value: E) {
_builder.setExtension(this.extension, index, value)
}
@kotlin.jvm.JvmSynthetic
inline fun com.google.protobuf.kotlin.ExtensionList<*, evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2>.clear() {
clear(extension)
}
}
}
inline fun evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2.copy(block: evil_names_proto2.EvilNamesProto2Kt.Dsl.() -> Unit): evil_names_proto2.EvilNamesProto2OuterClass.EvilNamesProto2 =
evil_names_proto2.EvilNamesProto2Kt.Dsl._create(this.toBuilder()).apply { block() }._build()