Package org.tensorflow.framework
Class GraphTransferGraphOutputNodeInfo.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
- org.tensorflow.framework.GraphTransferGraphOutputNodeInfo.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
,GraphTransferGraphOutputNodeInfoOrBuilder
- Enclosing class:
- GraphTransferGraphOutputNodeInfo
public static final class GraphTransferGraphOutputNodeInfo.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder> implements GraphTransferGraphOutputNodeInfoOrBuilder
Protobuf typetensorflow.GraphTransferGraphOutputNodeInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphTransferGraphOutputNodeInfo.Builder
addAllShape(Iterable<? extends Long> values)
repeated int64 shape = 2;
GraphTransferGraphOutputNodeInfo.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
GraphTransferGraphOutputNodeInfo.Builder
addShape(long value)
repeated int64 shape = 2;
GraphTransferGraphOutputNodeInfo
build()
GraphTransferGraphOutputNodeInfo
buildPartial()
GraphTransferGraphOutputNodeInfo.Builder
clear()
GraphTransferGraphOutputNodeInfo.Builder
clearDtype()
.tensorflow.DataType dtype = 3;
GraphTransferGraphOutputNodeInfo.Builder
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
GraphTransferGraphOutputNodeInfo.Builder
clearName()
string name = 1;
GraphTransferGraphOutputNodeInfo.Builder
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
GraphTransferGraphOutputNodeInfo.Builder
clearShape()
repeated int64 shape = 2;
GraphTransferGraphOutputNodeInfo.Builder
clone()
GraphTransferGraphOutputNodeInfo
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
DataType
getDtype()
.tensorflow.DataType dtype = 3;
int
getDtypeValue()
.tensorflow.DataType dtype = 3;
String
getName()
string name = 1;
org.nd4j.shade.protobuf.ByteString
getNameBytes()
string name = 1;
long
getShape(int index)
repeated int64 shape = 2;
int
getShapeCount()
repeated int64 shape = 2;
List<Long>
getShapeList()
repeated int64 shape = 2;
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GraphTransferGraphOutputNodeInfo.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
GraphTransferGraphOutputNodeInfo.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
GraphTransferGraphOutputNodeInfo.Builder
mergeFrom(GraphTransferGraphOutputNodeInfo other)
GraphTransferGraphOutputNodeInfo.Builder
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
GraphTransferGraphOutputNodeInfo.Builder
setDtype(DataType value)
.tensorflow.DataType dtype = 3;
GraphTransferGraphOutputNodeInfo.Builder
setDtypeValue(int value)
.tensorflow.DataType dtype = 3;
GraphTransferGraphOutputNodeInfo.Builder
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
GraphTransferGraphOutputNodeInfo.Builder
setName(String value)
string name = 1;
GraphTransferGraphOutputNodeInfo.Builder
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
string name = 1;
GraphTransferGraphOutputNodeInfo.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GraphTransferGraphOutputNodeInfo.Builder
setShape(int index, long value)
repeated int64 shape = 2;
GraphTransferGraphOutputNodeInfo.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
clear
public GraphTransferGraphOutputNodeInfo.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
getDefaultInstanceForType
public GraphTransferGraphOutputNodeInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public GraphTransferGraphOutputNodeInfo build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public GraphTransferGraphOutputNodeInfo buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public GraphTransferGraphOutputNodeInfo.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
setField
public GraphTransferGraphOutputNodeInfo.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
clearField
public GraphTransferGraphOutputNodeInfo.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
clearOneof
public GraphTransferGraphOutputNodeInfo.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
setRepeatedField
public GraphTransferGraphOutputNodeInfo.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
addRepeatedField
public GraphTransferGraphOutputNodeInfo.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
mergeFrom
public GraphTransferGraphOutputNodeInfo.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
mergeFrom
public GraphTransferGraphOutputNodeInfo.Builder mergeFrom(GraphTransferGraphOutputNodeInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
mergeFrom
public GraphTransferGraphOutputNodeInfo.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<GraphTransferGraphOutputNodeInfo.Builder>
- Throws:
IOException
-
getName
public String getName()
string name = 1;
- Specified by:
getName
in interfaceGraphTransferGraphOutputNodeInfoOrBuilder
- Returns:
- The name.
-
getNameBytes
public org.nd4j.shade.protobuf.ByteString getNameBytes()
string name = 1;
- Specified by:
getNameBytes
in interfaceGraphTransferGraphOutputNodeInfoOrBuilder
- Returns:
- The bytes for name.
-
setName
public GraphTransferGraphOutputNodeInfo.Builder setName(String value)
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public GraphTransferGraphOutputNodeInfo.Builder clearName()
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public GraphTransferGraphOutputNodeInfo.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getShapeList
public List<Long> getShapeList()
repeated int64 shape = 2;
- Specified by:
getShapeList
in interfaceGraphTransferGraphOutputNodeInfoOrBuilder
- Returns:
- A list containing the shape.
-
getShapeCount
public int getShapeCount()
repeated int64 shape = 2;
- Specified by:
getShapeCount
in interfaceGraphTransferGraphOutputNodeInfoOrBuilder
- Returns:
- The count of shape.
-
getShape
public long getShape(int index)
repeated int64 shape = 2;
- Specified by:
getShape
in interfaceGraphTransferGraphOutputNodeInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The shape at the given index.
-
setShape
public GraphTransferGraphOutputNodeInfo.Builder setShape(int index, long value)
repeated int64 shape = 2;
- Parameters:
index
- The index to set the value at.value
- The shape to set.- Returns:
- This builder for chaining.
-
addShape
public GraphTransferGraphOutputNodeInfo.Builder addShape(long value)
repeated int64 shape = 2;
- Parameters:
value
- The shape to add.- Returns:
- This builder for chaining.
-
addAllShape
public GraphTransferGraphOutputNodeInfo.Builder addAllShape(Iterable<? extends Long> values)
repeated int64 shape = 2;
- Parameters:
values
- The shape to add.- Returns:
- This builder for chaining.
-
clearShape
public GraphTransferGraphOutputNodeInfo.Builder clearShape()
repeated int64 shape = 2;
- Returns:
- This builder for chaining.
-
getDtypeValue
public int getDtypeValue()
.tensorflow.DataType dtype = 3;
- Specified by:
getDtypeValue
in interfaceGraphTransferGraphOutputNodeInfoOrBuilder
- Returns:
- The enum numeric value on the wire for dtype.
-
setDtypeValue
public GraphTransferGraphOutputNodeInfo.Builder setDtypeValue(int value)
.tensorflow.DataType dtype = 3;
- 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 = 3;
- Specified by:
getDtype
in interfaceGraphTransferGraphOutputNodeInfoOrBuilder
- Returns:
- The dtype.
-
setDtype
public GraphTransferGraphOutputNodeInfo.Builder setDtype(DataType value)
.tensorflow.DataType dtype = 3;
- Parameters:
value
- The dtype to set.- Returns:
- This builder for chaining.
-
clearDtype
public GraphTransferGraphOutputNodeInfo.Builder clearDtype()
.tensorflow.DataType dtype = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final GraphTransferGraphOutputNodeInfo.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
mergeUnknownFields
public final GraphTransferGraphOutputNodeInfo.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<GraphTransferGraphOutputNodeInfo.Builder>
-
-