io.provenance.metadata.v1.ScopeOrBuilder 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 ScopeOrBuilder extends
// @@protoc_insertion_point(interface_extends:provenance.metadata.v1.Scope)
com.google.protobuf.MessageOrBuilder {
/**
*
* Unique ID for this scope. Implements sdk.Address interface for use where addresses are required in Cosmos
*
*
* bytes scope_id = 1 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "MetadataAddress", (.gogoproto.moretags) = "yaml:\"scope_id\""];
*/
com.google.protobuf.ByteString getScopeId();
/**
*
* the scope specification that contains the specifications for data elements allowed within this scope
*
*
* bytes specification_id = 2 [(.gogoproto.nullable) = false, (.gogoproto.customtype) = "MetadataAddress", (.gogoproto.moretags) = "yaml:\"specification_id\""];
*/
com.google.protobuf.ByteString getSpecificationId();
/**
*
* These parties represent top level owners of the records within. These parties must sign any requests that modify
* the data within the scope. These addresses are in union with parties listed on the sessions.
*
*
* repeated .provenance.metadata.v1.Party owners = 3 [(.gogoproto.nullable) = false];
*/
java.util.List
getOwnersList();
/**
*
* These parties represent top level owners of the records within. These parties must sign any requests that modify
* the data within the scope. These addresses are in union with parties listed on the sessions.
*
*
* repeated .provenance.metadata.v1.Party owners = 3 [(.gogoproto.nullable) = false];
*/
io.provenance.metadata.v1.Party getOwners(int index);
/**
*
* These parties represent top level owners of the records within. These parties must sign any requests that modify
* the data within the scope. These addresses are in union with parties listed on the sessions.
*
*
* repeated .provenance.metadata.v1.Party owners = 3 [(.gogoproto.nullable) = false];
*/
int getOwnersCount();
/**
*
* These parties represent top level owners of the records within. These parties must sign any requests that modify
* the data within the scope. These addresses are in union with parties listed on the sessions.
*
*
* repeated .provenance.metadata.v1.Party owners = 3 [(.gogoproto.nullable) = false];
*/
java.util.List extends io.provenance.metadata.v1.PartyOrBuilder>
getOwnersOrBuilderList();
/**
*
* These parties represent top level owners of the records within. These parties must sign any requests that modify
* the data within the scope. These addresses are in union with parties listed on the sessions.
*
*
* repeated .provenance.metadata.v1.Party owners = 3 [(.gogoproto.nullable) = false];
*/
io.provenance.metadata.v1.PartyOrBuilder getOwnersOrBuilder(
int index);
/**
*
* Addessses in this list are authorized to recieve off-chain data associated with this scope.
*
*
* repeated string data_access = 4 [(.gogoproto.moretags) = "yaml:\"data_access\""];
*/
java.util.List
getDataAccessList();
/**
*
* Addessses in this list are authorized to recieve off-chain data associated with this scope.
*
*
* repeated string data_access = 4 [(.gogoproto.moretags) = "yaml:\"data_access\""];
*/
int getDataAccessCount();
/**
*
* Addessses in this list are authorized to recieve off-chain data associated with this scope.
*
*
* repeated string data_access = 4 [(.gogoproto.moretags) = "yaml:\"data_access\""];
*/
java.lang.String getDataAccess(int index);
/**
*
* Addessses in this list are authorized to recieve off-chain data associated with this scope.
*
*
* repeated string data_access = 4 [(.gogoproto.moretags) = "yaml:\"data_access\""];
*/
com.google.protobuf.ByteString
getDataAccessBytes(int index);
/**
*
* An address that controls the value associated with this scope. Standard blockchain accounts and marker accounts
* are supported for this value. This attribute may only be changed by the entity indicated once it is set.
*
*
* string value_owner_address = 5 [(.gogoproto.moretags) = "yaml:\"value_owner_address\""];
*/
java.lang.String getValueOwnerAddress();
/**
*
* An address that controls the value associated with this scope. Standard blockchain accounts and marker accounts
* are supported for this value. This attribute may only be changed by the entity indicated once it is set.
*
*
* string value_owner_address = 5 [(.gogoproto.moretags) = "yaml:\"value_owner_address\""];
*/
com.google.protobuf.ByteString
getValueOwnerAddressBytes();
}