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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()string name = 1;com.google.protobuf.ByteStringgetNameBytes()string name = 1;booleangetOptional()default is falseCommons.LocationgetResourceLocation().io.provenance.scope.contract.Location resource_location = 2;Commons.LocationOrBuildergetResourceLocationOrBuilder().io.provenance.scope.contract.Location resource_location = 2;Common.SignaturegetSignature().io.provenance.scope.Signature signature = 3;Common.SignatureOrBuildergetSignatureOrBuilder().io.provenance.scope.Signature signature = 3;Commons.DefinitionSpec.TypegetType().io.provenance.scope.contract.DefinitionSpec.Type type = 4;intgetTypeValue().io.provenance.scope.contract.DefinitionSpec.Type type = 4;booleanhasResourceLocation().io.provenance.scope.contract.Location resource_location = 2;booleanhasSignature().io.provenance.scope.Signature signature = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
getSignatureOrBuilder
Common.SignatureOrBuilder getSignatureOrBuilder()
.io.provenance.scope.Signature signature = 3;
-
getTypeValue
int getTypeValue()
.io.provenance.scope.contract.DefinitionSpec.Type type = 4;- Returns:
- The enum numeric value on the wire for type.
-
getType
Commons.DefinitionSpec.Type getType()
.io.provenance.scope.contract.DefinitionSpec.Type type = 4;- Returns:
- The type.
-
getOptional
boolean getOptional()
default is false
bool optional = 5;- Returns:
- The optional.
-
-