org.signal.svr2.proto.DeleteResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signal-service-java Show documentation
Show all versions of signal-service-java Show documentation
Signal Service communication library for Java, unofficial fork
// Code generated by Wire protocol buffer compiler, do not edit.
// Source: DeleteResponse in SVR2.proto
package org.signal.svr2.proto
import com.squareup.wire.FieldEncoding
import com.squareup.wire.Message
import com.squareup.wire.ProtoAdapter
import com.squareup.wire.ProtoReader
import com.squareup.wire.ProtoWriter
import com.squareup.wire.ReverseProtoWriter
import com.squareup.wire.Syntax.PROTO_3
import kotlin.Any
import kotlin.Boolean
import kotlin.Int
import kotlin.Long
import kotlin.String
import kotlin.Unit
import kotlin.jvm.JvmField
import okio.ByteString
public class DeleteResponse(
unknownFields: ByteString = ByteString.EMPTY,
) : Message(ADAPTER, unknownFields) {
public override fun newBuilder(): Builder {
val builder = Builder()
builder.addUnknownFields(unknownFields)
return builder
}
public override fun equals(other: Any?): Boolean {
if (other === this) return true
if (other !is DeleteResponse) return false
if (unknownFields != other.unknownFields) return false
return true
}
public override fun hashCode(): Int = unknownFields.hashCode()
public override fun toString(): String = "DeleteResponse{}"
public fun copy(unknownFields: ByteString = this.unknownFields): DeleteResponse =
DeleteResponse(unknownFields)
public class Builder : Message.Builder() {
public override fun build(): DeleteResponse = DeleteResponse(
unknownFields = buildUnknownFields()
)
}
public companion object {
@JvmField
public val ADAPTER: ProtoAdapter = object : ProtoAdapter(
FieldEncoding.LENGTH_DELIMITED,
DeleteResponse::class,
"type.googleapis.com/DeleteResponse",
PROTO_3,
null,
"SVR2.proto"
) {
public override fun encodedSize(`value`: DeleteResponse): Int {
var size = value.unknownFields.size
return size
}
public override fun encode(writer: ProtoWriter, `value`: DeleteResponse): Unit {
writer.writeBytes(value.unknownFields)
}
public override fun encode(writer: ReverseProtoWriter, `value`: DeleteResponse): Unit {
writer.writeBytes(value.unknownFields)
}
public override fun decode(reader: ProtoReader): DeleteResponse {
val unknownFields = reader.forEachTag(reader::readUnknownField)
return DeleteResponse(
unknownFields = unknownFields
)
}
public override fun redact(`value`: DeleteResponse): DeleteResponse = value.copy(
unknownFields = ByteString.EMPTY
)
}
private const val serialVersionUID: Long = 0L
}
}