set

@JvmName(name = "setUpstream")
operator fun DslList<String, DnsSettingsKt.Dsl.UpstreamProxy>.set(index: Int, value: String)
Upstream servers to use for DNS resolution.

repeated string upstream = 2;

Parameters

index

The index to set the value at.

value

The upstream to set.


@JvmName(name = "setHosts")
operator fun DslList<MappedHost, DnsSettingsKt.Dsl.HostsProxy>.set(index: Int, value: MappedHost)
Mapped hosts to use for DNS resolution.

repeated .elide.net.MappedHost hosts = 3;

Parameters

index

The index to set the value at.

value

The hosts to set.