Package org.sonar.python.types.protobuf
Class SymbolsProtos.FunctionSymbol
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.sonar.python.types.protobuf.SymbolsProtos.FunctionSymbol
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,SymbolsProtos.FunctionSymbolOrBuilder
- Enclosing class:
- SymbolsProtos
public static final class SymbolsProtos.FunctionSymbol
extends com.google.protobuf.GeneratedMessageV3
implements SymbolsProtos.FunctionSymbolOrBuilder
Protobuf type
protoblog.FunctionSymbol- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeprotoblog.FunctionSymbolNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SymbolsProtos.FunctionSymbolstatic final com.google.protobuf.Descriptors.Descriptorstring 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;com.google.protobuf.Parser<SymbolsProtos.FunctionSymbol>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;com.google.protobuf.ProtocolStringListrepeated string resolved_decorator_names = 7;optional .protoblog.Type return_annotation = 4;optional .protoblog.Type return_annotation = 4;intgetValidFor(int index) repeated string valid_for = 15;com.google.protobuf.ByteStringgetValidForBytes(int index) repeated string valid_for = 15;intrepeated string valid_for = 15;com.google.protobuf.ProtocolStringListrepeated string valid_for = 15;inthashCode()booleanoptional .protoblog.Type return_annotation = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(SymbolsProtos.FunctionSymbol prototype) protected SymbolsProtos.FunctionSymbol.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SymbolsProtos.FunctionSymbolparseDelimitedFrom(InputStream input) static SymbolsProtos.FunctionSymbolparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SymbolsProtos.FunctionSymbolparseFrom(byte[] data) static SymbolsProtos.FunctionSymbolparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SymbolsProtos.FunctionSymbolparseFrom(com.google.protobuf.ByteString data) static SymbolsProtos.FunctionSymbolparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SymbolsProtos.FunctionSymbolparseFrom(com.google.protobuf.CodedInputStream input) static SymbolsProtos.FunctionSymbolparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SymbolsProtos.FunctionSymbolparseFrom(InputStream input) static SymbolsProtos.FunctionSymbolparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SymbolsProtos.FunctionSymbolparseFrom(ByteBuffer data) static SymbolsProtos.FunctionSymbolparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SymbolsProtos.FunctionSymbol>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FULLY_QUALIFIED_NAME_FIELD_NUMBER
public static final int FULLY_QUALIFIED_NAME_FIELD_NUMBER- See Also:
-
RETURN_ANNOTATION_FIELD_NUMBER
public static final int RETURN_ANNOTATION_FIELD_NUMBER- See Also:
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER- See Also:
-
HAS_DECORATORS_FIELD_NUMBER
public static final int HAS_DECORATORS_FIELD_NUMBER- See Also:
-
RESOLVED_DECORATOR_NAMES_FIELD_NUMBER
public static final int RESOLVED_DECORATOR_NAMES_FIELD_NUMBER- See Also:
-
IS_ABSTRACT_FIELD_NUMBER
public static final int IS_ABSTRACT_FIELD_NUMBER- See Also:
-
IS_ASYNCHRONOUS_FIELD_NUMBER
public static final int IS_ASYNCHRONOUS_FIELD_NUMBER- See Also:
-
IS_FINAL_FIELD_NUMBER
public static final int IS_FINAL_FIELD_NUMBER- See Also:
-
IS_OVERLOAD_FIELD_NUMBER
public static final int IS_OVERLOAD_FIELD_NUMBER- See Also:
-
IS_PROPERTY_FIELD_NUMBER
public static final int IS_PROPERTY_FIELD_NUMBER- See Also:
-
IS_STATIC_FIELD_NUMBER
public static final int IS_STATIC_FIELD_NUMBER- See Also:
-
IS_CLASS_METHOD_FIELD_NUMBER
public static final int IS_CLASS_METHOD_FIELD_NUMBER- See Also:
-
VALID_FOR_FIELD_NUMBER
public static final int VALID_FOR_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
string name = 1;- Specified by:
getNamein interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1;- Specified by:
getNameBytesin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The bytes for name.
-
getFullyQualifiedName
string fully_qualified_name = 2;- Specified by:
getFullyQualifiedNamein interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The fullyQualifiedName.
-
getFullyQualifiedNameBytes
public com.google.protobuf.ByteString getFullyQualifiedNameBytes()string fully_qualified_name = 2;- Specified by:
getFullyQualifiedNameBytesin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The bytes for fullyQualifiedName.
-
hasReturnAnnotation
public boolean hasReturnAnnotation()optional .protoblog.Type return_annotation = 4;- Specified by:
hasReturnAnnotationin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- Whether the returnAnnotation field is set.
-
getReturnAnnotation
optional .protoblog.Type return_annotation = 4;- Specified by:
getReturnAnnotationin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The returnAnnotation.
-
getReturnAnnotationOrBuilder
optional .protoblog.Type return_annotation = 4;- Specified by:
getReturnAnnotationOrBuilderin interfaceSymbolsProtos.FunctionSymbolOrBuilder
-
getParametersList
repeated .protoblog.ParameterSymbol parameters = 5;- Specified by:
getParametersListin interfaceSymbolsProtos.FunctionSymbolOrBuilder
-
getParametersOrBuilderList
repeated .protoblog.ParameterSymbol parameters = 5;- Specified by:
getParametersOrBuilderListin interfaceSymbolsProtos.FunctionSymbolOrBuilder
-
getParametersCount
public int getParametersCount()repeated .protoblog.ParameterSymbol parameters = 5;- Specified by:
getParametersCountin interfaceSymbolsProtos.FunctionSymbolOrBuilder
-
getParameters
repeated .protoblog.ParameterSymbol parameters = 5;- Specified by:
getParametersin interfaceSymbolsProtos.FunctionSymbolOrBuilder
-
getParametersOrBuilder
repeated .protoblog.ParameterSymbol parameters = 5;- Specified by:
getParametersOrBuilderin interfaceSymbolsProtos.FunctionSymbolOrBuilder
-
getHasDecorators
public boolean getHasDecorators()bool has_decorators = 6;- Specified by:
getHasDecoratorsin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The hasDecorators.
-
getResolvedDecoratorNamesList
public com.google.protobuf.ProtocolStringList getResolvedDecoratorNamesList()repeated string resolved_decorator_names = 7;- Specified by:
getResolvedDecoratorNamesListin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- A list containing the resolvedDecoratorNames.
-
getResolvedDecoratorNamesCount
public int getResolvedDecoratorNamesCount()repeated string resolved_decorator_names = 7;- Specified by:
getResolvedDecoratorNamesCountin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The count of resolvedDecoratorNames.
-
getResolvedDecoratorNames
repeated string resolved_decorator_names = 7;- Specified by:
getResolvedDecoratorNamesin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resolvedDecoratorNames at the given index.
-
getResolvedDecoratorNamesBytes
public com.google.protobuf.ByteString getResolvedDecoratorNamesBytes(int index) repeated string resolved_decorator_names = 7;- Specified by:
getResolvedDecoratorNamesBytesin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resolvedDecoratorNames at the given index.
-
getIsAbstract
public boolean getIsAbstract()bool is_abstract = 8;- Specified by:
getIsAbstractin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The isAbstract.
-
getIsAsynchronous
public boolean getIsAsynchronous()bool is_asynchronous = 9;- Specified by:
getIsAsynchronousin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The isAsynchronous.
-
getIsFinal
public boolean getIsFinal()bool is_final = 10;- Specified by:
getIsFinalin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The isFinal.
-
getIsOverload
public boolean getIsOverload()bool is_overload = 11;- Specified by:
getIsOverloadin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The isOverload.
-
getIsProperty
public boolean getIsProperty()bool is_property = 12;- Specified by:
getIsPropertyin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The isProperty.
-
getIsStatic
public boolean getIsStatic()bool is_static = 13;- Specified by:
getIsStaticin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The isStatic.
-
getIsClassMethod
public boolean getIsClassMethod()bool is_class_method = 14;- Specified by:
getIsClassMethodin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The isClassMethod.
-
getValidForList
public com.google.protobuf.ProtocolStringList getValidForList()repeated string valid_for = 15;- Specified by:
getValidForListin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- A list containing the validFor.
-
getValidForCount
public int getValidForCount()repeated string valid_for = 15;- Specified by:
getValidForCountin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Returns:
- The count of validFor.
-
getValidFor
repeated string valid_for = 15;- Specified by:
getValidForin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The validFor at the given index.
-
getValidForBytes
public com.google.protobuf.ByteString getValidForBytes(int index) repeated string valid_for = 15;- Specified by:
getValidForBytesin interfaceSymbolsProtos.FunctionSymbolOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the validFor at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SymbolsProtos.FunctionSymbol parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SymbolsProtos.FunctionSymbol parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SymbolsProtos.FunctionSymbol parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SymbolsProtos.FunctionSymbol parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SymbolsProtos.FunctionSymbol parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SymbolsProtos.FunctionSymbol parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SymbolsProtos.FunctionSymbol parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SymbolsProtos.FunctionSymbol parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SymbolsProtos.FunctionSymbol parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SymbolsProtos.FunctionSymbol parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static SymbolsProtos.FunctionSymbol.Builder newBuilder(SymbolsProtos.FunctionSymbol prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SymbolsProtos.FunctionSymbol.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-