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.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.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.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.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.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.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.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.RunCallableRequest.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RunCallableRequest
build()
RunCallableRequest
buildPartial()
RunCallableRequest.Builder
clear()
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.RunCallableRequest.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
RunCallableRequest.Builder
clearHandle()
REQUIRED: handle must be returned by a MakeCallable call to the same master service.RunCallableRequest.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
RunCallableRequest.Builder
clearSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.RunCallableRequest.Builder
clone()
RunCallableRequest
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.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.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.int
getFeedCount()
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.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.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.long
getHandle()
REQUIRED: handle must be returned by a MakeCallable call to the same master service.String
getSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.org.nd4j.shade.protobuf.ByteString
getSessionHandleBytes()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RunCallableRequest.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
RunCallableRequest.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
RunCallableRequest.Builder
mergeFrom(RunCallableRequest other)
RunCallableRequest.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
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.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.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.RunCallableRequest.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
RunCallableRequest.Builder
setHandle(long value)
REQUIRED: handle must be returned by a MakeCallable call to the same master service.RunCallableRequest.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RunCallableRequest.Builder
setSessionHandle(String value)
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.RunCallableRequest.Builder
setSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.RunCallableRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
clear
public RunCallableRequest.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
getDefaultInstanceForType
public RunCallableRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public RunCallableRequest build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public RunCallableRequest buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public RunCallableRequest.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
setField
public RunCallableRequest.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
clearField
public RunCallableRequest.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
clearOneof
public RunCallableRequest.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
addRepeatedField
public RunCallableRequest.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
mergeFrom
public RunCallableRequest.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<RunCallableRequest.Builder>
-
mergeFrom
public RunCallableRequest.Builder mergeFrom(RunCallableRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getSessionHandle
in 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:
getSessionHandleBytes
in 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:
getHandle
in 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:
getFeedList
in 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:
getFeedCount
in 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:
getFeed
in 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:
getFeedOrBuilder
in 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:
getFeedOrBuilderList
in 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:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
mergeUnknownFields
public final RunCallableRequest.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
-