Package org.platanios.tensorflow.proto
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.platanios.tensorflow.proto.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 typeorg.platanios.tensorflow.proto.FunctionDefLibrary
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionDefLibrary.Builder
addAllFunction(java.lang.Iterable<? extends FunctionDef> values)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDefLibrary.Builder
addAllGradient(java.lang.Iterable<? extends GradientDef> values)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addFunction(int index, FunctionDef value)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDefLibrary.Builder
addFunction(int index, FunctionDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDefLibrary.Builder
addFunction(FunctionDef value)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDefLibrary.Builder
addFunction(FunctionDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDef.Builder
addFunctionBuilder()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDef.Builder
addFunctionBuilder(int index)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDefLibrary.Builder
addGradient(int index, GradientDef value)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addGradient(int index, GradientDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addGradient(GradientDef value)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addGradient(GradientDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
GradientDef.Builder
addGradientBuilder()
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
GradientDef.Builder
addGradientBuilder(int index)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
FunctionDefLibrary.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
FunctionDefLibrary
build()
FunctionDefLibrary
buildPartial()
FunctionDefLibrary.Builder
clear()
FunctionDefLibrary.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FunctionDefLibrary.Builder
clearFunction()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDefLibrary.Builder
clearGradient()
repeated .org.platanios.tensorflow.proto.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 .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDef.Builder
getFunctionBuilder(int index)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
java.util.List<FunctionDef.Builder>
getFunctionBuilderList()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
int
getFunctionCount()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
java.util.List<FunctionDef>
getFunctionList()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDefOrBuilder
getFunctionOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
java.util.List<? extends FunctionDefOrBuilder>
getFunctionOrBuilderList()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
GradientDef
getGradient(int index)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
GradientDef.Builder
getGradientBuilder(int index)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
java.util.List<GradientDef.Builder>
getGradientBuilderList()
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
int
getGradientCount()
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
java.util.List<GradientDef>
getGradientList()
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
GradientDefOrBuilder
getGradientOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
java.util.List<? extends GradientDefOrBuilder>
getGradientOrBuilderList()
repeated .org.platanios.tensorflow.proto.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(com.google.protobuf.Message other)
FunctionDefLibrary.Builder
mergeFrom(FunctionDefLibrary other)
FunctionDefLibrary.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FunctionDefLibrary.Builder
removeFunction(int index)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDefLibrary.Builder
removeGradient(int index)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
FunctionDefLibrary.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
FunctionDefLibrary.Builder
setFunction(int index, FunctionDef value)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDefLibrary.Builder
setFunction(int index, FunctionDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
FunctionDefLibrary.Builder
setGradient(int index, GradientDef value)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
FunctionDefLibrary.Builder
setGradient(int index, GradientDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
FunctionDefLibrary.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
FunctionDefLibrary.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
clear
public FunctionDefLibrary.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
getDefaultInstanceForType
public FunctionDefLibrary getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FunctionDefLibrary build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FunctionDefLibrary buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FunctionDefLibrary.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
setField
public FunctionDefLibrary.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
clearField
public FunctionDefLibrary.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
clearOneof
public FunctionDefLibrary.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
addRepeatedField
public FunctionDefLibrary.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
mergeFrom
public FunctionDefLibrary.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FunctionDefLibrary.Builder>
-
mergeFrom
public FunctionDefLibrary.Builder mergeFrom(FunctionDefLibrary other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FunctionDefLibrary.Builder>
- Throws:
java.io.IOException
-
getFunctionList
public java.util.List<FunctionDef> getFunctionList()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
- Specified by:
getFunctionList
in interfaceFunctionDefLibraryOrBuilder
-
getFunctionCount
public int getFunctionCount()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
- Specified by:
getFunctionCount
in interfaceFunctionDefLibraryOrBuilder
-
getFunction
public FunctionDef getFunction(int index)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
- Specified by:
getFunction
in interfaceFunctionDefLibraryOrBuilder
-
setFunction
public FunctionDefLibrary.Builder setFunction(int index, FunctionDef value)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
setFunction
public FunctionDefLibrary.Builder setFunction(int index, FunctionDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
addFunction
public FunctionDefLibrary.Builder addFunction(FunctionDef value)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
addFunction
public FunctionDefLibrary.Builder addFunction(int index, FunctionDef value)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
addFunction
public FunctionDefLibrary.Builder addFunction(FunctionDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
addFunction
public FunctionDefLibrary.Builder addFunction(int index, FunctionDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
addAllFunction
public FunctionDefLibrary.Builder addAllFunction(java.lang.Iterable<? extends FunctionDef> values)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
clearFunction
public FunctionDefLibrary.Builder clearFunction()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
removeFunction
public FunctionDefLibrary.Builder removeFunction(int index)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
getFunctionBuilder
public FunctionDef.Builder getFunctionBuilder(int index)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
getFunctionOrBuilder
public FunctionDefOrBuilder getFunctionOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
- Specified by:
getFunctionOrBuilder
in interfaceFunctionDefLibraryOrBuilder
-
getFunctionOrBuilderList
public java.util.List<? extends FunctionDefOrBuilder> getFunctionOrBuilderList()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
- Specified by:
getFunctionOrBuilderList
in interfaceFunctionDefLibraryOrBuilder
-
addFunctionBuilder
public FunctionDef.Builder addFunctionBuilder()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
addFunctionBuilder
public FunctionDef.Builder addFunctionBuilder(int index)
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
getFunctionBuilderList
public java.util.List<FunctionDef.Builder> getFunctionBuilderList()
repeated .org.platanios.tensorflow.proto.FunctionDef function = 1;
-
getGradientList
public java.util.List<GradientDef> getGradientList()
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
- Specified by:
getGradientList
in interfaceFunctionDefLibraryOrBuilder
-
getGradientCount
public int getGradientCount()
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
- Specified by:
getGradientCount
in interfaceFunctionDefLibraryOrBuilder
-
getGradient
public GradientDef getGradient(int index)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
- Specified by:
getGradient
in interfaceFunctionDefLibraryOrBuilder
-
setGradient
public FunctionDefLibrary.Builder setGradient(int index, GradientDef value)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
setGradient
public FunctionDefLibrary.Builder setGradient(int index, GradientDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
addGradient
public FunctionDefLibrary.Builder addGradient(GradientDef value)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
addGradient
public FunctionDefLibrary.Builder addGradient(int index, GradientDef value)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
addGradient
public FunctionDefLibrary.Builder addGradient(GradientDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
addGradient
public FunctionDefLibrary.Builder addGradient(int index, GradientDef.Builder builderForValue)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
addAllGradient
public FunctionDefLibrary.Builder addAllGradient(java.lang.Iterable<? extends GradientDef> values)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
clearGradient
public FunctionDefLibrary.Builder clearGradient()
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
removeGradient
public FunctionDefLibrary.Builder removeGradient(int index)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
getGradientBuilder
public GradientDef.Builder getGradientBuilder(int index)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
getGradientOrBuilder
public GradientDefOrBuilder getGradientOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
- Specified by:
getGradientOrBuilder
in interfaceFunctionDefLibraryOrBuilder
-
getGradientOrBuilderList
public java.util.List<? extends GradientDefOrBuilder> getGradientOrBuilderList()
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
- Specified by:
getGradientOrBuilderList
in interfaceFunctionDefLibraryOrBuilder
-
addGradientBuilder
public GradientDef.Builder addGradientBuilder()
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
addGradientBuilder
public GradientDef.Builder addGradientBuilder(int index)
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
getGradientBuilderList
public java.util.List<GradientDef.Builder> getGradientBuilderList()
repeated .org.platanios.tensorflow.proto.GradientDef gradient = 2;
-
setUnknownFields
public final FunctionDefLibrary.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
mergeUnknownFields
public final FunctionDefLibrary.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FunctionDefLibrary.Builder>
-
-