类com.google.protobuf.GeneratedMessage.GeneratedExtension源码实例Demo

下面列出了怎么用com.google.protobuf.GeneratedMessage.GeneratedExtension的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: bazel   文件: PyCommon.java
public PyPseudoAction(ActionOwner owner,
    NestedSet<Artifact> inputs, Collection<Artifact> outputs,
    String mnemonic, GeneratedExtension<ExtraActionInfo, PythonInfo> infoExtension,
    PythonInfo info) {
  super(ACTION_UUID, owner, inputs, outputs, mnemonic, infoExtension, info);
}
 
源代码2 项目: openrtb   文件: Test2Reader.java
public Test2Reader(GeneratedExtension<?, ?> key, String name) {
  super(key, true, name);
}
 
源代码3 项目: openrtb   文件: Test1Reader.java
public Test1Reader(GeneratedExtension<?, ?> key) {
  super(key, false, "test1");
}
 
源代码4 项目: openrtb   文件: OpenRtbJsonExtComplexReader.java
/**
 * Use this constructor for readers of message type.
 *
 * @param key Extension key
 * @param isJsonObject {@code true} if the extension value is desserialized from a JSON object
 * @param rootNameFilters Filter for the root names (direct fields of "ext").
 *     If empty, this reader will be invoked for any field.
 */
protected OpenRtbJsonExtComplexReader(
    GeneratedExtension<?, ?> key, boolean isJsonObject, String... rootNameFilters) {
  super(rootNameFilters);
  this.key = checkNotNull(key);
  this.isJsonObject = isJsonObject;
}
 
 类所在包
 类方法
 同包方法