Package tensorflow.serving
Class Classification.ClassificationResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Classification.ClassificationResult.Builder>
com.google.protobuf.GeneratedMessage.Builder<Classification.ClassificationResult.Builder>
tensorflow.serving.Classification.ClassificationResult.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Classification.ClassificationResultOrBuilder
- Enclosing class:
Classification.ClassificationResult
public static final class Classification.ClassificationResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Classification.ClassificationResult.Builder>
implements Classification.ClassificationResultOrBuilder
Contains one result per input example, in the same order as the input in ClassificationRequest.Protobuf type
tensorflow.serving.ClassificationResult-
Method Summary
Modifier and TypeMethodDescriptionaddAllClassifications(Iterable<? extends Classification.Classifications> values) repeated .tensorflow.serving.Classifications classifications = 1;addClassifications(int index, Classification.Classifications value) repeated .tensorflow.serving.Classifications classifications = 1;addClassifications(int index, Classification.Classifications.Builder builderForValue) repeated .tensorflow.serving.Classifications classifications = 1;repeated .tensorflow.serving.Classifications classifications = 1;addClassifications(Classification.Classifications.Builder builderForValue) repeated .tensorflow.serving.Classifications classifications = 1;repeated .tensorflow.serving.Classifications classifications = 1;addClassificationsBuilder(int index) repeated .tensorflow.serving.Classifications classifications = 1;build()clear()repeated .tensorflow.serving.Classifications classifications = 1;getClassifications(int index) repeated .tensorflow.serving.Classifications classifications = 1;getClassificationsBuilder(int index) repeated .tensorflow.serving.Classifications classifications = 1;repeated .tensorflow.serving.Classifications classifications = 1;intrepeated .tensorflow.serving.Classifications classifications = 1;repeated .tensorflow.serving.Classifications classifications = 1;getClassificationsOrBuilder(int index) repeated .tensorflow.serving.Classifications classifications = 1;List<? extends Classification.ClassificationsOrBuilder> repeated .tensorflow.serving.Classifications classifications = 1;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeClassifications(int index) repeated .tensorflow.serving.Classifications classifications = 1;setClassifications(int index, Classification.Classifications value) repeated .tensorflow.serving.Classifications classifications = 1;setClassifications(int index, Classification.Classifications.Builder builderForValue) repeated .tensorflow.serving.Classifications classifications = 1;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Classification.ClassificationResult.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Classification.ClassificationResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Classification.ClassificationResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Classification.ClassificationResult.Builder>
-
mergeFrom
public Classification.ClassificationResult.Builder mergeFrom(Classification.ClassificationResult other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Classification.ClassificationResult.Builder>
-
mergeFrom
public Classification.ClassificationResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Classification.ClassificationResult.Builder>- Throws:
IOException
-
getClassificationsList
repeated .tensorflow.serving.Classifications classifications = 1;- Specified by:
getClassificationsListin interfaceClassification.ClassificationResultOrBuilder
-
getClassificationsCount
public int getClassificationsCount()repeated .tensorflow.serving.Classifications classifications = 1;- Specified by:
getClassificationsCountin interfaceClassification.ClassificationResultOrBuilder
-
getClassifications
repeated .tensorflow.serving.Classifications classifications = 1;- Specified by:
getClassificationsin interfaceClassification.ClassificationResultOrBuilder
-
setClassifications
public Classification.ClassificationResult.Builder setClassifications(int index, Classification.Classifications value) repeated .tensorflow.serving.Classifications classifications = 1; -
setClassifications
public Classification.ClassificationResult.Builder setClassifications(int index, Classification.Classifications.Builder builderForValue) repeated .tensorflow.serving.Classifications classifications = 1; -
addClassifications
public Classification.ClassificationResult.Builder addClassifications(Classification.Classifications value) repeated .tensorflow.serving.Classifications classifications = 1; -
addClassifications
public Classification.ClassificationResult.Builder addClassifications(int index, Classification.Classifications value) repeated .tensorflow.serving.Classifications classifications = 1; -
addClassifications
public Classification.ClassificationResult.Builder addClassifications(Classification.Classifications.Builder builderForValue) repeated .tensorflow.serving.Classifications classifications = 1; -
addClassifications
public Classification.ClassificationResult.Builder addClassifications(int index, Classification.Classifications.Builder builderForValue) repeated .tensorflow.serving.Classifications classifications = 1; -
addAllClassifications
public Classification.ClassificationResult.Builder addAllClassifications(Iterable<? extends Classification.Classifications> values) repeated .tensorflow.serving.Classifications classifications = 1; -
clearClassifications
repeated .tensorflow.serving.Classifications classifications = 1; -
removeClassifications
repeated .tensorflow.serving.Classifications classifications = 1; -
getClassificationsBuilder
repeated .tensorflow.serving.Classifications classifications = 1; -
getClassificationsOrBuilder
repeated .tensorflow.serving.Classifications classifications = 1;- Specified by:
getClassificationsOrBuilderin interfaceClassification.ClassificationResultOrBuilder
-
getClassificationsOrBuilderList
repeated .tensorflow.serving.Classifications classifications = 1;- Specified by:
getClassificationsOrBuilderListin interfaceClassification.ClassificationResultOrBuilder
-
addClassificationsBuilder
repeated .tensorflow.serving.Classifications classifications = 1; -
addClassificationsBuilder
repeated .tensorflow.serving.Classifications classifications = 1; -
getClassificationsBuilderList
repeated .tensorflow.serving.Classifications classifications = 1;
-