Package org.platanios.tensorflow.proto
Class RegisterGraphRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
- org.platanios.tensorflow.proto.RegisterGraphRequest.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
,RegisterGraphRequestOrBuilder
- Enclosing class:
- RegisterGraphRequest
public static final class RegisterGraphRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder> implements RegisterGraphRequestOrBuilder
Protobuf typeorg.platanios.tensorflow.proto.RegisterGraphRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RegisterGraphRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
RegisterGraphRequest
build()
RegisterGraphRequest
buildPartial()
RegisterGraphRequest.Builder
clear()
RegisterGraphRequest.Builder
clearCollectiveGraphKey()
If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs.RegisterGraphRequest.Builder
clearConfigProto()
ConfigProto from the session in which this graph was created.RegisterGraphRequest.Builder
clearCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.RegisterGraphRequest.Builder
clearDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RegisterGraphRequest.Builder
clearGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.RegisterGraphRequest.Builder
clearGraphOptions()
Configuration options for the session in which this graph was created.RegisterGraphRequest.Builder
clearHasControlFlow()
Deprecated.RegisterGraphRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RegisterGraphRequest.Builder
clearSessionHandle()
Subgraphs are scoped within one session.RegisterGraphRequest.Builder
clone()
long
getCollectiveGraphKey()
If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs.ConfigProto
getConfigProto()
ConfigProto from the session in which this graph was created.ConfigProto.Builder
getConfigProtoBuilder()
ConfigProto from the session in which this graph was created.ConfigProtoOrBuilder
getConfigProtoOrBuilder()
ConfigProto from the session in which this graph was created.boolean
getCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.DebugOptions
getDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).DebugOptions.Builder
getDebugOptionsBuilder()
Field(s) used by TensorFlow Debugger (tfdbg).DebugOptionsOrBuilder
getDebugOptionsOrBuilder()
Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
GraphDef
getGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.GraphDef.Builder
getGraphDefBuilder()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.GraphDefOrBuilder
getGraphDefOrBuilder()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.GraphOptions
getGraphOptions()
Configuration options for the session in which this graph was created.GraphOptions.Builder
getGraphOptionsBuilder()
Configuration options for the session in which this graph was created.GraphOptionsOrBuilder
getGraphOptionsOrBuilder()
Configuration options for the session in which this graph was created.boolean
getHasControlFlow()
Deprecated.java.lang.String
getSessionHandle()
Subgraphs are scoped within one session.com.google.protobuf.ByteString
getSessionHandleBytes()
Subgraphs are scoped within one session.boolean
hasConfigProto()
ConfigProto from the session in which this graph was created.boolean
hasDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).boolean
hasGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.boolean
hasGraphOptions()
Configuration options for the session in which this graph was created.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RegisterGraphRequest.Builder
mergeConfigProto(ConfigProto value)
ConfigProto from the session in which this graph was created.RegisterGraphRequest.Builder
mergeDebugOptions(DebugOptions value)
Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RegisterGraphRequest.Builder
mergeFrom(com.google.protobuf.Message other)
RegisterGraphRequest.Builder
mergeFrom(RegisterGraphRequest other)
RegisterGraphRequest.Builder
mergeGraphDef(GraphDef value)
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.RegisterGraphRequest.Builder
mergeGraphOptions(GraphOptions value)
Configuration options for the session in which this graph was created.RegisterGraphRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RegisterGraphRequest.Builder
setCollectiveGraphKey(long value)
If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs.RegisterGraphRequest.Builder
setConfigProto(ConfigProto value)
ConfigProto from the session in which this graph was created.RegisterGraphRequest.Builder
setConfigProto(ConfigProto.Builder builderForValue)
ConfigProto from the session in which this graph was created.RegisterGraphRequest.Builder
setCreateWorkerSessionCalled(boolean value)
Set to true if `CreateWorkerSession` was called for `session_handle`.RegisterGraphRequest.Builder
setDebugOptions(DebugOptions value)
Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.Builder
setDebugOptions(DebugOptions.Builder builderForValue)
Field(s) used by TensorFlow Debugger (tfdbg).RegisterGraphRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
RegisterGraphRequest.Builder
setGraphDef(GraphDef value)
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.RegisterGraphRequest.Builder
setGraphDef(GraphDef.Builder builderForValue)
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.RegisterGraphRequest.Builder
setGraphOptions(GraphOptions value)
Configuration options for the session in which this graph was created.RegisterGraphRequest.Builder
setGraphOptions(GraphOptions.Builder builderForValue)
Configuration options for the session in which this graph was created.RegisterGraphRequest.Builder
setHasControlFlow(boolean value)
Deprecated.RegisterGraphRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
RegisterGraphRequest.Builder
setSessionHandle(java.lang.String value)
Subgraphs are scoped within one session.RegisterGraphRequest.Builder
setSessionHandleBytes(com.google.protobuf.ByteString value)
Subgraphs are scoped within one session.RegisterGraphRequest.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<RegisterGraphRequest.Builder>
-
clear
public RegisterGraphRequest.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<RegisterGraphRequest.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<RegisterGraphRequest.Builder>
-
getDefaultInstanceForType
public RegisterGraphRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RegisterGraphRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RegisterGraphRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RegisterGraphRequest.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<RegisterGraphRequest.Builder>
-
setField
public RegisterGraphRequest.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<RegisterGraphRequest.Builder>
-
clearField
public RegisterGraphRequest.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<RegisterGraphRequest.Builder>
-
clearOneof
public RegisterGraphRequest.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<RegisterGraphRequest.Builder>
-
setRepeatedField
public RegisterGraphRequest.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<RegisterGraphRequest.Builder>
-
addRepeatedField
public RegisterGraphRequest.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<RegisterGraphRequest.Builder>
-
mergeFrom
public RegisterGraphRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RegisterGraphRequest.Builder>
-
mergeFrom
public RegisterGraphRequest.Builder mergeFrom(RegisterGraphRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
mergeFrom
public RegisterGraphRequest.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<RegisterGraphRequest.Builder>
- Throws:
java.io.IOException
-
getSessionHandle
public java.lang.String getSessionHandle()
Subgraphs are scoped within one session.
string session_handle = 1;
- Specified by:
getSessionHandle
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- The sessionHandle.
-
getSessionHandleBytes
public com.google.protobuf.ByteString getSessionHandleBytes()
Subgraphs are scoped within one session.
string session_handle = 1;
- Specified by:
getSessionHandleBytes
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- The bytes for sessionHandle.
-
setSessionHandle
public RegisterGraphRequest.Builder setSessionHandle(java.lang.String value)
Subgraphs are scoped within one session.
string session_handle = 1;
- Parameters:
value
- The sessionHandle to set.- Returns:
- This builder for chaining.
-
clearSessionHandle
public RegisterGraphRequest.Builder clearSessionHandle()
Subgraphs are scoped within one session.
string session_handle = 1;
- Returns:
- This builder for chaining.
-
setSessionHandleBytes
public RegisterGraphRequest.Builder setSessionHandleBytes(com.google.protobuf.ByteString value)
Subgraphs are scoped within one session.
string session_handle = 1;
- Parameters:
value
- The bytes for sessionHandle to set.- Returns:
- This builder for chaining.
-
getCreateWorkerSessionCalled
public boolean getCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 6;
- Specified by:
getCreateWorkerSessionCalled
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- The createWorkerSessionCalled.
-
setCreateWorkerSessionCalled
public RegisterGraphRequest.Builder setCreateWorkerSessionCalled(boolean value)
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 6;
- Parameters:
value
- The createWorkerSessionCalled to set.- Returns:
- This builder for chaining.
-
clearCreateWorkerSessionCalled
public RegisterGraphRequest.Builder clearCreateWorkerSessionCalled()
Set to true if `CreateWorkerSession` was called for `session_handle`.
bool create_worker_session_called = 6;
- Returns:
- This builder for chaining.
-
hasGraphDef
public boolean hasGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
- Specified by:
hasGraphDef
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- Whether the graphDef field is set.
-
getGraphDef
public GraphDef getGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
- Specified by:
getGraphDef
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- The graphDef.
-
setGraphDef
public RegisterGraphRequest.Builder setGraphDef(GraphDef value)
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
-
setGraphDef
public RegisterGraphRequest.Builder setGraphDef(GraphDef.Builder builderForValue)
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
-
mergeGraphDef
public RegisterGraphRequest.Builder mergeGraphDef(GraphDef value)
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
-
clearGraphDef
public RegisterGraphRequest.Builder clearGraphDef()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
-
getGraphDefBuilder
public GraphDef.Builder getGraphDefBuilder()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
-
getGraphDefOrBuilder
public GraphDefOrBuilder getGraphDefOrBuilder()
"graph_def" has the subgraph of nodes for this worker, with each node having its device_name filled in.
.org.platanios.tensorflow.proto.GraphDef graph_def = 2;
- Specified by:
getGraphDefOrBuilder
in interfaceRegisterGraphRequestOrBuilder
-
getHasControlFlow
@Deprecated public boolean getHasControlFlow()
Deprecated.True iff the graph (before partitioning) contains control flow nodes. As of 01/11/2015, this is no longer set by clients.
bool has_control_flow = 3 [deprecated = true];
- Specified by:
getHasControlFlow
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- The hasControlFlow.
-
setHasControlFlow
@Deprecated public RegisterGraphRequest.Builder setHasControlFlow(boolean value)
Deprecated.True iff the graph (before partitioning) contains control flow nodes. As of 01/11/2015, this is no longer set by clients.
bool has_control_flow = 3 [deprecated = true];
- Parameters:
value
- The hasControlFlow to set.- Returns:
- This builder for chaining.
-
clearHasControlFlow
@Deprecated public RegisterGraphRequest.Builder clearHasControlFlow()
Deprecated.True iff the graph (before partitioning) contains control flow nodes. As of 01/11/2015, this is no longer set by clients.
bool has_control_flow = 3 [deprecated = true];
- Returns:
- This builder for chaining.
-
hasGraphOptions
public boolean hasGraphOptions()
Configuration options for the session in which this graph was created.
.org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
- Specified by:
hasGraphOptions
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- Whether the graphOptions field is set.
-
getGraphOptions
public GraphOptions getGraphOptions()
Configuration options for the session in which this graph was created.
.org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
- Specified by:
getGraphOptions
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- The graphOptions.
-
setGraphOptions
public RegisterGraphRequest.Builder setGraphOptions(GraphOptions value)
Configuration options for the session in which this graph was created.
.org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
-
setGraphOptions
public RegisterGraphRequest.Builder setGraphOptions(GraphOptions.Builder builderForValue)
Configuration options for the session in which this graph was created.
.org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
-
mergeGraphOptions
public RegisterGraphRequest.Builder mergeGraphOptions(GraphOptions value)
Configuration options for the session in which this graph was created.
.org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
-
clearGraphOptions
public RegisterGraphRequest.Builder clearGraphOptions()
Configuration options for the session in which this graph was created.
.org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
-
getGraphOptionsBuilder
public GraphOptions.Builder getGraphOptionsBuilder()
Configuration options for the session in which this graph was created.
.org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
-
getGraphOptionsOrBuilder
public GraphOptionsOrBuilder getGraphOptionsOrBuilder()
Configuration options for the session in which this graph was created.
.org.platanios.tensorflow.proto.GraphOptions graph_options = 4;
- Specified by:
getGraphOptionsOrBuilder
in interfaceRegisterGraphRequestOrBuilder
-
hasDebugOptions
public boolean hasDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).
.org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
- Specified by:
hasDebugOptions
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- Whether the debugOptions field is set.
-
getDebugOptions
public DebugOptions getDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).
.org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
- Specified by:
getDebugOptions
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- The debugOptions.
-
setDebugOptions
public RegisterGraphRequest.Builder setDebugOptions(DebugOptions value)
Field(s) used by TensorFlow Debugger (tfdbg).
.org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
-
setDebugOptions
public RegisterGraphRequest.Builder setDebugOptions(DebugOptions.Builder builderForValue)
Field(s) used by TensorFlow Debugger (tfdbg).
.org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
-
mergeDebugOptions
public RegisterGraphRequest.Builder mergeDebugOptions(DebugOptions value)
Field(s) used by TensorFlow Debugger (tfdbg).
.org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
-
clearDebugOptions
public RegisterGraphRequest.Builder clearDebugOptions()
Field(s) used by TensorFlow Debugger (tfdbg).
.org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
-
getDebugOptionsBuilder
public DebugOptions.Builder getDebugOptionsBuilder()
Field(s) used by TensorFlow Debugger (tfdbg).
.org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
-
getDebugOptionsOrBuilder
public DebugOptionsOrBuilder getDebugOptionsOrBuilder()
Field(s) used by TensorFlow Debugger (tfdbg).
.org.platanios.tensorflow.proto.DebugOptions debug_options = 5;
- Specified by:
getDebugOptionsOrBuilder
in interfaceRegisterGraphRequestOrBuilder
-
getCollectiveGraphKey
public long getCollectiveGraphKey()
If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs. All graphs in a distributed execution with the same collective_graph_key will coordinate to use the same step_id concurrently so that BufRendezvous entries will make the correct values accessible.
int64 collective_graph_key = 7;
- Specified by:
getCollectiveGraphKey
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- The collectiveGraphKey.
-
setCollectiveGraphKey
public RegisterGraphRequest.Builder setCollectiveGraphKey(long value)
If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs. All graphs in a distributed execution with the same collective_graph_key will coordinate to use the same step_id concurrently so that BufRendezvous entries will make the correct values accessible.
int64 collective_graph_key = 7;
- Parameters:
value
- The collectiveGraphKey to set.- Returns:
- This builder for chaining.
-
clearCollectiveGraphKey
public RegisterGraphRequest.Builder clearCollectiveGraphKey()
If graph_def contains any collective ops this must be a positive integer used to coordinate execution with other graphs. All graphs in a distributed execution with the same collective_graph_key will coordinate to use the same step_id concurrently so that BufRendezvous entries will make the correct values accessible.
int64 collective_graph_key = 7;
- Returns:
- This builder for chaining.
-
hasConfigProto
public boolean hasConfigProto()
ConfigProto from the session in which this graph was created. Contains additional parameters beyond graph_options, including the name of the requested executor.
.org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
- Specified by:
hasConfigProto
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- Whether the configProto field is set.
-
getConfigProto
public ConfigProto getConfigProto()
ConfigProto from the session in which this graph was created. Contains additional parameters beyond graph_options, including the name of the requested executor.
.org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
- Specified by:
getConfigProto
in interfaceRegisterGraphRequestOrBuilder
- Returns:
- The configProto.
-
setConfigProto
public RegisterGraphRequest.Builder setConfigProto(ConfigProto value)
ConfigProto from the session in which this graph was created. Contains additional parameters beyond graph_options, including the name of the requested executor.
.org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
-
setConfigProto
public RegisterGraphRequest.Builder setConfigProto(ConfigProto.Builder builderForValue)
ConfigProto from the session in which this graph was created. Contains additional parameters beyond graph_options, including the name of the requested executor.
.org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
-
mergeConfigProto
public RegisterGraphRequest.Builder mergeConfigProto(ConfigProto value)
ConfigProto from the session in which this graph was created. Contains additional parameters beyond graph_options, including the name of the requested executor.
.org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
-
clearConfigProto
public RegisterGraphRequest.Builder clearConfigProto()
ConfigProto from the session in which this graph was created. Contains additional parameters beyond graph_options, including the name of the requested executor.
.org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
-
getConfigProtoBuilder
public ConfigProto.Builder getConfigProtoBuilder()
ConfigProto from the session in which this graph was created. Contains additional parameters beyond graph_options, including the name of the requested executor.
.org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
-
getConfigProtoOrBuilder
public ConfigProtoOrBuilder getConfigProtoOrBuilder()
ConfigProto from the session in which this graph was created. Contains additional parameters beyond graph_options, including the name of the requested executor.
.org.platanios.tensorflow.proto.ConfigProto config_proto = 8;
- Specified by:
getConfigProtoOrBuilder
in interfaceRegisterGraphRequestOrBuilder
-
setUnknownFields
public final RegisterGraphRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
mergeUnknownFields
public final RegisterGraphRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RegisterGraphRequest.Builder>
-
-