Package org.tensorflow.framework
Class FunctionDefLibrary.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
- org.tensorflow.framework.FunctionDefLibrary.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,FunctionDefLibraryOrBuilder
- Enclosing class:
- FunctionDefLibrary
public static final class FunctionDefLibrary.Builder extends com.google.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(java.lang.Iterable<? extends FunctionDef> values)repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuilderaddAllGradient(java.lang.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(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)FunctionDefLibrarybuild()FunctionDefLibrarybuildPartial()FunctionDefLibrary.Builderclear()FunctionDefLibrary.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FunctionDefLibrary.BuilderclearFunction()repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuilderclearGradient()repeated .tensorflow.GradientDef gradient = 2;FunctionDefLibrary.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FunctionDefLibrary.Builderclone()FunctionDefLibrarygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FunctionDefgetFunction(int index)repeated .tensorflow.FunctionDef function = 1;FunctionDef.BuildergetFunctionBuilder(int index)repeated .tensorflow.FunctionDef function = 1;java.util.List<FunctionDef.Builder>getFunctionBuilderList()repeated .tensorflow.FunctionDef function = 1;intgetFunctionCount()repeated .tensorflow.FunctionDef function = 1;java.util.List<FunctionDef>getFunctionList()repeated .tensorflow.FunctionDef function = 1;FunctionDefOrBuildergetFunctionOrBuilder(int index)repeated .tensorflow.FunctionDef function = 1;java.util.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;java.util.List<GradientDef.Builder>getGradientBuilderList()repeated .tensorflow.GradientDef gradient = 2;intgetGradientCount()repeated .tensorflow.GradientDef gradient = 2;java.util.List<GradientDef>getGradientList()repeated .tensorflow.GradientDef gradient = 2;GradientDefOrBuildergetGradientOrBuilder(int index)repeated .tensorflow.GradientDef gradient = 2;java.util.List<? extends GradientDefOrBuilder>getGradientOrBuilderList()repeated .tensorflow.GradientDef gradient = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FunctionDefLibrary.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FunctionDefLibrary.BuildermergeFrom(com.google.protobuf.Message other)FunctionDefLibrary.BuildermergeFrom(FunctionDefLibrary other)FunctionDefLibrary.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FunctionDefLibrary.BuilderremoveFunction(int index)repeated .tensorflow.FunctionDef function = 1;FunctionDefLibrary.BuilderremoveGradient(int index)repeated .tensorflow.GradientDef gradient = 2;FunctionDefLibrary.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)FunctionDefLibrary.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.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 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
clear
public FunctionDefLibrary.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
getDefaultInstanceForType
public FunctionDefLibrary getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FunctionDefLibrary build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FunctionDefLibrary buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FunctionDefLibrary.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
setField
public FunctionDefLibrary.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
clearField
public FunctionDefLibrary.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
clearOneof
public FunctionDefLibrary.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
setRepeatedField
public FunctionDefLibrary.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
addRepeatedField
public FunctionDefLibrary.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
mergeFrom
public FunctionDefLibrary.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FunctionDefLibrary.Builder>
-
mergeFrom
public FunctionDefLibrary.Builder mergeFrom(FunctionDefLibrary other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
mergeFrom
public FunctionDefLibrary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FunctionDefLibrary.Builder>- Throws:
java.io.IOException
-
getFunctionList
public java.util.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(java.lang.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 java.util.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 java.util.List<FunctionDef.Builder> getFunctionBuilderList()
repeated .tensorflow.FunctionDef function = 1;
-
getGradientList
public java.util.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(java.lang.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 java.util.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 java.util.List<GradientDef.Builder> getGradientBuilderList()
repeated .tensorflow.GradientDef gradient = 2;
-
setUnknownFields
public final FunctionDefLibrary.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
mergeUnknownFields
public final FunctionDefLibrary.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
-