Package org.sonar.python.types.protobuf
Class DescriptorsProtos.ParameterDescriptor
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.sonar.python.types.protobuf.DescriptorsProtos.ParameterDescriptor
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,DescriptorsProtos.ParameterDescriptorOrBuilder
- Enclosing class:
- DescriptorsProtos
public static final class DescriptorsProtos.ParameterDescriptor extends com.google.protobuf.GeneratedMessageV3 implements DescriptorsProtos.ParameterDescriptorOrBuilder
Protobuf typeprotoblog.ParameterDescriptor- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDescriptorsProtos.ParameterDescriptor.BuilderProtobuf typeprotoblog.ParameterDescriptor-
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 intANNOTATEDTYPE_FIELD_NUMBERstatic intDEFINITIONLOCATION_FIELD_NUMBERstatic intHASDEFAULTVALUE_FIELD_NUMBERstatic intISKEYWORDONLY_FIELD_NUMBERstatic intISKEYWORDVARIADIC_FIELD_NUMBERstatic intISPOSITIONALONLY_FIELD_NUMBERstatic intISPOSITIONALVARIADIC_FIELD_NUMBERstatic intNAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAnnotatedType()optional string annotatedType = 2;com.google.protobuf.ByteStringgetAnnotatedTypeBytes()optional string annotatedType = 2;static DescriptorsProtos.ParameterDescriptorgetDefaultInstance()DescriptorsProtos.ParameterDescriptorgetDefaultInstanceForType()DescriptorsProtos.LocationInFilegetDefinitionLocation()optional .protoblog.LocationInFile definitionLocation = 8;DescriptorsProtos.LocationInFileOrBuildergetDefinitionLocationOrBuilder()optional .protoblog.LocationInFile definitionLocation = 8;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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;com.google.protobuf.Parser<DescriptorsProtos.ParameterDescriptor>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAnnotatedType()optional string annotatedType = 2;booleanhasDefinitionLocation()optional .protoblog.LocationInFile definitionLocation = 8;inthashCode()booleanhasName()optional string name = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static DescriptorsProtos.ParameterDescriptor.BuildernewBuilder()static DescriptorsProtos.ParameterDescriptor.BuildernewBuilder(DescriptorsProtos.ParameterDescriptor prototype)DescriptorsProtos.ParameterDescriptor.BuildernewBuilderForType()protected DescriptorsProtos.ParameterDescriptor.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DescriptorsProtos.ParameterDescriptorparseDelimitedFrom(InputStream input)static DescriptorsProtos.ParameterDescriptorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorsProtos.ParameterDescriptorparseFrom(byte[] data)static DescriptorsProtos.ParameterDescriptorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorsProtos.ParameterDescriptorparseFrom(com.google.protobuf.ByteString data)static DescriptorsProtos.ParameterDescriptorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorsProtos.ParameterDescriptorparseFrom(com.google.protobuf.CodedInputStream input)static DescriptorsProtos.ParameterDescriptorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorsProtos.ParameterDescriptorparseFrom(InputStream input)static DescriptorsProtos.ParameterDescriptorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DescriptorsProtos.ParameterDescriptorparseFrom(ByteBuffer data)static DescriptorsProtos.ParameterDescriptorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DescriptorsProtos.ParameterDescriptor>parser()DescriptorsProtos.ParameterDescriptor.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
-
ANNOTATEDTYPE_FIELD_NUMBER
public static final int ANNOTATEDTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HASDEFAULTVALUE_FIELD_NUMBER
public static final int HASDEFAULTVALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISKEYWORDVARIADIC_FIELD_NUMBER
public static final int ISKEYWORDVARIADIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISPOSITIONALVARIADIC_FIELD_NUMBER
public static final int ISPOSITIONALVARIADIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISKEYWORDONLY_FIELD_NUMBER
public static final int ISKEYWORDONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ISPOSITIONALONLY_FIELD_NUMBER
public static final int ISPOSITIONALONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFINITIONLOCATION_FIELD_NUMBER
public static final int DEFINITIONLOCATION_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.ParameterDescriptorOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
optional string name = 1;- Specified by:
getNamein interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
optional string name = 1;- Specified by:
getNameBytesin interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- The bytes for name.
-
hasAnnotatedType
public boolean hasAnnotatedType()
optional string annotatedType = 2;- Specified by:
hasAnnotatedTypein interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- Whether the annotatedType field is set.
-
getAnnotatedType
public String getAnnotatedType()
optional string annotatedType = 2;- Specified by:
getAnnotatedTypein interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- The annotatedType.
-
getAnnotatedTypeBytes
public com.google.protobuf.ByteString getAnnotatedTypeBytes()
optional string annotatedType = 2;- Specified by:
getAnnotatedTypeBytesin interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- The bytes for annotatedType.
-
getHasDefaultValue
public boolean getHasDefaultValue()
bool hasDefaultValue = 3;- Specified by:
getHasDefaultValuein interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- The hasDefaultValue.
-
getIsKeywordVariadic
public boolean getIsKeywordVariadic()
bool isKeywordVariadic = 4;- Specified by:
getIsKeywordVariadicin interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- The isKeywordVariadic.
-
getIsPositionalVariadic
public boolean getIsPositionalVariadic()
bool isPositionalVariadic = 5;- Specified by:
getIsPositionalVariadicin interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- The isPositionalVariadic.
-
getIsKeywordOnly
public boolean getIsKeywordOnly()
bool isKeywordOnly = 6;- Specified by:
getIsKeywordOnlyin interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- The isKeywordOnly.
-
getIsPositionalOnly
public boolean getIsPositionalOnly()
bool isPositionalOnly = 7;- Specified by:
getIsPositionalOnlyin interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- The isPositionalOnly.
-
hasDefinitionLocation
public boolean hasDefinitionLocation()
optional .protoblog.LocationInFile definitionLocation = 8;- Specified by:
hasDefinitionLocationin interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- Whether the definitionLocation field is set.
-
getDefinitionLocation
public DescriptorsProtos.LocationInFile getDefinitionLocation()
optional .protoblog.LocationInFile definitionLocation = 8;- Specified by:
getDefinitionLocationin interfaceDescriptorsProtos.ParameterDescriptorOrBuilder- Returns:
- The definitionLocation.
-
getDefinitionLocationOrBuilder
public DescriptorsProtos.LocationInFileOrBuilder getDefinitionLocationOrBuilder()
optional .protoblog.LocationInFile definitionLocation = 8;- Specified by:
getDefinitionLocationOrBuilderin interfaceDescriptorsProtos.ParameterDescriptorOrBuilder
-
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.ParameterDescriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorsProtos.ParameterDescriptor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorsProtos.ParameterDescriptor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorsProtos.ParameterDescriptor 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.ParameterDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorsProtos.ParameterDescriptor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DescriptorsProtos.ParameterDescriptor parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DescriptorsProtos.ParameterDescriptor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DescriptorsProtos.ParameterDescriptor parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DescriptorsProtos.ParameterDescriptor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DescriptorsProtos.ParameterDescriptor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DescriptorsProtos.ParameterDescriptor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DescriptorsProtos.ParameterDescriptor.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DescriptorsProtos.ParameterDescriptor.Builder newBuilder()
-
newBuilder
public static DescriptorsProtos.ParameterDescriptor.Builder newBuilder(DescriptorsProtos.ParameterDescriptor prototype)
-
toBuilder
public DescriptorsProtos.ParameterDescriptor.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DescriptorsProtos.ParameterDescriptor.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DescriptorsProtos.ParameterDescriptor getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DescriptorsProtos.ParameterDescriptor> parser()
-
getParserForType
public com.google.protobuf.Parser<DescriptorsProtos.ParameterDescriptor> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DescriptorsProtos.ParameterDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-