protoConfigStatic static method
ProtoMessageConfig
protoConfigStatic()
Implementation
static ProtoMessageConfig protoConfigStatic() {
return ProtoMessageConfig(
syntax: ProtoSyntax.v3,
options: [
ProtoOptionBool(name: "deprecated", value: true),
ProtoOptionHttp(
name: "google.api.http",
method: RequestMethod.post,
path:
"/initia/move/v1/accounts/{address}/modules/{module_name}/view_functions/{function_name}",
),
],
fields: [
ProtoFieldConfig.string(1),
ProtoFieldConfig.string(2),
ProtoFieldConfig.string(3),
ProtoFieldConfig.repeated(
fieldNumber: 4,
elementType: ProtoFieldType.string,
),
ProtoFieldConfig.repeated(
fieldNumber: 5,
elementType: ProtoFieldType.bytes,
),
],
);
}