Class CostGraphDef
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.tensorflow.proto.CostGraphDef
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, CostGraphDefOrBuilder
@Generated
public final class CostGraphDef
extends GeneratedMessage
implements CostGraphDefOrBuilder
Protobuf type
tensorflow.CostGraphDef- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTotal cost of this graph, typically used for balancing decisions.static interfacestatic final classProtobuf typetensorflow.CostGraphDefstatic final classProtobuf typetensorflow.CostGraphDef.Nodestatic interfaceNested classes/interfaces inherited from class GeneratedMessage
GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, GeneratedMessage.ExtendableMessage<MessageT>, GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingT, T>, GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class AbstractMessage
AbstractMessage.BuilderParentNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCost(int index) repeated .tensorflow.CostGraphDef.AggregatedCost cost = 2;intrepeated .tensorflow.CostGraphDef.AggregatedCost cost = 2;repeated .tensorflow.CostGraphDef.AggregatedCost cost = 2;getCostOrBuilder(int index) repeated .tensorflow.CostGraphDef.AggregatedCost cost = 2;List<? extends CostGraphDef.AggregatedCostOrBuilder> repeated .tensorflow.CostGraphDef.AggregatedCost cost = 2;static CostGraphDefstatic final Descriptors.DescriptorgetNode(int index) repeated .tensorflow.CostGraphDef.Node node = 1;intrepeated .tensorflow.CostGraphDef.Node node = 1;repeated .tensorflow.CostGraphDef.Node node = 1;getNodeOrBuilder(int index) repeated .tensorflow.CostGraphDef.Node node = 1;List<? extends CostGraphDef.NodeOrBuilder> repeated .tensorflow.CostGraphDef.Node node = 1;intinthashCode()protected GeneratedMessage.FieldAccessorTablefinal booleanstatic CostGraphDef.Builderstatic CostGraphDef.BuildernewBuilder(CostGraphDef prototype) protected CostGraphDef.Builderstatic CostGraphDefparseDelimitedFrom(InputStream input) static CostGraphDefparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static CostGraphDefparseFrom(byte[] data) static CostGraphDefparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static CostGraphDefparseFrom(ByteString data) static CostGraphDefparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static CostGraphDefparseFrom(CodedInputStream input) static CostGraphDefparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static CostGraphDefparseFrom(InputStream input) static CostGraphDefparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static CostGraphDefparseFrom(ByteBuffer data) static CostGraphDefparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<CostGraphDef> parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Field Details
-
NODE_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER- See Also:
-
COST_FIELD_NUMBER
public static final int COST_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage
-
getNodeList
repeated .tensorflow.CostGraphDef.Node node = 1;- Specified by:
getNodeListin interfaceCostGraphDefOrBuilder
-
getNodeOrBuilderList
repeated .tensorflow.CostGraphDef.Node node = 1;- Specified by:
getNodeOrBuilderListin interfaceCostGraphDefOrBuilder
-
getNodeCount
public int getNodeCount()repeated .tensorflow.CostGraphDef.Node node = 1;- Specified by:
getNodeCountin interfaceCostGraphDefOrBuilder
-
getNode
repeated .tensorflow.CostGraphDef.Node node = 1;- Specified by:
getNodein interfaceCostGraphDefOrBuilder
-
getNodeOrBuilder
repeated .tensorflow.CostGraphDef.Node node = 1;- Specified by:
getNodeOrBuilderin interfaceCostGraphDefOrBuilder
-
getCostList
repeated .tensorflow.CostGraphDef.AggregatedCost cost = 2;- Specified by:
getCostListin interfaceCostGraphDefOrBuilder
-
getCostOrBuilderList
repeated .tensorflow.CostGraphDef.AggregatedCost cost = 2;- Specified by:
getCostOrBuilderListin interfaceCostGraphDefOrBuilder
-
getCostCount
public int getCostCount()repeated .tensorflow.CostGraphDef.AggregatedCost cost = 2;- Specified by:
getCostCountin interfaceCostGraphDefOrBuilder
-
getCost
repeated .tensorflow.CostGraphDef.AggregatedCost cost = 2;- Specified by:
getCostin interfaceCostGraphDefOrBuilder
-
getCostOrBuilder
repeated .tensorflow.CostGraphDef.AggregatedCost cost = 2;- Specified by:
getCostOrBuilderin interfaceCostGraphDefOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessage
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static CostGraphDef parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static CostGraphDef parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static CostGraphDef parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CostGraphDef parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CostGraphDef parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CostGraphDef parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classAbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-