org.jetbrains.jet.descriptors.serialization
Interface ProtoBuf.Annotation.Argument.ValueOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
ProtoBuf.Annotation.Argument.Value, ProtoBuf.Annotation.Argument.Value.Builder
Enclosing class:
ProtoBuf.Annotation.Argument

public static interface ProtoBuf.Annotation.Argument.ValueOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder


Method Summary
 ProtoBuf.Annotation getAnnotation()
          optional .org.jetbrains.jet.descriptors.serialization.Annotation annotation = 8;
 ProtoBuf.Annotation.Argument.Value getArrayElement(int index)
          repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9;
 int getArrayElementCount()
          repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9;
 java.util.List<ProtoBuf.Annotation.Argument.Value> getArrayElementList()
          repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9;
 int getClassId()
          optional int32 class_id = 6;
 double getDoubleValue()
          optional double double_value = 4;
 int getEnumValueId()
          optional int32 enum_value_id = 7;
 float getFloatValue()
          optional float float_value = 3;
 long getIntValue()
          optional sint64 int_value = 2;
 int getStringValue()
          optional int32 string_value = 5;
 ProtoBuf.Annotation.Argument.Value.Type getType()
          optional .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value.Type type = 1;
 boolean hasAnnotation()
          optional .org.jetbrains.jet.descriptors.serialization.Annotation annotation = 8;
 boolean hasClassId()
          optional int32 class_id = 6;
 boolean hasDoubleValue()
          optional double double_value = 4;
 boolean hasEnumValueId()
          optional int32 enum_value_id = 7;
 boolean hasFloatValue()
          optional float float_value = 3;
 boolean hasIntValue()
          optional sint64 int_value = 2;
 boolean hasStringValue()
          optional int32 string_value = 5;
 boolean hasType()
          optional .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value.Type type = 1;
 
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
 

Method Detail

hasType

boolean hasType()
optional .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value.Type type = 1;
 Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
 of elements of different types. Such entries are allowed in the constant pool of JVM class files.
 However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
 


getType

ProtoBuf.Annotation.Argument.Value.Type getType()
optional .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value.Type type = 1;
 Note: a *Value* has a Type, not an Argument! This is done for future language features which may involve using arrays
 of elements of different types. Such entries are allowed in the constant pool of JVM class files.
 However, to save space, this field is optional: in case of homogeneous arrays, only the type of the first element is required
 


hasIntValue

boolean hasIntValue()
optional sint64 int_value = 2;


getIntValue

long getIntValue()
optional sint64 int_value = 2;


hasFloatValue

boolean hasFloatValue()
optional float float_value = 3;


getFloatValue

float getFloatValue()
optional float float_value = 3;


hasDoubleValue

boolean hasDoubleValue()
optional double double_value = 4;


getDoubleValue

double getDoubleValue()
optional double double_value = 4;


hasStringValue

boolean hasStringValue()
optional int32 string_value = 5;
 id in StringTable
 


getStringValue

int getStringValue()
optional int32 string_value = 5;
 id in StringTable
 


hasClassId

boolean hasClassId()
optional int32 class_id = 6;
 If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
 


getClassId

int getClassId()
optional int32 class_id = 6;
 If type = CLASS, FQ name id of the referenced class; if type = ENUM, FQ name id of the enum class
 


hasEnumValueId

boolean hasEnumValueId()
optional int32 enum_value_id = 7;
 id in StringTable
 


getEnumValueId

int getEnumValueId()
optional int32 enum_value_id = 7;
 id in StringTable
 


hasAnnotation

boolean hasAnnotation()
optional .org.jetbrains.jet.descriptors.serialization.Annotation annotation = 8;


getAnnotation

ProtoBuf.Annotation getAnnotation()
optional .org.jetbrains.jet.descriptors.serialization.Annotation annotation = 8;


getArrayElementList

java.util.List<ProtoBuf.Annotation.Argument.Value> getArrayElementList()
repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9;


getArrayElement

ProtoBuf.Annotation.Argument.Value getArrayElement(int index)
repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9;


getArrayElementCount

int getArrayElementCount()
repeated .org.jetbrains.jet.descriptors.serialization.Annotation.Argument.Value array_element = 9;