Class SymbolsProtos.VarSymbol

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.sonar.python.types.protobuf.SymbolsProtos.VarSymbol
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, SymbolsProtos.VarSymbolOrBuilder
Enclosing class:
SymbolsProtos

public static final class SymbolsProtos.VarSymbol extends com.google.protobuf.GeneratedMessageV3 implements SymbolsProtos.VarSymbolOrBuilder
Protobuf type protoblog.VarSymbol
See Also:
  • 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:
    • TYPE_ANNOTATION_FIELD_NUMBER

      public static final int TYPE_ANNOTATION_FIELD_NUMBER
      See Also:
    • IS_IMPORTED_MODULE_FIELD_NUMBER

      public static final int IS_IMPORTED_MODULE_FIELD_NUMBER
      See Also:
    • VALID_FOR_FIELD_NUMBER

      public static final int VALID_FOR_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getName

      public String getName()
      string name = 1;
      Specified by:
      getName in interface SymbolsProtos.VarSymbolOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1;
      Specified by:
      getNameBytes in interface SymbolsProtos.VarSymbolOrBuilder
      Returns:
      The bytes for name.
    • getFullyQualifiedName

      public String getFullyQualifiedName()
      string fully_qualified_name = 2;
      Specified by:
      getFullyQualifiedName in interface SymbolsProtos.VarSymbolOrBuilder
      Returns:
      The fullyQualifiedName.
    • getFullyQualifiedNameBytes

      public com.google.protobuf.ByteString getFullyQualifiedNameBytes()
      string fully_qualified_name = 2;
      Specified by:
      getFullyQualifiedNameBytes in interface SymbolsProtos.VarSymbolOrBuilder
      Returns:
      The bytes for fullyQualifiedName.
    • hasTypeAnnotation

      public boolean hasTypeAnnotation()
      optional .protoblog.Type type_annotation = 3;
      Specified by:
      hasTypeAnnotation in interface SymbolsProtos.VarSymbolOrBuilder
      Returns:
      Whether the typeAnnotation field is set.
    • getTypeAnnotation

      public SymbolsProtos.Type getTypeAnnotation()
      optional .protoblog.Type type_annotation = 3;
      Specified by:
      getTypeAnnotation in interface SymbolsProtos.VarSymbolOrBuilder
      Returns:
      The typeAnnotation.
    • getTypeAnnotationOrBuilder

      public SymbolsProtos.TypeOrBuilder getTypeAnnotationOrBuilder()
      optional .protoblog.Type type_annotation = 3;
      Specified by:
      getTypeAnnotationOrBuilder in interface SymbolsProtos.VarSymbolOrBuilder
    • getIsImportedModule

      public boolean getIsImportedModule()
      bool is_imported_module = 4;
      Specified by:
      getIsImportedModule in interface SymbolsProtos.VarSymbolOrBuilder
      Returns:
      The isImportedModule.
    • getValidForList

      public com.google.protobuf.ProtocolStringList getValidForList()
      repeated string valid_for = 5;
      Specified by:
      getValidForList in interface SymbolsProtos.VarSymbolOrBuilder
      Returns:
      A list containing the validFor.
    • getValidForCount

      public int getValidForCount()
      repeated string valid_for = 5;
      Specified by:
      getValidForCount in interface SymbolsProtos.VarSymbolOrBuilder
      Returns:
      The count of validFor.
    • getValidFor

      public String getValidFor(int index)
      repeated string valid_for = 5;
      Specified by:
      getValidFor in interface SymbolsProtos.VarSymbolOrBuilder
      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 = 5;
      Specified by:
      getValidForBytes in interface SymbolsProtos.VarSymbolOrBuilder
      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:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SymbolsProtos.VarSymbol parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SymbolsProtos.VarSymbol parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SymbolsProtos.VarSymbol parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SymbolsProtos.VarSymbol 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.VarSymbol parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SymbolsProtos.VarSymbol parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SymbolsProtos.VarSymbol parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SymbolsProtos.VarSymbol parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SymbolsProtos.VarSymbol parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SymbolsProtos.VarSymbol parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SymbolsProtos.VarSymbol parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SymbolsProtos.VarSymbol parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SymbolsProtos.VarSymbol.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SymbolsProtos.VarSymbol.Builder newBuilder()
    • newBuilder

      public static SymbolsProtos.VarSymbol.Builder newBuilder(SymbolsProtos.VarSymbol prototype)
    • toBuilder

      public SymbolsProtos.VarSymbol.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SymbolsProtos.VarSymbol.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static SymbolsProtos.VarSymbol getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SymbolsProtos.VarSymbol> parser()
    • getParserForType

      public com.google.protobuf.Parser<SymbolsProtos.VarSymbol> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public SymbolsProtos.VarSymbol getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder