public static final class ScopedAllocatorOptions.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder> implements ScopedAllocatorOptionsOrBuilder
tensorflow.ScopedAllocatorOptions| Modifier and Type | Method and Description |
|---|---|
ScopedAllocatorOptions.Builder |
addAllEnableOp(Iterable<String> values)
If present, only perform optimization for these ops.
|
ScopedAllocatorOptions.Builder |
addEnableOp(String value)
If present, only perform optimization for these ops.
|
ScopedAllocatorOptions.Builder |
addEnableOpBytes(com.github.os72.protobuf351.ByteString value)
If present, only perform optimization for these ops.
|
ScopedAllocatorOptions.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
ScopedAllocatorOptions |
build() |
ScopedAllocatorOptions |
buildPartial() |
ScopedAllocatorOptions.Builder |
clear() |
ScopedAllocatorOptions.Builder |
clearEnableOp()
If present, only perform optimization for these ops.
|
ScopedAllocatorOptions.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
ScopedAllocatorOptions.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
ScopedAllocatorOptions.Builder |
clone() |
ScopedAllocatorOptions |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEnableOp(int index)
If present, only perform optimization for these ops.
|
com.github.os72.protobuf351.ByteString |
getEnableOpBytes(int index)
If present, only perform optimization for these ops.
|
int |
getEnableOpCount()
If present, only perform optimization for these ops.
|
com.github.os72.protobuf351.ProtocolStringList |
getEnableOpList()
If present, only perform optimization for these ops.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ScopedAllocatorOptions.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
ScopedAllocatorOptions.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
ScopedAllocatorOptions.Builder |
mergeFrom(ScopedAllocatorOptions other) |
ScopedAllocatorOptions.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
ScopedAllocatorOptions.Builder |
setEnableOp(int index,
String value)
If present, only perform optimization for these ops.
|
ScopedAllocatorOptions.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
ScopedAllocatorOptions.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
ScopedAllocatorOptions.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, 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 com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>public ScopedAllocatorOptions.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>public ScopedAllocatorOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic ScopedAllocatorOptions build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic ScopedAllocatorOptions buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic ScopedAllocatorOptions.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>public ScopedAllocatorOptions.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>public ScopedAllocatorOptions.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>public ScopedAllocatorOptions.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>public ScopedAllocatorOptions.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>public ScopedAllocatorOptions.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>public ScopedAllocatorOptions.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<ScopedAllocatorOptions.Builder>public ScopedAllocatorOptions.Builder mergeFrom(ScopedAllocatorOptions other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>public ScopedAllocatorOptions.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<ScopedAllocatorOptions.Builder>IOExceptionpublic com.github.os72.protobuf351.ProtocolStringList getEnableOpList()
If present, only perform optimization for these ops.
repeated string enable_op = 1;getEnableOpList in interface ScopedAllocatorOptionsOrBuilderpublic int getEnableOpCount()
If present, only perform optimization for these ops.
repeated string enable_op = 1;getEnableOpCount in interface ScopedAllocatorOptionsOrBuilderpublic String getEnableOp(int index)
If present, only perform optimization for these ops.
repeated string enable_op = 1;getEnableOp in interface ScopedAllocatorOptionsOrBuilderpublic com.github.os72.protobuf351.ByteString getEnableOpBytes(int index)
If present, only perform optimization for these ops.
repeated string enable_op = 1;getEnableOpBytes in interface ScopedAllocatorOptionsOrBuilderpublic ScopedAllocatorOptions.Builder setEnableOp(int index, String value)
If present, only perform optimization for these ops.
repeated string enable_op = 1;public ScopedAllocatorOptions.Builder addEnableOp(String value)
If present, only perform optimization for these ops.
repeated string enable_op = 1;public ScopedAllocatorOptions.Builder addAllEnableOp(Iterable<String> values)
If present, only perform optimization for these ops.
repeated string enable_op = 1;public ScopedAllocatorOptions.Builder clearEnableOp()
If present, only perform optimization for these ops.
repeated string enable_op = 1;public ScopedAllocatorOptions.Builder addEnableOpBytes(com.github.os72.protobuf351.ByteString value)
If present, only perform optimization for these ops.
repeated string enable_op = 1;public final ScopedAllocatorOptions.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>public final ScopedAllocatorOptions.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<ScopedAllocatorOptions.Builder>Copyright © 2018. All rights reserved.