Class FieldDescriptor
java.lang.Object
org.apache.activemq.protobuf.compiler.FieldDescriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetGroup()
getName()
getRule()
int
getTag()
getType()
boolean
isGroup()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setGroup
(MessageDescriptor group) void
void
setOptions
(Map<String, OptionDescriptor> options) void
void
setTag
(int tag) void
void
setTypeDescriptor
(TypeDescriptor typeDescriptor) void
-
Field Details
-
STRING_TYPE
-
BOOL_TYPE
-
BYTES_TYPE
-
DOUBLE_TYPE
-
FLOAT_TYPE
-
INT32_TYPE
-
INT64_TYPE
-
UINT32_TYPE
-
UINT64_TYPE
-
SINT32_TYPE
-
SINT64_TYPE
-
FIXED32_TYPE
-
FIXED64_TYPE
-
SFIXED32_TYPE
-
SFIXED64_TYPE
-
REQUIRED_RULE
-
OPTIONAL_RULE
-
REPEATED_RULE
-
INT32_TYPES
-
INT64_TYPES
-
INTEGER_TYPES
-
NUMBER_TYPES
-
SCALAR_TYPES
-
SIGNED_TYPES
-
UNSIGNED_TYPES
-
-
Constructor Details
-
FieldDescriptor
-
-
Method Details
-
validate
-
isGroup
public boolean isGroup() -
getName
-
setName
-
getRule
-
setRule
-
isOptional
public boolean isOptional() -
isRequired
public boolean isRequired() -
isRepeated
public boolean isRepeated() -
getTag
public int getTag() -
setTag
public void setTag(int tag) -
getOptions
-
setOptions
-
getType
-
setType
-
isMessageType
public boolean isMessageType() -
isScalarType
public boolean isScalarType() -
isNumberType
public boolean isNumberType() -
isIntegerType
public boolean isIntegerType() -
isInteger32Type
public boolean isInteger32Type() -
isInteger64Type
public boolean isInteger64Type() -
isStringType
public boolean isStringType() -
getTypeDescriptor
-
setTypeDescriptor
-
getGroup
-
setGroup
-