Package org.tensorflow.framework
Class FunctionDefLibrary.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
- org.tensorflow.framework.FunctionDefLibrary.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,FunctionDefLibraryOrBuilder
- Enclosing class:
- FunctionDefLibrary
public static final class FunctionDefLibrary.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder> implements FunctionDefLibraryOrBuilder
A library is a set of named functions.
Protobuf typetensorflow.FunctionDefLibrary
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionDefLibrary.BuilderaddAllFunction(Iterable<? extends FunctionDef> values)repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuilderaddAllGradient(Iterable<? extends GradientDef> values)repeated .tensorflow.GradientDef gradient = 2;FunctionDefLibrary.BuilderaddFunction(int index, FunctionDef value)repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuilderaddFunction(int index, FunctionDef.Builder builderForValue)repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuilderaddFunction(FunctionDef value)repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuilderaddFunction(FunctionDef.Builder builderForValue)repeated .tensorflow.FunctionDef function = 1;FunctionDef.BuilderaddFunctionBuilder()repeated .tensorflow.FunctionDef function = 1;FunctionDef.BuilderaddFunctionBuilder(int index)repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuilderaddGradient(int index, GradientDef value)repeated .tensorflow.GradientDef gradient = 2;FunctionDefLibrary.BuilderaddGradient(int index, GradientDef.Builder builderForValue)repeated .tensorflow.GradientDef gradient = 2;FunctionDefLibrary.BuilderaddGradient(GradientDef value)repeated .tensorflow.GradientDef gradient = 2;FunctionDefLibrary.BuilderaddGradient(GradientDef.Builder builderForValue)repeated .tensorflow.GradientDef gradient = 2;GradientDef.BuilderaddGradientBuilder()repeated .tensorflow.GradientDef gradient = 2;GradientDef.BuilderaddGradientBuilder(int index)repeated .tensorflow.GradientDef gradient = 2;FunctionDefLibrary.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)FunctionDefLibrarybuild()FunctionDefLibrarybuildPartial()FunctionDefLibrary.Builderclear()FunctionDefLibrary.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)FunctionDefLibrary.BuilderclearFunction()repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuilderclearGradient()repeated .tensorflow.GradientDef gradient = 2;FunctionDefLibrary.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)FunctionDefLibrary.Builderclone()FunctionDefLibrarygetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()FunctionDefgetFunction(int index)repeated .tensorflow.FunctionDef function = 1;FunctionDef.BuildergetFunctionBuilder(int index)repeated .tensorflow.FunctionDef function = 1;List<FunctionDef.Builder>getFunctionBuilderList()repeated .tensorflow.FunctionDef function = 1;intgetFunctionCount()repeated .tensorflow.FunctionDef function = 1;List<FunctionDef>getFunctionList()repeated .tensorflow.FunctionDef function = 1;FunctionDefOrBuildergetFunctionOrBuilder(int index)repeated .tensorflow.FunctionDef function = 1;List<? extends FunctionDefOrBuilder>getFunctionOrBuilderList()repeated .tensorflow.FunctionDef function = 1;GradientDefgetGradient(int index)repeated .tensorflow.GradientDef gradient = 2;GradientDef.BuildergetGradientBuilder(int index)repeated .tensorflow.GradientDef gradient = 2;List<GradientDef.Builder>getGradientBuilderList()repeated .tensorflow.GradientDef gradient = 2;intgetGradientCount()repeated .tensorflow.GradientDef gradient = 2;List<GradientDef>getGradientList()repeated .tensorflow.GradientDef gradient = 2;GradientDefOrBuildergetGradientOrBuilder(int index)repeated .tensorflow.GradientDef gradient = 2;List<? extends GradientDefOrBuilder>getGradientOrBuilderList()repeated .tensorflow.GradientDef gradient = 2;protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FunctionDefLibrary.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)FunctionDefLibrary.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)FunctionDefLibrary.BuildermergeFrom(FunctionDefLibrary other)FunctionDefLibrary.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)FunctionDefLibrary.BuilderremoveFunction(int index)repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuilderremoveGradient(int index)repeated .tensorflow.GradientDef gradient = 2;FunctionDefLibrary.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)FunctionDefLibrary.BuildersetFunction(int index, FunctionDef value)repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuildersetFunction(int index, FunctionDef.Builder builderForValue)repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuildersetGradient(int index, GradientDef value)repeated .tensorflow.GradientDef gradient = 2;FunctionDefLibrary.BuildersetGradient(int index, GradientDef.Builder builderForValue)repeated .tensorflow.GradientDef gradient = 2;FunctionDefLibrary.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
clear
public FunctionDefLibrary.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<FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
getDefaultInstanceForType
public FunctionDefLibrary getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public FunctionDefLibrary build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public FunctionDefLibrary buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
setField
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
clearField
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
clearOneof
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
setRepeatedField
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
addRepeatedField
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
mergeFrom
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
mergeFrom
public FunctionDefLibrary.Builder mergeFrom(FunctionDefLibrary other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
mergeFrom
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>- Throws:
IOException
-
getFunctionList
public List<FunctionDef> getFunctionList()
repeated .tensorflow.FunctionDef function = 1;- Specified by:
getFunctionListin interfaceFunctionDefLibraryOrBuilder
-
getFunctionCount
public int getFunctionCount()
repeated .tensorflow.FunctionDef function = 1;- Specified by:
getFunctionCountin interfaceFunctionDefLibraryOrBuilder
-
getFunction
public FunctionDef getFunction(int index)
repeated .tensorflow.FunctionDef function = 1;- Specified by:
getFunctionin interfaceFunctionDefLibraryOrBuilder
-
setFunction
public FunctionDefLibrary.Builder setFunction(int index, FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;
-
setFunction
public FunctionDefLibrary.Builder setFunction(int index, FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;
-
addFunction
public FunctionDefLibrary.Builder addFunction(FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;
-
addFunction
public FunctionDefLibrary.Builder addFunction(int index, FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;
-
addFunction
public FunctionDefLibrary.Builder addFunction(FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;
-
addFunction
public FunctionDefLibrary.Builder addFunction(int index, FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;
-
addAllFunction
public FunctionDefLibrary.Builder addAllFunction(Iterable<? extends FunctionDef> values)
repeated .tensorflow.FunctionDef function = 1;
-
clearFunction
public FunctionDefLibrary.Builder clearFunction()
repeated .tensorflow.FunctionDef function = 1;
-
removeFunction
public FunctionDefLibrary.Builder removeFunction(int index)
repeated .tensorflow.FunctionDef function = 1;
-
getFunctionBuilder
public FunctionDef.Builder getFunctionBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;
-
getFunctionOrBuilder
public FunctionDefOrBuilder getFunctionOrBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;- Specified by:
getFunctionOrBuilderin interfaceFunctionDefLibraryOrBuilder
-
getFunctionOrBuilderList
public List<? extends FunctionDefOrBuilder> getFunctionOrBuilderList()
repeated .tensorflow.FunctionDef function = 1;- Specified by:
getFunctionOrBuilderListin interfaceFunctionDefLibraryOrBuilder
-
addFunctionBuilder
public FunctionDef.Builder addFunctionBuilder()
repeated .tensorflow.FunctionDef function = 1;
-
addFunctionBuilder
public FunctionDef.Builder addFunctionBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;
-
getFunctionBuilderList
public List<FunctionDef.Builder> getFunctionBuilderList()
repeated .tensorflow.FunctionDef function = 1;
-
getGradientList
public List<GradientDef> getGradientList()
repeated .tensorflow.GradientDef gradient = 2;- Specified by:
getGradientListin interfaceFunctionDefLibraryOrBuilder
-
getGradientCount
public int getGradientCount()
repeated .tensorflow.GradientDef gradient = 2;- Specified by:
getGradientCountin interfaceFunctionDefLibraryOrBuilder
-
getGradient
public GradientDef getGradient(int index)
repeated .tensorflow.GradientDef gradient = 2;- Specified by:
getGradientin interfaceFunctionDefLibraryOrBuilder
-
setGradient
public FunctionDefLibrary.Builder setGradient(int index, GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;
-
setGradient
public FunctionDefLibrary.Builder setGradient(int index, GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;
-
addGradient
public FunctionDefLibrary.Builder addGradient(GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;
-
addGradient
public FunctionDefLibrary.Builder addGradient(int index, GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;
-
addGradient
public FunctionDefLibrary.Builder addGradient(GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;
-
addGradient
public FunctionDefLibrary.Builder addGradient(int index, GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;
-
addAllGradient
public FunctionDefLibrary.Builder addAllGradient(Iterable<? extends GradientDef> values)
repeated .tensorflow.GradientDef gradient = 2;
-
clearGradient
public FunctionDefLibrary.Builder clearGradient()
repeated .tensorflow.GradientDef gradient = 2;
-
removeGradient
public FunctionDefLibrary.Builder removeGradient(int index)
repeated .tensorflow.GradientDef gradient = 2;
-
getGradientBuilder
public GradientDef.Builder getGradientBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;
-
getGradientOrBuilder
public GradientDefOrBuilder getGradientOrBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;- Specified by:
getGradientOrBuilderin interfaceFunctionDefLibraryOrBuilder
-
getGradientOrBuilderList
public List<? extends GradientDefOrBuilder> getGradientOrBuilderList()
repeated .tensorflow.GradientDef gradient = 2;- Specified by:
getGradientOrBuilderListin interfaceFunctionDefLibraryOrBuilder
-
addGradientBuilder
public GradientDef.Builder addGradientBuilder()
repeated .tensorflow.GradientDef gradient = 2;
-
addGradientBuilder
public GradientDef.Builder addGradientBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;
-
getGradientBuilderList
public List<GradientDef.Builder> getGradientBuilderList()
repeated .tensorflow.GradientDef gradient = 2;
-
setUnknownFields
public final FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
mergeUnknownFields
public final FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
-