com.google.protobuf.GeneratedMessage.GeneratedExtension Java Examples

The following examples show how to use com.google.protobuf.GeneratedMessage.GeneratedExtension. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PyCommon.java    From bazel with Apache License 2.0 4 votes vote down vote up
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);
}
 
Example #2
Source File: Test2Reader.java    From openrtb with Apache License 2.0 4 votes vote down vote up
public Test2Reader(GeneratedExtension<?, ?> key, String name) {
  super(key, true, name);
}
 
Example #3
Source File: Test1Reader.java    From openrtb with Apache License 2.0 4 votes vote down vote up
public Test1Reader(GeneratedExtension<?, ?> key) {
  super(key, false, "test1");
}
 
Example #4
Source File: OpenRtbJsonExtComplexReader.java    From openrtb with Apache License 2.0 3 votes vote down vote up
/**
 * 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;
}