protoConfigStatic static method

ProtoMessageConfig protoConfigStatic()

Implementation

static ProtoMessageConfig protoConfigStatic() {
  return ProtoMessageConfig(
    syntax: ProtoSyntax.v2,
    options: const [],
    fields: [
      ProtoFieldConfig.repeated(
        fieldNumber: 1,
        elementType: ProtoFieldType.int32,
        options: [ProtoOptionBool(name: "packed", value: true)],
      ),
      ProtoFieldConfig.repeated(
        fieldNumber: 2,
        elementType: ProtoFieldType.int32,
        options: [ProtoOptionBool(name: "packed", value: true)],
      ),
      ProtoFieldConfig.string(3, hasOptionalFlags: true),
      ProtoFieldConfig.string(4, hasOptionalFlags: true),
      ProtoFieldConfig.repeated(
        fieldNumber: 6,
        elementType: ProtoFieldType.string,
      ),
    ],
  );
}