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
Modifier and TypeMethodDescriptiongetName()string name = 1;com.google.protobuf.ByteStringstring name = 1;booleandefault is false.io.provenance.scope.contract.Location resource_location = 2;.io.provenance.scope.contract.Location resource_location = 2;.io.provenance.scope.Signature signature = 3;.io.provenance.scope.Signature signature = 3;getType().io.provenance.scope.contract.DefinitionSpec.Type type = 4;int.io.provenance.scope.contract.DefinitionSpec.Type type = 4;boolean.io.provenance.scope.contract.Location resource_location = 2;boolean.io.provenance.scope.Signature signature = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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.
-