io.provenance.metadata.v0.Spec Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: provenance/metadata/v0/spec.proto
package io.provenance.metadata.v0;
public final class Spec {
private Spec() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_spec_DefinitionSpec_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spec_DefinitionSpec_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_spec_ContractSpec_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spec_ContractSpec_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_spec_ConditionSpec_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spec_ConditionSpec_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_spec_ConsiderationSpec_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spec_ConsiderationSpec_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_spec_OutputSpec_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spec_OutputSpec_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n!provenance/metadata/v0/spec.proto\022\004spe" +
"c\032\"provenance/metadata/v0/types.proto\"\227\001" +
"\n\016DefinitionSpec\022\014\n\004name\030\001 \001(\t\022*\n\021resour" +
"ce_location\030\002 \001(\0132\017.types.Location\022#\n\tsi" +
"gnature\030\003 \001(\0132\020.types.Signature\022&\n\004type\030" +
"\004 \001(\0162\030.spec.DefinitionSpecType\"\363\001\n\014Cont" +
"ractSpec\022(\n\ndefinition\030\001 \001(\0132\024.spec.Defi" +
"nitionSpec\022)\n\013input_specs\030\002 \003(\0132\024.spec.D" +
"efinitionSpec\022*\n\020parties_involved\030\003 \003(\0162" +
"\020.types.PartyType\022,\n\017condition_specs\030\004 \003" +
"(\0132\023.spec.ConditionSpec\0224\n\023consideration" +
"_specs\030\005 \003(\0132\027.spec.ConsiderationSpec\"t\n" +
"\rConditionSpec\022\021\n\tfunc_name\030\001 \001(\t\022)\n\013inp" +
"ut_specs\030\002 \003(\0132\024.spec.DefinitionSpec\022%\n\013" +
"output_spec\030\003 \001(\0132\020.spec.OutputSpec\"\245\001\n\021" +
"ConsiderationSpec\022\021\n\tfunc_name\030\001 \001(\t\022+\n\021" +
"responsible_party\030\002 \001(\0162\020.types.PartyTyp" +
"e\022)\n\013input_specs\030\003 \003(\0132\024.spec.Definition" +
"Spec\022%\n\013output_spec\030\004 \001(\0132\020.spec.OutputS" +
"pec\"0\n\nOutputSpec\022\"\n\004spec\030\001 \001(\0132\024.spec.D" +
"efinitionSpec*\234\001\n\022DefinitionSpecType\022 \n\034" +
"DEFINITION_SPEC_TYPE_UNKNOWN\020\000\022!\n\035DEFINI" +
"TION_SPEC_TYPE_PROPOSED\020\001\022\035\n\031DEFINITION_" +
"SPEC_TYPE_FACT\020\002\022\"\n\036DEFINITION_SPEC_TYPE" +
"_FACT_LIST\020\003BY\n\031io.provenance.metadata.v" +
"0P\001Z:github.com/provenance-io/provenance" +
"/x/metadata/legacy/v039b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
io.provenance.metadata.v0.Types.getDescriptor(),
}, assigner);
internal_static_spec_DefinitionSpec_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_spec_DefinitionSpec_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spec_DefinitionSpec_descriptor,
new java.lang.String[] { "Name", "ResourceLocation", "Signature", "Type", });
internal_static_spec_ContractSpec_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_spec_ContractSpec_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spec_ContractSpec_descriptor,
new java.lang.String[] { "Definition", "InputSpecs", "PartiesInvolved", "ConditionSpecs", "ConsiderationSpecs", });
internal_static_spec_ConditionSpec_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_spec_ConditionSpec_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spec_ConditionSpec_descriptor,
new java.lang.String[] { "FuncName", "InputSpecs", "OutputSpec", });
internal_static_spec_ConsiderationSpec_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_spec_ConsiderationSpec_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spec_ConsiderationSpec_descriptor,
new java.lang.String[] { "FuncName", "ResponsibleParty", "InputSpecs", "OutputSpec", });
internal_static_spec_OutputSpec_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_spec_OutputSpec_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spec_OutputSpec_descriptor,
new java.lang.String[] { "Spec", });
io.provenance.metadata.v0.Types.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}