protoConfigStatic static method

ProtoMessageConfig protoConfigStatic()

Implementation

static ProtoMessageConfig protoConfigStatic() {
  return ProtoMessageConfig(
    syntax: ProtoSyntax.v2,
    options: const [],
    fields: [
      ProtoFieldConfig.bool(
        33,
        options: [ProtoOptionBool(name: "default", value: false)],
        hasOptionalFlags: true,
      ),
      ProtoFieldConfig.enumType(
        34,
        options: [
          ProtoOptionString(name: "default", value: "IDEMPOTENCY_UNKNOWN"),
        ],
        hasOptionalFlags: true,
      ),
      ProtoFieldConfig.message(35, hasOptionalFlags: true),
      ProtoFieldConfig.repeated(
        fieldNumber: 999,
        elementType: ProtoFieldType.message,
      ),
    ],
  );
}