org.signal.svr2.proto.DeleteRequest.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: DeleteRequest 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
/**
*
* delete
*/
public class DeleteRequest(
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 DeleteRequest) return false
if (unknownFields != other.unknownFields) return false
return true
}
public override fun hashCode(): Int = unknownFields.hashCode()
public override fun toString(): String = "DeleteRequest{}"
public fun copy(unknownFields: ByteString = this.unknownFields): DeleteRequest =
DeleteRequest(unknownFields)
public class Builder : Message.Builder() {
public override fun build(): DeleteRequest = DeleteRequest(
unknownFields = buildUnknownFields()
)
}
public companion object {
@JvmField
public val ADAPTER: ProtoAdapter = object : ProtoAdapter(
FieldEncoding.LENGTH_DELIMITED,
DeleteRequest::class,
"type.googleapis.com/DeleteRequest",
PROTO_3,
null,
"SVR2.proto"
) {
public override fun encodedSize(`value`: DeleteRequest): Int {
var size = value.unknownFields.size
return size
}
public override fun encode(writer: ProtoWriter, `value`: DeleteRequest): Unit {
writer.writeBytes(value.unknownFields)
}
public override fun encode(writer: ReverseProtoWriter, `value`: DeleteRequest): Unit {
writer.writeBytes(value.unknownFields)
}
public override fun decode(reader: ProtoReader): DeleteRequest {
val unknownFields = reader.forEachTag(reader::readUnknownField)
return DeleteRequest(
unknownFields = unknownFields
)
}
public override fun redact(`value`: DeleteRequest): DeleteRequest = value.copy(
unknownFields = ByteString.EMPTY
)
}
private const val serialVersionUID: Long = 0L
}
}