Package net.sf.okapi.proto
Interface CodeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Code
,Code.Builder
public interface CodeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsInlineAnnotations(String key)
map<string, string> inlineAnnotations = 14;
boolean
getAdded()
bool added = 11;
String
getCodeType()
string codeType = 4;
com.google.protobuf.ByteString
getCodeTypeBytes()
string codeType = 4;
String
getData()
string data = 5;
com.google.protobuf.ByteString
getDataBytes()
string data = 5;
String
getDisplayText()
optional string displayText = 12;
com.google.protobuf.ByteString
getDisplayTextBytes()
optional string displayText = 12;
int
getFlag()
int32 flag = 7;
int
getId()
int32 id = 1;
Map<String,String>
getInlineAnnotations()
Deprecated.int
getInlineAnnotationsCount()
map<string, string> inlineAnnotations = 14;
Map<String,String>
getInlineAnnotationsMap()
map<string, string> inlineAnnotations = 14;
String
getInlineAnnotationsOrDefault(String key, String defaultValue)
map<string, string> inlineAnnotations = 14;
String
getInlineAnnotationsOrThrow(String key)
map<string, string> inlineAnnotations = 14;
boolean
getIsolated()
bool isolated = 10;
String
getMergedData()
optional string mergedData = 8;
com.google.protobuf.ByteString
getMergedDataBytes()
optional string mergedData = 8;
String
getOriginalId()
optional string originalId = 3;
com.google.protobuf.ByteString
getOriginalIdBytes()
optional string originalId = 3;
String
getOuterData()
optional string outerData = 6;
com.google.protobuf.ByteString
getOuterDataBytes()
optional string outerData = 6;
int
getPosition()
int32 position = 9;
Property
getProperties(int index)
repeated .Property properties = 13;
int
getPropertiesCount()
repeated .Property properties = 13;
List<Property>
getPropertiesList()
repeated .Property properties = 13;
PropertyOrBuilder
getPropertiesOrBuilder(int index)
repeated .Property properties = 13;
List<? extends PropertyOrBuilder>
getPropertiesOrBuilderList()
repeated .Property properties = 13;
TextFragment.TagType
getTagType()
.TextFragment.TagType tagType = 2;
int
getTagTypeValue()
.TextFragment.TagType tagType = 2;
boolean
hasDisplayText()
optional string displayText = 12;
boolean
hasMergedData()
optional string mergedData = 8;
boolean
hasOriginalId()
optional string originalId = 3;
boolean
hasOuterData()
optional string outerData = 6;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
int getId()
int32 id = 1;
- Returns:
- The id.
-
getTagTypeValue
int getTagTypeValue()
.TextFragment.TagType tagType = 2;
- Returns:
- The enum numeric value on the wire for tagType.
-
getTagType
TextFragment.TagType getTagType()
.TextFragment.TagType tagType = 2;
- Returns:
- The tagType.
-
hasOriginalId
boolean hasOriginalId()
optional string originalId = 3;
- Returns:
- Whether the originalId field is set.
-
getOriginalId
String getOriginalId()
optional string originalId = 3;
- Returns:
- The originalId.
-
getOriginalIdBytes
com.google.protobuf.ByteString getOriginalIdBytes()
optional string originalId = 3;
- Returns:
- The bytes for originalId.
-
getCodeType
String getCodeType()
string codeType = 4;
- Returns:
- The codeType.
-
getCodeTypeBytes
com.google.protobuf.ByteString getCodeTypeBytes()
string codeType = 4;
- Returns:
- The bytes for codeType.
-
getData
String getData()
string data = 5;
- Returns:
- The data.
-
getDataBytes
com.google.protobuf.ByteString getDataBytes()
string data = 5;
- Returns:
- The bytes for data.
-
hasOuterData
boolean hasOuterData()
optional string outerData = 6;
- Returns:
- Whether the outerData field is set.
-
getOuterData
String getOuterData()
optional string outerData = 6;
- Returns:
- The outerData.
-
getOuterDataBytes
com.google.protobuf.ByteString getOuterDataBytes()
optional string outerData = 6;
- Returns:
- The bytes for outerData.
-
getFlag
int getFlag()
int32 flag = 7;
- Returns:
- The flag.
-
hasMergedData
boolean hasMergedData()
optional string mergedData = 8;
- Returns:
- Whether the mergedData field is set.
-
getMergedData
String getMergedData()
optional string mergedData = 8;
- Returns:
- The mergedData.
-
getMergedDataBytes
com.google.protobuf.ByteString getMergedDataBytes()
optional string mergedData = 8;
- Returns:
- The bytes for mergedData.
-
getPosition
int getPosition()
int32 position = 9;
- Returns:
- The position.
-
getIsolated
boolean getIsolated()
bool isolated = 10;
- Returns:
- The isolated.
-
getAdded
boolean getAdded()
bool added = 11;
- Returns:
- The added.
-
hasDisplayText
boolean hasDisplayText()
optional string displayText = 12;
- Returns:
- Whether the displayText field is set.
-
getDisplayText
String getDisplayText()
optional string displayText = 12;
- Returns:
- The displayText.
-
getDisplayTextBytes
com.google.protobuf.ByteString getDisplayTextBytes()
optional string displayText = 12;
- Returns:
- The bytes for displayText.
-
getProperties
Property getProperties(int index)
repeated .Property properties = 13;
-
getPropertiesCount
int getPropertiesCount()
repeated .Property properties = 13;
-
getPropertiesOrBuilderList
List<? extends PropertyOrBuilder> getPropertiesOrBuilderList()
repeated .Property properties = 13;
-
getPropertiesOrBuilder
PropertyOrBuilder getPropertiesOrBuilder(int index)
repeated .Property properties = 13;
-
getInlineAnnotationsCount
int getInlineAnnotationsCount()
map<string, string> inlineAnnotations = 14;
-
containsInlineAnnotations
boolean containsInlineAnnotations(String key)
map<string, string> inlineAnnotations = 14;
-
getInlineAnnotations
@Deprecated Map<String,String> getInlineAnnotations()
Deprecated.UsegetInlineAnnotationsMap()
instead.
-
getInlineAnnotationsMap
Map<String,String> getInlineAnnotationsMap()
map<string, string> inlineAnnotations = 14;
-
getInlineAnnotationsOrDefault
String getInlineAnnotationsOrDefault(String key, String defaultValue)
map<string, string> inlineAnnotations = 14;
-
-