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