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.Builder
addAllFunction(Iterable<? extends FunctionDef> values)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
addAllGradient(Iterable<? extends GradientDef> values)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addFunction(int index, FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
addFunction(int index, FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
addFunction(FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
addFunction(FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;
FunctionDef.Builder
addFunctionBuilder()
repeated .tensorflow.FunctionDef function = 1;
FunctionDef.Builder
addFunctionBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
addGradient(int index, GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addGradient(int index, GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addGradient(GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addGradient(GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;
GradientDef.Builder
addGradientBuilder()
repeated .tensorflow.GradientDef gradient = 2;
GradientDef.Builder
addGradientBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
FunctionDefLibrary
build()
FunctionDefLibrary
buildPartial()
FunctionDefLibrary.Builder
clear()
FunctionDefLibrary.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
FunctionDefLibrary.Builder
clearFunction()
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
clearGradient()
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
FunctionDefLibrary.Builder
clone()
FunctionDefLibrary
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
FunctionDef
getFunction(int index)
repeated .tensorflow.FunctionDef function = 1;
FunctionDef.Builder
getFunctionBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;
List<FunctionDef.Builder>
getFunctionBuilderList()
repeated .tensorflow.FunctionDef function = 1;
int
getFunctionCount()
repeated .tensorflow.FunctionDef function = 1;
List<FunctionDef>
getFunctionList()
repeated .tensorflow.FunctionDef function = 1;
FunctionDefOrBuilder
getFunctionOrBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;
List<? extends FunctionDefOrBuilder>
getFunctionOrBuilderList()
repeated .tensorflow.FunctionDef function = 1;
GradientDef
getGradient(int index)
repeated .tensorflow.GradientDef gradient = 2;
GradientDef.Builder
getGradientBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;
List<GradientDef.Builder>
getGradientBuilderList()
repeated .tensorflow.GradientDef gradient = 2;
int
getGradientCount()
repeated .tensorflow.GradientDef gradient = 2;
List<GradientDef>
getGradientList()
repeated .tensorflow.GradientDef gradient = 2;
GradientDefOrBuilder
getGradientOrBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;
List<? extends GradientDefOrBuilder>
getGradientOrBuilderList()
repeated .tensorflow.GradientDef gradient = 2;
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
FunctionDefLibrary.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
FunctionDefLibrary.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
FunctionDefLibrary.Builder
mergeFrom(FunctionDefLibrary other)
FunctionDefLibrary.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
FunctionDefLibrary.Builder
removeFunction(int index)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
removeGradient(int index)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
FunctionDefLibrary.Builder
setFunction(int index, FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
setFunction(int index, FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;
FunctionDefLibrary.Builder
setGradient(int index, GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
setGradient(int index, GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;
FunctionDefLibrary.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
clear
public FunctionDefLibrary.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<FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
getDefaultInstanceForType
public FunctionDefLibrary getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public FunctionDefLibrary build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public FunctionDefLibrary buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
setField
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
clearField
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
clearOneof
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
setRepeatedField
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
addRepeatedField
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
mergeFrom
public FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
mergeFrom
public FunctionDefLibrary.Builder mergeFrom(FunctionDefLibrary other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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<FunctionDefLibrary.Builder>
- Throws:
IOException
-
getFunctionList
public List<FunctionDef> getFunctionList()
repeated .tensorflow.FunctionDef function = 1;
- Specified by:
getFunctionList
in interfaceFunctionDefLibraryOrBuilder
-
getFunctionCount
public int getFunctionCount()
repeated .tensorflow.FunctionDef function = 1;
- Specified by:
getFunctionCount
in interfaceFunctionDefLibraryOrBuilder
-
getFunction
public FunctionDef getFunction(int index)
repeated .tensorflow.FunctionDef function = 1;
- Specified by:
getFunction
in 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:
getFunctionOrBuilder
in interfaceFunctionDefLibraryOrBuilder
-
getFunctionOrBuilderList
public List<? extends FunctionDefOrBuilder> getFunctionOrBuilderList()
repeated .tensorflow.FunctionDef function = 1;
- Specified by:
getFunctionOrBuilderList
in 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:
getGradientList
in interfaceFunctionDefLibraryOrBuilder
-
getGradientCount
public int getGradientCount()
repeated .tensorflow.GradientDef gradient = 2;
- Specified by:
getGradientCount
in interfaceFunctionDefLibraryOrBuilder
-
getGradient
public GradientDef getGradient(int index)
repeated .tensorflow.GradientDef gradient = 2;
- Specified by:
getGradient
in 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:
getGradientOrBuilder
in interfaceFunctionDefLibraryOrBuilder
-
getGradientOrBuilderList
public List<? extends GradientDefOrBuilder> getGradientOrBuilderList()
repeated .tensorflow.GradientDef gradient = 2;
- Specified by:
getGradientOrBuilderList
in 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:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
mergeUnknownFields
public final FunctionDefLibrary.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<FunctionDefLibrary.Builder>
-
-