Package net.sf.okapi.proto
Interface INameableOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
INameable,INameable.Builder
public interface INameableOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetIsTranslatable()bool isTranslatable = 5;StringgetMimeType()string mimeType = 4;com.google.protobuf.ByteStringgetMimeTypeBytes()string mimeType = 4;StringgetName()string name = 2;com.google.protobuf.ByteStringgetNameBytes()string name = 2;booleangetPreserveWhitespaces()bool preserveWhitespaces = 6;IResourcegetResource().IResource resource = 1;IResourceOrBuildergetResourceOrBuilder().IResource resource = 1;StringgetType()string type = 3;com.google.protobuf.ByteStringgetTypeBytes()string type = 3;booleanhasResource().IResource resource = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasResource
boolean hasResource()
.IResource resource = 1;- Returns:
- Whether the resource field is set.
-
getResource
IResource getResource()
.IResource resource = 1;- Returns:
- The resource.
-
getResourceOrBuilder
IResourceOrBuilder getResourceOrBuilder()
.IResource resource = 1;
-
getName
String getName()
string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 2;- Returns:
- The bytes for name.
-
getType
String getType()
string type = 3;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
string type = 3;- Returns:
- The bytes for type.
-
getMimeType
String getMimeType()
string mimeType = 4;- Returns:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.ByteString getMimeTypeBytes()
string mimeType = 4;- Returns:
- The bytes for mimeType.
-
getIsTranslatable
boolean getIsTranslatable()
bool isTranslatable = 5;- Returns:
- The isTranslatable.
-
getPreserveWhitespaces
boolean getPreserveWhitespaces()
bool preserveWhitespaces = 6;- Returns:
- The preserveWhitespaces.
-
-