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