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 type
tensorflow.FunctionDefLibrary| Modifier and Type | Method and 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(FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1; |
FunctionDefLibrary.Builder |
addFunction(FunctionDef value)
repeated .tensorflow.FunctionDef function = 1; |
FunctionDefLibrary.Builder |
addFunction(int index,
FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1; |
FunctionDefLibrary.Builder |
addFunction(int index,
FunctionDef value)
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(GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2; |
FunctionDefLibrary.Builder |
addGradient(GradientDef value)
repeated .tensorflow.GradientDef gradient = 2; |
FunctionDefLibrary.Builder |
addGradient(int index,
GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2; |
FunctionDefLibrary.Builder |
addGradient(int index,
GradientDef value)
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(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FunctionDefLibrary |
build() |
FunctionDefLibrary |
buildPartial() |
FunctionDefLibrary.Builder |
clear() |
FunctionDefLibrary.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FunctionDefLibrary.Builder |
clearFunction()
repeated .tensorflow.FunctionDef function = 1; |
FunctionDefLibrary.Builder |
clearGradient()
repeated .tensorflow.GradientDef gradient = 2; |
FunctionDefLibrary.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FunctionDefLibrary.Builder |
clone() |
FunctionDefLibrary |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FunctionDefLibrary.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FunctionDefLibrary.Builder |
mergeFrom(FunctionDefLibrary other) |
FunctionDefLibrary.Builder |
mergeFrom(com.google.protobuf.Message other) |
FunctionDefLibrary.Builder |
mergeUnknownFields(com.google.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(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FunctionDefLibrary.Builder |
setFunction(int index,
FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1; |
FunctionDefLibrary.Builder |
setFunction(int index,
FunctionDef value)
repeated .tensorflow.FunctionDef function = 1; |
FunctionDefLibrary.Builder |
setGradient(int index,
GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2; |
FunctionDefLibrary.Builder |
setGradient(int index,
GradientDef value)
repeated .tensorflow.GradientDef gradient = 2; |
FunctionDefLibrary.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FunctionDefLibrary.Builder |
setUnknownFields(com.google.protobuf.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.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>public FunctionDefLibrary.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>public FunctionDefLibrary getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FunctionDefLibrary build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FunctionDefLibrary buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FunctionDefLibrary.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>public FunctionDefLibrary.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>public FunctionDefLibrary.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>public FunctionDefLibrary.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>public FunctionDefLibrary.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>public FunctionDefLibrary.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>public FunctionDefLibrary.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FunctionDefLibrary.Builder>public FunctionDefLibrary.Builder mergeFrom(FunctionDefLibrary other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>public FunctionDefLibrary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FunctionDefLibrary.Builder>IOExceptionpublic List<FunctionDef> getFunctionList()
repeated .tensorflow.FunctionDef function = 1;getFunctionList in interface FunctionDefLibraryOrBuilderpublic int getFunctionCount()
repeated .tensorflow.FunctionDef function = 1;getFunctionCount in interface FunctionDefLibraryOrBuilderpublic FunctionDef getFunction(int index)
repeated .tensorflow.FunctionDef function = 1;getFunction in interface FunctionDefLibraryOrBuilderpublic FunctionDefLibrary.Builder setFunction(int index, FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;public FunctionDefLibrary.Builder setFunction(int index, FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;public FunctionDefLibrary.Builder addFunction(FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;public FunctionDefLibrary.Builder addFunction(int index, FunctionDef value)
repeated .tensorflow.FunctionDef function = 1;public FunctionDefLibrary.Builder addFunction(FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;public FunctionDefLibrary.Builder addFunction(int index, FunctionDef.Builder builderForValue)
repeated .tensorflow.FunctionDef function = 1;public FunctionDefLibrary.Builder addAllFunction(Iterable<? extends FunctionDef> values)
repeated .tensorflow.FunctionDef function = 1;public FunctionDefLibrary.Builder clearFunction()
repeated .tensorflow.FunctionDef function = 1;public FunctionDefLibrary.Builder removeFunction(int index)
repeated .tensorflow.FunctionDef function = 1;public FunctionDef.Builder getFunctionBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;public FunctionDefOrBuilder getFunctionOrBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;getFunctionOrBuilder in interface FunctionDefLibraryOrBuilderpublic List<? extends FunctionDefOrBuilder> getFunctionOrBuilderList()
repeated .tensorflow.FunctionDef function = 1;getFunctionOrBuilderList in interface FunctionDefLibraryOrBuilderpublic FunctionDef.Builder addFunctionBuilder()
repeated .tensorflow.FunctionDef function = 1;public FunctionDef.Builder addFunctionBuilder(int index)
repeated .tensorflow.FunctionDef function = 1;public List<FunctionDef.Builder> getFunctionBuilderList()
repeated .tensorflow.FunctionDef function = 1;public List<GradientDef> getGradientList()
repeated .tensorflow.GradientDef gradient = 2;getGradientList in interface FunctionDefLibraryOrBuilderpublic int getGradientCount()
repeated .tensorflow.GradientDef gradient = 2;getGradientCount in interface FunctionDefLibraryOrBuilderpublic GradientDef getGradient(int index)
repeated .tensorflow.GradientDef gradient = 2;getGradient in interface FunctionDefLibraryOrBuilderpublic FunctionDefLibrary.Builder setGradient(int index, GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;public FunctionDefLibrary.Builder setGradient(int index, GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;public FunctionDefLibrary.Builder addGradient(GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;public FunctionDefLibrary.Builder addGradient(int index, GradientDef value)
repeated .tensorflow.GradientDef gradient = 2;public FunctionDefLibrary.Builder addGradient(GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;public FunctionDefLibrary.Builder addGradient(int index, GradientDef.Builder builderForValue)
repeated .tensorflow.GradientDef gradient = 2;public FunctionDefLibrary.Builder addAllGradient(Iterable<? extends GradientDef> values)
repeated .tensorflow.GradientDef gradient = 2;public FunctionDefLibrary.Builder clearGradient()
repeated .tensorflow.GradientDef gradient = 2;public FunctionDefLibrary.Builder removeGradient(int index)
repeated .tensorflow.GradientDef gradient = 2;public GradientDef.Builder getGradientBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;public GradientDefOrBuilder getGradientOrBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;getGradientOrBuilder in interface FunctionDefLibraryOrBuilderpublic List<? extends GradientDefOrBuilder> getGradientOrBuilderList()
repeated .tensorflow.GradientDef gradient = 2;getGradientOrBuilderList in interface FunctionDefLibraryOrBuilderpublic GradientDef.Builder addGradientBuilder()
repeated .tensorflow.GradientDef gradient = 2;public GradientDef.Builder addGradientBuilder(int index)
repeated .tensorflow.GradientDef gradient = 2;public List<GradientDef.Builder> getGradientBuilderList()
repeated .tensorflow.GradientDef gradient = 2;public final FunctionDefLibrary.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>public final FunctionDefLibrary.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>Copyright © 2015–2019. All rights reserved.