Interface Base.InstanceSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Base.InstanceSpec, Base.InstanceSpec.Builder
Enclosing class:
Base

public static interface Base.InstanceSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type Method Description
    Base.ArtifactId getArtifact()
    Identifier of the corresponding artifact.
    Base.ArtifactIdOrBuilder getArtifactOrBuilder()
    Identifier of the corresponding artifact.
    int getId()
    Unique numeric ID of the service instance.
    java.lang.String getName()
    Unique name of the service instance.
    com.google.protobuf.ByteString getNameBytes()
    Unique name of the service instance.
    boolean hasArtifact()
    Identifier of the corresponding artifact.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getId

      int getId()
       Unique numeric ID of the service instance.
       Exonum assigns an ID to the service on instantiation. It is mainly used
       to route transaction messages belonging to this instance.
       
      uint32 id = 1;
      Returns:
      The id.
    • getName

      java.lang.String getName()
       Unique name of the service instance.
       The name serves as a primary identifier of this service in most operations.
       It is assigned by the network administrators.
       The name must correspond to the following regular expression: `[a-zA-Z0-9/\:-_]+`.
       
      string name = 2;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Unique name of the service instance.
       The name serves as a primary identifier of this service in most operations.
       It is assigned by the network administrators.
       The name must correspond to the following regular expression: `[a-zA-Z0-9/\:-_]+`.
       
      string name = 2;
      Returns:
      The bytes for name.
    • hasArtifact

      boolean hasArtifact()
       Identifier of the corresponding artifact.
       
      .exonum.runtime.ArtifactId artifact = 3;
      Returns:
      Whether the artifact field is set.
    • getArtifact

      Base.ArtifactId getArtifact()
       Identifier of the corresponding artifact.
       
      .exonum.runtime.ArtifactId artifact = 3;
      Returns:
      The artifact.
    • getArtifactOrBuilder

      Base.ArtifactIdOrBuilder getArtifactOrBuilder()
       Identifier of the corresponding artifact.
       
      .exonum.runtime.ArtifactId artifact = 3;