Package org.tensorflow.distruntime
Class CleanupAllRequest.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CleanupAllRequest.Builder>
-
- org.tensorflow.distruntime.CleanupAllRequest.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
,CleanupAllRequestOrBuilder
- Enclosing class:
- CleanupAllRequest
public static final class CleanupAllRequest.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CleanupAllRequest.Builder> implements CleanupAllRequestOrBuilder
Protobuf typetensorflow.CleanupAllRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CleanupAllRequest.Builder
addAllContainer(Iterable<String> values)
A list of container names.CleanupAllRequest.Builder
addContainer(String value)
A list of container names.CleanupAllRequest.Builder
addContainerBytes(org.nd4j.shade.protobuf.ByteString value)
A list of container names.CleanupAllRequest.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
CleanupAllRequest
build()
CleanupAllRequest
buildPartial()
CleanupAllRequest.Builder
clear()
CleanupAllRequest.Builder
clearContainer()
A list of container names.CleanupAllRequest.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
CleanupAllRequest.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
CleanupAllRequest.Builder
clone()
String
getContainer(int index)
A list of container names.org.nd4j.shade.protobuf.ByteString
getContainerBytes(int index)
A list of container names.int
getContainerCount()
A list of container names.org.nd4j.shade.protobuf.ProtocolStringList
getContainerList()
A list of container names.CleanupAllRequest
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CleanupAllRequest.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
CleanupAllRequest.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
CleanupAllRequest.Builder
mergeFrom(CleanupAllRequest other)
CleanupAllRequest.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
CleanupAllRequest.Builder
setContainer(int index, String value)
A list of container names.CleanupAllRequest.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
CleanupAllRequest.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
CleanupAllRequest.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<CleanupAllRequest.Builder>
-
clear
public CleanupAllRequest.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<CleanupAllRequest.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<CleanupAllRequest.Builder>
-
getDefaultInstanceForType
public CleanupAllRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public CleanupAllRequest build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public CleanupAllRequest buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public CleanupAllRequest.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<CleanupAllRequest.Builder>
-
setField
public CleanupAllRequest.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<CleanupAllRequest.Builder>
-
clearField
public CleanupAllRequest.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<CleanupAllRequest.Builder>
-
clearOneof
public CleanupAllRequest.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<CleanupAllRequest.Builder>
-
setRepeatedField
public CleanupAllRequest.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<CleanupAllRequest.Builder>
-
addRepeatedField
public CleanupAllRequest.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<CleanupAllRequest.Builder>
-
mergeFrom
public CleanupAllRequest.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<CleanupAllRequest.Builder>
-
mergeFrom
public CleanupAllRequest.Builder mergeFrom(CleanupAllRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CleanupAllRequest.Builder>
-
mergeFrom
public CleanupAllRequest.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<CleanupAllRequest.Builder>
- Throws:
IOException
-
getContainerList
public org.nd4j.shade.protobuf.ProtocolStringList getContainerList()
A list of container names. If 'container' is not empty, releases resources in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;
- Specified by:
getContainerList
in interfaceCleanupAllRequestOrBuilder
- Returns:
- A list containing the container.
-
getContainerCount
public int getContainerCount()
A list of container names. If 'container' is not empty, releases resources in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;
- Specified by:
getContainerCount
in interfaceCleanupAllRequestOrBuilder
- Returns:
- The count of container.
-
getContainer
public String getContainer(int index)
A list of container names. If 'container' is not empty, releases resources in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;
- Specified by:
getContainer
in interfaceCleanupAllRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The container at the given index.
-
getContainerBytes
public org.nd4j.shade.protobuf.ByteString getContainerBytes(int index)
A list of container names. If 'container' is not empty, releases resources in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;
- Specified by:
getContainerBytes
in interfaceCleanupAllRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the container at the given index.
-
setContainer
public CleanupAllRequest.Builder setContainer(int index, String value)
A list of container names. If 'container' is not empty, releases resources in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;
- Parameters:
index
- The index to set the value at.value
- The container to set.- Returns:
- This builder for chaining.
-
addContainer
public CleanupAllRequest.Builder addContainer(String value)
A list of container names. If 'container' is not empty, releases resources in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;
- Parameters:
value
- The container to add.- Returns:
- This builder for chaining.
-
addAllContainer
public CleanupAllRequest.Builder addAllContainer(Iterable<String> values)
A list of container names. If 'container' is not empty, releases resources in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;
- Parameters:
values
- The container to add.- Returns:
- This builder for chaining.
-
clearContainer
public CleanupAllRequest.Builder clearContainer()
A list of container names. If 'container' is not empty, releases resources in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;
- Returns:
- This builder for chaining.
-
addContainerBytes
public CleanupAllRequest.Builder addContainerBytes(org.nd4j.shade.protobuf.ByteString value)
A list of container names. If 'container' is not empty, releases resources in the given containers in all devices. If 'container' is empty, releases resources in the default container in all devices.
repeated string container = 1;
- Parameters:
value
- The bytes of the container to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CleanupAllRequest.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<CleanupAllRequest.Builder>
-
mergeUnknownFields
public final CleanupAllRequest.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<CleanupAllRequest.Builder>
-
-