Package org.sonar.python.types.protobuf
Interface SymbolsProtos.ClassSymbolOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SymbolsProtos.ClassSymbol,SymbolsProtos.ClassSymbol.Builder
- Enclosing class:
SymbolsProtos
public static interface SymbolsProtos.ClassSymbolOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributes(int index) repeated .protoblog.VarSymbol attributes = 14;intrepeated .protoblog.VarSymbol attributes = 14;repeated .protoblog.VarSymbol attributes = 14;getAttributesOrBuilder(int index) repeated .protoblog.VarSymbol attributes = 14;List<? extends SymbolsProtos.VarSymbolOrBuilder> repeated .protoblog.VarSymbol attributes = 14;string fully_qualified_name = 2;com.google.protobuf.ByteStringstring fully_qualified_name = 2;booleanbool has_decorators = 7;booleanbool has_metaclass = 8;booleanbool is_enum = 9;booleanbool is_generic = 10;booleanbool is_protocol = 11;optional string metaclass_name = 12;com.google.protobuf.ByteStringoptional string metaclass_name = 12;getMethods(int index) repeated .protoblog.FunctionSymbol methods = 5;intrepeated .protoblog.FunctionSymbol methods = 5;repeated .protoblog.FunctionSymbol methods = 5;getMethodsOrBuilder(int index) repeated .protoblog.FunctionSymbol methods = 5;List<? extends SymbolsProtos.FunctionSymbolOrBuilder> repeated .protoblog.FunctionSymbol methods = 5;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;getNestedClasses(int index) repeated .protoblog.ClassSymbol nested_classes = 15;intrepeated .protoblog.ClassSymbol nested_classes = 15;repeated .protoblog.ClassSymbol nested_classes = 15;getNestedClassesOrBuilder(int index) repeated .protoblog.ClassSymbol nested_classes = 15;List<? extends SymbolsProtos.ClassSymbolOrBuilder> repeated .protoblog.ClassSymbol nested_classes = 15;getOverloadedMethods(int index) repeated .protoblog.OverloadedFunctionSymbol overloaded_methods = 6;intrepeated .protoblog.OverloadedFunctionSymbol overloaded_methods = 6;repeated .protoblog.OverloadedFunctionSymbol overloaded_methods = 6;getOverloadedMethodsOrBuilder(int index) repeated .protoblog.OverloadedFunctionSymbol overloaded_methods = 6;repeated .protoblog.OverloadedFunctionSymbol overloaded_methods = 6;getSuperClasses(int index) repeated string super_classes = 4;com.google.protobuf.ByteStringgetSuperClassesBytes(int index) repeated string super_classes = 4;intrepeated string super_classes = 4;repeated string super_classes = 4;getValidFor(int index) repeated string valid_for = 13;com.google.protobuf.ByteStringgetValidForBytes(int index) repeated string valid_for = 13;intrepeated string valid_for = 13;repeated string valid_for = 13;booleanoptional string metaclass_name = 12;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.
-
getSuperClassesList
repeated string super_classes = 4;- Returns:
- A list containing the superClasses.
-
getSuperClassesCount
int getSuperClassesCount()repeated string super_classes = 4;- Returns:
- The count of superClasses.
-
getSuperClasses
repeated string super_classes = 4;- Parameters:
index- The index of the element to return.- Returns:
- The superClasses at the given index.
-
getSuperClassesBytes
com.google.protobuf.ByteString getSuperClassesBytes(int index) repeated string super_classes = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the superClasses at the given index.
-
getMethodsList
List<SymbolsProtos.FunctionSymbol> getMethodsList()repeated .protoblog.FunctionSymbol methods = 5; -
getMethods
repeated .protoblog.FunctionSymbol methods = 5; -
getMethodsCount
int getMethodsCount()repeated .protoblog.FunctionSymbol methods = 5; -
getMethodsOrBuilderList
List<? extends SymbolsProtos.FunctionSymbolOrBuilder> getMethodsOrBuilderList()repeated .protoblog.FunctionSymbol methods = 5; -
getMethodsOrBuilder
repeated .protoblog.FunctionSymbol methods = 5; -
getOverloadedMethodsList
List<SymbolsProtos.OverloadedFunctionSymbol> getOverloadedMethodsList()repeated .protoblog.OverloadedFunctionSymbol overloaded_methods = 6; -
getOverloadedMethods
repeated .protoblog.OverloadedFunctionSymbol overloaded_methods = 6; -
getOverloadedMethodsCount
int getOverloadedMethodsCount()repeated .protoblog.OverloadedFunctionSymbol overloaded_methods = 6; -
getOverloadedMethodsOrBuilderList
List<? extends SymbolsProtos.OverloadedFunctionSymbolOrBuilder> getOverloadedMethodsOrBuilderList()repeated .protoblog.OverloadedFunctionSymbol overloaded_methods = 6; -
getOverloadedMethodsOrBuilder
repeated .protoblog.OverloadedFunctionSymbol overloaded_methods = 6; -
getHasDecorators
boolean getHasDecorators()bool has_decorators = 7;- Returns:
- The hasDecorators.
-
getHasMetaclass
boolean getHasMetaclass()bool has_metaclass = 8;- Returns:
- The hasMetaclass.
-
getIsEnum
boolean getIsEnum()bool is_enum = 9;- Returns:
- The isEnum.
-
getIsGeneric
boolean getIsGeneric()bool is_generic = 10;- Returns:
- The isGeneric.
-
getIsProtocol
boolean getIsProtocol()bool is_protocol = 11;- Returns:
- The isProtocol.
-
hasMetaclassName
boolean hasMetaclassName()optional string metaclass_name = 12;- Returns:
- Whether the metaclassName field is set.
-
getMetaclassName
String getMetaclassName()optional string metaclass_name = 12;- Returns:
- The metaclassName.
-
getMetaclassNameBytes
com.google.protobuf.ByteString getMetaclassNameBytes()optional string metaclass_name = 12;- Returns:
- The bytes for metaclassName.
-
getValidForList
repeated string valid_for = 13;- Returns:
- A list containing the validFor.
-
getValidForCount
int getValidForCount()repeated string valid_for = 13;- Returns:
- The count of validFor.
-
getValidFor
repeated string valid_for = 13;- 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 = 13;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the validFor at the given index.
-
getAttributesList
List<SymbolsProtos.VarSymbol> getAttributesList()repeated .protoblog.VarSymbol attributes = 14; -
getAttributes
repeated .protoblog.VarSymbol attributes = 14; -
getAttributesCount
int getAttributesCount()repeated .protoblog.VarSymbol attributes = 14; -
getAttributesOrBuilderList
List<? extends SymbolsProtos.VarSymbolOrBuilder> getAttributesOrBuilderList()repeated .protoblog.VarSymbol attributes = 14; -
getAttributesOrBuilder
repeated .protoblog.VarSymbol attributes = 14; -
getNestedClassesList
List<SymbolsProtos.ClassSymbol> getNestedClassesList()repeated .protoblog.ClassSymbol nested_classes = 15; -
getNestedClasses
repeated .protoblog.ClassSymbol nested_classes = 15; -
getNestedClassesCount
int getNestedClassesCount()repeated .protoblog.ClassSymbol nested_classes = 15; -
getNestedClassesOrBuilderList
List<? extends SymbolsProtos.ClassSymbolOrBuilder> getNestedClassesOrBuilderList()repeated .protoblog.ClassSymbol nested_classes = 15; -
getNestedClassesOrBuilder
repeated .protoblog.ClassSymbol nested_classes = 15;
-