Package org.tensorflow.framework
Class CostGraphDef.Node.OutputInfo.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
- org.tensorflow.framework.CostGraphDef.Node.OutputInfo.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,CostGraphDef.Node.OutputInfoOrBuilder
- Enclosing class:
- CostGraphDef.Node.OutputInfo
public static final class CostGraphDef.Node.OutputInfo.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder> implements CostGraphDef.Node.OutputInfoOrBuilder
Outputs of this node.
Protobuf typetensorflow.CostGraphDef.Node.OutputInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CostGraphDef.Node.OutputInfo.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)CostGraphDef.Node.OutputInfobuild()CostGraphDef.Node.OutputInfobuildPartial()CostGraphDef.Node.OutputInfo.Builderclear()CostGraphDef.Node.OutputInfo.BuilderclearAliasInputPort()If >= 0, the output is an alias of an input.CostGraphDef.Node.OutputInfo.BuilderclearDtype().tensorflow.DataType dtype = 4;CostGraphDef.Node.OutputInfo.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)CostGraphDef.Node.OutputInfo.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)CostGraphDef.Node.OutputInfo.BuilderclearShape().tensorflow.TensorShapeProto shape = 3;CostGraphDef.Node.OutputInfo.BuilderclearSize()int64 size = 1;CostGraphDef.Node.OutputInfo.Builderclone()longgetAliasInputPort()If >= 0, the output is an alias of an input.CostGraphDef.Node.OutputInfogetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()DataTypegetDtype().tensorflow.DataType dtype = 4;intgetDtypeValue().tensorflow.DataType dtype = 4;TensorShapeProtogetShape().tensorflow.TensorShapeProto shape = 3;TensorShapeProto.BuildergetShapeBuilder().tensorflow.TensorShapeProto shape = 3;TensorShapeProtoOrBuildergetShapeOrBuilder().tensorflow.TensorShapeProto shape = 3;longgetSize()int64 size = 1;booleanhasShape().tensorflow.TensorShapeProto shape = 3;protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CostGraphDef.Node.OutputInfo.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)CostGraphDef.Node.OutputInfo.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)CostGraphDef.Node.OutputInfo.BuildermergeFrom(CostGraphDef.Node.OutputInfo other)CostGraphDef.Node.OutputInfo.BuildermergeShape(TensorShapeProto value).tensorflow.TensorShapeProto shape = 3;CostGraphDef.Node.OutputInfo.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)CostGraphDef.Node.OutputInfo.BuildersetAliasInputPort(long value)If >= 0, the output is an alias of an input.CostGraphDef.Node.OutputInfo.BuildersetDtype(DataType value).tensorflow.DataType dtype = 4;CostGraphDef.Node.OutputInfo.BuildersetDtypeValue(int value).tensorflow.DataType dtype = 4;CostGraphDef.Node.OutputInfo.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)CostGraphDef.Node.OutputInfo.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CostGraphDef.Node.OutputInfo.BuildersetShape(TensorShapeProto value).tensorflow.TensorShapeProto shape = 3;CostGraphDef.Node.OutputInfo.BuildersetShape(TensorShapeProto.Builder builderForValue).tensorflow.TensorShapeProto shape = 3;CostGraphDef.Node.OutputInfo.BuildersetSize(long value)int64 size = 1;CostGraphDef.Node.OutputInfo.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.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 org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
clear
public CostGraphDef.Node.OutputInfo.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
getDefaultInstanceForType
public CostGraphDef.Node.OutputInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public CostGraphDef.Node.OutputInfo build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public CostGraphDef.Node.OutputInfo buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public CostGraphDef.Node.OutputInfo.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
setField
public CostGraphDef.Node.OutputInfo.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
clearField
public CostGraphDef.Node.OutputInfo.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
clearOneof
public CostGraphDef.Node.OutputInfo.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
setRepeatedField
public CostGraphDef.Node.OutputInfo.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
addRepeatedField
public CostGraphDef.Node.OutputInfo.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeFrom
public CostGraphDef.Node.OutputInfo.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeFrom
public CostGraphDef.Node.OutputInfo.Builder mergeFrom(CostGraphDef.Node.OutputInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeFrom
public CostGraphDef.Node.OutputInfo.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<CostGraphDef.Node.OutputInfo.Builder>- Throws:
IOException
-
getSize
public long getSize()
int64 size = 1;- Specified by:
getSizein interfaceCostGraphDef.Node.OutputInfoOrBuilder- Returns:
- The size.
-
setSize
public CostGraphDef.Node.OutputInfo.Builder setSize(long value)
int64 size = 1;- Parameters:
value- The size to set.- Returns:
- This builder for chaining.
-
clearSize
public CostGraphDef.Node.OutputInfo.Builder 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
public CostGraphDef.Node.OutputInfo.Builder setAliasInputPort(long value)
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
public CostGraphDef.Node.OutputInfo.Builder 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
public TensorShapeProto getShape()
.tensorflow.TensorShapeProto shape = 3;- Specified by:
getShapein interfaceCostGraphDef.Node.OutputInfoOrBuilder- Returns:
- The shape.
-
setShape
public CostGraphDef.Node.OutputInfo.Builder setShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 3;
-
setShape
public CostGraphDef.Node.OutputInfo.Builder setShape(TensorShapeProto.Builder builderForValue)
.tensorflow.TensorShapeProto shape = 3;
-
mergeShape
public CostGraphDef.Node.OutputInfo.Builder mergeShape(TensorShapeProto value)
.tensorflow.TensorShapeProto shape = 3;
-
clearShape
public CostGraphDef.Node.OutputInfo.Builder clearShape()
.tensorflow.TensorShapeProto shape = 3;
-
getShapeBuilder
public TensorShapeProto.Builder getShapeBuilder()
.tensorflow.TensorShapeProto shape = 3;
-
getShapeOrBuilder
public TensorShapeProtoOrBuilder 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
public CostGraphDef.Node.OutputInfo.Builder setDtypeValue(int value)
.tensorflow.DataType dtype = 4;- Parameters:
value- The enum numeric value on the wire for dtype to set.- Returns:
- This builder for chaining.
-
getDtype
public DataType getDtype()
.tensorflow.DataType dtype = 4;- Specified by:
getDtypein interfaceCostGraphDef.Node.OutputInfoOrBuilder- Returns:
- The dtype.
-
setDtype
public CostGraphDef.Node.OutputInfo.Builder setDtype(DataType value)
.tensorflow.DataType dtype = 4;- Parameters:
value- The dtype to set.- Returns:
- This builder for chaining.
-
clearDtype
public CostGraphDef.Node.OutputInfo.Builder clearDtype()
.tensorflow.DataType dtype = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final CostGraphDef.Node.OutputInfo.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeUnknownFields
public final CostGraphDef.Node.OutputInfo.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
-