Package org.sonar.python.types.protobuf
Interface SymbolsProtos.FunctionSymbolOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SymbolsProtos.FunctionSymbol,SymbolsProtos.FunctionSymbol.Builder
- Enclosing class:
- SymbolsProtos
public static interface SymbolsProtos.FunctionSymbolOrBuilder 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;booleangetHasDecorators()bool has_decorators = 6;booleangetIsAbstract()bool is_abstract = 8;booleangetIsAsynchronous()bool is_asynchronous = 9;booleangetIsClassMethod()bool is_class_method = 14;booleangetIsFinal()bool is_final = 10;booleangetIsOverload()bool is_overload = 11;booleangetIsProperty()bool is_property = 12;booleangetIsStatic()bool is_static = 13;StringgetName()string name = 1;com.google.protobuf.ByteStringgetNameBytes()string name = 1;SymbolsProtos.ParameterSymbolgetParameters(int index)repeated .protoblog.ParameterSymbol parameters = 5;intgetParametersCount()repeated .protoblog.ParameterSymbol parameters = 5;List<SymbolsProtos.ParameterSymbol>getParametersList()repeated .protoblog.ParameterSymbol parameters = 5;SymbolsProtos.ParameterSymbolOrBuildergetParametersOrBuilder(int index)repeated .protoblog.ParameterSymbol parameters = 5;List<? extends SymbolsProtos.ParameterSymbolOrBuilder>getParametersOrBuilderList()repeated .protoblog.ParameterSymbol parameters = 5;StringgetResolvedDecoratorNames(int index)repeated string resolved_decorator_names = 7;com.google.protobuf.ByteStringgetResolvedDecoratorNamesBytes(int index)repeated string resolved_decorator_names = 7;intgetResolvedDecoratorNamesCount()repeated string resolved_decorator_names = 7;List<String>getResolvedDecoratorNamesList()repeated string resolved_decorator_names = 7;SymbolsProtos.TypegetReturnAnnotation()optional .protoblog.Type return_annotation = 4;SymbolsProtos.TypeOrBuildergetReturnAnnotationOrBuilder()optional .protoblog.Type return_annotation = 4;StringgetValidFor(int index)repeated string valid_for = 15;com.google.protobuf.ByteStringgetValidForBytes(int index)repeated string valid_for = 15;intgetValidForCount()repeated string valid_for = 15;List<String>getValidForList()repeated string valid_for = 15;booleanhasReturnAnnotation()optional .protoblog.Type return_annotation = 4;-
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.
-
hasReturnAnnotation
boolean hasReturnAnnotation()
optional .protoblog.Type return_annotation = 4;- Returns:
- Whether the returnAnnotation field is set.
-
getReturnAnnotation
SymbolsProtos.Type getReturnAnnotation()
optional .protoblog.Type return_annotation = 4;- Returns:
- The returnAnnotation.
-
getReturnAnnotationOrBuilder
SymbolsProtos.TypeOrBuilder getReturnAnnotationOrBuilder()
optional .protoblog.Type return_annotation = 4;
-
getParametersList
List<SymbolsProtos.ParameterSymbol> getParametersList()
repeated .protoblog.ParameterSymbol parameters = 5;
-
getParameters
SymbolsProtos.ParameterSymbol getParameters(int index)
repeated .protoblog.ParameterSymbol parameters = 5;
-
getParametersCount
int getParametersCount()
repeated .protoblog.ParameterSymbol parameters = 5;
-
getParametersOrBuilderList
List<? extends SymbolsProtos.ParameterSymbolOrBuilder> getParametersOrBuilderList()
repeated .protoblog.ParameterSymbol parameters = 5;
-
getParametersOrBuilder
SymbolsProtos.ParameterSymbolOrBuilder getParametersOrBuilder(int index)
repeated .protoblog.ParameterSymbol parameters = 5;
-
getHasDecorators
boolean getHasDecorators()
bool has_decorators = 6;- Returns:
- The hasDecorators.
-
getResolvedDecoratorNamesList
List<String> getResolvedDecoratorNamesList()
repeated string resolved_decorator_names = 7;- Returns:
- A list containing the resolvedDecoratorNames.
-
getResolvedDecoratorNamesCount
int getResolvedDecoratorNamesCount()
repeated string resolved_decorator_names = 7;- Returns:
- The count of resolvedDecoratorNames.
-
getResolvedDecoratorNames
String getResolvedDecoratorNames(int index)
repeated string resolved_decorator_names = 7;- Parameters:
index- The index of the element to return.- Returns:
- The resolvedDecoratorNames at the given index.
-
getResolvedDecoratorNamesBytes
com.google.protobuf.ByteString getResolvedDecoratorNamesBytes(int index)
repeated string resolved_decorator_names = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resolvedDecoratorNames at the given index.
-
getIsAbstract
boolean getIsAbstract()
bool is_abstract = 8;- Returns:
- The isAbstract.
-
getIsAsynchronous
boolean getIsAsynchronous()
bool is_asynchronous = 9;- Returns:
- The isAsynchronous.
-
getIsFinal
boolean getIsFinal()
bool is_final = 10;- Returns:
- The isFinal.
-
getIsOverload
boolean getIsOverload()
bool is_overload = 11;- Returns:
- The isOverload.
-
getIsProperty
boolean getIsProperty()
bool is_property = 12;- Returns:
- The isProperty.
-
getIsStatic
boolean getIsStatic()
bool is_static = 13;- Returns:
- The isStatic.
-
getIsClassMethod
boolean getIsClassMethod()
bool is_class_method = 14;- Returns:
- The isClassMethod.
-
getValidForList
List<String> getValidForList()
repeated string valid_for = 15;- Returns:
- A list containing the validFor.
-
getValidForCount
int getValidForCount()
repeated string valid_for = 15;- Returns:
- The count of validFor.
-
getValidFor
String getValidFor(int index)
repeated string valid_for = 15;- 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 = 15;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the validFor at the given index.
-
-