All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.okapi.proto.textunitflat.TextPartOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.47.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: TextUnitFlat.proto

package net.sf.okapi.proto.textunitflat;

public interface TextPartOrBuilder extends
    // @@protoc_insertion_point(interface_extends:TextPart)
    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();

  /**
   * optional string originalId = 2;
   * @return Whether the originalId field is set.
   */
  boolean hasOriginalId();
  /**
   * optional string originalId = 2;
   * @return The originalId.
   */
  java.lang.String getOriginalId();
  /**
   * optional string originalId = 2;
   * @return The bytes for originalId.
   */
  com.google.protobuf.ByteString
      getOriginalIdBytes();

  /**
   * .TextFragment text = 3;
   * @return Whether the text field is set.
   */
  boolean hasText();
  /**
   * .TextFragment text = 3;
   * @return The text.
   */
  net.sf.okapi.proto.textunitflat.TextFragment getText();
  /**
   * .TextFragment text = 3;
   */
  net.sf.okapi.proto.textunitflat.TextFragmentOrBuilder getTextOrBuilder();

  /**
   * .TextPart.WhitespaceStrategy whitespaceStrategy = 4;
   * @return The enum numeric value on the wire for whitespaceStrategy.
   */
  int getWhitespaceStrategyValue();
  /**
   * .TextPart.WhitespaceStrategy whitespaceStrategy = 4;
   * @return The whitespaceStrategy.
   */
  net.sf.okapi.proto.textunitflat.TextPart.WhitespaceStrategy getWhitespaceStrategy();

  /**
   * repeated .Property properties = 5;
   */
  java.util.List 
      getPropertiesList();
  /**
   * repeated .Property properties = 5;
   */
  net.sf.okapi.proto.textunitflat.Property getProperties(int index);
  /**
   * repeated .Property properties = 5;
   */
  int getPropertiesCount();
  /**
   * repeated .Property properties = 5;
   */
  java.util.List 
      getPropertiesOrBuilderList();
  /**
   * repeated .Property properties = 5;
   */
  net.sf.okapi.proto.textunitflat.PropertyOrBuilder getPropertiesOrBuilder(
      int index);

  /**
   * bool segment = 6;
   * @return The segment.
   */
  boolean getSegment();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy