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 booleancontainsInlineAnnotations(String key)map<string, string> inlineAnnotations = 14;booleangetAdded()bool added = 11;StringgetCodeType()string codeType = 4;com.google.protobuf.ByteStringgetCodeTypeBytes()string codeType = 4;StringgetData()string data = 5;com.google.protobuf.ByteStringgetDataBytes()string data = 5;StringgetDisplayText()optional string displayText = 12;com.google.protobuf.ByteStringgetDisplayTextBytes()optional string displayText = 12;intgetFlag()int32 flag = 7;intgetId()int32 id = 1;Map<String,String>getInlineAnnotations()Deprecated.intgetInlineAnnotationsCount()map<string, string> inlineAnnotations = 14;Map<String,String>getInlineAnnotationsMap()map<string, string> inlineAnnotations = 14;StringgetInlineAnnotationsOrDefault(String key, String defaultValue)map<string, string> inlineAnnotations = 14;StringgetInlineAnnotationsOrThrow(String key)map<string, string> inlineAnnotations = 14;booleangetIsolated()bool isolated = 10;StringgetMergedData()optional string mergedData = 8;com.google.protobuf.ByteStringgetMergedDataBytes()optional string mergedData = 8;StringgetOriginalId()optional string originalId = 3;com.google.protobuf.ByteStringgetOriginalIdBytes()optional string originalId = 3;StringgetOuterData()optional string outerData = 6;com.google.protobuf.ByteStringgetOuterDataBytes()optional string outerData = 6;intgetPosition()int32 position = 9;PropertygetProperties(int index)repeated .Property properties = 13;intgetPropertiesCount()repeated .Property properties = 13;List<Property>getPropertiesList()repeated .Property properties = 13;PropertyOrBuildergetPropertiesOrBuilder(int index)repeated .Property properties = 13;List<? extends PropertyOrBuilder>getPropertiesOrBuilderList()repeated .Property properties = 13;TextFragment.TagTypegetTagType().TextFragment.TagType tagType = 2;intgetTagTypeValue().TextFragment.TagType tagType = 2;booleanhasDisplayText()optional string displayText = 12;booleanhasMergedData()optional string mergedData = 8;booleanhasOriginalId()optional string originalId = 3;booleanhasOuterData()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;
-
-