public static interface TextAnnotationImpl.RelationProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsLabelScoreMap(String key)
Map containing scores to each label
|
boolean |
containsProperties(String key)
Attribute information
|
Map<String,Double> |
getLabelScoreMap()
Deprecated.
|
int |
getLabelScoreMapCount()
Map containing scores to each label
|
Map<String,Double> |
getLabelScoreMapMap()
Map containing scores to each label
|
double |
getLabelScoreMapOrDefault(String key,
double defaultValue)
Map containing scores to each label
|
double |
getLabelScoreMapOrThrow(String key)
Map containing scores to each label
|
Map<String,String> |
getProperties()
Deprecated.
|
int |
getPropertiesCount()
Attribute information
|
Map<String,String> |
getPropertiesMap()
Attribute information
|
String |
getPropertiesOrDefault(String key,
String defaultValue)
Attribute information
|
String |
getPropertiesOrThrow(String key)
Attribute information
|
String |
getRelationName()
Name of the relation
|
com.google.protobuf.ByteString |
getRelationNameBytes()
Name of the relation
|
double |
getScore()
Score of the relation
|
int |
getSrcConstituent()
Identifier for the source constituent
|
int |
getTargetConstituent()
Identifier for the target constituent
|
boolean |
hasRelationName()
Name of the relation
|
boolean |
hasScore()
Score of the relation
|
boolean |
hasSrcConstituent()
Identifier for the source constituent
|
boolean |
hasTargetConstituent()
Identifier for the target constituent
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasRelationName()
Name of the relation
required string relationName = 1;
String getRelationName()
Name of the relation
required string relationName = 1;
com.google.protobuf.ByteString getRelationNameBytes()
Name of the relation
required string relationName = 1;
boolean hasScore()
Score of the relation
optional double score = 2 [default = 0];
double getScore()
Score of the relation
optional double score = 2 [default = 0];
boolean hasSrcConstituent()
Identifier for the source constituent
required int32 srcConstituent = 3;
int getSrcConstituent()
Identifier for the source constituent
required int32 srcConstituent = 3;
boolean hasTargetConstituent()
Identifier for the target constituent
required int32 targetConstituent = 4;
int getTargetConstituent()
Identifier for the target constituent
required int32 targetConstituent = 4;
int getPropertiesCount()
Attribute information
map<string, string> properties = 5;
boolean containsProperties(String key)
Attribute information
map<string, string> properties = 5;
@Deprecated Map<String,String> getProperties()
getPropertiesMap()
instead.Map<String,String> getPropertiesMap()
Attribute information
map<string, string> properties = 5;
String getPropertiesOrDefault(String key, String defaultValue)
Attribute information
map<string, string> properties = 5;
String getPropertiesOrThrow(String key)
Attribute information
map<string, string> properties = 5;
int getLabelScoreMapCount()
Map containing scores to each label
map<string, double> labelScoreMap = 6;
boolean containsLabelScoreMap(String key)
Map containing scores to each label
map<string, double> labelScoreMap = 6;
@Deprecated Map<String,Double> getLabelScoreMap()
getLabelScoreMapMap()
instead.Map<String,Double> getLabelScoreMapMap()
Map containing scores to each label
map<string, double> labelScoreMap = 6;
double getLabelScoreMapOrDefault(String key, double defaultValue)
Map containing scores to each label
map<string, double> labelScoreMap = 6;
double getLabelScoreMapOrThrow(String key)
Map containing scores to each label
map<string, double> labelScoreMap = 6;
Copyright © 2017. All rights reserved.