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
Modifier and TypeMethodDescriptionstring fully_qualified_name = 2;com.google.protobuf.ByteStringstring fully_qualified_name = 2;booleanbool is_imported_module = 4;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;optional .protoblog.Type type_annotation = 3;optional .protoblog.Type type_annotation = 3;getValidFor(int index) repeated string valid_for = 5;com.google.protobuf.ByteStringgetValidForBytes(int index) repeated string valid_for = 5;intrepeated string valid_for = 5;repeated string valid_for = 5;booleanoptional .protoblog.Type type_annotation = 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.
-
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
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
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.
-