net.sf.okapi.proto.textunitflat.TextUnitOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: TextUnitFlat.proto
package net.sf.okapi.proto.textunitflat;
public interface TextUnitOrBuilder extends
// @@protoc_insertion_point(interface_extends:TextUnit)
com.google.protobuf.MessageOrBuilder {
/**
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* string mimeType = 2;
* @return The mimeType.
*/
java.lang.String getMimeType();
/**
* string mimeType = 2;
* @return The bytes for mimeType.
*/
com.google.protobuf.ByteString
getMimeTypeBytes();
/**
* optional string name = 3;
* @return Whether the name field is set.
*/
boolean hasName();
/**
* optional string name = 3;
* @return The name.
*/
java.lang.String getName();
/**
* optional string name = 3;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* string tuType = 4;
* @return The tuType.
*/
java.lang.String getTuType();
/**
* string tuType = 4;
* @return The bytes for tuType.
*/
com.google.protobuf.ByteString
getTuTypeBytes();
/**
* bool translatable = 5;
* @return The translatable.
*/
boolean getTranslatable();
/**
* bool preserveWS = 6;
* @return The preserveWS.
*/
boolean getPreserveWS();
/**
* .TextContainer source = 7;
* @return Whether the source field is set.
*/
boolean hasSource();
/**
* .TextContainer source = 7;
* @return The source.
*/
net.sf.okapi.proto.textunitflat.TextContainer getSource();
/**
* .TextContainer source = 7;
*/
net.sf.okapi.proto.textunitflat.TextContainerOrBuilder getSourceOrBuilder();
/**
* map<string, .TextContainer> targets = 8;
*/
int getTargetsCount();
/**
* map<string, .TextContainer> targets = 8;
*/
boolean containsTargets(
java.lang.String key);
/**
* Use {@link #getTargetsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getTargets();
/**
* map<string, .TextContainer> targets = 8;
*/
java.util.Map
getTargetsMap();
/**
* map<string, .TextContainer> targets = 8;
*/
/* nullable */
net.sf.okapi.proto.textunitflat.TextContainer getTargetsOrDefault(
java.lang.String key,
/* nullable */
net.sf.okapi.proto.textunitflat.TextContainer defaultValue);
/**
* map<string, .TextContainer> targets = 8;
*/
net.sf.okapi.proto.textunitflat.TextContainer getTargetsOrThrow(
java.lang.String key);
/**
* repeated .Property properties = 9;
*/
java.util.List
getPropertiesList();
/**
* repeated .Property properties = 9;
*/
net.sf.okapi.proto.textunitflat.Property getProperties(int index);
/**
* repeated .Property properties = 9;
*/
int getPropertiesCount();
/**
* repeated .Property properties = 9;
*/
java.util.List extends net.sf.okapi.proto.textunitflat.PropertyOrBuilder>
getPropertiesOrBuilderList();
/**
* repeated .Property properties = 9;
*/
net.sf.okapi.proto.textunitflat.PropertyOrBuilder getPropertiesOrBuilder(
int index);
/**
* repeated .Note notes = 10;
*/
java.util.List
getNotesList();
/**
* repeated .Note notes = 10;
*/
net.sf.okapi.proto.textunitflat.Note getNotes(int index);
/**
* repeated .Note notes = 10;
*/
int getNotesCount();
/**
* repeated .Note notes = 10;
*/
java.util.List extends net.sf.okapi.proto.textunitflat.NoteOrBuilder>
getNotesOrBuilderList();
/**
* repeated .Note notes = 10;
*/
net.sf.okapi.proto.textunitflat.NoteOrBuilder getNotesOrBuilder(
int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy