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

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

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

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

@kotlin.jvm.JvmName("-initializelatestMarkerStatesByAccessRequest")
public inline fun latestMarkerStatesByAccessRequest(block: tech.figure.block.api.proto.LatestMarkerStatesByAccessRequestKt.Dsl.() -> kotlin.Unit): tech.figure.block.api.proto.MarkerServiceOuterClass.LatestMarkerStatesByAccessRequest =
  tech.figure.block.api.proto.LatestMarkerStatesByAccessRequestKt.Dsl._create(tech.figure.block.api.proto.MarkerServiceOuterClass.LatestMarkerStatesByAccessRequest.newBuilder()).apply { block() }._build()
/**
 * ```
 * A request to fetch all the latest marker states that the target address can access, at the specified page offset
 * ```
 *
 * Protobuf type `api.LatestMarkerStatesByAccessRequest`
 */
public object LatestMarkerStatesByAccessRequestKt {
  @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.MarkerServiceOuterClass.LatestMarkerStatesByAccessRequest.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: tech.figure.block.api.proto.MarkerServiceOuterClass.LatestMarkerStatesByAccessRequest.Builder): Dsl = Dsl(builder)
    }

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

    /**
     * ```
     * A Provenance Blockchain bech32 address that may have access to one or more markers
     * ```
     *
     * `string address = 1;`
     */
    public var address: kotlin.String
      @JvmName("getAddress")
      get() = _builder.getAddress()
      @JvmName("setAddress")
      set(value) {
        _builder.setAddress(value)
      }
    /**
     * ```
     * A Provenance Blockchain bech32 address that may have access to one or more markers
     * ```
     *
     * `string address = 1;`
     */
    public fun clearAddress() {
      _builder.clearAddress()
    }

    /**
     * ```
     * The specific page of results to fetch
     * ```
     *
     * `.api.PageRequest page = 2;`
     */
    public var page: tech.figure.block.api.proto.Pagination.PageRequest
      @JvmName("getPage")
      get() = _builder.getPage()
      @JvmName("setPage")
      set(value) {
        _builder.setPage(value)
      }
    /**
     * ```
     * The specific page of results to fetch
     * ```
     *
     * `.api.PageRequest page = 2;`
     */
    public fun clearPage() {
      _builder.clearPage()
    }
    /**
     * ```
     * The specific page of results to fetch
     * ```
     *
     * `.api.PageRequest page = 2;`
     * @return Whether the page field is set.
     */
    public fun hasPage(): kotlin.Boolean {
      return _builder.hasPage()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun tech.figure.block.api.proto.MarkerServiceOuterClass.LatestMarkerStatesByAccessRequest.copy(block: tech.figure.block.api.proto.LatestMarkerStatesByAccessRequestKt.Dsl.() -> kotlin.Unit): tech.figure.block.api.proto.MarkerServiceOuterClass.LatestMarkerStatesByAccessRequest =
  tech.figure.block.api.proto.LatestMarkerStatesByAccessRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()

public val tech.figure.block.api.proto.MarkerServiceOuterClass.LatestMarkerStatesByAccessRequestOrBuilder.pageOrNull: tech.figure.block.api.proto.Pagination.PageRequest?
  get() = if (hasPage()) getPage() else null





© 2015 - 2024 Weber Informatics LLC | Privacy Policy