io.provenance.metadata.v1.RecordInputOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: provenance/metadata/v1/scope.proto
package io.provenance.metadata.v1;
public interface RecordInputOrBuilder extends
// @@protoc_insertion_point(interface_extends:provenance.metadata.v1.RecordInput)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name value included to link back to the definition spec.
*
*
* string name = 1;
*/
java.lang.String getName();
/**
*
* Name value included to link back to the definition spec.
*
*
* string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* the address of a record on chain (For Established Records)
*
*
* bytes record_id = 2 [(.gogoproto.customtype) = "MetadataAddress", (.gogoproto.moretags) = "yaml:\"record_id\""];
*/
com.google.protobuf.ByteString getRecordId();
/**
*
* the hash of an off-chain piece of information (For Proposed Records)
*
*
* string hash = 3;
*/
java.lang.String getHash();
/**
*
* the hash of an off-chain piece of information (For Proposed Records)
*
*
* string hash = 3;
*/
com.google.protobuf.ByteString
getHashBytes();
/**
*
* from proposed fact structure to unmarshal
*
*
* string type_name = 4 [(.gogoproto.moretags) = "yaml:\"type_name\""];
*/
java.lang.String getTypeName();
/**
*
* from proposed fact structure to unmarshal
*
*
* string type_name = 4 [(.gogoproto.moretags) = "yaml:\"type_name\""];
*/
com.google.protobuf.ByteString
getTypeNameBytes();
/**
*
* Indicates if this input was a recorded fact on chain or just a given hashed input
*
*
* .provenance.metadata.v1.RecordInputStatus status = 5;
*/
int getStatusValue();
/**
*
* Indicates if this input was a recorded fact on chain or just a given hashed input
*
*
* .provenance.metadata.v1.RecordInputStatus status = 5;
*/
io.provenance.metadata.v1.RecordInputStatus getStatus();
public io.provenance.metadata.v1.RecordInput.SourceCase getSourceCase();
}