Package org.platanios.tensorflow.proto
Class EagerServiceOuterClass.RegisterFunctionOp.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
- org.platanios.tensorflow.proto.EagerServiceOuterClass.RegisterFunctionOp.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
,EagerServiceOuterClass.RegisterFunctionOpOrBuilder
- Enclosing class:
- EagerServiceOuterClass.RegisterFunctionOp
public static final class EagerServiceOuterClass.RegisterFunctionOp.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.RegisterFunctionOp.Builder> implements EagerServiceOuterClass.RegisterFunctionOpOrBuilder
Protobuf typeorg.platanios.tensorflow.proto.RegisterFunctionOp
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EagerServiceOuterClass.RegisterFunctionOp.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EagerServiceOuterClass.RegisterFunctionOp
build()
EagerServiceOuterClass.RegisterFunctionOp
buildPartial()
EagerServiceOuterClass.RegisterFunctionOp.Builder
clear()
EagerServiceOuterClass.RegisterFunctionOp.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EagerServiceOuterClass.RegisterFunctionOp.Builder
clearFunctionDef()
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
EagerServiceOuterClass.RegisterFunctionOp.Builder
clearIsComponentFunction()
If true, it means that function_def is produced by graph partition during multi-device function instantiation.EagerServiceOuterClass.RegisterFunctionOp.Builder
clearLibrary()
All necessary FunctionDefs and GradientDefs to expand `function_def`.EagerServiceOuterClass.RegisterFunctionOp.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
EagerServiceOuterClass.RegisterFunctionOp.Builder
clone()
EagerServiceOuterClass.RegisterFunctionOp
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
FunctionDef
getFunctionDef()
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
FunctionDef.Builder
getFunctionDefBuilder()
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
FunctionDefOrBuilder
getFunctionDefOrBuilder()
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
boolean
getIsComponentFunction()
If true, it means that function_def is produced by graph partition during multi-device function instantiation.FunctionDefLibrary
getLibrary()
All necessary FunctionDefs and GradientDefs to expand `function_def`.FunctionDefLibrary.Builder
getLibraryBuilder()
All necessary FunctionDefs and GradientDefs to expand `function_def`.FunctionDefLibraryOrBuilder
getLibraryOrBuilder()
All necessary FunctionDefs and GradientDefs to expand `function_def`.boolean
hasFunctionDef()
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
boolean
hasLibrary()
All necessary FunctionDefs and GradientDefs to expand `function_def`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EagerServiceOuterClass.RegisterFunctionOp.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EagerServiceOuterClass.RegisterFunctionOp.Builder
mergeFrom(com.google.protobuf.Message other)
EagerServiceOuterClass.RegisterFunctionOp.Builder
mergeFrom(EagerServiceOuterClass.RegisterFunctionOp other)
EagerServiceOuterClass.RegisterFunctionOp.Builder
mergeFunctionDef(FunctionDef value)
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
EagerServiceOuterClass.RegisterFunctionOp.Builder
mergeLibrary(FunctionDefLibrary value)
All necessary FunctionDefs and GradientDefs to expand `function_def`.EagerServiceOuterClass.RegisterFunctionOp.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EagerServiceOuterClass.RegisterFunctionOp.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EagerServiceOuterClass.RegisterFunctionOp.Builder
setFunctionDef(FunctionDef value)
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
EagerServiceOuterClass.RegisterFunctionOp.Builder
setFunctionDef(FunctionDef.Builder builderForValue)
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
EagerServiceOuterClass.RegisterFunctionOp.Builder
setIsComponentFunction(boolean value)
If true, it means that function_def is produced by graph partition during multi-device function instantiation.EagerServiceOuterClass.RegisterFunctionOp.Builder
setLibrary(FunctionDefLibrary value)
All necessary FunctionDefs and GradientDefs to expand `function_def`.EagerServiceOuterClass.RegisterFunctionOp.Builder
setLibrary(FunctionDefLibrary.Builder builderForValue)
All necessary FunctionDefs and GradientDefs to expand `function_def`.EagerServiceOuterClass.RegisterFunctionOp.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
EagerServiceOuterClass.RegisterFunctionOp.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<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
clear
public EagerServiceOuterClass.RegisterFunctionOp.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<EagerServiceOuterClass.RegisterFunctionOp.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<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
getDefaultInstanceForType
public EagerServiceOuterClass.RegisterFunctionOp getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EagerServiceOuterClass.RegisterFunctionOp build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EagerServiceOuterClass.RegisterFunctionOp buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EagerServiceOuterClass.RegisterFunctionOp.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<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
setField
public EagerServiceOuterClass.RegisterFunctionOp.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<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
clearField
public EagerServiceOuterClass.RegisterFunctionOp.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<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
clearOneof
public EagerServiceOuterClass.RegisterFunctionOp.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<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
setRepeatedField
public EagerServiceOuterClass.RegisterFunctionOp.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<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
addRepeatedField
public EagerServiceOuterClass.RegisterFunctionOp.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<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
mergeFrom
public EagerServiceOuterClass.RegisterFunctionOp.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
mergeFrom
public EagerServiceOuterClass.RegisterFunctionOp.Builder mergeFrom(EagerServiceOuterClass.RegisterFunctionOp other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
mergeFrom
public EagerServiceOuterClass.RegisterFunctionOp.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<EagerServiceOuterClass.RegisterFunctionOp.Builder>
- Throws:
java.io.IOException
-
hasFunctionDef
public boolean hasFunctionDef()
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
- Specified by:
hasFunctionDef
in interfaceEagerServiceOuterClass.RegisterFunctionOpOrBuilder
- Returns:
- Whether the functionDef field is set.
-
getFunctionDef
public FunctionDef getFunctionDef()
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
- Specified by:
getFunctionDef
in interfaceEagerServiceOuterClass.RegisterFunctionOpOrBuilder
- Returns:
- The functionDef.
-
setFunctionDef
public EagerServiceOuterClass.RegisterFunctionOp.Builder setFunctionDef(FunctionDef value)
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
-
setFunctionDef
public EagerServiceOuterClass.RegisterFunctionOp.Builder setFunctionDef(FunctionDef.Builder builderForValue)
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
-
mergeFunctionDef
public EagerServiceOuterClass.RegisterFunctionOp.Builder mergeFunctionDef(FunctionDef value)
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
-
clearFunctionDef
public EagerServiceOuterClass.RegisterFunctionOp.Builder clearFunctionDef()
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
-
getFunctionDefBuilder
public FunctionDef.Builder getFunctionDefBuilder()
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
-
getFunctionDefOrBuilder
public FunctionDefOrBuilder getFunctionDefOrBuilder()
.org.platanios.tensorflow.proto.FunctionDef function_def = 1;
- Specified by:
getFunctionDefOrBuilder
in interfaceEagerServiceOuterClass.RegisterFunctionOpOrBuilder
-
getIsComponentFunction
public boolean getIsComponentFunction()
If true, it means that function_def is produced by graph partition during multi-device function instantiation.
bool is_component_function = 2;
- Specified by:
getIsComponentFunction
in interfaceEagerServiceOuterClass.RegisterFunctionOpOrBuilder
- Returns:
- The isComponentFunction.
-
setIsComponentFunction
public EagerServiceOuterClass.RegisterFunctionOp.Builder setIsComponentFunction(boolean value)
If true, it means that function_def is produced by graph partition during multi-device function instantiation.
bool is_component_function = 2;
- Parameters:
value
- The isComponentFunction to set.- Returns:
- This builder for chaining.
-
clearIsComponentFunction
public EagerServiceOuterClass.RegisterFunctionOp.Builder clearIsComponentFunction()
If true, it means that function_def is produced by graph partition during multi-device function instantiation.
bool is_component_function = 2;
- Returns:
- This builder for chaining.
-
hasLibrary
public boolean hasLibrary()
All necessary FunctionDefs and GradientDefs to expand `function_def`. When is_component_function is true, `function_def` could be a nested function, since some nodes in its parent's function body could be replaced with a new function by the graph optimization passes. No need to add FunctionDefs here to the function cache in EagerContext since they won't be executed as KernelAndDevices.
.org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
- Specified by:
hasLibrary
in interfaceEagerServiceOuterClass.RegisterFunctionOpOrBuilder
- Returns:
- Whether the library field is set.
-
getLibrary
public FunctionDefLibrary getLibrary()
All necessary FunctionDefs and GradientDefs to expand `function_def`. When is_component_function is true, `function_def` could be a nested function, since some nodes in its parent's function body could be replaced with a new function by the graph optimization passes. No need to add FunctionDefs here to the function cache in EagerContext since they won't be executed as KernelAndDevices.
.org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
- Specified by:
getLibrary
in interfaceEagerServiceOuterClass.RegisterFunctionOpOrBuilder
- Returns:
- The library.
-
setLibrary
public EagerServiceOuterClass.RegisterFunctionOp.Builder setLibrary(FunctionDefLibrary value)
All necessary FunctionDefs and GradientDefs to expand `function_def`. When is_component_function is true, `function_def` could be a nested function, since some nodes in its parent's function body could be replaced with a new function by the graph optimization passes. No need to add FunctionDefs here to the function cache in EagerContext since they won't be executed as KernelAndDevices.
.org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
-
setLibrary
public EagerServiceOuterClass.RegisterFunctionOp.Builder setLibrary(FunctionDefLibrary.Builder builderForValue)
All necessary FunctionDefs and GradientDefs to expand `function_def`. When is_component_function is true, `function_def` could be a nested function, since some nodes in its parent's function body could be replaced with a new function by the graph optimization passes. No need to add FunctionDefs here to the function cache in EagerContext since they won't be executed as KernelAndDevices.
.org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
-
mergeLibrary
public EagerServiceOuterClass.RegisterFunctionOp.Builder mergeLibrary(FunctionDefLibrary value)
All necessary FunctionDefs and GradientDefs to expand `function_def`. When is_component_function is true, `function_def` could be a nested function, since some nodes in its parent's function body could be replaced with a new function by the graph optimization passes. No need to add FunctionDefs here to the function cache in EagerContext since they won't be executed as KernelAndDevices.
.org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
-
clearLibrary
public EagerServiceOuterClass.RegisterFunctionOp.Builder clearLibrary()
All necessary FunctionDefs and GradientDefs to expand `function_def`. When is_component_function is true, `function_def` could be a nested function, since some nodes in its parent's function body could be replaced with a new function by the graph optimization passes. No need to add FunctionDefs here to the function cache in EagerContext since they won't be executed as KernelAndDevices.
.org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
-
getLibraryBuilder
public FunctionDefLibrary.Builder getLibraryBuilder()
All necessary FunctionDefs and GradientDefs to expand `function_def`. When is_component_function is true, `function_def` could be a nested function, since some nodes in its parent's function body could be replaced with a new function by the graph optimization passes. No need to add FunctionDefs here to the function cache in EagerContext since they won't be executed as KernelAndDevices.
.org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
-
getLibraryOrBuilder
public FunctionDefLibraryOrBuilder getLibraryOrBuilder()
All necessary FunctionDefs and GradientDefs to expand `function_def`. When is_component_function is true, `function_def` could be a nested function, since some nodes in its parent's function body could be replaced with a new function by the graph optimization passes. No need to add FunctionDefs here to the function cache in EagerContext since they won't be executed as KernelAndDevices.
.org.platanios.tensorflow.proto.FunctionDefLibrary library = 3;
- Specified by:
getLibraryOrBuilder
in interfaceEagerServiceOuterClass.RegisterFunctionOpOrBuilder
-
setUnknownFields
public final EagerServiceOuterClass.RegisterFunctionOp.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
mergeUnknownFields
public final EagerServiceOuterClass.RegisterFunctionOp.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EagerServiceOuterClass.RegisterFunctionOp.Builder>
-
-