How to use the google-protobuf.ExtensionFieldBinaryInfo function in google-protobuf

To help you get started, we’ve selected a few google-protobuf examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rai-project / mlmodelscope / src / proto / github.com / gogo / protobuf / gogoproto / gogo_pb.js View on Github external
proto.gogoproto.unmarshaler;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `stableMarshaler`.
 * @type {!jspb.ExtensionFieldInfo.<boolean>}
 */
proto.gogoproto.stableMarshaler = new jspb.ExtensionFieldInfo(
  64019,
  { stableMarshaler: 0 },
  null,
  /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ null,
  0
);

google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64019] = new jspb.ExtensionFieldBinaryInfo(
  proto.gogoproto.stableMarshaler,
  jspb.BinaryReader.prototype.readBool,
  jspb.BinaryWriter.prototype.writeBool,
  undefined,
  undefined,
  false
);
// This registers the extension field with the extended class, so that
// toObject() will function correctly.
google_protobuf_descriptor_pb.MessageOptions.extensions[64019] =
  proto.gogoproto.stableMarshaler;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `sizer`.
 * @type {!jspb.ExtensionFieldInfo.<boolean>}
github hyperledger / burrow / js / proto / gogoproto / gogo_pb.js View on Github external
/**
 * A tuple of {field number, class constructor} for the extension
 * field named `verboseEqual`.
 * @type {!jspb.ExtensionFieldInfo<boolean>}
 */
proto.gogoproto.verboseEqual = new jspb.ExtensionFieldInfo(
    64004,
    {verboseEqual: 0},
    null,
     /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
         null),
    0);

google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64004] = new jspb.ExtensionFieldBinaryInfo(
    proto.gogoproto.verboseEqual,
    jspb.BinaryReader.prototype.readBool,
    jspb.BinaryWriter.prototype.writeBool,
    undefined,
    undefined,
    false);
// This registers the extension field with the extended class, so that
// toObject() will function correctly.
google_protobuf_descriptor_pb.MessageOptions.extensions[64004] = proto.gogoproto.verboseEqual;


/**
 * A tuple of {field number, class constructor} for the extension
 * field named `face`.
 * @type {!jspb.ExtensionFieldInfo<boolean>}
 */
github rai-project / mlmodelscope / src / proto / github.com / gogo / protobuf / gogoproto / gogo_pb.js View on Github external
proto.gogoproto.goprotoUnrecognized;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `protosizer`.
 * @type {!jspb.ExtensionFieldInfo.<boolean>}
 */
proto.gogoproto.protosizer = new jspb.ExtensionFieldInfo(
  64028,
  { protosizer: 0 },
  null,
  /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ null,
  0
);

google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64028] = new jspb.ExtensionFieldBinaryInfo(
  proto.gogoproto.protosizer,
  jspb.BinaryReader.prototype.readBool,
  jspb.BinaryWriter.prototype.writeBool,
  undefined,
  undefined,
  false
);
// This registers the extension field with the extended class, so that
// toObject() will function correctly.
google_protobuf_descriptor_pb.MessageOptions.extensions[64028] =
  proto.gogoproto.protosizer;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `compare`.
 * @type {!jspb.ExtensionFieldInfo.<boolean>}
github rai-project / mlmodelscope / src / proto / github.com / gogo / protobuf / gogoproto / gogo_pb.js View on Github external
proto.gogoproto.jsontag;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `moretags`.
 * @type {!jspb.ExtensionFieldInfo.<string>}
 */
proto.gogoproto.moretags = new jspb.ExtensionFieldInfo(
  65006,
  { moretags: 0 },
  null,
  /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ null,
  0
);

google_protobuf_descriptor_pb.FieldOptions.extensionsBinary[65006] = new jspb.ExtensionFieldBinaryInfo(
  proto.gogoproto.moretags,
  jspb.BinaryReader.prototype.readString,
  jspb.BinaryWriter.prototype.writeString,
  undefined,
  undefined,
  false
);
// This registers the extension field with the extended class, so that
// toObject() will function correctly.
google_protobuf_descriptor_pb.FieldOptions.extensions[65006] =
  proto.gogoproto.moretags;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `casttype`.
 * @type {!jspb.ExtensionFieldInfo.<string>}
github rai-project / mlmodelscope / src / proto / github.com / gogo / protobuf / gogoproto / gogo_pb.js View on Github external
proto.gogoproto.face;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `gostring`.
 * @type {!jspb.ExtensionFieldInfo.<boolean>}
 */
proto.gogoproto.gostring = new jspb.ExtensionFieldInfo(
  64006,
  { gostring: 0 },
  null,
  /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ null,
  0
);

google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64006] = new jspb.ExtensionFieldBinaryInfo(
  proto.gogoproto.gostring,
  jspb.BinaryReader.prototype.readBool,
  jspb.BinaryWriter.prototype.writeBool,
  undefined,
  undefined,
  false
);
// This registers the extension field with the extended class, so that
// toObject() will function correctly.
google_protobuf_descriptor_pb.MessageOptions.extensions[64006] =
  proto.gogoproto.gostring;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `populate`.
 * @type {!jspb.ExtensionFieldInfo.<boolean>}
github hyperledger / burrow / js / proto / gogoproto / gogo_pb.js View on Github external
/**
 * A tuple of {field number, class constructor} for the extension
 * field named `goprotoGetters`.
 * @type {!jspb.ExtensionFieldInfo<boolean>}
 */
proto.gogoproto.goprotoGetters = new jspb.ExtensionFieldInfo(
    64001,
    {goprotoGetters: 0},
    null,
     /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
         null),
    0);

google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64001] = new jspb.ExtensionFieldBinaryInfo(
    proto.gogoproto.goprotoGetters,
    jspb.BinaryReader.prototype.readBool,
    jspb.BinaryWriter.prototype.writeBool,
    undefined,
    undefined,
    false);
// This registers the extension field with the extended class, so that
// toObject() will function correctly.
google_protobuf_descriptor_pb.MessageOptions.extensions[64001] = proto.gogoproto.goprotoGetters;


/**
 * A tuple of {field number, class constructor} for the extension
 * field named `goprotoStringer`.
 * @type {!jspb.ExtensionFieldInfo<boolean>}
 */
github hyperledger / burrow / js / proto / gogoproto / gogo_pb.js View on Github external
/**
 * A tuple of {field number, class constructor} for the extension
 * field named `populateAll`.
 * @type {!jspb.ExtensionFieldInfo<boolean>}
 */
proto.gogoproto.populateAll = new jspb.ExtensionFieldInfo(
    63007,
    {populateAll: 0},
    null,
     /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
         null),
    0);

google_protobuf_descriptor_pb.FileOptions.extensionsBinary[63007] = new jspb.ExtensionFieldBinaryInfo(
    proto.gogoproto.populateAll,
    jspb.BinaryReader.prototype.readBool,
    jspb.BinaryWriter.prototype.writeBool,
    undefined,
    undefined,
    false);
// This registers the extension field with the extended class, so that
// toObject() will function correctly.
google_protobuf_descriptor_pb.FileOptions.extensions[63007] = proto.gogoproto.populateAll;


/**
 * A tuple of {field number, class constructor} for the extension
 * field named `stringerAll`.
 * @type {!jspb.ExtensionFieldInfo<boolean>}
 */
github rai-project / mlmodelscope / src / proto / github.com / gogo / protobuf / gogoproto / gogo_pb.js View on Github external
proto.gogoproto.gostring;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `populate`.
 * @type {!jspb.ExtensionFieldInfo.<boolean>}
 */
proto.gogoproto.populate = new jspb.ExtensionFieldInfo(
  64007,
  { populate: 0 },
  null,
  /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ null,
  0
);

google_protobuf_descriptor_pb.MessageOptions.extensionsBinary[64007] = new jspb.ExtensionFieldBinaryInfo(
  proto.gogoproto.populate,
  jspb.BinaryReader.prototype.readBool,
  jspb.BinaryWriter.prototype.writeBool,
  undefined,
  undefined,
  false
);
// This registers the extension field with the extended class, so that
// toObject() will function correctly.
google_protobuf_descriptor_pb.MessageOptions.extensions[64007] =
  proto.gogoproto.populate;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `stringer`.
 * @type {!jspb.ExtensionFieldInfo.<boolean>}
github rai-project / mlmodelscope / src / proto / github.com / gogo / protobuf / gogoproto / gogo_pb.js View on Github external
proto.gogoproto.goprotoEnumPrefix;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `goprotoEnumStringer`.
 * @type {!jspb.ExtensionFieldInfo.<boolean>}
 */
proto.gogoproto.goprotoEnumStringer = new jspb.ExtensionFieldInfo(
  62021,
  { goprotoEnumStringer: 0 },
  null,
  /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ null,
  0
);

google_protobuf_descriptor_pb.EnumOptions.extensionsBinary[62021] = new jspb.ExtensionFieldBinaryInfo(
  proto.gogoproto.goprotoEnumStringer,
  jspb.BinaryReader.prototype.readBool,
  jspb.BinaryWriter.prototype.writeBool,
  undefined,
  undefined,
  false
);
// This registers the extension field with the extended class, so that
// toObject() will function correctly.
google_protobuf_descriptor_pb.EnumOptions.extensions[62021] =
  proto.gogoproto.goprotoEnumStringer;

/**
 * A tuple of {field number, class constructor} for the extension
 * field named `enumStringer`.
 * @type {!jspb.ExtensionFieldInfo.<boolean>}
github Opteo / google-ads-node / src / protos / google / longrunning / operations_pb.js View on Github external
/**
 * A tuple of {field number, class constructor} for the extension
 * field named `operationInfo`.
 * @type {!jspb.ExtensionFieldInfo<!proto.google.longrunning.OperationInfo>}
 */
proto.google.longrunning.operationInfo = new jspb.ExtensionFieldInfo(
    1049,
    {operationInfo: 0},
    proto.google.longrunning.OperationInfo,
     /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
         proto.google.longrunning.OperationInfo.toObject),
    0);

google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[1049] = new jspb.ExtensionFieldBinaryInfo(
    proto.google.longrunning.operationInfo,
    jspb.BinaryReader.prototype.readMessage,
    jspb.BinaryWriter.prototype.writeMessage,
    proto.google.longrunning.OperationInfo.serializeBinaryToWriter,
    proto.google.longrunning.OperationInfo.deserializeBinaryFromReader,
    false);
// This registers the extension field with the extended class, so that
// toObject() will function correctly.
google_protobuf_descriptor_pb.MethodOptions.extensions[1049] = proto.google.longrunning.operationInfo;

goog.object.extend(exports, proto.google.longrunning);

google-protobuf

Protocol Buffers for JavaScript

BSD-3-Clause
Latest version published 2 months ago

Package Health Score

89 / 100
Full package analysis