Class CostGraphDef.Node.OutputInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CostGraphDef.Node.OutputInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
org.tensorflow.proto.CostGraphDef.Node.OutputInfo.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, CostGraphDef.Node.OutputInfoOrBuilder
- Enclosing class:
CostGraphDef.Node.OutputInfo
public static final class CostGraphDef.Node.OutputInfo.Builder
extends GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
implements CostGraphDef.Node.OutputInfoOrBuilder
Outputs of this node.Protobuf type
tensorflow.CostGraphDef.Node.OutputInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()If >= 0, the output is an alias of an input..tensorflow.DataType dtype = 4;.tensorflow.TensorShapeProto shape = 3;int64 size = 1;clone()longIf >= 0, the output is an alias of an input.static final Descriptors.DescriptorgetDtype().tensorflow.DataType dtype = 4;int.tensorflow.DataType dtype = 4;getShape().tensorflow.TensorShapeProto shape = 3;.tensorflow.TensorShapeProto shape = 3;.tensorflow.TensorShapeProto shape = 3;longgetSize()int64 size = 1;booleanhasShape().tensorflow.TensorShapeProto shape = 3;protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeShape(TensorShapeProto value) .tensorflow.TensorShapeProto shape = 3;mergeUnknownFields(UnknownFieldSet unknownFields) setAliasInputPort(long value) If >= 0, the output is an alias of an input..tensorflow.DataType dtype = 4;setDtypeValue(int value) .tensorflow.DataType dtype = 4;setField(Descriptors.FieldDescriptor field, Object value) setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setShape(TensorShapeProto value) .tensorflow.TensorShapeProto shape = 3;setShape(TensorShapeProto.Builder builderForValue) .tensorflow.TensorShapeProto shape = 3;setSize(long value) int64 size = 1;setUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.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
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
setField
public CostGraphDef.Node.OutputInfo.Builder setField(Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
setRepeatedField
public CostGraphDef.Node.OutputInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
addRepeatedField
public CostGraphDef.Node.OutputInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeFrom
public CostGraphDef.Node.OutputInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<CostGraphDef.Node.OutputInfo.Builder>- Throws:
IOException
-
getSize
public long getSize()int64 size = 1;- Specified by:
getSizein interfaceCostGraphDef.Node.OutputInfoOrBuilder- Returns:
- The size.
-
setSize
int64 size = 1;- Parameters:
value- The size to set.- Returns:
- This builder for chaining.
-
clearSize
int64 size = 1;- Returns:
- This builder for chaining.
-
getAliasInputPort
public long getAliasInputPort()If >= 0, the output is an alias of an input. Note that an alias input may itself be an alias. The algorithm will therefore need to follow those pointers.
int64 alias_input_port = 2;- Specified by:
getAliasInputPortin interfaceCostGraphDef.Node.OutputInfoOrBuilder- Returns:
- The aliasInputPort.
-
setAliasInputPort
If >= 0, the output is an alias of an input. Note that an alias input may itself be an alias. The algorithm will therefore need to follow those pointers.
int64 alias_input_port = 2;- Parameters:
value- The aliasInputPort to set.- Returns:
- This builder for chaining.
-
clearAliasInputPort
If >= 0, the output is an alias of an input. Note that an alias input may itself be an alias. The algorithm will therefore need to follow those pointers.
int64 alias_input_port = 2;- Returns:
- This builder for chaining.
-
hasShape
public boolean hasShape().tensorflow.TensorShapeProto shape = 3;- Specified by:
hasShapein interfaceCostGraphDef.Node.OutputInfoOrBuilder- Returns:
- Whether the shape field is set.
-
getShape
.tensorflow.TensorShapeProto shape = 3;- Specified by:
getShapein interfaceCostGraphDef.Node.OutputInfoOrBuilder- Returns:
- The shape.
-
setShape
.tensorflow.TensorShapeProto shape = 3; -
setShape
.tensorflow.TensorShapeProto shape = 3; -
mergeShape
.tensorflow.TensorShapeProto shape = 3; -
clearShape
.tensorflow.TensorShapeProto shape = 3; -
getShapeBuilder
.tensorflow.TensorShapeProto shape = 3; -
getShapeOrBuilder
.tensorflow.TensorShapeProto shape = 3;- Specified by:
getShapeOrBuilderin interfaceCostGraphDef.Node.OutputInfoOrBuilder
-
getDtypeValue
public int getDtypeValue().tensorflow.DataType dtype = 4;- Specified by:
getDtypeValuein interfaceCostGraphDef.Node.OutputInfoOrBuilder- Returns:
- The enum numeric value on the wire for dtype.
-
setDtypeValue
.tensorflow.DataType dtype = 4;- Parameters:
value- The enum numeric value on the wire for dtype to set.- Returns:
- This builder for chaining.
-
getDtype
.tensorflow.DataType dtype = 4;- Specified by:
getDtypein interfaceCostGraphDef.Node.OutputInfoOrBuilder- Returns:
- The dtype.
-
setDtype
.tensorflow.DataType dtype = 4;- Parameters:
value- The dtype to set.- Returns:
- This builder for chaining.
-
clearDtype
.tensorflow.DataType dtype = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-