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
Modifier and TypeMethodDescriptionstring fully_qualified_name = 2;com.google.protobuf.ByteStringstring fully_qualified_name = 2;booleanbool has_decorators = 6;booleanbool is_abstract = 8;booleanbool is_asynchronous = 9;booleanbool is_class_method = 14;booleanbool is_final = 10;booleanbool is_overload = 11;booleanbool is_property = 12;booleanbool is_static = 13;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;getParameters(int index) repeated .protoblog.ParameterSymbol parameters = 5;intrepeated .protoblog.ParameterSymbol parameters = 5;repeated .protoblog.ParameterSymbol parameters = 5;getParametersOrBuilder(int index) repeated .protoblog.ParameterSymbol parameters = 5;List<? extends SymbolsProtos.ParameterSymbolOrBuilder> repeated .protoblog.ParameterSymbol parameters = 5;getResolvedDecoratorNames(int index) repeated string resolved_decorator_names = 7;com.google.protobuf.ByteStringgetResolvedDecoratorNamesBytes(int index) repeated string resolved_decorator_names = 7;intrepeated string resolved_decorator_names = 7;repeated string resolved_decorator_names = 7;optional .protoblog.Type return_annotation = 4;optional .protoblog.Type return_annotation = 4;getValidFor(int index) repeated string valid_for = 15;com.google.protobuf.ByteStringgetValidForBytes(int index) repeated string valid_for = 15;intrepeated string valid_for = 15;repeated string valid_for = 15;booleanoptional .protoblog.Type return_annotation = 4;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.
-
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
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
repeated .protoblog.ParameterSymbol parameters = 5; -
getHasDecorators
boolean getHasDecorators()bool has_decorators = 6;- Returns:
- The hasDecorators.
-
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
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
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
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.
-