Class GraphTransferConstNodeInfo.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GraphTransferConstNodeInfo.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GraphTransferConstNodeInfo.Builder>
      • getDefaultInstanceForType

        public GraphTransferConstNodeInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public GraphTransferConstNodeInfo build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public GraphTransferConstNodeInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public GraphTransferConstNodeInfo.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                   int index,
                                                                   java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GraphTransferConstNodeInfo.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GraphTransferConstNodeInfo.Builder>
        Throws:
        java.io.IOException
      • setName

        public GraphTransferConstNodeInfo.Builder setName​(java.lang.String value)
        string name = 1;
        Parameters:
        value - The name to set.
        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.
      • setNodeId

        public GraphTransferConstNodeInfo.Builder setNodeId​(int value)
        int32 node_id = 2;
        Parameters:
        value - The nodeId to set.
        Returns:
        This builder for chaining.
      • getShape

        public long getShape​(int index)
        repeated int64 shape = 3;
        Specified by:
        getShape in interface GraphTransferConstNodeInfoOrBuilder
        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.
      • setData

        public GraphTransferConstNodeInfo.Builder setData​(com.google.protobuf.ByteString value)
        bytes data = 4;
        Parameters:
        value - The data to set.
        Returns:
        This builder for chaining.
      • 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.
      • setUnknownFields

        public final GraphTransferConstNodeInfo.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GraphTransferConstNodeInfo.Builder>
      • mergeUnknownFields

        public final GraphTransferConstNodeInfo.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GraphTransferConstNodeInfo.Builder>