Package org.tensorflow.distruntime
Class RunCallableRequest.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
- org.tensorflow.distruntime.RunCallableRequest.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,RunCallableRequestOrBuilder
- Enclosing class:
- RunCallableRequest
public static final class RunCallableRequest.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder> implements RunCallableRequestOrBuilder
Protobuf typetensorflow.RunCallableRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RunCallableRequest.BuilderaddAllFeed(Iterable<? extends TensorProto> values)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.RunCallableRequest.BuilderaddFeed(int index, TensorProto value)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.RunCallableRequest.BuilderaddFeed(int index, TensorProto.Builder builderForValue)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.RunCallableRequest.BuilderaddFeed(TensorProto value)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.RunCallableRequest.BuilderaddFeed(TensorProto.Builder builderForValue)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.TensorProto.BuilderaddFeedBuilder()Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.TensorProto.BuilderaddFeedBuilder(int index)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.RunCallableRequest.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)RunCallableRequestbuild()RunCallableRequestbuildPartial()RunCallableRequest.Builderclear()RunCallableRequest.BuilderclearFeed()Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.RunCallableRequest.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)RunCallableRequest.BuilderclearHandle()REQUIRED: handle must be returned by a MakeCallable call to the same master service.RunCallableRequest.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)RunCallableRequest.BuilderclearSessionHandle()REQUIRED: session_handle must be returned by a CreateSession call to the same master service.RunCallableRequest.Builderclone()RunCallableRequestgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()TensorProtogetFeed(int index)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.TensorProto.BuildergetFeedBuilder(int index)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.List<TensorProto.Builder>getFeedBuilderList()Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.intgetFeedCount()Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.List<TensorProto>getFeedList()Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.TensorProtoOrBuildergetFeedOrBuilder(int index)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.List<? extends TensorProtoOrBuilder>getFeedOrBuilderList()Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.longgetHandle()REQUIRED: handle must be returned by a MakeCallable call to the same master service.StringgetSessionHandle()REQUIRED: session_handle must be returned by a CreateSession call to the same master service.org.nd4j.shade.protobuf.ByteStringgetSessionHandleBytes()REQUIRED: session_handle must be returned by a CreateSession call to the same master service.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RunCallableRequest.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)RunCallableRequest.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)RunCallableRequest.BuildermergeFrom(RunCallableRequest other)RunCallableRequest.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)RunCallableRequest.BuilderremoveFeed(int index)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.RunCallableRequest.BuildersetFeed(int index, TensorProto value)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.RunCallableRequest.BuildersetFeed(int index, TensorProto.Builder builderForValue)Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.RunCallableRequest.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)RunCallableRequest.BuildersetHandle(long value)REQUIRED: handle must be returned by a MakeCallable call to the same master service.RunCallableRequest.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RunCallableRequest.BuildersetSessionHandle(String value)REQUIRED: session_handle must be returned by a CreateSession call to the same master service.RunCallableRequest.BuildersetSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)REQUIRED: session_handle must be returned by a CreateSession call to the same master service.RunCallableRequest.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.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 org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
clear
public RunCallableRequest.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
getDefaultInstanceForType
public RunCallableRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public RunCallableRequest build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public RunCallableRequest buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public RunCallableRequest.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
setField
public RunCallableRequest.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
clearField
public RunCallableRequest.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
clearOneof
public RunCallableRequest.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
setRepeatedField
public RunCallableRequest.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
addRepeatedField
public RunCallableRequest.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
mergeFrom
public RunCallableRequest.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RunCallableRequest.Builder>
-
mergeFrom
public RunCallableRequest.Builder mergeFrom(RunCallableRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
mergeFrom
public RunCallableRequest.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RunCallableRequest.Builder>- Throws:
IOException
-
getSessionHandle
public String getSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Specified by:
getSessionHandlein interfaceRunCallableRequestOrBuilder- Returns:
- The sessionHandle.
-
getSessionHandleBytes
public org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Specified by:
getSessionHandleBytesin interfaceRunCallableRequestOrBuilder- Returns:
- The bytes for sessionHandle.
-
setSessionHandle
public RunCallableRequest.Builder setSessionHandle(String value)
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Parameters:
value- The sessionHandle to set.- Returns:
- This builder for chaining.
-
clearSessionHandle
public RunCallableRequest.Builder clearSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Returns:
- This builder for chaining.
-
setSessionHandleBytes
public RunCallableRequest.Builder setSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Parameters:
value- The bytes for sessionHandle to set.- Returns:
- This builder for chaining.
-
getHandle
public long getHandle()
REQUIRED: handle must be returned by a MakeCallable call to the same master service.
int64 handle = 2;- Specified by:
getHandlein interfaceRunCallableRequestOrBuilder- Returns:
- The handle.
-
setHandle
public RunCallableRequest.Builder setHandle(long value)
REQUIRED: handle must be returned by a MakeCallable call to the same master service.
int64 handle = 2;- Parameters:
value- The handle to set.- Returns:
- This builder for chaining.
-
clearHandle
public RunCallableRequest.Builder clearHandle()
REQUIRED: handle must be returned by a MakeCallable call to the same master service.
int64 handle = 2;- Returns:
- This builder for chaining.
-
getFeedList
public List<TensorProto> getFeedList()
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;- Specified by:
getFeedListin interfaceRunCallableRequestOrBuilder
-
getFeedCount
public int getFeedCount()
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;- Specified by:
getFeedCountin interfaceRunCallableRequestOrBuilder
-
getFeed
public TensorProto getFeed(int index)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;- Specified by:
getFeedin interfaceRunCallableRequestOrBuilder
-
setFeed
public RunCallableRequest.Builder setFeed(int index, TensorProto value)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
setFeed
public RunCallableRequest.Builder setFeed(int index, TensorProto.Builder builderForValue)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
addFeed
public RunCallableRequest.Builder addFeed(TensorProto value)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
addFeed
public RunCallableRequest.Builder addFeed(int index, TensorProto value)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
addFeed
public RunCallableRequest.Builder addFeed(TensorProto.Builder builderForValue)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
addFeed
public RunCallableRequest.Builder addFeed(int index, TensorProto.Builder builderForValue)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
addAllFeed
public RunCallableRequest.Builder addAllFeed(Iterable<? extends TensorProto> values)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
clearFeed
public RunCallableRequest.Builder clearFeed()
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
removeFeed
public RunCallableRequest.Builder removeFeed(int index)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
getFeedBuilder
public TensorProto.Builder getFeedBuilder(int index)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
getFeedOrBuilder
public TensorProtoOrBuilder getFeedOrBuilder(int index)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;- Specified by:
getFeedOrBuilderin interfaceRunCallableRequestOrBuilder
-
getFeedOrBuilderList
public List<? extends TensorProtoOrBuilder> getFeedOrBuilderList()
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;- Specified by:
getFeedOrBuilderListin interfaceRunCallableRequestOrBuilder
-
addFeedBuilder
public TensorProto.Builder addFeedBuilder()
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
addFeedBuilder
public TensorProto.Builder addFeedBuilder(int index)
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
getFeedBuilderList
public List<TensorProto.Builder> getFeedBuilderList()
Values of the tensors passed as arguments to the callable, in the order defined in the CallableOptions.feed field passed to MakeCallable.
repeated .tensorflow.TensorProto feed = 3;
-
setUnknownFields
public final RunCallableRequest.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
mergeUnknownFields
public final RunCallableRequest.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
-