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
Modifier and TypeMethodDescriptioncom.google.protobuf.StructImplementation-specific information can be encoded herecom.google.protobuf.StructOrBuilderImplementation-specific information can be encoded herestring language = 1 [json_name = "language"];com.google.protobuf.ByteStringstring language = 1 [json_name = "language"];getSegments(int index) repeated string segments = 2 [json_name = "segments"];com.google.protobuf.ByteStringgetSegmentsBytes(int index) repeated string segments = 2 [json_name = "segments"];intrepeated string segments = 2 [json_name = "segments"];repeated string segments = 2 [json_name = "segments"];booleanImplementation-specific information can be encoded hereMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLanguage
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
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
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"];
-