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

com.figure.Attribute.api.proto.AttributeStreamRequestKt.kt Maven / Gradle / Ivy

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

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

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

    @kotlin.jvm.JvmSynthetic
    @kotlin.PublishedApi
    internal fun _build(): com.figure.Attribute.api.proto.AttributeServiceOuterClass.AttributeStreamRequest = _builder.build()

    /**
     * An uninstantiable, behaviorless type to represent the field in
     * generics.
     */
    @kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
    public class AttributeNamesProxy private constructor() : com.google.protobuf.kotlin.DslProxy()
    /**
     * `repeated string attribute_names = 1;`
     * @return A list containing the attributeNames.
     */
    public val attributeNames: com.google.protobuf.kotlin.DslList
      @kotlin.jvm.JvmSynthetic
      get() = com.google.protobuf.kotlin.DslList(
        _builder.getAttributeNamesList()
      )
    /**
     * `repeated string attribute_names = 1;`
     * @param value The attributeNames to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAttributeNames")
    public fun com.google.protobuf.kotlin.DslList.add(value: kotlin.String) {
      _builder.addAttributeNames(value)
    }
    /**
     * `repeated string attribute_names = 1;`
     * @param value The attributeNames to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAttributeNames")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(value: kotlin.String) {
      add(value)
    }
    /**
     * `repeated string attribute_names = 1;`
     * @param values The attributeNames to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("addAllAttributeNames")
    public fun com.google.protobuf.kotlin.DslList.addAll(values: kotlin.collections.Iterable) {
      _builder.addAllAttributeNames(values)
    }
    /**
     * `repeated string attribute_names = 1;`
     * @param values The attributeNames to add.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("plusAssignAllAttributeNames")
    @Suppress("NOTHING_TO_INLINE")
    public inline operator fun com.google.protobuf.kotlin.DslList.plusAssign(values: kotlin.collections.Iterable) {
      addAll(values)
    }
    /**
     * `repeated string attribute_names = 1;`
     * @param index The index to set the value at.
     * @param value The attributeNames to set.
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("setAttributeNames")
    public operator fun com.google.protobuf.kotlin.DslList.set(index: kotlin.Int, value: kotlin.String) {
      _builder.setAttributeNames(index, value)
    }/**
     * `repeated string attribute_names = 1;`
     */
    @kotlin.jvm.JvmSynthetic
    @kotlin.jvm.JvmName("clearAttributeNames")
    public fun com.google.protobuf.kotlin.DslList.clear() {
      _builder.clearAttributeNames()
    }
    /**
     * `int64 start_height = 2;`
     */
    public var startHeight: kotlin.Long
      @JvmName("getStartHeight")
      get() = _builder.getStartHeight()
      @JvmName("setStartHeight")
      set(value) {
        _builder.setStartHeight(value)
      }
    /**
     * `int64 start_height = 2;`
     */
    public fun clearStartHeight() {
      _builder.clearStartHeight()
    }

    /**
     * `int64 end_height = 3;`
     */
    public var endHeight: kotlin.Long
      @JvmName("getEndHeight")
      get() = _builder.getEndHeight()
      @JvmName("setEndHeight")
      set(value) {
        _builder.setEndHeight(value)
      }
    /**
     * `int64 end_height = 3;`
     */
    public fun clearEndHeight() {
      _builder.clearEndHeight()
    }
  }
}
@kotlin.jvm.JvmSynthetic
public inline fun com.figure.Attribute.api.proto.AttributeServiceOuterClass.AttributeStreamRequest.copy(block: com.figure.Attribute.api.proto.AttributeStreamRequestKt.Dsl.() -> kotlin.Unit): com.figure.Attribute.api.proto.AttributeServiceOuterClass.AttributeStreamRequest =
  com.figure.Attribute.api.proto.AttributeStreamRequestKt.Dsl._create(this.toBuilder()).apply { block() }._build()





© 2015 - 2024 Weber Informatics LLC | Privacy Policy