Package org.sonar.python.types.protobuf
Interface DescriptorsProtos.ClassDescriptorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DescriptorsProtos.ClassDescriptor,DescriptorsProtos.ClassDescriptor.Builder
- Enclosing class:
DescriptorsProtos
public static interface DescriptorsProtos.ClassDescriptorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.protoblog.DescriptorList attributes = 15;.protoblog.DescriptorList attributes = 15;.protoblog.LocationInFile definitionLocation = 9;.protoblog.LocationInFile definitionLocation = 9;string fullyQualifiedName = 2;com.google.protobuf.ByteStringstring fullyQualifiedName = 2;booleanbool hasDecorators = 8;booleanbool hasMetaClass = 11;booleanbool hasSuperClassWithoutDescriptor = 10;.protoblog.DescriptorList members = 14;.protoblog.DescriptorList members = 14;.protoblog.DescriptorList metaClasses = 16;.protoblog.DescriptorList metaClasses = 16;optional string metaClassFQN = 12;com.google.protobuf.ByteStringoptional string metaClassFQN = 12;getName()string name = 1;com.google.protobuf.ByteStringstring name = 1;getSuperClasses(int index) repeated string superClasses = 3;com.google.protobuf.ByteStringgetSuperClassesBytes(int index) repeated string superClasses = 3;intrepeated string superClasses = 3;repeated string superClasses = 3;booleanbool supportsGenerics = 13;boolean.protoblog.DescriptorList attributes = 15;boolean.protoblog.LocationInFile definitionLocation = 9;boolean.protoblog.DescriptorList members = 14;boolean.protoblog.DescriptorList metaClasses = 16;booleanoptional string metaClassFQN = 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 fullyQualifiedName = 2;- Returns:
- The fullyQualifiedName.
-
getFullyQualifiedNameBytes
com.google.protobuf.ByteString getFullyQualifiedNameBytes()string fullyQualifiedName = 2;- Returns:
- The bytes for fullyQualifiedName.
-
getSuperClassesList
repeated string superClasses = 3;- Returns:
- A list containing the superClasses.
-
getSuperClassesCount
int getSuperClassesCount()repeated string superClasses = 3;- Returns:
- The count of superClasses.
-
getSuperClasses
repeated string superClasses = 3;- 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 superClasses = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the superClasses at the given index.
-
getHasDecorators
boolean getHasDecorators()bool hasDecorators = 8;- Returns:
- The hasDecorators.
-
hasDefinitionLocation
boolean hasDefinitionLocation().protoblog.LocationInFile definitionLocation = 9;- Returns:
- Whether the definitionLocation field is set.
-
getDefinitionLocation
DescriptorsProtos.LocationInFile getDefinitionLocation().protoblog.LocationInFile definitionLocation = 9;- Returns:
- The definitionLocation.
-
getDefinitionLocationOrBuilder
DescriptorsProtos.LocationInFileOrBuilder getDefinitionLocationOrBuilder().protoblog.LocationInFile definitionLocation = 9; -
getHasSuperClassWithoutDescriptor
boolean getHasSuperClassWithoutDescriptor()bool hasSuperClassWithoutDescriptor = 10;- Returns:
- The hasSuperClassWithoutDescriptor.
-
getHasMetaClass
boolean getHasMetaClass()bool hasMetaClass = 11;- Returns:
- The hasMetaClass.
-
hasMetaClassFQN
boolean hasMetaClassFQN()optional string metaClassFQN = 12;- Returns:
- Whether the metaClassFQN field is set.
-
getMetaClassFQN
String getMetaClassFQN()optional string metaClassFQN = 12;- Returns:
- The metaClassFQN.
-
getMetaClassFQNBytes
com.google.protobuf.ByteString getMetaClassFQNBytes()optional string metaClassFQN = 12;- Returns:
- The bytes for metaClassFQN.
-
getSupportsGenerics
boolean getSupportsGenerics()bool supportsGenerics = 13;- Returns:
- The supportsGenerics.
-
hasMembers
boolean hasMembers().protoblog.DescriptorList members = 14;- Returns:
- Whether the members field is set.
-
getMembers
DescriptorsProtos.DescriptorList getMembers().protoblog.DescriptorList members = 14;- Returns:
- The members.
-
getMembersOrBuilder
DescriptorsProtos.DescriptorListOrBuilder getMembersOrBuilder().protoblog.DescriptorList members = 14; -
hasAttributes
boolean hasAttributes().protoblog.DescriptorList attributes = 15;- Returns:
- Whether the attributes field is set.
-
getAttributes
DescriptorsProtos.DescriptorList getAttributes().protoblog.DescriptorList attributes = 15;- Returns:
- The attributes.
-
getAttributesOrBuilder
DescriptorsProtos.DescriptorListOrBuilder getAttributesOrBuilder().protoblog.DescriptorList attributes = 15; -
hasMetaClasses
boolean hasMetaClasses().protoblog.DescriptorList metaClasses = 16;- Returns:
- Whether the metaClasses field is set.
-
getMetaClasses
DescriptorsProtos.DescriptorList getMetaClasses().protoblog.DescriptorList metaClasses = 16;- Returns:
- The metaClasses.
-
getMetaClassesOrBuilder
DescriptorsProtos.DescriptorListOrBuilder getMetaClassesOrBuilder().protoblog.DescriptorList metaClasses = 16;
-