Package org.sonar.python.types.protobuf
Interface DescriptorsProtos.ParameterDescriptorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DescriptorsProtos.ParameterDescriptor,DescriptorsProtos.ParameterDescriptor.Builder
- Enclosing class:
DescriptorsProtos
public static interface DescriptorsProtos.ParameterDescriptorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionoptional string annotatedType = 2;com.google.protobuf.ByteStringoptional string annotatedType = 2;optional .protoblog.LocationInFile definitionLocation = 8;optional .protoblog.LocationInFile definitionLocation = 8;booleanbool hasDefaultValue = 3;booleanbool isKeywordOnly = 6;booleanbool isKeywordVariadic = 4;booleanbool isPositionalOnly = 7;booleanbool isPositionalVariadic = 5;getName()optional string name = 1;com.google.protobuf.ByteStringoptional string name = 1;optional .protoblog.Type typeAnnotationDescriptor = 9;optional .protoblog.Type typeAnnotationDescriptor = 9;booleanoptional string annotatedType = 2;booleanoptional .protoblog.LocationInFile definitionLocation = 8;booleanhasName()optional string name = 1;booleanoptional .protoblog.Type typeAnnotationDescriptor = 9;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.
-
hasAnnotatedType
boolean hasAnnotatedType()optional string annotatedType = 2;- Returns:
- Whether the annotatedType field is set.
-
getAnnotatedType
String getAnnotatedType()optional string annotatedType = 2;- Returns:
- The annotatedType.
-
getAnnotatedTypeBytes
com.google.protobuf.ByteString getAnnotatedTypeBytes()optional string annotatedType = 2;- Returns:
- The bytes for annotatedType.
-
getHasDefaultValue
boolean getHasDefaultValue()bool hasDefaultValue = 3;- Returns:
- The hasDefaultValue.
-
getIsKeywordVariadic
boolean getIsKeywordVariadic()bool isKeywordVariadic = 4;- Returns:
- The isKeywordVariadic.
-
getIsPositionalVariadic
boolean getIsPositionalVariadic()bool isPositionalVariadic = 5;- Returns:
- The isPositionalVariadic.
-
getIsKeywordOnly
boolean getIsKeywordOnly()bool isKeywordOnly = 6;- Returns:
- The isKeywordOnly.
-
getIsPositionalOnly
boolean getIsPositionalOnly()bool isPositionalOnly = 7;- Returns:
- The isPositionalOnly.
-
hasDefinitionLocation
boolean hasDefinitionLocation()optional .protoblog.LocationInFile definitionLocation = 8;- Returns:
- Whether the definitionLocation field is set.
-
getDefinitionLocation
DescriptorsProtos.LocationInFile getDefinitionLocation()optional .protoblog.LocationInFile definitionLocation = 8;- Returns:
- The definitionLocation.
-
getDefinitionLocationOrBuilder
DescriptorsProtos.LocationInFileOrBuilder getDefinitionLocationOrBuilder()optional .protoblog.LocationInFile definitionLocation = 8; -
hasTypeAnnotationDescriptor
boolean hasTypeAnnotationDescriptor()optional .protoblog.Type typeAnnotationDescriptor = 9;- Returns:
- Whether the typeAnnotationDescriptor field is set.
-
getTypeAnnotationDescriptor
SymbolsProtos.Type getTypeAnnotationDescriptor()optional .protoblog.Type typeAnnotationDescriptor = 9;- Returns:
- The typeAnnotationDescriptor.
-
getTypeAnnotationDescriptorOrBuilder
SymbolsProtos.TypeOrBuilder getTypeAnnotationDescriptorOrBuilder()optional .protoblog.Type typeAnnotationDescriptor = 9;
-