Package com.exonum.messages.core.runtime
Interface Lifecycle.GenesisConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Lifecycle.GenesisConfig
,Lifecycle.GenesisConfig.Builder
- Enclosing class:
- Lifecycle
public static interface Lifecycle.GenesisConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description Base.ArtifactSpec
getArtifacts(int index)
Artifact specification of the built-in services.int
getArtifactsCount()
Artifact specification of the built-in services.java.util.List<Base.ArtifactSpec>
getArtifactsList()
Artifact specification of the built-in services.Base.ArtifactSpecOrBuilder
getArtifactsOrBuilder(int index)
Artifact specification of the built-in services.java.util.List<? extends Base.ArtifactSpecOrBuilder>
getArtifactsOrBuilderList()
Artifact specification of the built-in services.Lifecycle.InstanceInitParams
getBuiltinInstances(int index)
List of services with their configuration parameters that are created directly in the genesis block.int
getBuiltinInstancesCount()
List of services with their configuration parameters that are created directly in the genesis block.java.util.List<Lifecycle.InstanceInitParams>
getBuiltinInstancesList()
List of services with their configuration parameters that are created directly in the genesis block.Lifecycle.InstanceInitParamsOrBuilder
getBuiltinInstancesOrBuilder(int index)
List of services with their configuration parameters that are created directly in the genesis block.java.util.List<? extends Lifecycle.InstanceInitParamsOrBuilder>
getBuiltinInstancesOrBuilderList()
List of services with their configuration parameters that are created directly in the genesis block.Blockchain.Config
getConsensusConfig()
Blockchain configuration used to create the genesis block.Blockchain.ConfigOrBuilder
getConsensusConfigOrBuilder()
Blockchain configuration used to create the genesis block.boolean
hasConsensusConfig()
Blockchain configuration used to create the genesis block.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasConsensusConfig
boolean hasConsensusConfig()Blockchain configuration used to create the genesis block.
.exonum.Config consensus_config = 1;
- Returns:
- Whether the consensusConfig field is set.
-
getConsensusConfig
Blockchain.Config getConsensusConfig()Blockchain configuration used to create the genesis block.
.exonum.Config consensus_config = 1;
- Returns:
- The consensusConfig.
-
getConsensusConfigOrBuilder
Blockchain.ConfigOrBuilder getConsensusConfigOrBuilder()Blockchain configuration used to create the genesis block.
.exonum.Config consensus_config = 1;
-
getArtifactsList
java.util.List<Base.ArtifactSpec> getArtifactsList()Artifact specification of the built-in services.
repeated .exonum.runtime.ArtifactSpec artifacts = 2;
-
getArtifacts
Artifact specification of the built-in services.
repeated .exonum.runtime.ArtifactSpec artifacts = 2;
-
getArtifactsCount
int getArtifactsCount()Artifact specification of the built-in services.
repeated .exonum.runtime.ArtifactSpec artifacts = 2;
-
getArtifactsOrBuilderList
java.util.List<? extends Base.ArtifactSpecOrBuilder> getArtifactsOrBuilderList()Artifact specification of the built-in services.
repeated .exonum.runtime.ArtifactSpec artifacts = 2;
-
getArtifactsOrBuilder
Artifact specification of the built-in services.
repeated .exonum.runtime.ArtifactSpec artifacts = 2;
-
getBuiltinInstancesList
java.util.List<Lifecycle.InstanceInitParams> getBuiltinInstancesList()List of services with their configuration parameters that are created directly in the genesis block.
repeated .exonum.runtime.InstanceInitParams builtin_instances = 3;
-
getBuiltinInstances
List of services with their configuration parameters that are created directly in the genesis block.
repeated .exonum.runtime.InstanceInitParams builtin_instances = 3;
-
getBuiltinInstancesCount
int getBuiltinInstancesCount()List of services with their configuration parameters that are created directly in the genesis block.
repeated .exonum.runtime.InstanceInitParams builtin_instances = 3;
-
getBuiltinInstancesOrBuilderList
java.util.List<? extends Lifecycle.InstanceInitParamsOrBuilder> getBuiltinInstancesOrBuilderList()List of services with their configuration parameters that are created directly in the genesis block.
repeated .exonum.runtime.InstanceInitParams builtin_instances = 3;
-
getBuiltinInstancesOrBuilder
List of services with their configuration parameters that are created directly in the genesis block.
repeated .exonum.runtime.InstanceInitParams builtin_instances = 3;
-