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.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
ExtendSessionRequest
build()
ExtendSessionRequest
buildPartial()
ExtendSessionRequest.Builder
clear()
ExtendSessionRequest.Builder
clearCurrentGraphVersion()
REQUIRED: The version number of the graph to be extended.ExtendSessionRequest.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
ExtendSessionRequest.Builder
clearGraphDef()
REQUIRED: The nodes to be added to the session's graph.ExtendSessionRequest.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
ExtendSessionRequest.Builder
clearSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.ExtendSessionRequest.Builder
clone()
long
getCurrentGraphVersion()
REQUIRED: The version number of the graph to be extended.ExtendSessionRequest
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
GraphDef
getGraphDef()
REQUIRED: The nodes to be added to the session's graph.GraphDef.Builder
getGraphDefBuilder()
REQUIRED: The nodes to be added to the session's graph.GraphDefOrBuilder
getGraphDefOrBuilder()
REQUIRED: The nodes to be added to the session's graph.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.boolean
hasGraphDef()
REQUIRED: The nodes to be added to the session's graph.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ExtendSessionRequest.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
ExtendSessionRequest.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
ExtendSessionRequest.Builder
mergeFrom(ExtendSessionRequest other)
ExtendSessionRequest.Builder
mergeGraphDef(GraphDef value)
REQUIRED: The nodes to be added to the session's graph.ExtendSessionRequest.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
ExtendSessionRequest.Builder
setCurrentGraphVersion(long value)
REQUIRED: The version number of the graph to be extended.ExtendSessionRequest.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
ExtendSessionRequest.Builder
setGraphDef(GraphDef value)
REQUIRED: The nodes to be added to the session's graph.ExtendSessionRequest.Builder
setGraphDef(GraphDef.Builder builderForValue)
REQUIRED: The nodes to be added to the session's graph.ExtendSessionRequest.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ExtendSessionRequest.Builder
setSessionHandle(String value)
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.ExtendSessionRequest.Builder
setSessionHandleBytes(org.nd4j.shade.protobuf.ByteString value)
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
clear
public ExtendSessionRequest.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<ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
getDefaultInstanceForType
public ExtendSessionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public ExtendSessionRequest build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public ExtendSessionRequest buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
setField
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
clearField
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
clearOneof
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
setRepeatedField
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
addRepeatedField
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
mergeFrom
public ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
mergeFrom
public ExtendSessionRequest.Builder mergeFrom(ExtendSessionRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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<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:
getSessionHandle
in 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:
getSessionHandleBytes
in 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:
hasGraphDef
in 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:
getGraphDef
in 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:
getGraphDefOrBuilder
in 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:
getCurrentGraphVersion
in 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:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ExtendSessionRequest.Builder>
-
mergeUnknownFields
public final ExtendSessionRequest.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<ExtendSessionRequest.Builder>
-
-