Package net.sf.okapi.proto
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;Property.PropertyTypegetTypes(int index)repeated .Property.PropertyType types = 4;intgetTypesCount()repeated .Property.PropertyType types = 4;List<Property.PropertyType>getTypesList()repeated .Property.PropertyType types = 4;intgetTypesValue(int index)repeated .Property.PropertyType types = 4;List<Integer>getTypesValueList()repeated .Property.PropertyType types = 4;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.
-
getTypesList
List<Property.PropertyType> getTypesList()
repeated .Property.PropertyType types = 4;- Returns:
- A list containing the types.
-
getTypesCount
int getTypesCount()
repeated .Property.PropertyType types = 4;- Returns:
- The count of types.
-
getTypes
Property.PropertyType getTypes(int index)
repeated .Property.PropertyType types = 4;- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
getTypesValueList
List<Integer> getTypesValueList()
repeated .Property.PropertyType types = 4;- Returns:
- A list containing the enum numeric values on the wire for types.
-
getTypesValue
int getTypesValue(int index)
repeated .Property.PropertyType types = 4;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of types at the given index.
-
-