Package tensorflow.serving
Class SessionServiceOuterClass.SessionRunResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
- tensorflow.serving.SessionServiceOuterClass.SessionRunResponse.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,SessionServiceOuterClass.SessionRunResponseOrBuilder
- Enclosing class:
- SessionServiceOuterClass.SessionRunResponse
public static final class SessionServiceOuterClass.SessionRunResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder> implements SessionServiceOuterClass.SessionRunResponseOrBuilder
Protobuf typetensorflow.serving.SessionRunResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionServiceOuterClass.SessionRunResponse.BuilderaddAllTensor(java.lang.Iterable<? extends NamedTensorProto> values)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.SessionServiceOuterClass.SessionRunResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SessionServiceOuterClass.SessionRunResponse.BuilderaddTensor(int index, NamedTensorProto value)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.SessionServiceOuterClass.SessionRunResponse.BuilderaddTensor(int index, NamedTensorProto.Builder builderForValue)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.SessionServiceOuterClass.SessionRunResponse.BuilderaddTensor(NamedTensorProto value)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.SessionServiceOuterClass.SessionRunResponse.BuilderaddTensor(NamedTensorProto.Builder builderForValue)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.NamedTensorProto.BuilderaddTensorBuilder()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.NamedTensorProto.BuilderaddTensorBuilder(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.SessionServiceOuterClass.SessionRunResponsebuild()SessionServiceOuterClass.SessionRunResponsebuildPartial()SessionServiceOuterClass.SessionRunResponse.Builderclear()SessionServiceOuterClass.SessionRunResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SessionServiceOuterClass.SessionRunResponse.BuilderclearMetadata()Returned metadata if requested in the options.SessionServiceOuterClass.SessionRunResponse.BuilderclearModelSpec()Effective Model Specification used for session run.SessionServiceOuterClass.SessionRunResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SessionServiceOuterClass.SessionRunResponse.BuilderclearTensor()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.SessionServiceOuterClass.SessionRunResponse.Builderclone()SessionServiceOuterClass.SessionRunResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RunMetadatagetMetadata()Returned metadata if requested in the options.RunMetadata.BuildergetMetadataBuilder()Returned metadata if requested in the options.RunMetadataOrBuildergetMetadataOrBuilder()Returned metadata if requested in the options.Model.ModelSpecgetModelSpec()Effective Model Specification used for session run.Model.ModelSpec.BuildergetModelSpecBuilder()Effective Model Specification used for session run.Model.ModelSpecOrBuildergetModelSpecOrBuilder()Effective Model Specification used for session run.NamedTensorProtogetTensor(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.NamedTensorProto.BuildergetTensorBuilder(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.java.util.List<NamedTensorProto.Builder>getTensorBuilderList()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.intgetTensorCount()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.java.util.List<NamedTensorProto>getTensorList()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.NamedTensorProtoOrBuildergetTensorOrBuilder(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.java.util.List<? extends NamedTensorProtoOrBuilder>getTensorOrBuilderList()NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.booleanhasMetadata()Returned metadata if requested in the options.booleanhasModelSpec()Effective Model Specification used for session run.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SessionServiceOuterClass.SessionRunResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SessionServiceOuterClass.SessionRunResponse.BuildermergeFrom(com.google.protobuf.Message other)SessionServiceOuterClass.SessionRunResponse.BuildermergeFrom(SessionServiceOuterClass.SessionRunResponse other)SessionServiceOuterClass.SessionRunResponse.BuildermergeMetadata(RunMetadata value)Returned metadata if requested in the options.SessionServiceOuterClass.SessionRunResponse.BuildermergeModelSpec(Model.ModelSpec value)Effective Model Specification used for session run.SessionServiceOuterClass.SessionRunResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SessionServiceOuterClass.SessionRunResponse.BuilderremoveTensor(int index)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.SessionServiceOuterClass.SessionRunResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SessionServiceOuterClass.SessionRunResponse.BuildersetMetadata(RunMetadata value)Returned metadata if requested in the options.SessionServiceOuterClass.SessionRunResponse.BuildersetMetadata(RunMetadata.Builder builderForValue)Returned metadata if requested in the options.SessionServiceOuterClass.SessionRunResponse.BuildersetModelSpec(Model.ModelSpec value)Effective Model Specification used for session run.SessionServiceOuterClass.SessionRunResponse.BuildersetModelSpec(Model.ModelSpec.Builder builderForValue)Effective Model Specification used for session run.SessionServiceOuterClass.SessionRunResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)SessionServiceOuterClass.SessionRunResponse.BuildersetTensor(int index, NamedTensorProto value)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.SessionServiceOuterClass.SessionRunResponse.BuildersetTensor(int index, NamedTensorProto.Builder builderForValue)NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.SessionServiceOuterClass.SessionRunResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
clear
public SessionServiceOuterClass.SessionRunResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.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.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
getDefaultInstanceForType
public SessionServiceOuterClass.SessionRunResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SessionServiceOuterClass.SessionRunResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SessionServiceOuterClass.SessionRunResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SessionServiceOuterClass.SessionRunResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
setField
public SessionServiceOuterClass.SessionRunResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
clearField
public SessionServiceOuterClass.SessionRunResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
clearOneof
public SessionServiceOuterClass.SessionRunResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
setRepeatedField
public SessionServiceOuterClass.SessionRunResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
addRepeatedField
public SessionServiceOuterClass.SessionRunResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
mergeFrom
public SessionServiceOuterClass.SessionRunResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
mergeFrom
public SessionServiceOuterClass.SessionRunResponse.Builder mergeFrom(SessionServiceOuterClass.SessionRunResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
mergeFrom
public SessionServiceOuterClass.SessionRunResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>- Throws:
java.io.IOException
-
hasModelSpec
public boolean hasModelSpec()
Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;- Specified by:
hasModelSpecin interfaceSessionServiceOuterClass.SessionRunResponseOrBuilder- Returns:
- Whether the modelSpec field is set.
-
getModelSpec
public Model.ModelSpec getModelSpec()
Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;- Specified by:
getModelSpecin interfaceSessionServiceOuterClass.SessionRunResponseOrBuilder- Returns:
- The modelSpec.
-
setModelSpec
public SessionServiceOuterClass.SessionRunResponse.Builder setModelSpec(Model.ModelSpec value)
Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;
-
setModelSpec
public SessionServiceOuterClass.SessionRunResponse.Builder setModelSpec(Model.ModelSpec.Builder builderForValue)
Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;
-
mergeModelSpec
public SessionServiceOuterClass.SessionRunResponse.Builder mergeModelSpec(Model.ModelSpec value)
Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;
-
clearModelSpec
public SessionServiceOuterClass.SessionRunResponse.Builder clearModelSpec()
Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;
-
getModelSpecBuilder
public Model.ModelSpec.Builder getModelSpecBuilder()
Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;
-
getModelSpecOrBuilder
public Model.ModelSpecOrBuilder getModelSpecOrBuilder()
Effective Model Specification used for session run.
.tensorflow.serving.ModelSpec model_spec = 3;- Specified by:
getModelSpecOrBuilderin interfaceSessionServiceOuterClass.SessionRunResponseOrBuilder
-
getTensorList
public java.util.List<NamedTensorProto> getTensorList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;- Specified by:
getTensorListin interfaceSessionServiceOuterClass.SessionRunResponseOrBuilder
-
getTensorCount
public int getTensorCount()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;- Specified by:
getTensorCountin interfaceSessionServiceOuterClass.SessionRunResponseOrBuilder
-
getTensor
public NamedTensorProto getTensor(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;- Specified by:
getTensorin interfaceSessionServiceOuterClass.SessionRunResponseOrBuilder
-
setTensor
public SessionServiceOuterClass.SessionRunResponse.Builder setTensor(int index, NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
setTensor
public SessionServiceOuterClass.SessionRunResponse.Builder setTensor(int index, NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addTensor
public SessionServiceOuterClass.SessionRunResponse.Builder addTensor(NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addTensor
public SessionServiceOuterClass.SessionRunResponse.Builder addTensor(int index, NamedTensorProto value)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addTensor
public SessionServiceOuterClass.SessionRunResponse.Builder addTensor(NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addTensor
public SessionServiceOuterClass.SessionRunResponse.Builder addTensor(int index, NamedTensorProto.Builder builderForValue)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addAllTensor
public SessionServiceOuterClass.SessionRunResponse.Builder addAllTensor(java.lang.Iterable<? extends NamedTensorProto> values)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
clearTensor
public SessionServiceOuterClass.SessionRunResponse.Builder clearTensor()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
removeTensor
public SessionServiceOuterClass.SessionRunResponse.Builder removeTensor(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
getTensorBuilder
public NamedTensorProto.Builder getTensorBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
getTensorOrBuilder
public NamedTensorProtoOrBuilder getTensorOrBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;- Specified by:
getTensorOrBuilderin interfaceSessionServiceOuterClass.SessionRunResponseOrBuilder
-
getTensorOrBuilderList
public java.util.List<? extends NamedTensorProtoOrBuilder> getTensorOrBuilderList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;- Specified by:
getTensorOrBuilderListin interfaceSessionServiceOuterClass.SessionRunResponseOrBuilder
-
addTensorBuilder
public NamedTensorProto.Builder addTensorBuilder()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
addTensorBuilder
public NamedTensorProto.Builder addTensorBuilder(int index)
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
getTensorBuilderList
public java.util.List<NamedTensorProto.Builder> getTensorBuilderList()
NOTE: The order of the returned tensors may or may not match the fetch order specified in RunRequest.
repeated .tensorflow.NamedTensorProto tensor = 1;
-
hasMetadata
public boolean hasMetadata()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;- Specified by:
hasMetadatain interfaceSessionServiceOuterClass.SessionRunResponseOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public RunMetadata getMetadata()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;- Specified by:
getMetadatain interfaceSessionServiceOuterClass.SessionRunResponseOrBuilder- Returns:
- The metadata.
-
setMetadata
public SessionServiceOuterClass.SessionRunResponse.Builder setMetadata(RunMetadata value)
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
setMetadata
public SessionServiceOuterClass.SessionRunResponse.Builder setMetadata(RunMetadata.Builder builderForValue)
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
mergeMetadata
public SessionServiceOuterClass.SessionRunResponse.Builder mergeMetadata(RunMetadata value)
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
clearMetadata
public SessionServiceOuterClass.SessionRunResponse.Builder clearMetadata()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
getMetadataBuilder
public RunMetadata.Builder getMetadataBuilder()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;
-
getMetadataOrBuilder
public RunMetadataOrBuilder getMetadataOrBuilder()
Returned metadata if requested in the options.
.tensorflow.RunMetadata metadata = 2;- Specified by:
getMetadataOrBuilderin interfaceSessionServiceOuterClass.SessionRunResponseOrBuilder
-
setUnknownFields
public final SessionServiceOuterClass.SessionRunResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
mergeUnknownFields
public final SessionServiceOuterClass.SessionRunResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SessionServiceOuterClass.SessionRunResponse.Builder>
-
-