Package net.sf.okapi.proto.textunitflat
Interface PropertyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Property,Property.Builder
public interface PropertyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()string name = 1;com.google.protobuf.ByteStringgetNameBytes()string name = 1;booleangetReadOnly()optional bool readOnly = 3;StringgetValue()optional string value = 2;com.google.protobuf.ByteStringgetValueBytes()optional string value = 2;booleanhasReadOnly()optional bool readOnly = 3;booleanhasValue()optional string value = 2;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 1;- Returns:
- The bytes for name.
-
hasValue
boolean hasValue()
optional string value = 2;- Returns:
- Whether the value field is set.
-
getValue
String getValue()
optional string value = 2;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
optional string value = 2;- Returns:
- The bytes for value.
-
hasReadOnly
boolean hasReadOnly()
optional bool readOnly = 3;- Returns:
- Whether the readOnly field is set.
-
getReadOnly
boolean getReadOnly()
optional bool readOnly = 3;- Returns:
- The readOnly.
-
-