All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.figure.block.api.proto.PageRequestKt.kt Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: pagination.proto

// Generated files should ignore deprecation warnings
@file:Suppress("DEPRECATION")
package tech.figure.block.api.proto;

@kotlin.jvm.JvmName("-initializepageRequest")
public inline fun pageRequest(block: tech.figure.block.api.proto.PageRequestKt.Dsl.() -> kotlin.Unit): tech.figure.block.api.proto.Pagination.PageRequest =
  tech.figure.block.api.proto.PageRequestKt.Dsl._create(tech.figure.block.api.proto.Pagination.PageRequest.newBuilder()).apply { block() }._build()
/**
 * Protobuf type `api.PageRequest`
 */
public object PageRequestKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  public class Dsl private constructor(
    private val _builder: tech.figure.block.api.proto.Pagination.PageRequest.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: tech.figure.block.api.proto.Pagination.PageRequest.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): tech.figure.block.api.proto.Pagination.PageRequest = _builder.build()

    /**
     * `int32 size = 1;`
     */
    public var size: kotlin.Int
      @JvmName("getSize")
      get() = _builder.getSize()
      @JvmName("setSize")
      set(value) {
        _builder.setSize(value)
      }
    /**
     * `int32 size = 1;`
     */
    public fun clearSize() {
      _builder.clearSize()
    }

    /**
     * `int32 number = 2;`
     */
    public var number: kotlin.Int
      @JvmName("getNumber")
      get() = _builder.getNumber()
      @JvmName("setNumber")
      set(value) {
        _builder.setNumber(value)
      }
    /**
     * `int32 number = 2;`
     */
    public fun clearNumber() {
      _builder.clearNumber()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun tech.figure.block.api.proto.Pagination.PageRequest.copy(block: tech.figure.block.api.proto.PageRequestKt.Dsl.() -> kotlin.Unit): tech.figure.block.api.proto.Pagination.PageRequest =
  tech.figure.block.api.proto.PageRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy