Package org.sonar.python.types.protobuf
Class DescriptorsProtos.FunctionDescriptor
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.sonar.python.types.protobuf.DescriptorsProtos.FunctionDescriptor
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,DescriptorsProtos.FunctionDescriptorOrBuilder
- Enclosing class:
- DescriptorsProtos
public static final class DescriptorsProtos.FunctionDescriptor extends com.google.protobuf.GeneratedMessageV3 implements DescriptorsProtos.FunctionDescriptorOrBuilder
Protobuf typeprotoblog.FunctionDescriptor- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDescriptorsProtos.FunctionDescriptor.BuilderProtobuf typeprotoblog.FunctionDescriptor-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATEDRETURNTYPE_FIELD_NUMBERstatic intDECORATORS_FIELD_NUMBERstatic intDEFINITIONLOCATION_FIELD_NUMBERstatic intFULLYQUALIFIEDNAME_FIELD_NUMBERstatic intHASDECORATORS_FIELD_NUMBERstatic intISASYNCHRONOUS_FIELD_NUMBERstatic intISINSTANCEMETHOD_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPARAMETERS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)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;com.google.protobuf.ProtocolStringListgetDecoratorsList()repeated string decorators = 6;static DescriptorsProtos.FunctionDescriptorgetDefaultInstance()DescriptorsProtos.FunctionDescriptorgetDefaultInstanceForType()DescriptorsProtos.LocationInFilegetDefinitionLocation().protoblog.LocationInFile definitionLocation = 8;DescriptorsProtos.LocationInFileOrBuildergetDefinitionLocationOrBuilder().protoblog.LocationInFile definitionLocation = 8;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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;com.google.protobuf.Parser<DescriptorsProtos.FunctionDescriptor>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAnnotatedReturnType()optional string annotatedReturnType = 9;booleanhasDefinitionLocation().protoblog.LocationInFile definitionLocation = 8;booleanhasFullyQualifiedName()optional string fullyQualifiedName = 2;inthashCode()booleanhasName()optional string name = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DescriptorsProtos.FunctionDescriptor.BuildernewBuilder()static DescriptorsProtos.FunctionDescriptor.BuildernewBuilder(DescriptorsProtos.FunctionDescriptor prototype)DescriptorsProtos.FunctionDescriptor.BuildernewBuilderForType()protected DescriptorsProtos.FunctionDescriptor.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DescriptorsProtos.FunctionDescriptorparseDelimitedFrom(InputStream input)static DescriptorsProtos.FunctionDescriptorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorsProtos.FunctionDescriptorparseFrom(byte[] data)static DescriptorsProtos.FunctionDescriptorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorsProtos.FunctionDescriptorparseFrom(com.google.protobuf.ByteString data)static DescriptorsProtos.FunctionDescriptorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorsProtos.FunctionDescriptorparseFrom(com.google.protobuf.CodedInputStream input)static DescriptorsProtos.FunctionDescriptorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorsProtos.FunctionDescriptorparseFrom(InputStream input)static DescriptorsProtos.FunctionDescriptorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorsProtos.FunctionDescriptorparseFrom(ByteBuffer data)static DescriptorsProtos.FunctionDescriptorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DescriptorsProtos.FunctionDescriptor>parser()DescriptorsProtos.FunctionDescriptor.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FULLYQUALIFIEDNAME_FIELD_NUMBER
public static final int FULLYQUALIFIEDNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARAMETERS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISASYNCHRONOUS_FIELD_NUMBER
public static final int ISASYNCHRONOUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISINSTANCEMETHOD_FIELD_NUMBER
public static final int ISINSTANCEMETHOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DECORATORS_FIELD_NUMBER
public static final int DECORATORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HASDECORATORS_FIELD_NUMBER
public static final int HASDECORATORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFINITIONLOCATION_FIELD_NUMBER
public static final int DEFINITIONLOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATEDRETURNTYPE_FIELD_NUMBER
public static final int ANNOTATEDRETURNTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
hasName
public boolean hasName()
optional string name = 1;- Specified by:
hasNamein interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
optional string name = 1;- Specified by:
getNamein interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
optional string name = 1;- Specified by:
getNameBytesin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- The bytes for name.
-
hasFullyQualifiedName
public boolean hasFullyQualifiedName()
optional string fullyQualifiedName = 2;- Specified by:
hasFullyQualifiedNamein interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- Whether the fullyQualifiedName field is set.
-
getFullyQualifiedName
public String getFullyQualifiedName()
optional string fullyQualifiedName = 2;- Specified by:
getFullyQualifiedNamein interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- The fullyQualifiedName.
-
getFullyQualifiedNameBytes
public com.google.protobuf.ByteString getFullyQualifiedNameBytes()
optional string fullyQualifiedName = 2;- Specified by:
getFullyQualifiedNameBytesin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- The bytes for fullyQualifiedName.
-
getParametersList
public List<DescriptorsProtos.ParameterDescriptor> getParametersList()
repeated .protoblog.ParameterDescriptor parameters = 3;- Specified by:
getParametersListin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder
-
getParametersOrBuilderList
public List<? extends DescriptorsProtos.ParameterDescriptorOrBuilder> getParametersOrBuilderList()
repeated .protoblog.ParameterDescriptor parameters = 3;- Specified by:
getParametersOrBuilderListin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder
-
getParametersCount
public int getParametersCount()
repeated .protoblog.ParameterDescriptor parameters = 3;- Specified by:
getParametersCountin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder
-
getParameters
public DescriptorsProtos.ParameterDescriptor getParameters(int index)
repeated .protoblog.ParameterDescriptor parameters = 3;- Specified by:
getParametersin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder
-
getParametersOrBuilder
public DescriptorsProtos.ParameterDescriptorOrBuilder getParametersOrBuilder(int index)
repeated .protoblog.ParameterDescriptor parameters = 3;- Specified by:
getParametersOrBuilderin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder
-
getIsAsynchronous
public boolean getIsAsynchronous()
bool isAsynchronous = 4;- Specified by:
getIsAsynchronousin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- The isAsynchronous.
-
getIsInstanceMethod
public boolean getIsInstanceMethod()
bool isInstanceMethod = 5;- Specified by:
getIsInstanceMethodin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- The isInstanceMethod.
-
getDecoratorsList
public com.google.protobuf.ProtocolStringList getDecoratorsList()
repeated string decorators = 6;- Specified by:
getDecoratorsListin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- A list containing the decorators.
-
getDecoratorsCount
public int getDecoratorsCount()
repeated string decorators = 6;- Specified by:
getDecoratorsCountin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- The count of decorators.
-
getDecorators
public String getDecorators(int index)
repeated string decorators = 6;- Specified by:
getDecoratorsin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The decorators at the given index.
-
getDecoratorsBytes
public com.google.protobuf.ByteString getDecoratorsBytes(int index)
repeated string decorators = 6;- Specified by:
getDecoratorsBytesin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the decorators at the given index.
-
getHasDecorators
public boolean getHasDecorators()
bool hasDecorators = 7;- Specified by:
getHasDecoratorsin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- The hasDecorators.
-
hasDefinitionLocation
public boolean hasDefinitionLocation()
.protoblog.LocationInFile definitionLocation = 8;- Specified by:
hasDefinitionLocationin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- Whether the definitionLocation field is set.
-
getDefinitionLocation
public DescriptorsProtos.LocationInFile getDefinitionLocation()
.protoblog.LocationInFile definitionLocation = 8;- Specified by:
getDefinitionLocationin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- The definitionLocation.
-
getDefinitionLocationOrBuilder
public DescriptorsProtos.LocationInFileOrBuilder getDefinitionLocationOrBuilder()
.protoblog.LocationInFile definitionLocation = 8;- Specified by:
getDefinitionLocationOrBuilderin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder
-
hasAnnotatedReturnType
public boolean hasAnnotatedReturnType()
optional string annotatedReturnType = 9;- Specified by:
hasAnnotatedReturnTypein interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- Whether the annotatedReturnType field is set.
-
getAnnotatedReturnType
public String getAnnotatedReturnType()
optional string annotatedReturnType = 9;- Specified by:
getAnnotatedReturnTypein interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- The annotatedReturnType.
-
getAnnotatedReturnTypeBytes
public com.google.protobuf.ByteString getAnnotatedReturnTypeBytes()
optional string annotatedReturnType = 9;- Specified by:
getAnnotatedReturnTypeBytesin interfaceDescriptorsProtos.FunctionDescriptorOrBuilder- Returns:
- The bytes for annotatedReturnType.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 DescriptorsProtos.FunctionDescriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorsProtos.FunctionDescriptor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorsProtos.FunctionDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorsProtos.FunctionDescriptor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorsProtos.FunctionDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorsProtos.FunctionDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorsProtos.FunctionDescriptor parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DescriptorsProtos.FunctionDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DescriptorsProtos.FunctionDescriptor parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DescriptorsProtos.FunctionDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DescriptorsProtos.FunctionDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DescriptorsProtos.FunctionDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DescriptorsProtos.FunctionDescriptor.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DescriptorsProtos.FunctionDescriptor.Builder newBuilder()
-
newBuilder
public static DescriptorsProtos.FunctionDescriptor.Builder newBuilder(DescriptorsProtos.FunctionDescriptor prototype)
-
toBuilder
public DescriptorsProtos.FunctionDescriptor.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DescriptorsProtos.FunctionDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DescriptorsProtos.FunctionDescriptor getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DescriptorsProtos.FunctionDescriptor> parser()
-
getParserForType
public com.google.protobuf.Parser<DescriptorsProtos.FunctionDescriptor> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DescriptorsProtos.FunctionDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-