Package org.sonar.python.types.protobuf
Interface DescriptorsProtos.FunctionDescriptorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DescriptorsProtos.FunctionDescriptor,DescriptorsProtos.FunctionDescriptor.Builder
- Enclosing class:
- DescriptorsProtos
public static interface DescriptorsProtos.FunctionDescriptorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional string annotatedReturnType = 9;com.google.protobuf.ByteStringoptional string annotatedReturnType = 9;getDecorators(int index) repeated string decorators = 6;com.google.protobuf.ByteStringgetDecoratorsBytes(int index) repeated string decorators = 6;intrepeated string decorators = 6;repeated string decorators = 6;.protoblog.LocationInFile definitionLocation = 8;.protoblog.LocationInFile definitionLocation = 8;string fullyQualifiedName = 2;com.google.protobuf.ByteStringstring fullyQualifiedName = 2;booleanbool hasDecorators = 7;booleanbool isAsynchronous = 4;booleanbool isInstanceMethod = 5;getName()optional string name = 1;com.google.protobuf.ByteStringoptional string name = 1;getParameters(int index) repeated .protoblog.ParameterDescriptor parameters = 3;intrepeated .protoblog.ParameterDescriptor parameters = 3;repeated .protoblog.ParameterDescriptor parameters = 3;getParametersOrBuilder(int index) repeated .protoblog.ParameterDescriptor parameters = 3;repeated .protoblog.ParameterDescriptor parameters = 3;booleanoptional string annotatedReturnType = 9;boolean.protoblog.LocationInFile definitionLocation = 8;booleanhasName()optional string name = 1;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
-
hasName
boolean hasName()optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()optional 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.
-
getParametersList
List<DescriptorsProtos.ParameterDescriptor> getParametersList()repeated .protoblog.ParameterDescriptor parameters = 3; -
getParameters
repeated .protoblog.ParameterDescriptor parameters = 3; -
getParametersCount
int getParametersCount()repeated .protoblog.ParameterDescriptor parameters = 3; -
getParametersOrBuilderList
List<? extends DescriptorsProtos.ParameterDescriptorOrBuilder> getParametersOrBuilderList()repeated .protoblog.ParameterDescriptor parameters = 3; -
getParametersOrBuilder
repeated .protoblog.ParameterDescriptor parameters = 3; -
getIsAsynchronous
boolean getIsAsynchronous()bool isAsynchronous = 4;- Returns:
- The isAsynchronous.
-
getIsInstanceMethod
boolean getIsInstanceMethod()bool isInstanceMethod = 5;- Returns:
- The isInstanceMethod.
-
getDecoratorsList
repeated string decorators = 6;- Returns:
- A list containing the decorators.
-
getDecoratorsCount
int getDecoratorsCount()repeated string decorators = 6;- Returns:
- The count of decorators.
-
getDecorators
repeated string decorators = 6;- Parameters:
index- The index of the element to return.- Returns:
- The decorators at the given index.
-
getDecoratorsBytes
com.google.protobuf.ByteString getDecoratorsBytes(int index) repeated string decorators = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the decorators at the given index.
-
getHasDecorators
boolean getHasDecorators()bool hasDecorators = 7;- Returns:
- The hasDecorators.
-
hasDefinitionLocation
boolean hasDefinitionLocation().protoblog.LocationInFile definitionLocation = 8;- Returns:
- Whether the definitionLocation field is set.
-
getDefinitionLocation
DescriptorsProtos.LocationInFile getDefinitionLocation().protoblog.LocationInFile definitionLocation = 8;- Returns:
- The definitionLocation.
-
getDefinitionLocationOrBuilder
DescriptorsProtos.LocationInFileOrBuilder getDefinitionLocationOrBuilder().protoblog.LocationInFile definitionLocation = 8; -
hasAnnotatedReturnType
boolean hasAnnotatedReturnType()optional string annotatedReturnType = 9;- Returns:
- Whether the annotatedReturnType field is set.
-
getAnnotatedReturnType
String getAnnotatedReturnType()optional string annotatedReturnType = 9;- Returns:
- The annotatedReturnType.
-
getAnnotatedReturnTypeBytes
com.google.protobuf.ByteString getAnnotatedReturnTypeBytes()optional string annotatedReturnType = 9;- Returns:
- The bytes for annotatedReturnType.
-