Package org.sonar.python.types.protobuf
Interface SymbolsProtos.VarSymbolOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SymbolsProtos.VarSymbol,SymbolsProtos.VarSymbol.Builder
- Enclosing class:
- SymbolsProtos
public static interface SymbolsProtos.VarSymbolOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFullyQualifiedName()string fully_qualified_name = 2;com.google.protobuf.ByteStringgetFullyQualifiedNameBytes()string fully_qualified_name = 2;booleangetIsImportedModule()bool is_imported_module = 4;StringgetName()string name = 1;com.google.protobuf.ByteStringgetNameBytes()string name = 1;SymbolsProtos.TypegetTypeAnnotation()optional .protoblog.Type type_annotation = 3;SymbolsProtos.TypeOrBuildergetTypeAnnotationOrBuilder()optional .protoblog.Type type_annotation = 3;StringgetValidFor(int index)repeated string valid_for = 5;com.google.protobuf.ByteStringgetValidForBytes(int index)repeated string valid_for = 5;intgetValidForCount()repeated string valid_for = 5;List<String>getValidForList()repeated string valid_for = 5;booleanhasTypeAnnotation()optional .protoblog.Type type_annotation = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 1;- Returns:
- The bytes for name.
-
getFullyQualifiedName
String getFullyQualifiedName()
string fully_qualified_name = 2;- Returns:
- The fullyQualifiedName.
-
getFullyQualifiedNameBytes
com.google.protobuf.ByteString getFullyQualifiedNameBytes()
string fully_qualified_name = 2;- Returns:
- The bytes for fullyQualifiedName.
-
hasTypeAnnotation
boolean hasTypeAnnotation()
optional .protoblog.Type type_annotation = 3;- Returns:
- Whether the typeAnnotation field is set.
-
getTypeAnnotation
SymbolsProtos.Type getTypeAnnotation()
optional .protoblog.Type type_annotation = 3;- Returns:
- The typeAnnotation.
-
getTypeAnnotationOrBuilder
SymbolsProtos.TypeOrBuilder getTypeAnnotationOrBuilder()
optional .protoblog.Type type_annotation = 3;
-
getIsImportedModule
boolean getIsImportedModule()
bool is_imported_module = 4;- Returns:
- The isImportedModule.
-
getValidForList
List<String> getValidForList()
repeated string valid_for = 5;- Returns:
- A list containing the validFor.
-
getValidForCount
int getValidForCount()
repeated string valid_for = 5;- Returns:
- The count of validFor.
-
getValidFor
String getValidFor(int index)
repeated string valid_for = 5;- Parameters:
index- The index of the element to return.- Returns:
- The validFor at the given index.
-
getValidForBytes
com.google.protobuf.ByteString getValidForBytes(int index)
repeated string valid_for = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the validFor at the given index.
-
-