Class Summary.Value.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, Summary.ValueOrBuilder
    Enclosing class:
    Summary.Value

    public static final class Summary.Value.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Summary.Value.Builder>
    implements Summary.ValueOrBuilder
    Protobuf type org.platanios.tensorflow.proto.Summary.Value
    • 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<Summary.Value.Builder>
      • clear

        public Summary.Value.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Summary.Value.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<Summary.Value.Builder>
      • getDefaultInstanceForType

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

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

        public Summary.Value buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Summary.Value.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Summary.Value.Builder>
      • setField

        public Summary.Value.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Summary.Value.Builder>
      • clearField

        public Summary.Value.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Summary.Value.Builder>
      • clearOneof

        public Summary.Value.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Summary.Value.Builder>
      • setRepeatedField

        public Summary.Value.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<Summary.Value.Builder>
      • addRepeatedField

        public Summary.Value.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<Summary.Value.Builder>
      • mergeFrom

        public Summary.Value.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Summary.Value.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Summary.Value.Builder>
      • mergeFrom

        public Summary.Value.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<Summary.Value.Builder>
        Throws:
        java.io.IOException
      • getNodeName

        public java.lang.String getNodeName()
         This field is deprecated and will not be set.
         
        string node_name = 7;
        Specified by:
        getNodeName in interface Summary.ValueOrBuilder
        Returns:
        The nodeName.
      • getNodeNameBytes

        public com.google.protobuf.ByteString getNodeNameBytes()
         This field is deprecated and will not be set.
         
        string node_name = 7;
        Specified by:
        getNodeNameBytes in interface Summary.ValueOrBuilder
        Returns:
        The bytes for nodeName.
      • setNodeName

        public Summary.Value.Builder setNodeName​(java.lang.String value)
         This field is deprecated and will not be set.
         
        string node_name = 7;
        Parameters:
        value - The nodeName to set.
        Returns:
        This builder for chaining.
      • clearNodeName

        public Summary.Value.Builder clearNodeName()
         This field is deprecated and will not be set.
         
        string node_name = 7;
        Returns:
        This builder for chaining.
      • setNodeNameBytes

        public Summary.Value.Builder setNodeNameBytes​(com.google.protobuf.ByteString value)
         This field is deprecated and will not be set.
         
        string node_name = 7;
        Parameters:
        value - The bytes for nodeName to set.
        Returns:
        This builder for chaining.
      • getTag

        public java.lang.String getTag()
         Tag name for the data. Used by TensorBoard plugins to organize data. Tags
         are often organized by scope (which contains slashes to convey
         hierarchy). For example: foo/bar/0
         
        string tag = 1;
        Specified by:
        getTag in interface Summary.ValueOrBuilder
        Returns:
        The tag.
      • getTagBytes

        public com.google.protobuf.ByteString getTagBytes()
         Tag name for the data. Used by TensorBoard plugins to organize data. Tags
         are often organized by scope (which contains slashes to convey
         hierarchy). For example: foo/bar/0
         
        string tag = 1;
        Specified by:
        getTagBytes in interface Summary.ValueOrBuilder
        Returns:
        The bytes for tag.
      • setTag

        public Summary.Value.Builder setTag​(java.lang.String value)
         Tag name for the data. Used by TensorBoard plugins to organize data. Tags
         are often organized by scope (which contains slashes to convey
         hierarchy). For example: foo/bar/0
         
        string tag = 1;
        Parameters:
        value - The tag to set.
        Returns:
        This builder for chaining.
      • clearTag

        public Summary.Value.Builder clearTag()
         Tag name for the data. Used by TensorBoard plugins to organize data. Tags
         are often organized by scope (which contains slashes to convey
         hierarchy). For example: foo/bar/0
         
        string tag = 1;
        Returns:
        This builder for chaining.
      • setTagBytes

        public Summary.Value.Builder setTagBytes​(com.google.protobuf.ByteString value)
         Tag name for the data. Used by TensorBoard plugins to organize data. Tags
         are often organized by scope (which contains slashes to convey
         hierarchy). For example: foo/bar/0
         
        string tag = 1;
        Parameters:
        value - The bytes for tag to set.
        Returns:
        This builder for chaining.
      • hasMetadata

        public boolean hasMetadata()
         Contains metadata on the summary value such as which plugins may use it.
         Take note that many summary values may lack a metadata field. This is
         because the FileWriter only keeps a metadata object on the first summary
         value with a certain tag for each tag. TensorBoard then remembers which
         tags are associated with which plugins. This saves space.
         
        .org.platanios.tensorflow.proto.SummaryMetadata metadata = 9;
        Specified by:
        hasMetadata in interface Summary.ValueOrBuilder
        Returns:
        Whether the metadata field is set.
      • getMetadata

        public SummaryMetadata getMetadata()
         Contains metadata on the summary value such as which plugins may use it.
         Take note that many summary values may lack a metadata field. This is
         because the FileWriter only keeps a metadata object on the first summary
         value with a certain tag for each tag. TensorBoard then remembers which
         tags are associated with which plugins. This saves space.
         
        .org.platanios.tensorflow.proto.SummaryMetadata metadata = 9;
        Specified by:
        getMetadata in interface Summary.ValueOrBuilder
        Returns:
        The metadata.
      • setMetadata

        public Summary.Value.Builder setMetadata​(SummaryMetadata value)
         Contains metadata on the summary value such as which plugins may use it.
         Take note that many summary values may lack a metadata field. This is
         because the FileWriter only keeps a metadata object on the first summary
         value with a certain tag for each tag. TensorBoard then remembers which
         tags are associated with which plugins. This saves space.
         
        .org.platanios.tensorflow.proto.SummaryMetadata metadata = 9;
      • setMetadata

        public Summary.Value.Builder setMetadata​(SummaryMetadata.Builder builderForValue)
         Contains metadata on the summary value such as which plugins may use it.
         Take note that many summary values may lack a metadata field. This is
         because the FileWriter only keeps a metadata object on the first summary
         value with a certain tag for each tag. TensorBoard then remembers which
         tags are associated with which plugins. This saves space.
         
        .org.platanios.tensorflow.proto.SummaryMetadata metadata = 9;
      • mergeMetadata

        public Summary.Value.Builder mergeMetadata​(SummaryMetadata value)
         Contains metadata on the summary value such as which plugins may use it.
         Take note that many summary values may lack a metadata field. This is
         because the FileWriter only keeps a metadata object on the first summary
         value with a certain tag for each tag. TensorBoard then remembers which
         tags are associated with which plugins. This saves space.
         
        .org.platanios.tensorflow.proto.SummaryMetadata metadata = 9;
      • clearMetadata

        public Summary.Value.Builder clearMetadata()
         Contains metadata on the summary value such as which plugins may use it.
         Take note that many summary values may lack a metadata field. This is
         because the FileWriter only keeps a metadata object on the first summary
         value with a certain tag for each tag. TensorBoard then remembers which
         tags are associated with which plugins. This saves space.
         
        .org.platanios.tensorflow.proto.SummaryMetadata metadata = 9;
      • getMetadataBuilder

        public SummaryMetadata.Builder getMetadataBuilder()
         Contains metadata on the summary value such as which plugins may use it.
         Take note that many summary values may lack a metadata field. This is
         because the FileWriter only keeps a metadata object on the first summary
         value with a certain tag for each tag. TensorBoard then remembers which
         tags are associated with which plugins. This saves space.
         
        .org.platanios.tensorflow.proto.SummaryMetadata metadata = 9;
      • getMetadataOrBuilder

        public SummaryMetadataOrBuilder getMetadataOrBuilder()
         Contains metadata on the summary value such as which plugins may use it.
         Take note that many summary values may lack a metadata field. This is
         because the FileWriter only keeps a metadata object on the first summary
         value with a certain tag for each tag. TensorBoard then remembers which
         tags are associated with which plugins. This saves space.
         
        .org.platanios.tensorflow.proto.SummaryMetadata metadata = 9;
        Specified by:
        getMetadataOrBuilder in interface Summary.ValueOrBuilder
      • setSimpleValue

        public Summary.Value.Builder setSimpleValue​(float value)
        float simple_value = 2;
        Parameters:
        value - The simpleValue to set.
        Returns:
        This builder for chaining.
      • clearSimpleValue

        public Summary.Value.Builder clearSimpleValue()
        float simple_value = 2;
        Returns:
        This builder for chaining.
      • getObsoleteOldStyleHistogram

        public com.google.protobuf.ByteString getObsoleteOldStyleHistogram()
        bytes obsolete_old_style_histogram = 3;
        Specified by:
        getObsoleteOldStyleHistogram in interface Summary.ValueOrBuilder
        Returns:
        The obsoleteOldStyleHistogram.
      • setObsoleteOldStyleHistogram

        public Summary.Value.Builder setObsoleteOldStyleHistogram​(com.google.protobuf.ByteString value)
        bytes obsolete_old_style_histogram = 3;
        Parameters:
        value - The obsoleteOldStyleHistogram to set.
        Returns:
        This builder for chaining.
      • clearObsoleteOldStyleHistogram

        public Summary.Value.Builder clearObsoleteOldStyleHistogram()
        bytes obsolete_old_style_histogram = 3;
        Returns:
        This builder for chaining.
      • hasImage

        public boolean hasImage()
        .org.platanios.tensorflow.proto.Summary.Image image = 4;
        Specified by:
        hasImage in interface Summary.ValueOrBuilder
        Returns:
        Whether the image field is set.
      • clearImage

        public Summary.Value.Builder clearImage()
        .org.platanios.tensorflow.proto.Summary.Image image = 4;
      • getImageBuilder

        public Summary.Image.Builder getImageBuilder()
        .org.platanios.tensorflow.proto.Summary.Image image = 4;
      • hasHisto

        public boolean hasHisto()
        .org.platanios.tensorflow.proto.HistogramProto histo = 5;
        Specified by:
        hasHisto in interface Summary.ValueOrBuilder
        Returns:
        Whether the histo field is set.
      • clearHisto

        public Summary.Value.Builder clearHisto()
        .org.platanios.tensorflow.proto.HistogramProto histo = 5;
      • getHistoBuilder

        public HistogramProto.Builder getHistoBuilder()
        .org.platanios.tensorflow.proto.HistogramProto histo = 5;
      • hasAudio

        public boolean hasAudio()
        .org.platanios.tensorflow.proto.Summary.Audio audio = 6;
        Specified by:
        hasAudio in interface Summary.ValueOrBuilder
        Returns:
        Whether the audio field is set.
      • clearAudio

        public Summary.Value.Builder clearAudio()
        .org.platanios.tensorflow.proto.Summary.Audio audio = 6;
      • getAudioBuilder

        public Summary.Audio.Builder getAudioBuilder()
        .org.platanios.tensorflow.proto.Summary.Audio audio = 6;
      • hasTensor

        public boolean hasTensor()
        .org.platanios.tensorflow.proto.TensorProto tensor = 8;
        Specified by:
        hasTensor in interface Summary.ValueOrBuilder
        Returns:
        Whether the tensor field is set.
      • clearTensor

        public Summary.Value.Builder clearTensor()
        .org.platanios.tensorflow.proto.TensorProto tensor = 8;
      • getTensorBuilder

        public TensorProto.Builder getTensorBuilder()
        .org.platanios.tensorflow.proto.TensorProto tensor = 8;
      • setUnknownFields

        public final Summary.Value.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<Summary.Value.Builder>
      • mergeUnknownFields

        public final Summary.Value.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<Summary.Value.Builder>