Class ApiDef.Arg.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, ApiDef.ArgOrBuilder
    Enclosing class:
    ApiDef.Arg

    public static final class ApiDef.Arg.Builder
    extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
    implements ApiDef.ArgOrBuilder
    Protobuf type tensorflow.ApiDef.Arg
    • 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 class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
      • clear

        public ApiDef.Arg.Builder clear()
        Specified by:
        clear in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clear in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
      • getDescriptorForType

        public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
      • getDefaultInstanceForType

        public ApiDef.Arg getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder
      • build

        public ApiDef.Arg build()
        Specified by:
        build in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        build in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • buildPartial

        public ApiDef.Arg buildPartial()
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        buildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builder
      • clone

        public ApiDef.Arg.Builder clone()
        Specified by:
        clone in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        clone in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        clone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
      • setField

        public ApiDef.Arg.Builder setField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
      • clearField

        public ApiDef.Arg.Builder clearField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
      • clearOneof

        public ApiDef.Arg.Builder clearOneof​(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        clearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
      • setRepeatedField

        public ApiDef.Arg.Builder setRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
      • addRepeatedField

        public ApiDef.Arg.Builder addRepeatedField​(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
      • mergeFrom

        public ApiDef.Arg.Builder mergeFrom​(org.nd4j.shade.protobuf.Message other)
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<ApiDef.Arg.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
      • mergeFrom

        public ApiDef.Arg.Builder mergeFrom​(org.nd4j.shade.protobuf.CodedInputStream input,
                                            org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface org.nd4j.shade.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<ApiDef.Arg.Builder>
        Throws:
        IOException
      • getNameBytes

        public org.nd4j.shade.protobuf.ByteString getNameBytes()
        string name = 1;
        Specified by:
        getNameBytes in interface ApiDef.ArgOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ApiDef.Arg.Builder setName​(String value)
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ApiDef.Arg.Builder clearName()
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public ApiDef.Arg.Builder setNameBytes​(org.nd4j.shade.protobuf.ByteString value)
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getRenameTo

        public String getRenameTo()
         Change the name used to access this arg in the API from what
         is used in the GraphDef.  Note that these names in `backticks`
         will also be replaced in the summary & description fields.
         
        string rename_to = 2;
        Specified by:
        getRenameTo in interface ApiDef.ArgOrBuilder
        Returns:
        The renameTo.
      • getRenameToBytes

        public org.nd4j.shade.protobuf.ByteString getRenameToBytes()
         Change the name used to access this arg in the API from what
         is used in the GraphDef.  Note that these names in `backticks`
         will also be replaced in the summary & description fields.
         
        string rename_to = 2;
        Specified by:
        getRenameToBytes in interface ApiDef.ArgOrBuilder
        Returns:
        The bytes for renameTo.
      • setRenameTo

        public ApiDef.Arg.Builder setRenameTo​(String value)
         Change the name used to access this arg in the API from what
         is used in the GraphDef.  Note that these names in `backticks`
         will also be replaced in the summary & description fields.
         
        string rename_to = 2;
        Parameters:
        value - The renameTo to set.
        Returns:
        This builder for chaining.
      • clearRenameTo

        public ApiDef.Arg.Builder clearRenameTo()
         Change the name used to access this arg in the API from what
         is used in the GraphDef.  Note that these names in `backticks`
         will also be replaced in the summary & description fields.
         
        string rename_to = 2;
        Returns:
        This builder for chaining.
      • setRenameToBytes

        public ApiDef.Arg.Builder setRenameToBytes​(org.nd4j.shade.protobuf.ByteString value)
         Change the name used to access this arg in the API from what
         is used in the GraphDef.  Note that these names in `backticks`
         will also be replaced in the summary & description fields.
         
        string rename_to = 2;
        Parameters:
        value - The bytes for renameTo to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         Note: this will replace any inherited arg doc. There is no
         current way of modifying arg descriptions (other than replacing
         them entirely) as can be done with op descriptions.
         
        string description = 3;
        Specified by:
        getDescription in interface ApiDef.ArgOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public org.nd4j.shade.protobuf.ByteString getDescriptionBytes()
         Note: this will replace any inherited arg doc. There is no
         current way of modifying arg descriptions (other than replacing
         them entirely) as can be done with op descriptions.
         
        string description = 3;
        Specified by:
        getDescriptionBytes in interface ApiDef.ArgOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public ApiDef.Arg.Builder setDescription​(String value)
         Note: this will replace any inherited arg doc. There is no
         current way of modifying arg descriptions (other than replacing
         them entirely) as can be done with op descriptions.
         
        string description = 3;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public ApiDef.Arg.Builder clearDescription()
         Note: this will replace any inherited arg doc. There is no
         current way of modifying arg descriptions (other than replacing
         them entirely) as can be done with op descriptions.
         
        string description = 3;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public ApiDef.Arg.Builder setDescriptionBytes​(org.nd4j.shade.protobuf.ByteString value)
         Note: this will replace any inherited arg doc. There is no
         current way of modifying arg descriptions (other than replacing
         them entirely) as can be done with op descriptions.
         
        string description = 3;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ApiDef.Arg.Builder setUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>
      • mergeUnknownFields

        public final ApiDef.Arg.Builder mergeUnknownFields​(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Arg.Builder>