Interface Commons.DefinitionSpecOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Commons.DefinitionSpec, Commons.DefinitionSpec.Builder
    Enclosing class:
    Commons

    public static interface Commons.DefinitionSpecOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        java.lang.String getName()
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
        string name = 1;
        Returns:
        The bytes for name.
      • hasResourceLocation

        boolean hasResourceLocation()
        .io.provenance.scope.contract.Location resource_location = 2;
        Returns:
        Whether the resourceLocation field is set.
      • getResourceLocation

        Commons.Location getResourceLocation()
        .io.provenance.scope.contract.Location resource_location = 2;
        Returns:
        The resourceLocation.
      • getResourceLocationOrBuilder

        Commons.LocationOrBuilder getResourceLocationOrBuilder()
        .io.provenance.scope.contract.Location resource_location = 2;
      • hasSignature

        boolean hasSignature()
        .io.provenance.scope.Signature signature = 3;
        Returns:
        Whether the signature field is set.
      • getSignature

        Common.Signature getSignature()
        .io.provenance.scope.Signature signature = 3;
        Returns:
        The signature.
      • getTypeValue

        int getTypeValue()
        .io.provenance.scope.contract.DefinitionSpec.Type type = 4;
        Returns:
        The enum numeric value on the wire for type.
      • getOptional

        boolean getOptional()
         default is false
         
        bool optional = 5;
        Returns:
        The optional.