public static final class ResetRequest.Builder extends com.github.os72.protobuf351.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(com.github.os72.protobuf351.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(com.github.os72.protobuf351.ByteString value)
When any filters are present, only devices that match the filters
will be reset.
|
ResetRequest.Builder |
addRepeatedField(com.github.os72.protobuf351.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(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
ResetRequest.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
ResetRequest.Builder |
clone() |
String |
getContainer(int index)
A list of container names, which may be empty.
|
com.github.os72.protobuf351.ByteString |
getContainerBytes(int index)
A list of container names, which may be empty.
|
int |
getContainerCount()
A list of container names, which may be empty.
|
com.github.os72.protobuf351.ProtocolStringList |
getContainerList()
A list of container names, which may be empty.
|
ResetRequest |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDeviceFilters(int index)
When any filters are present, only devices that match the filters
will be reset.
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.ProtocolStringList |
getDeviceFiltersList()
When any filters are present, only devices that match the filters
will be reset.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ResetRequest.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
ResetRequest.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
ResetRequest.Builder |
mergeFrom(ResetRequest other) |
ResetRequest.Builder |
mergeUnknownFields(com.github.os72.protobuf351.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(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
ResetRequest.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
ResetRequest.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
public ResetRequest.Builder clear()
clear
in interface com.github.os72.protobuf351.Message.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.github.os72.protobuf351.Message.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
public ResetRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public ResetRequest build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public ResetRequest buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public ResetRequest.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
public ResetRequest.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.github.os72.protobuf351.Message.Builder
setField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
public ResetRequest.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField
in interface com.github.os72.protobuf351.Message.Builder
clearField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
public ResetRequest.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.github.os72.protobuf351.Message.Builder
clearOneof
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
public ResetRequest.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
setRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
public ResetRequest.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
addRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
public ResetRequest.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<ResetRequest.Builder>
public ResetRequest.Builder mergeFrom(ResetRequest other)
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
public ResetRequest.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<ResetRequest.Builder>
IOException
public com.github.os72.protobuf351.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 ResetRequestOrBuilder
public 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 ResetRequestOrBuilder
public 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 ResetRequestOrBuilder
public com.github.os72.protobuf351.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 ResetRequestOrBuilder
public 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(com.github.os72.protobuf351.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 com.github.os72.protobuf351.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 ResetRequestOrBuilder
public 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 ResetRequestOrBuilder
public 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 ResetRequestOrBuilder
public com.github.os72.protobuf351.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 ResetRequestOrBuilder
public 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(com.github.os72.protobuf351.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(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
setUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
public final ResetRequest.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ResetRequest.Builder>
Copyright © 2018. All rights reserved.