Class NodeOutput.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NodeOutput.Builder>
com.google.protobuf.GeneratedMessage.Builder<NodeOutput.Builder>
org.tensorflow.proto.NodeOutput.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, NodeOutputOrBuilder
- Enclosing class:
NodeOutput
public static final class NodeOutput.Builder
extends GeneratedMessage.Builder<NodeOutput.Builder>
implements NodeOutputOrBuilder
Output sizes recorded for a single execution of a graph node.Protobuf type
tensorflow.NodeOutput-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()int32 slot = 1;.tensorflow.TensorDescription tensor_description = 3;static final Descriptors.DescriptorintgetSlot()int32 slot = 1;.tensorflow.TensorDescription tensor_description = 3;.tensorflow.TensorDescription tensor_description = 3;.tensorflow.TensorDescription tensor_description = 3;boolean.tensorflow.TensorDescription tensor_description = 3;protected GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(NodeOutput other) .tensorflow.TensorDescription tensor_description = 3;setSlot(int value) int32 slot = 1;.tensorflow.TensorDescription tensor_description = 3;setTensorDescription(TensorDescription.Builder builderForValue) .tensorflow.TensorDescription tensor_description = 3;Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<NodeOutput.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<NodeOutput.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<NodeOutput.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<NodeOutput.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<NodeOutput.Builder>
-
mergeFrom
public NodeOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<NodeOutput.Builder>- Throws:
IOException
-
getSlot
public int getSlot()int32 slot = 1;- Specified by:
getSlotin interfaceNodeOutputOrBuilder- Returns:
- The slot.
-
setSlot
int32 slot = 1;- Parameters:
value- The slot to set.- Returns:
- This builder for chaining.
-
clearSlot
-
hasTensorDescription
public boolean hasTensorDescription().tensorflow.TensorDescription tensor_description = 3;- Specified by:
hasTensorDescriptionin interfaceNodeOutputOrBuilder- Returns:
- Whether the tensorDescription field is set.
-
getTensorDescription
.tensorflow.TensorDescription tensor_description = 3;- Specified by:
getTensorDescriptionin interfaceNodeOutputOrBuilder- Returns:
- The tensorDescription.
-
setTensorDescription
.tensorflow.TensorDescription tensor_description = 3; -
setTensorDescription
.tensorflow.TensorDescription tensor_description = 3; -
mergeTensorDescription
.tensorflow.TensorDescription tensor_description = 3; -
clearTensorDescription
.tensorflow.TensorDescription tensor_description = 3; -
getTensorDescriptionBuilder
.tensorflow.TensorDescription tensor_description = 3; -
getTensorDescriptionOrBuilder
.tensorflow.TensorDescription tensor_description = 3;- Specified by:
getTensorDescriptionOrBuilderin interfaceNodeOutputOrBuilder
-