Package org.platanios.tensorflow.proto
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.platanios.tensorflow.proto.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 typeorg.platanios.tensorflow.proto.CostGraphDef.Node.OutputInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CostGraphDef.Node.OutputInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CostGraphDef.Node.OutputInfo
build()
CostGraphDef.Node.OutputInfo
buildPartial()
CostGraphDef.Node.OutputInfo.Builder
clear()
CostGraphDef.Node.OutputInfo.Builder
clearAliasInputPort()
If >= 0, the output is an alias of an input.CostGraphDef.Node.OutputInfo.Builder
clearDtype()
.org.platanios.tensorflow.proto.DataType dtype = 4;
CostGraphDef.Node.OutputInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CostGraphDef.Node.OutputInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CostGraphDef.Node.OutputInfo.Builder
clearShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
CostGraphDef.Node.OutputInfo.Builder
clearSize()
int64 size = 1;
CostGraphDef.Node.OutputInfo.Builder
clone()
long
getAliasInputPort()
If >= 0, the output is an alias of an input.CostGraphDef.Node.OutputInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
DataType
getDtype()
.org.platanios.tensorflow.proto.DataType dtype = 4;
int
getDtypeValue()
.org.platanios.tensorflow.proto.DataType dtype = 4;
TensorShapeProto
getShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
TensorShapeProto.Builder
getShapeBuilder()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
TensorShapeProtoOrBuilder
getShapeOrBuilder()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
long
getSize()
int64 size = 1;
boolean
hasShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CostGraphDef.Node.OutputInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CostGraphDef.Node.OutputInfo.Builder
mergeFrom(com.google.protobuf.Message other)
CostGraphDef.Node.OutputInfo.Builder
mergeFrom(CostGraphDef.Node.OutputInfo other)
CostGraphDef.Node.OutputInfo.Builder
mergeShape(TensorShapeProto value)
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
CostGraphDef.Node.OutputInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CostGraphDef.Node.OutputInfo.Builder
setAliasInputPort(long value)
If >= 0, the output is an alias of an input.CostGraphDef.Node.OutputInfo.Builder
setDtype(DataType value)
.org.platanios.tensorflow.proto.DataType dtype = 4;
CostGraphDef.Node.OutputInfo.Builder
setDtypeValue(int value)
.org.platanios.tensorflow.proto.DataType dtype = 4;
CostGraphDef.Node.OutputInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
CostGraphDef.Node.OutputInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
CostGraphDef.Node.OutputInfo.Builder
setShape(TensorShapeProto value)
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
CostGraphDef.Node.OutputInfo.Builder
setShape(TensorShapeProto.Builder builderForValue)
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
CostGraphDef.Node.OutputInfo.Builder
setSize(long value)
int64 size = 1;
CostGraphDef.Node.OutputInfo.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<CostGraphDef.Node.OutputInfo.Builder>
-
clear
public CostGraphDef.Node.OutputInfo.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<CostGraphDef.Node.OutputInfo.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<CostGraphDef.Node.OutputInfo.Builder>
-
getDefaultInstanceForType
public CostGraphDef.Node.OutputInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CostGraphDef.Node.OutputInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CostGraphDef.Node.OutputInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CostGraphDef.Node.OutputInfo.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<CostGraphDef.Node.OutputInfo.Builder>
-
setField
public CostGraphDef.Node.OutputInfo.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<CostGraphDef.Node.OutputInfo.Builder>
-
clearField
public CostGraphDef.Node.OutputInfo.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<CostGraphDef.Node.OutputInfo.Builder>
-
clearOneof
public CostGraphDef.Node.OutputInfo.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<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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in 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:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeFrom
public CostGraphDef.Node.OutputInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in 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:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CostGraphDef.Node.OutputInfo.Builder>
- Throws:
java.io.IOException
-
getSize
public long getSize()
int64 size = 1;
- Specified by:
getSize
in 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:
getAliasInputPort
in 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()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
- Specified by:
hasShape
in interfaceCostGraphDef.Node.OutputInfoOrBuilder
- Returns:
- Whether the shape field is set.
-
getShape
public TensorShapeProto getShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
- Specified by:
getShape
in interfaceCostGraphDef.Node.OutputInfoOrBuilder
- Returns:
- The shape.
-
setShape
public CostGraphDef.Node.OutputInfo.Builder setShape(TensorShapeProto value)
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
-
setShape
public CostGraphDef.Node.OutputInfo.Builder setShape(TensorShapeProto.Builder builderForValue)
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
-
mergeShape
public CostGraphDef.Node.OutputInfo.Builder mergeShape(TensorShapeProto value)
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
-
clearShape
public CostGraphDef.Node.OutputInfo.Builder clearShape()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
-
getShapeBuilder
public TensorShapeProto.Builder getShapeBuilder()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
-
getShapeOrBuilder
public TensorShapeProtoOrBuilder getShapeOrBuilder()
.org.platanios.tensorflow.proto.TensorShapeProto shape = 3;
- Specified by:
getShapeOrBuilder
in interfaceCostGraphDef.Node.OutputInfoOrBuilder
-
getDtypeValue
public int getDtypeValue()
.org.platanios.tensorflow.proto.DataType dtype = 4;
- Specified by:
getDtypeValue
in interfaceCostGraphDef.Node.OutputInfoOrBuilder
- Returns:
- The enum numeric value on the wire for dtype.
-
setDtypeValue
public CostGraphDef.Node.OutputInfo.Builder setDtypeValue(int value)
.org.platanios.tensorflow.proto.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()
.org.platanios.tensorflow.proto.DataType dtype = 4;
- Specified by:
getDtype
in interfaceCostGraphDef.Node.OutputInfoOrBuilder
- Returns:
- The dtype.
-
setDtype
public CostGraphDef.Node.OutputInfo.Builder setDtype(DataType value)
.org.platanios.tensorflow.proto.DataType dtype = 4;
- Parameters:
value
- The dtype to set.- Returns:
- This builder for chaining.
-
clearDtype
public CostGraphDef.Node.OutputInfo.Builder clearDtype()
.org.platanios.tensorflow.proto.DataType dtype = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final CostGraphDef.Node.OutputInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
mergeUnknownFields
public final CostGraphDef.Node.OutputInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CostGraphDef.Node.OutputInfo.Builder>
-
-