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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAnnotatedType()optional string annotatedType = 2;com.google.protobuf.ByteStringgetAnnotatedTypeBytes()optional string annotatedType = 2;DescriptorsProtos.LocationInFilegetDefinitionLocation()optional .protoblog.LocationInFile definitionLocation = 8;DescriptorsProtos.LocationInFileOrBuildergetDefinitionLocationOrBuilder()optional .protoblog.LocationInFile definitionLocation = 8;booleangetHasDefaultValue()bool hasDefaultValue = 3;booleangetIsKeywordOnly()bool isKeywordOnly = 6;booleangetIsKeywordVariadic()bool isKeywordVariadic = 4;booleangetIsPositionalOnly()bool isPositionalOnly = 7;booleangetIsPositionalVariadic()bool isPositionalVariadic = 5;StringgetName()optional string name = 1;com.google.protobuf.ByteStringgetNameBytes()optional string name = 1;booleanhasAnnotatedType()optional string annotatedType = 2;booleanhasDefinitionLocation()optional .protoblog.LocationInFile definitionLocation = 8;booleanhasName()optional string name = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-