Package org.tensorflow.framework
Class ScopedAllocatorOptions.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
- org.tensorflow.framework.ScopedAllocatorOptions.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,ScopedAllocatorOptionsOrBuilder
- Enclosing class:
- ScopedAllocatorOptions
public static final class ScopedAllocatorOptions.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder> implements ScopedAllocatorOptionsOrBuilder
Protobuf typetensorflow.ScopedAllocatorOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ScopedAllocatorOptions.BuilderaddAllEnableOp(Iterable<String> values)If present, only perform optimization for these ops.ScopedAllocatorOptions.BuilderaddEnableOp(String value)If present, only perform optimization for these ops.ScopedAllocatorOptions.BuilderaddEnableOpBytes(org.nd4j.shade.protobuf.ByteString value)If present, only perform optimization for these ops.ScopedAllocatorOptions.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)ScopedAllocatorOptionsbuild()ScopedAllocatorOptionsbuildPartial()ScopedAllocatorOptions.Builderclear()ScopedAllocatorOptions.BuilderclearEnableOp()If present, only perform optimization for these ops.ScopedAllocatorOptions.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)ScopedAllocatorOptions.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)ScopedAllocatorOptions.Builderclone()ScopedAllocatorOptionsgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetEnableOp(int index)If present, only perform optimization for these ops.org.nd4j.shade.protobuf.ByteStringgetEnableOpBytes(int index)If present, only perform optimization for these ops.intgetEnableOpCount()If present, only perform optimization for these ops.org.nd4j.shade.protobuf.ProtocolStringListgetEnableOpList()If present, only perform optimization for these ops.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ScopedAllocatorOptions.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)ScopedAllocatorOptions.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)ScopedAllocatorOptions.BuildermergeFrom(ScopedAllocatorOptions other)ScopedAllocatorOptions.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)ScopedAllocatorOptions.BuildersetEnableOp(int index, String value)If present, only perform optimization for these ops.ScopedAllocatorOptions.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)ScopedAllocatorOptions.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ScopedAllocatorOptions.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
clear
public ScopedAllocatorOptions.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
getDefaultInstanceForType
public ScopedAllocatorOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public ScopedAllocatorOptions build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public ScopedAllocatorOptions buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public ScopedAllocatorOptions.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
setField
public ScopedAllocatorOptions.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
clearField
public ScopedAllocatorOptions.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
clearOneof
public ScopedAllocatorOptions.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
setRepeatedField
public ScopedAllocatorOptions.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
addRepeatedField
public ScopedAllocatorOptions.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
mergeFrom
public ScopedAllocatorOptions.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<ScopedAllocatorOptions.Builder>
-
mergeFrom
public ScopedAllocatorOptions.Builder mergeFrom(ScopedAllocatorOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
mergeFrom
public ScopedAllocatorOptions.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<ScopedAllocatorOptions.Builder>- Throws:
IOException
-
getEnableOpList
public org.nd4j.shade.protobuf.ProtocolStringList getEnableOpList()
If present, only perform optimization for these ops.
repeated string enable_op = 1;- Specified by:
getEnableOpListin interfaceScopedAllocatorOptionsOrBuilder- Returns:
- A list containing the enableOp.
-
getEnableOpCount
public int getEnableOpCount()
If present, only perform optimization for these ops.
repeated string enable_op = 1;- Specified by:
getEnableOpCountin interfaceScopedAllocatorOptionsOrBuilder- Returns:
- The count of enableOp.
-
getEnableOp
public String getEnableOp(int index)
If present, only perform optimization for these ops.
repeated string enable_op = 1;- Specified by:
getEnableOpin interfaceScopedAllocatorOptionsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The enableOp at the given index.
-
getEnableOpBytes
public org.nd4j.shade.protobuf.ByteString getEnableOpBytes(int index)
If present, only perform optimization for these ops.
repeated string enable_op = 1;- Specified by:
getEnableOpBytesin interfaceScopedAllocatorOptionsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the enableOp at the given index.
-
setEnableOp
public ScopedAllocatorOptions.Builder setEnableOp(int index, String value)
If present, only perform optimization for these ops.
repeated string enable_op = 1;- Parameters:
index- The index to set the value at.value- The enableOp to set.- Returns:
- This builder for chaining.
-
addEnableOp
public ScopedAllocatorOptions.Builder addEnableOp(String value)
If present, only perform optimization for these ops.
repeated string enable_op = 1;- Parameters:
value- The enableOp to add.- Returns:
- This builder for chaining.
-
addAllEnableOp
public ScopedAllocatorOptions.Builder addAllEnableOp(Iterable<String> values)
If present, only perform optimization for these ops.
repeated string enable_op = 1;- Parameters:
values- The enableOp to add.- Returns:
- This builder for chaining.
-
clearEnableOp
public ScopedAllocatorOptions.Builder clearEnableOp()
If present, only perform optimization for these ops.
repeated string enable_op = 1;- Returns:
- This builder for chaining.
-
addEnableOpBytes
public ScopedAllocatorOptions.Builder addEnableOpBytes(org.nd4j.shade.protobuf.ByteString value)
If present, only perform optimization for these ops.
repeated string enable_op = 1;- Parameters:
value- The bytes of the enableOp to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ScopedAllocatorOptions.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
mergeUnknownFields
public final ScopedAllocatorOptions.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>
-
-