Package org.platanios.tensorflow.proto
Class RunCallableRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
- org.platanios.tensorflow.proto.RunCallableRequest.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
,RunCallableRequestOrBuilder
- Enclosing class:
- RunCallableRequest
public static final class RunCallableRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder> implements RunCallableRequestOrBuilder
Protobuf typeorg.platanios.tensorflow.proto.RunCallableRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RunCallableRequest.Builder
addAllFeed(java.lang.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(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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(com.google.protobuf.Descriptors.FieldDescriptor field)
RunCallableRequest.Builder
clearHandle()
REQUIRED: handle must be returned by a MakeCallable call to the same master service.RunCallableRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RunCallableRequest.Builder
clearRequestId()
Unique identifier for this request.RunCallableRequest.Builder
clearSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.RunCallableRequest.Builder
clone()
RunCallableRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.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.java.util.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.java.util.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.java.util.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.long
getRequestId()
Unique identifier for this request.java.lang.String
getSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.com.google.protobuf.ByteString
getSessionHandleBytes()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RunCallableRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RunCallableRequest.Builder
mergeFrom(com.google.protobuf.Message other)
RunCallableRequest.Builder
mergeFrom(RunCallableRequest other)
RunCallableRequest.Builder
mergeUnknownFields(com.google.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(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
RunCallableRequest.Builder
setHandle(long value)
REQUIRED: handle must be returned by a MakeCallable call to the same master service.RunCallableRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
RunCallableRequest.Builder
setRequestId(long value)
Unique identifier for this request.RunCallableRequest.Builder
setSessionHandle(java.lang.String value)
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.RunCallableRequest.Builder
setSessionHandleBytes(com.google.protobuf.ByteString value)
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.RunCallableRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
clear
public RunCallableRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
getDefaultInstanceForType
public RunCallableRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RunCallableRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RunCallableRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RunCallableRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
setField
public RunCallableRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
clearField
public RunCallableRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
clearOneof
public RunCallableRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
setRepeatedField
public RunCallableRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
addRepeatedField
public RunCallableRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
mergeFrom
public RunCallableRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RunCallableRequest.Builder>
-
mergeFrom
public RunCallableRequest.Builder mergeFrom(RunCallableRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
mergeFrom
public RunCallableRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RunCallableRequest.Builder>
- Throws:
java.io.IOException
-
getSessionHandle
public java.lang.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 com.google.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(java.lang.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(com.google.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 java.util.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.TensorProto feed = 3;
-
addAllFeed
public RunCallableRequest.Builder addAllFeed(java.lang.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.TensorProto feed = 3;
- Specified by:
getFeedOrBuilder
in interfaceRunCallableRequestOrBuilder
-
getFeedOrBuilderList
public java.util.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.TensorProto feed = 3;
-
getFeedBuilderList
public java.util.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 .org.platanios.tensorflow.proto.TensorProto feed = 3;
-
getRequestId
public long getRequestId()
Unique identifier for this request. Every RunCallableRequest must have a unique request_id, and retried RunCallableRequest must have the same request_id. If request_id is zero, retry detection is disabled.
int64 request_id = 4;
- Specified by:
getRequestId
in interfaceRunCallableRequestOrBuilder
- Returns:
- The requestId.
-
setRequestId
public RunCallableRequest.Builder setRequestId(long value)
Unique identifier for this request. Every RunCallableRequest must have a unique request_id, and retried RunCallableRequest must have the same request_id. If request_id is zero, retry detection is disabled.
int64 request_id = 4;
- Parameters:
value
- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
public RunCallableRequest.Builder clearRequestId()
Unique identifier for this request. Every RunCallableRequest must have a unique request_id, and retried RunCallableRequest must have the same request_id. If request_id is zero, retry detection is disabled.
int64 request_id = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final RunCallableRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
mergeUnknownFields
public final RunCallableRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RunCallableRequest.Builder>
-
-