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

com.figure.block.api.proto.groups.GroupStateAtHeightRequestKt.kt Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: groups/group-server.proto

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

@kotlin.jvm.JvmName("-initializegroupStateAtHeightRequest")
public inline fun groupStateAtHeightRequest(block: com.figure.block.api.proto.groups.GroupStateAtHeightRequestKt.Dsl.() -> kotlin.Unit): com.figure.block.api.proto.groups.GroupServer.GroupStateAtHeightRequest =
  com.figure.block.api.proto.groups.GroupStateAtHeightRequestKt.Dsl._create(com.figure.block.api.proto.groups.GroupServer.GroupStateAtHeightRequest.newBuilder()).apply { block() }._build()
/**
 * ```
 * Fetch the latest group state for a given id
 * ```
 *
 * Protobuf type `api.groups.GroupStateAtHeightRequest`
 */
public object GroupStateAtHeightRequestKt {
  @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
  @com.google.protobuf.kotlin.ProtoDslMarker
  public class Dsl private constructor(
    private val _builder: com.figure.block.api.proto.groups.GroupServer.GroupStateAtHeightRequest.Builder
  ) {
    public companion object {
      @kotlin.jvm.JvmSynthetic
      @kotlin.PublishedApi
      internal fun _create(builder: com.figure.block.api.proto.groups.GroupServer.GroupStateAtHeightRequest.Builder): Dsl = Dsl(builder)
    }

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): com.figure.block.api.proto.groups.GroupServer.GroupStateAtHeightRequest = _builder.build()

    /**
     * ```
     * The unique group identifier for the target group
     * ```
     *
     * `int64 group_id = 1;`
     */
    public var groupId: kotlin.Long
      @JvmName("getGroupId")
      get() = _builder.getGroupId()
      @JvmName("setGroupId")
      set(value) {
        _builder.setGroupId(value)
      }
    /**
     * ```
     * The unique group identifier for the target group
     * ```
     *
     * `int64 group_id = 1;`
     */
    public fun clearGroupId() {
      _builder.clearGroupId()
    }

    /**
     * ```
     * The height at which to fetch the group state
     * ```
     *
     * `int64 height = 2;`
     */
    public var height: kotlin.Long
      @JvmName("getHeight")
      get() = _builder.getHeight()
      @JvmName("setHeight")
      set(value) {
        _builder.setHeight(value)
      }
    /**
     * ```
     * The height at which to fetch the group state
     * ```
     *
     * `int64 height = 2;`
     */
    public fun clearHeight() {
      _builder.clearHeight()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun com.figure.block.api.proto.groups.GroupServer.GroupStateAtHeightRequest.copy(block: com.figure.block.api.proto.groups.GroupStateAtHeightRequestKt.Dsl.() -> kotlin.Unit): com.figure.block.api.proto.groups.GroupServer.GroupStateAtHeightRequest =
  com.figure.block.api.proto.groups.GroupStateAtHeightRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy