Package org.sonar.python.types.protobuf
Interface SymbolsProtos.ParameterSymbolOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SymbolsProtos.ParameterSymbol,SymbolsProtos.ParameterSymbol.Builder
- Enclosing class:
- SymbolsProtos
public static interface SymbolsProtos.ParameterSymbolOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbool has_default = 4;getKind().protoblog.ParameterKind kind = 2;int.protoblog.ParameterKind kind = 2;getName()optional string name = 1;com.google.protobuf.ByteStringoptional string name = 1;optional .protoblog.Type type_annotation = 3;optional .protoblog.Type type_annotation = 3;booleanhasName()optional string name = 1;booleanoptional .protoblog.Type type_annotation = 3;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.
-
getKindValue
int getKindValue().protoblog.ParameterKind kind = 2;- Returns:
- The enum numeric value on the wire for kind.
-
getKind
SymbolsProtos.ParameterKind getKind().protoblog.ParameterKind kind = 2;- Returns:
- The kind.
-
hasTypeAnnotation
boolean hasTypeAnnotation()optional .protoblog.Type type_annotation = 3;- Returns:
- Whether the typeAnnotation field is set.
-
getTypeAnnotation
SymbolsProtos.Type getTypeAnnotation()optional .protoblog.Type type_annotation = 3;- Returns:
- The typeAnnotation.
-
getTypeAnnotationOrBuilder
SymbolsProtos.TypeOrBuilder getTypeAnnotationOrBuilder()optional .protoblog.Type type_annotation = 3; -
getHasDefault
boolean getHasDefault()bool has_default = 4;- Returns:
- The hasDefault.
-