Package org.tensorflow.distruntime
Class ExtendSessionRequest.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ExtendSessionRequest.Builder>
-
- org.tensorflow.distruntime.ExtendSessionRequest.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,ExtendSessionRequestOrBuilder
- Enclosing class:
- ExtendSessionRequest
public static final class ExtendSessionRequest.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ExtendSessionRequest.Builder> implements ExtendSessionRequestOrBuilder
Protobuf typetensorflow.ExtendSessionRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendSessionRequest.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)ExtendSessionRequestbuild()ExtendSessionRequestbuildPartial()ExtendSessionRequest.Builderclear()ExtendSessionRequest.BuilderclearCurrentGraphVersion()REQUIRED: The version number of the graph to be extended.ExtendSessionRequest.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)ExtendSessionRequest.BuilderclearGraphDef()REQUIRED: The nodes to be added to the session's graph.ExtendSessionRequest.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)ExtendSessionRequest.BuilderclearSessionHandle()REQUIRED: session_handle must be returned by a CreateSession call to the same master service.ExtendSessionRequest.Builderclone()longgetCurrentGraphVersion()REQUIRED: The version number of the graph to be extended.ExtendSessionRequestgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()GraphDefgetGraphDef()REQUIRED: The nodes to be added to the session's graph.GraphDef.BuildergetGraphDefBuilder()REQUIRED: The nodes to be added to the session's graph.GraphDefOrBuildergetGraphDefOrBuilder()REQUIRED: The nodes to be added to the session's graph.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.booleanhasGraphDef()REQUIRED: The nodes to be added to the session's graph.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ExtendSessionRequest.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)ExtendSessionRequest.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)ExtendSessionRequest.BuildermergeFrom(ExtendSessionRequest other)ExtendSessionRequest.BuildermergeGraphDef(GraphDef value)REQUIRED: The nodes to be added to the session's graph.ExtendSessionRequest.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)ExtendSessionRequest.BuildersetCurrentGraphVersion(long value)REQUIRED: The version number of the graph to be extended.ExtendSessionRequest.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)ExtendSessionRequest.BuildersetGraphDef(GraphDef value)REQUIRED: The nodes to be added to the session's graph.ExtendSessionRequest.BuildersetGraphDef(GraphDef.Builder builderForValue)REQUIRED: The nodes to be added to the session's graph.ExtendSessionRequest.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ExtendSessionRequest.BuildersetSessionHandle(String value)REQUIRED: session_handle must be returned by a CreateSession call to the same master service.ExtendSessionRequest.BuildersetSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)REQUIRED: session_handle must be returned by a CreateSession call to the same master service.ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
clear
public ExtendSessionRequest.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<ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
getDefaultInstanceForType
public ExtendSessionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public ExtendSessionRequest build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public ExtendSessionRequest buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
setField
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
clearField
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
clearOneof
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
setRepeatedField
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
addRepeatedField
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
mergeFrom
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
mergeFrom
public ExtendSessionRequest.Builder mergeFrom(ExtendSessionRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ExtendSessionRequest.Builder>
-
mergeFrom
public ExtendSessionRequest.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<ExtendSessionRequest.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 interfaceExtendSessionRequestOrBuilder- 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 interfaceExtendSessionRequestOrBuilder- Returns:
- The bytes for sessionHandle.
-
setSessionHandle
public ExtendSessionRequest.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 ExtendSessionRequest.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 ExtendSessionRequest.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.
-
hasGraphDef
public boolean hasGraphDef()
REQUIRED: The nodes to be added to the session's graph. If any node has the same name as an existing node, the operation will fail with ILLEGAL_ARGUMENT.
.tensorflow.GraphDef graph_def = 2;- Specified by:
hasGraphDefin interfaceExtendSessionRequestOrBuilder- Returns:
- Whether the graphDef field is set.
-
getGraphDef
public GraphDef getGraphDef()
REQUIRED: The nodes to be added to the session's graph. If any node has the same name as an existing node, the operation will fail with ILLEGAL_ARGUMENT.
.tensorflow.GraphDef graph_def = 2;- Specified by:
getGraphDefin interfaceExtendSessionRequestOrBuilder- Returns:
- The graphDef.
-
setGraphDef
public ExtendSessionRequest.Builder setGraphDef(GraphDef value)
REQUIRED: The nodes to be added to the session's graph. If any node has the same name as an existing node, the operation will fail with ILLEGAL_ARGUMENT.
.tensorflow.GraphDef graph_def = 2;
-
setGraphDef
public ExtendSessionRequest.Builder setGraphDef(GraphDef.Builder builderForValue)
REQUIRED: The nodes to be added to the session's graph. If any node has the same name as an existing node, the operation will fail with ILLEGAL_ARGUMENT.
.tensorflow.GraphDef graph_def = 2;
-
mergeGraphDef
public ExtendSessionRequest.Builder mergeGraphDef(GraphDef value)
REQUIRED: The nodes to be added to the session's graph. If any node has the same name as an existing node, the operation will fail with ILLEGAL_ARGUMENT.
.tensorflow.GraphDef graph_def = 2;
-
clearGraphDef
public ExtendSessionRequest.Builder clearGraphDef()
REQUIRED: The nodes to be added to the session's graph. If any node has the same name as an existing node, the operation will fail with ILLEGAL_ARGUMENT.
.tensorflow.GraphDef graph_def = 2;
-
getGraphDefBuilder
public GraphDef.Builder getGraphDefBuilder()
REQUIRED: The nodes to be added to the session's graph. If any node has the same name as an existing node, the operation will fail with ILLEGAL_ARGUMENT.
.tensorflow.GraphDef graph_def = 2;
-
getGraphDefOrBuilder
public GraphDefOrBuilder getGraphDefOrBuilder()
REQUIRED: The nodes to be added to the session's graph. If any node has the same name as an existing node, the operation will fail with ILLEGAL_ARGUMENT.
.tensorflow.GraphDef graph_def = 2;- Specified by:
getGraphDefOrBuilderin interfaceExtendSessionRequestOrBuilder
-
getCurrentGraphVersion
public long getCurrentGraphVersion()
REQUIRED: The version number of the graph to be extended. This will be tested against the current server-side version number, and the operation will fail with FAILED_PRECONDITION if they do not match.
int64 current_graph_version = 3;- Specified by:
getCurrentGraphVersionin interfaceExtendSessionRequestOrBuilder- Returns:
- The currentGraphVersion.
-
setCurrentGraphVersion
public ExtendSessionRequest.Builder setCurrentGraphVersion(long value)
REQUIRED: The version number of the graph to be extended. This will be tested against the current server-side version number, and the operation will fail with FAILED_PRECONDITION if they do not match.
int64 current_graph_version = 3;- Parameters:
value- The currentGraphVersion to set.- Returns:
- This builder for chaining.
-
clearCurrentGraphVersion
public ExtendSessionRequest.Builder clearCurrentGraphVersion()
REQUIRED: The version number of the graph to be extended. This will be tested against the current server-side version number, and the operation will fail with FAILED_PRECONDITION if they do not match.
int64 current_graph_version = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
mergeUnknownFields
public final ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
-