public static final class ResetRequest.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder> implements ResetRequestOrBuilder
Reset() allows misbehaving or slow sessions to be aborted and closed, and causes their resources eventually to be released. Reset() does not wait for the computations in old sessions to cease; it merely starts the process of tearing them down. However, if a new session is started after a Reset(), the new session is isolated from changes that old sessions (started prior to the Reset()) may continue to make to resources, provided all those resources are in containers listed in "containers". Old sessions may continue to have side-effects on resources not in containers listed in "containers", and thus may affect future sessions' results in ways that are hard to predict. Thus, if well-defined behavior is desired, is it recommended that all containers be listed in "containers". Similarly, if a device_filter is specified, results may be hard to predict.Protobuf type
tensorflow.ResetRequest| Modifier and Type | Method and Description |
|---|---|
ResetRequest.Builder |
addAllContainer(Iterable<String> values)
A list of container names, which may be empty.
|
ResetRequest.Builder |
addAllDeviceFilters(Iterable<String> values)
When any filters are present, only devices that match the filters
will be reset.
|
ResetRequest.Builder |
addContainer(String value)
A list of container names, which may be empty.
|
ResetRequest.Builder |
addContainerBytes(org.nd4j.shade.protobuf.ByteString value)
A list of container names, which may be empty.
|
ResetRequest.Builder |
addDeviceFilters(String value)
When any filters are present, only devices that match the filters
will be reset.
|
ResetRequest.Builder |
addDeviceFiltersBytes(org.nd4j.shade.protobuf.ByteString value)
When any filters are present, only devices that match the filters
will be reset.
|
ResetRequest.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResetRequest |
build() |
ResetRequest |
buildPartial() |
ResetRequest.Builder |
clear() |
ResetRequest.Builder |
clearContainer()
A list of container names, which may be empty.
|
ResetRequest.Builder |
clearDeviceFilters()
When any filters are present, only devices that match the filters
will be reset.
|
ResetRequest.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
ResetRequest.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
ResetRequest.Builder |
clone() |
String |
getContainer(int index)
A list of container names, which may be empty.
|
org.nd4j.shade.protobuf.ByteString |
getContainerBytes(int index)
A list of container names, which may be empty.
|
int |
getContainerCount()
A list of container names, which may be empty.
|
org.nd4j.shade.protobuf.ProtocolStringList |
getContainerList()
A list of container names, which may be empty.
|
ResetRequest |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDeviceFilters(int index)
When any filters are present, only devices that match the filters
will be reset.
|
org.nd4j.shade.protobuf.ByteString |
getDeviceFiltersBytes(int index)
When any filters are present, only devices that match the filters
will be reset.
|
int |
getDeviceFiltersCount()
When any filters are present, only devices that match the filters
will be reset.
|
org.nd4j.shade.protobuf.ProtocolStringList |
getDeviceFiltersList()
When any filters are present, only devices that match the filters
will be reset.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResetRequest.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
ResetRequest.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
ResetRequest.Builder |
mergeFrom(ResetRequest other) |
ResetRequest.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
ResetRequest.Builder |
setContainer(int index,
String value)
A list of container names, which may be empty.
|
ResetRequest.Builder |
setDeviceFilters(int index,
String value)
When any filters are present, only devices that match the filters
will be reset.
|
ResetRequest.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ResetRequest.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ResetRequest.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>public ResetRequest.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>public ResetRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic ResetRequest build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic ResetRequest buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic ResetRequest.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>public ResetRequest.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>public ResetRequest.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>public ResetRequest.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>public ResetRequest.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>public ResetRequest.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>public ResetRequest.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<ResetRequest.Builder>public ResetRequest.Builder mergeFrom(ResetRequest other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>public ResetRequest.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<ResetRequest.Builder>IOExceptionpublic org.nd4j.shade.protobuf.ProtocolStringList getContainerList()
A list of container names, which may be empty. If 'container' is not empty, releases resoures in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;getContainerList in interface ResetRequestOrBuilderpublic int getContainerCount()
A list of container names, which may be empty. If 'container' is not empty, releases resoures in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;getContainerCount in interface ResetRequestOrBuilderpublic String getContainer(int index)
A list of container names, which may be empty. If 'container' is not empty, releases resoures in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;getContainer in interface ResetRequestOrBuilderpublic org.nd4j.shade.protobuf.ByteString getContainerBytes(int index)
A list of container names, which may be empty. If 'container' is not empty, releases resoures in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;getContainerBytes in interface ResetRequestOrBuilderpublic ResetRequest.Builder setContainer(int index, String value)
A list of container names, which may be empty. If 'container' is not empty, releases resoures in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;public ResetRequest.Builder addContainer(String value)
A list of container names, which may be empty. If 'container' is not empty, releases resoures in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;public ResetRequest.Builder addAllContainer(Iterable<String> values)
A list of container names, which may be empty. If 'container' is not empty, releases resoures in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;public ResetRequest.Builder clearContainer()
A list of container names, which may be empty. If 'container' is not empty, releases resoures in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;public ResetRequest.Builder addContainerBytes(org.nd4j.shade.protobuf.ByteString value)
A list of container names, which may be empty. If 'container' is not empty, releases resoures in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;public org.nd4j.shade.protobuf.ProtocolStringList getDeviceFiltersList()
When any filters are present, only devices that match the filters will be reset. Each filter can be partially specified, e.g. "/job:ps" "/job:worker/replica:3", etc.
repeated string device_filters = 2;getDeviceFiltersList in interface ResetRequestOrBuilderpublic int getDeviceFiltersCount()
When any filters are present, only devices that match the filters will be reset. Each filter can be partially specified, e.g. "/job:ps" "/job:worker/replica:3", etc.
repeated string device_filters = 2;getDeviceFiltersCount in interface ResetRequestOrBuilderpublic String getDeviceFilters(int index)
When any filters are present, only devices that match the filters will be reset. Each filter can be partially specified, e.g. "/job:ps" "/job:worker/replica:3", etc.
repeated string device_filters = 2;getDeviceFilters in interface ResetRequestOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDeviceFiltersBytes(int index)
When any filters are present, only devices that match the filters will be reset. Each filter can be partially specified, e.g. "/job:ps" "/job:worker/replica:3", etc.
repeated string device_filters = 2;getDeviceFiltersBytes in interface ResetRequestOrBuilderpublic ResetRequest.Builder setDeviceFilters(int index, String value)
When any filters are present, only devices that match the filters will be reset. Each filter can be partially specified, e.g. "/job:ps" "/job:worker/replica:3", etc.
repeated string device_filters = 2;public ResetRequest.Builder addDeviceFilters(String value)
When any filters are present, only devices that match the filters will be reset. Each filter can be partially specified, e.g. "/job:ps" "/job:worker/replica:3", etc.
repeated string device_filters = 2;public ResetRequest.Builder addAllDeviceFilters(Iterable<String> values)
When any filters are present, only devices that match the filters will be reset. Each filter can be partially specified, e.g. "/job:ps" "/job:worker/replica:3", etc.
repeated string device_filters = 2;public ResetRequest.Builder clearDeviceFilters()
When any filters are present, only devices that match the filters will be reset. Each filter can be partially specified, e.g. "/job:ps" "/job:worker/replica:3", etc.
repeated string device_filters = 2;public ResetRequest.Builder addDeviceFiltersBytes(org.nd4j.shade.protobuf.ByteString value)
When any filters are present, only devices that match the filters will be reset. Each filter can be partially specified, e.g. "/job:ps" "/job:worker/replica:3", etc.
repeated string device_filters = 2;public final ResetRequest.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>public final ResetRequest.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ResetRequest.Builder>Copyright © 2021. All rights reserved.