Interface ClassificationRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClassificationRequest,ClassificationRequest.Builder
public interface ClassificationRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.StructgetExtras()Implementation-specific information can be encoded herecom.google.protobuf.StructOrBuildergetExtrasOrBuilder()Implementation-specific information can be encoded herejava.lang.StringgetLanguage()string language = 1 [json_name = "language"];com.google.protobuf.ByteStringgetLanguageBytes()string language = 1 [json_name = "language"];java.lang.StringgetSegments(int index)repeated string segments = 2 [json_name = "segments"];com.google.protobuf.ByteStringgetSegmentsBytes(int index)repeated string segments = 2 [json_name = "segments"];intgetSegmentsCount()repeated string segments = 2 [json_name = "segments"];java.util.List<java.lang.String>getSegmentsList()repeated string segments = 2 [json_name = "segments"];booleanhasExtras()Implementation-specific information can be encoded here-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLanguage
java.lang.String getLanguage()
string language = 1 [json_name = "language"];- Returns:
- The language.
-
getLanguageBytes
com.google.protobuf.ByteString getLanguageBytes()
string language = 1 [json_name = "language"];- Returns:
- The bytes for language.
-
getSegmentsList
java.util.List<java.lang.String> getSegmentsList()
repeated string segments = 2 [json_name = "segments"];- Returns:
- A list containing the segments.
-
getSegmentsCount
int getSegmentsCount()
repeated string segments = 2 [json_name = "segments"];- Returns:
- The count of segments.
-
getSegments
java.lang.String getSegments(int index)
repeated string segments = 2 [json_name = "segments"];- Parameters:
index- The index of the element to return.- Returns:
- The segments at the given index.
-
getSegmentsBytes
com.google.protobuf.ByteString getSegmentsBytes(int index)
repeated string segments = 2 [json_name = "segments"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the segments at the given index.
-
hasExtras
boolean hasExtras()
Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];- Returns:
- Whether the extras field is set.
-
getExtras
com.google.protobuf.Struct getExtras()
Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];- Returns:
- The extras.
-
getExtrasOrBuilder
com.google.protobuf.StructOrBuilder getExtrasOrBuilder()
Implementation-specific information can be encoded here
.google.protobuf.Struct extras = 15 [json_name = "extras"];
-
-