Package org.tensorflow.framework
Class CostGraphDef.Node.OutputInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
- org.tensorflow.framework.CostGraphDef.Node.OutputInfo.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,CostGraphDef.Node.OutputInfoOrBuilder
- Enclosing class:
- CostGraphDef.Node.OutputInfo
public static final class CostGraphDef.Node.OutputInfo.Builder extends com.google.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(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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(com.google.protobuf.Descriptors.FieldDescriptor field)CostGraphDef.Node.OutputInfo.BuilderclearOneof(com.google.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 com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CostGraphDef.Node.OutputInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CostGraphDef.Node.OutputInfo.BuildermergeFrom(com.google.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(com.google.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(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CostGraphDef.Node.OutputInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.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(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
clear
public CostGraphDef.Node.OutputInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
getDefaultInstanceForType
public CostGraphDef.Node.OutputInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CostGraphDef.Node.OutputInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CostGraphDef.Node.OutputInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CostGraphDef.Node.OutputInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
setField
public CostGraphDef.Node.OutputInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
clearField
public CostGraphDef.Node.OutputInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
clearOneof
public CostGraphDef.Node.OutputInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
setRepeatedField
public CostGraphDef.Node.OutputInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
addRepeatedField
public CostGraphDef.Node.OutputInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeFrom
public CostGraphDef.Node.OutputInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.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 interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeFrom
public CostGraphDef.Node.OutputInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CostGraphDef.Node.OutputInfo.Builder>- Throws:
java.io.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(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeUnknownFields
public final CostGraphDef.Node.OutputInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
-