public static final class TextAnnotationImpl.ViewDataProto extends com.google.protobuf.GeneratedMessageV3 implements TextAnnotationImpl.ViewDataProtoOrBuilder
ViewData message structureProtobuf type
textannotation.ViewDataProto
Modifier and Type | Class and Description |
---|---|
static class |
TextAnnotationImpl.ViewDataProto.Builder
ViewData message structure
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
CONSTITUENTS_FIELD_NUMBER |
static int |
GENERATOR_FIELD_NUMBER |
static com.google.protobuf.Parser<TextAnnotationImpl.ViewDataProto> |
PARSER
Deprecated.
|
static int |
RELATIONS_FIELD_NUMBER |
static int |
SCORE_FIELD_NUMBER |
static int |
VIEWNAME_FIELD_NUMBER |
static int |
VIEWTYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TextAnnotationImpl.ConstituentProto |
getConstituents(int index)
List of constituents in the view
Note: Order of constituents stored is important and should be preserved
|
int |
getConstituentsCount()
List of constituents in the view
Note: Order of constituents stored is important and should be preserved
|
List<TextAnnotationImpl.ConstituentProto> |
getConstituentsList()
List of constituents in the view
Note: Order of constituents stored is important and should be preserved
|
TextAnnotationImpl.ConstituentProtoOrBuilder |
getConstituentsOrBuilder(int index)
List of constituents in the view
Note: Order of constituents stored is important and should be preserved
|
List<? extends TextAnnotationImpl.ConstituentProtoOrBuilder> |
getConstituentsOrBuilderList()
List of constituents in the view
Note: Order of constituents stored is important and should be preserved
|
static TextAnnotationImpl.ViewDataProto |
getDefaultInstance() |
TextAnnotationImpl.ViewDataProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGenerator()
Class name of the generator
|
com.google.protobuf.ByteString |
getGeneratorBytes()
Class name of the generator
|
com.google.protobuf.Parser<TextAnnotationImpl.ViewDataProto> |
getParserForType() |
TextAnnotationImpl.RelationProto |
getRelations(int index)
List of relations in the view
Note: Order of constituents stored is important and should be preserved
|
int |
getRelationsCount()
List of relations in the view
Note: Order of constituents stored is important and should be preserved
|
List<TextAnnotationImpl.RelationProto> |
getRelationsList()
List of relations in the view
Note: Order of constituents stored is important and should be preserved
|
TextAnnotationImpl.RelationProtoOrBuilder |
getRelationsOrBuilder(int index)
List of relations in the view
Note: Order of constituents stored is important and should be preserved
|
List<? extends TextAnnotationImpl.RelationProtoOrBuilder> |
getRelationsOrBuilderList()
List of relations in the view
Note: Order of constituents stored is important and should be preserved
|
double |
getScore()
Score of the View
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getViewName()
Name of the view
|
com.google.protobuf.ByteString |
getViewNameBytes()
Name of the view
|
String |
getViewType()
Type of the view.
|
com.google.protobuf.ByteString |
getViewTypeBytes()
Type of the view.
|
boolean |
hasGenerator()
Class name of the generator
|
int |
hashCode() |
boolean |
hasScore()
Score of the View
|
boolean |
hasViewName()
Name of the view
|
boolean |
hasViewType()
Type of the view.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TextAnnotationImpl.ViewDataProto.Builder |
newBuilder() |
static TextAnnotationImpl.ViewDataProto.Builder |
newBuilder(TextAnnotationImpl.ViewDataProto prototype) |
TextAnnotationImpl.ViewDataProto.Builder |
newBuilderForType() |
protected TextAnnotationImpl.ViewDataProto.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TextAnnotationImpl.ViewDataProto |
parseDelimitedFrom(InputStream input) |
static TextAnnotationImpl.ViewDataProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextAnnotationImpl.ViewDataProto |
parseFrom(byte[] data) |
static TextAnnotationImpl.ViewDataProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextAnnotationImpl.ViewDataProto |
parseFrom(com.google.protobuf.ByteString data) |
static TextAnnotationImpl.ViewDataProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextAnnotationImpl.ViewDataProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TextAnnotationImpl.ViewDataProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TextAnnotationImpl.ViewDataProto |
parseFrom(InputStream input) |
static TextAnnotationImpl.ViewDataProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TextAnnotationImpl.ViewDataProto> |
parser() |
TextAnnotationImpl.ViewDataProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int VIEWTYPE_FIELD_NUMBER
public static final int VIEWNAME_FIELD_NUMBER
public static final int GENERATOR_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
public static final int CONSTITUENTS_FIELD_NUMBER
public static final int RELATIONS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<TextAnnotationImpl.ViewDataProto> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasViewType()
Type of the view. Corresponds to class name in core-utilities
required string viewType = 1;
hasViewType
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public String getViewType()
Type of the view. Corresponds to class name in core-utilities
required string viewType = 1;
getViewType
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public com.google.protobuf.ByteString getViewTypeBytes()
Type of the view. Corresponds to class name in core-utilities
required string viewType = 1;
getViewTypeBytes
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public boolean hasViewName()
Name of the view
required string viewName = 2;
hasViewName
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public String getViewName()
Name of the view
required string viewName = 2;
getViewName
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public com.google.protobuf.ByteString getViewNameBytes()
Name of the view
required string viewName = 2;
getViewNameBytes
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public boolean hasGenerator()
Class name of the generator
required string generator = 3;
hasGenerator
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public String getGenerator()
Class name of the generator
required string generator = 3;
getGenerator
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public com.google.protobuf.ByteString getGeneratorBytes()
Class name of the generator
required string generator = 3;
getGeneratorBytes
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public boolean hasScore()
Score of the View
optional double score = 4 [default = 0];
hasScore
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public double getScore()
Score of the View
optional double score = 4 [default = 0];
getScore
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public List<TextAnnotationImpl.ConstituentProto> getConstituentsList()
List of constituents in the view Note: Order of constituents stored is important and should be preserved
repeated .textannotation.ConstituentProto constituents = 5;
getConstituentsList
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public List<? extends TextAnnotationImpl.ConstituentProtoOrBuilder> getConstituentsOrBuilderList()
List of constituents in the view Note: Order of constituents stored is important and should be preserved
repeated .textannotation.ConstituentProto constituents = 5;
getConstituentsOrBuilderList
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public int getConstituentsCount()
List of constituents in the view Note: Order of constituents stored is important and should be preserved
repeated .textannotation.ConstituentProto constituents = 5;
getConstituentsCount
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public TextAnnotationImpl.ConstituentProto getConstituents(int index)
List of constituents in the view Note: Order of constituents stored is important and should be preserved
repeated .textannotation.ConstituentProto constituents = 5;
getConstituents
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public TextAnnotationImpl.ConstituentProtoOrBuilder getConstituentsOrBuilder(int index)
List of constituents in the view Note: Order of constituents stored is important and should be preserved
repeated .textannotation.ConstituentProto constituents = 5;
getConstituentsOrBuilder
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public List<TextAnnotationImpl.RelationProto> getRelationsList()
List of relations in the view Note: Order of constituents stored is important and should be preserved
repeated .textannotation.RelationProto relations = 6;
getRelationsList
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public List<? extends TextAnnotationImpl.RelationProtoOrBuilder> getRelationsOrBuilderList()
List of relations in the view Note: Order of constituents stored is important and should be preserved
repeated .textannotation.RelationProto relations = 6;
getRelationsOrBuilderList
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public int getRelationsCount()
List of relations in the view Note: Order of constituents stored is important and should be preserved
repeated .textannotation.RelationProto relations = 6;
getRelationsCount
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public TextAnnotationImpl.RelationProto getRelations(int index)
List of relations in the view Note: Order of constituents stored is important and should be preserved
repeated .textannotation.RelationProto relations = 6;
getRelations
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public TextAnnotationImpl.RelationProtoOrBuilder getRelationsOrBuilder(int index)
List of relations in the view Note: Order of constituents stored is important and should be preserved
repeated .textannotation.RelationProto relations = 6;
getRelationsOrBuilder
in interface TextAnnotationImpl.ViewDataProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static TextAnnotationImpl.ViewDataProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TextAnnotationImpl.ViewDataProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TextAnnotationImpl.ViewDataProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TextAnnotationImpl.ViewDataProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TextAnnotationImpl.ViewDataProto parseFrom(InputStream input) throws IOException
IOException
public static TextAnnotationImpl.ViewDataProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TextAnnotationImpl.ViewDataProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TextAnnotationImpl.ViewDataProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TextAnnotationImpl.ViewDataProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TextAnnotationImpl.ViewDataProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TextAnnotationImpl.ViewDataProto.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TextAnnotationImpl.ViewDataProto.Builder newBuilder()
public static TextAnnotationImpl.ViewDataProto.Builder newBuilder(TextAnnotationImpl.ViewDataProto prototype)
public TextAnnotationImpl.ViewDataProto.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TextAnnotationImpl.ViewDataProto.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static TextAnnotationImpl.ViewDataProto getDefaultInstance()
public static com.google.protobuf.Parser<TextAnnotationImpl.ViewDataProto> parser()
public com.google.protobuf.Parser<TextAnnotationImpl.ViewDataProto> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public TextAnnotationImpl.ViewDataProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2017. All rights reserved.