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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAnnotatedReturnType()optional string annotatedReturnType = 9;com.google.protobuf.ByteStringgetAnnotatedReturnTypeBytes()optional string annotatedReturnType = 9;StringgetDecorators(int index)repeated string decorators = 6;com.google.protobuf.ByteStringgetDecoratorsBytes(int index)repeated string decorators = 6;intgetDecoratorsCount()repeated string decorators = 6;List<String>getDecoratorsList()repeated string decorators = 6;DescriptorsProtos.LocationInFilegetDefinitionLocation().protoblog.LocationInFile definitionLocation = 8;DescriptorsProtos.LocationInFileOrBuildergetDefinitionLocationOrBuilder().protoblog.LocationInFile definitionLocation = 8;StringgetFullyQualifiedName()optional string fullyQualifiedName = 2;com.google.protobuf.ByteStringgetFullyQualifiedNameBytes()optional string fullyQualifiedName = 2;booleangetHasDecorators()bool hasDecorators = 7;booleangetIsAsynchronous()bool isAsynchronous = 4;booleangetIsInstanceMethod()bool isInstanceMethod = 5;StringgetName()optional string name = 1;com.google.protobuf.ByteStringgetNameBytes()optional string name = 1;DescriptorsProtos.ParameterDescriptorgetParameters(int index)repeated .protoblog.ParameterDescriptor parameters = 3;intgetParametersCount()repeated .protoblog.ParameterDescriptor parameters = 3;List<DescriptorsProtos.ParameterDescriptor>getParametersList()repeated .protoblog.ParameterDescriptor parameters = 3;DescriptorsProtos.ParameterDescriptorOrBuildergetParametersOrBuilder(int index)repeated .protoblog.ParameterDescriptor parameters = 3;List<? extends DescriptorsProtos.ParameterDescriptorOrBuilder>getParametersOrBuilderList()repeated .protoblog.ParameterDescriptor parameters = 3;booleanhasAnnotatedReturnType()optional string annotatedReturnType = 9;booleanhasDefinitionLocation().protoblog.LocationInFile definitionLocation = 8;booleanhasFullyQualifiedName()optional string fullyQualifiedName = 2;booleanhasName()optional string name = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
hasFullyQualifiedName
boolean hasFullyQualifiedName()
optional string fullyQualifiedName = 2;- Returns:
- Whether the fullyQualifiedName field is set.
-
getFullyQualifiedName
String getFullyQualifiedName()
optional string fullyQualifiedName = 2;- Returns:
- The fullyQualifiedName.
-
getFullyQualifiedNameBytes
com.google.protobuf.ByteString getFullyQualifiedNameBytes()
optional string fullyQualifiedName = 2;- Returns:
- The bytes for fullyQualifiedName.
-
getParametersList
List<DescriptorsProtos.ParameterDescriptor> getParametersList()
repeated .protoblog.ParameterDescriptor parameters = 3;
-
getParameters
DescriptorsProtos.ParameterDescriptor getParameters(int index)
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
DescriptorsProtos.ParameterDescriptorOrBuilder getParametersOrBuilder(int index)
repeated .protoblog.ParameterDescriptor parameters = 3;
-
getIsAsynchronous
boolean getIsAsynchronous()
bool isAsynchronous = 4;- Returns:
- The isAsynchronous.
-
getIsInstanceMethod
boolean getIsInstanceMethod()
bool isInstanceMethod = 5;- Returns:
- The isInstanceMethod.
-
getDecoratorsList
List<String> getDecoratorsList()
repeated string decorators = 6;- Returns:
- A list containing the decorators.
-
getDecoratorsCount
int getDecoratorsCount()
repeated string decorators = 6;- Returns:
- The count of decorators.
-
getDecorators
String getDecorators(int index)
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.
-
-