v2.testing
com.daml.ledger.api.v2.testing 的包级概述。
Protobuf 包
v2.testing
1 个服务、2 个端点、3 条消息
gRPC
源文件
时间\_service.proto
<p class="x2mdx-ref-card-summary">来自最新描述符快照的源文件。</p>
<dl class="x2mdx-ref-meta-grid">
<div class="x2mdx-ref-meta-item">
<dt>服务</dt>
<dd>1</dd>
</div>
<div class="x2mdx-ref-meta-item">
<dt>消息</dt>
<dd>3</dd>
</div>
<div class="x2mdx-ref-meta-item">
<dt>枚举</dt>
<dd>0</dd>
</div>
<div class="x2mdx-ref-meta-item">
<dt>来源</dt>
<dd><a href="https://github.com/DACH-NY/canton/blob/v3.5.1/community/ledger-api/src/main/protobuf/com/daml/ledger/api/v2/testing/time_service.proto">community/ledger-api/src/main/protobuf/com/daml/ledger/api/v2/testing/time\_service.proto</a></dd>
</div>
</dl>
时间服务
TimeService.GetTime
<div class="x2mdx-ref-badges">
<span class="x2mdx-ref-badge x2mdx-ref-badge--protocol">gRPC</span>
<span class="x2mdx-ref-badge x2mdx-ref-badge--linked">自 3.4.4 起</span>
</div>
</div><p class="x2mdx-ref-card-summary">rpc TimeService.GetTime(com.daml.ledger.api.v2.testing.GetTimeRequest) 返回 (com.daml.ledger.api.v2.testing.GetTimeResponse);</p>
<dl class="x2mdx-ref-meta-grid">
<div class="x2mdx-ref-meta-item">
<dt>请求</dt>
<dd>com.daml.ledger.api.v2.testing.GetTimeRequest</dd>
</div>
<div class="x2mdx-ref-meta-item">
<dt>回应</dt>
<dd>com.daml.ledger.api.v2.testing.GetTimeResponse</dd>
</div>
<div class="x2mdx-ref-meta-item">
<dt>客户端流</dt>
<dd>否</dd>
</div>
<div class="x2mdx-ref-meta-item">
<dt>服务器流</dt>
<dd>否</dd>
</div>
</dl>
类型库存
这些是发布版本快照中的包级消息和枚举形状。
获取时间请求
<p class="x2mdx-ref-schema-summary">com.daml.ledger.api.v2.testing · 0 个字段</p>
获取时间响应
<p class="x2mdx-ref-schema-summary">com.daml.ledger.api.v2.testing · 1 个字段</p>
当前\_时间
时间戳
设置时间请求
<p class="x2mdx-ref-schema-summary">com.daml.ledger.api.v2.testing · 2 个字段</p>
当前\_时间
时间戳
<div class="x2mdx-ref-field-row">
<div class="x2mdx-ref-field-main">
<code class="x2mdx-ref-field-name">新\_时间</code>
<span class="x2mdx-ref-type-badge">时间戳</span>
</div>
</div>
本文由 CC Privacy Club 根据 Canton Network 官方文档(CC-BY-4.0)整理翻译,仅供学习;实现细节以官方最新版本为准。