Class Summary.Value.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Summary.Value.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Summary.Value.Builder>
org.tensorflow.proto.Summary.Value.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, Summary.ValueOrBuilder
- Enclosing class:
Summary.Value
public static final class Summary.Value.Builder
extends GeneratedMessageV3.Builder<Summary.Value.Builder>
implements Summary.ValueOrBuilder
Protobuf type
tensorflow.Summary.Value-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear().tensorflow.Summary.Audio audio = 6;.tensorflow.HistogramProto histo = 5;.tensorflow.Summary.Image image = 4;Contains metadata on the summary value such as which plugins may use it.This field is deprecated and will not be set.bytes obsolete_old_style_histogram = 3;float simple_value = 2;clearTag()Tag name for the data..tensorflow.TensorProto tensor = 8;clone()getAudio().tensorflow.Summary.Audio audio = 6;.tensorflow.Summary.Audio audio = 6;.tensorflow.Summary.Audio audio = 6;static final Descriptors.DescriptorgetHisto().tensorflow.HistogramProto histo = 5;.tensorflow.HistogramProto histo = 5;.tensorflow.HistogramProto histo = 5;getImage().tensorflow.Summary.Image image = 4;.tensorflow.Summary.Image image = 4;.tensorflow.Summary.Image image = 4;Contains metadata on the summary value such as which plugins may use it.Contains metadata on the summary value such as which plugins may use it.Contains metadata on the summary value such as which plugins may use it.This field is deprecated and will not be set.This field is deprecated and will not be set.bytes obsolete_old_style_histogram = 3;floatfloat simple_value = 2;getTag()Tag name for the data.Tag name for the data..tensorflow.TensorProto tensor = 8;.tensorflow.TensorProto tensor = 8;.tensorflow.TensorProto tensor = 8;booleanhasAudio().tensorflow.Summary.Audio audio = 6;booleanhasHisto().tensorflow.HistogramProto histo = 5;booleanhasImage().tensorflow.Summary.Image image = 4;booleanContains metadata on the summary value such as which plugins may use it.booleanbytes obsolete_old_style_histogram = 3;booleanfloat simple_value = 2;boolean.tensorflow.TensorProto tensor = 8;protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAudio(Summary.Audio value) .tensorflow.Summary.Audio audio = 6;mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(Summary.Value other) mergeHisto(HistogramProto value) .tensorflow.HistogramProto histo = 5;mergeImage(Summary.Image value) .tensorflow.Summary.Image image = 4;mergeMetadata(SummaryMetadata value) Contains metadata on the summary value such as which plugins may use it.mergeTensor(TensorProto value) .tensorflow.TensorProto tensor = 8;final Summary.Value.BuildermergeUnknownFields(UnknownFieldSet unknownFields) setAudio(Summary.Audio value) .tensorflow.Summary.Audio audio = 6;setAudio(Summary.Audio.Builder builderForValue) .tensorflow.Summary.Audio audio = 6;setField(Descriptors.FieldDescriptor field, Object value) setHisto(HistogramProto value) .tensorflow.HistogramProto histo = 5;setHisto(HistogramProto.Builder builderForValue) .tensorflow.HistogramProto histo = 5;setImage(Summary.Image value) .tensorflow.Summary.Image image = 4;setImage(Summary.Image.Builder builderForValue) .tensorflow.Summary.Image image = 4;setMetadata(SummaryMetadata value) Contains metadata on the summary value such as which plugins may use it.setMetadata(SummaryMetadata.Builder builderForValue) Contains metadata on the summary value such as which plugins may use it.setNodeName(String value) This field is deprecated and will not be set.setNodeNameBytes(ByteString value) This field is deprecated and will not be set.bytes obsolete_old_style_histogram = 3;setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setSimpleValue(float value) float simple_value = 2;Tag name for the data.setTagBytes(ByteString value) Tag name for the data.setTensor(TensorProto value) .tensorflow.TensorProto tensor = 8;setTensor(TensorProto.Builder builderForValue) .tensorflow.TensorProto tensor = 8;final Summary.Value.BuildersetUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<Summary.Value.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<Summary.Value.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<Summary.Value.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<Summary.Value.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<Summary.Value.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<Summary.Value.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<Summary.Value.Builder>
-
setRepeatedField
public Summary.Value.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<Summary.Value.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<Summary.Value.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Summary.Value.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<Summary.Value.Builder>
-
mergeFrom
public Summary.Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Summary.Value.Builder>- Throws:
IOException
-
getValueCase
- Specified by:
getValueCasein interfaceSummary.ValueOrBuilder
-
clearValue
-
getNodeName
This field is deprecated and will not be set.
string node_name = 7;- Specified by:
getNodeNamein interfaceSummary.ValueOrBuilder- Returns:
- The nodeName.
-
getNodeNameBytes
This field is deprecated and will not be set.
string node_name = 7;- Specified by:
getNodeNameBytesin interfaceSummary.ValueOrBuilder- Returns:
- The bytes for nodeName.
-
setNodeName
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
This field is deprecated and will not be set.
string node_name = 7;- Returns:
- This builder for chaining.
-
setNodeNameBytes
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
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:
getTagin interfaceSummary.ValueOrBuilder- Returns:
- The tag.
-
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:
getTagBytesin interfaceSummary.ValueOrBuilder- Returns:
- The bytes for tag.
-
setTag
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
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
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.
.tensorflow.SummaryMetadata metadata = 9;- Specified by:
hasMetadatain interfaceSummary.ValueOrBuilder- Returns:
- Whether the metadata field is set.
-
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.
.tensorflow.SummaryMetadata metadata = 9;- Specified by:
getMetadatain interfaceSummary.ValueOrBuilder- Returns:
- The metadata.
-
setMetadata
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.
.tensorflow.SummaryMetadata metadata = 9; -
setMetadata
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.
.tensorflow.SummaryMetadata metadata = 9; -
mergeMetadata
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.
.tensorflow.SummaryMetadata metadata = 9; -
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.
.tensorflow.SummaryMetadata metadata = 9; -
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.
.tensorflow.SummaryMetadata metadata = 9; -
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.
.tensorflow.SummaryMetadata metadata = 9;- Specified by:
getMetadataOrBuilderin interfaceSummary.ValueOrBuilder
-
hasSimpleValue
public boolean hasSimpleValue()float simple_value = 2;- Specified by:
hasSimpleValuein interfaceSummary.ValueOrBuilder- Returns:
- Whether the simpleValue field is set.
-
getSimpleValue
public float getSimpleValue()float simple_value = 2;- Specified by:
getSimpleValuein interfaceSummary.ValueOrBuilder- Returns:
- The simpleValue.
-
setSimpleValue
float simple_value = 2;- Parameters:
value- The simpleValue to set.- Returns:
- This builder for chaining.
-
clearSimpleValue
float simple_value = 2;- Returns:
- This builder for chaining.
-
hasObsoleteOldStyleHistogram
public boolean hasObsoleteOldStyleHistogram()bytes obsolete_old_style_histogram = 3;- Specified by:
hasObsoleteOldStyleHistogramin interfaceSummary.ValueOrBuilder- Returns:
- Whether the obsoleteOldStyleHistogram field is set.
-
getObsoleteOldStyleHistogram
bytes obsolete_old_style_histogram = 3;- Specified by:
getObsoleteOldStyleHistogramin interfaceSummary.ValueOrBuilder- Returns:
- The obsoleteOldStyleHistogram.
-
setObsoleteOldStyleHistogram
bytes obsolete_old_style_histogram = 3;- Parameters:
value- The obsoleteOldStyleHistogram to set.- Returns:
- This builder for chaining.
-
clearObsoleteOldStyleHistogram
bytes obsolete_old_style_histogram = 3;- Returns:
- This builder for chaining.
-
hasImage
public boolean hasImage().tensorflow.Summary.Image image = 4;- Specified by:
hasImagein interfaceSummary.ValueOrBuilder- Returns:
- Whether the image field is set.
-
getImage
.tensorflow.Summary.Image image = 4;- Specified by:
getImagein interfaceSummary.ValueOrBuilder- Returns:
- The image.
-
setImage
.tensorflow.Summary.Image image = 4; -
setImage
.tensorflow.Summary.Image image = 4; -
mergeImage
.tensorflow.Summary.Image image = 4; -
clearImage
.tensorflow.Summary.Image image = 4; -
getImageBuilder
.tensorflow.Summary.Image image = 4; -
getImageOrBuilder
.tensorflow.Summary.Image image = 4;- Specified by:
getImageOrBuilderin interfaceSummary.ValueOrBuilder
-
hasHisto
public boolean hasHisto().tensorflow.HistogramProto histo = 5;- Specified by:
hasHistoin interfaceSummary.ValueOrBuilder- Returns:
- Whether the histo field is set.
-
getHisto
.tensorflow.HistogramProto histo = 5;- Specified by:
getHistoin interfaceSummary.ValueOrBuilder- Returns:
- The histo.
-
setHisto
.tensorflow.HistogramProto histo = 5; -
setHisto
.tensorflow.HistogramProto histo = 5; -
mergeHisto
.tensorflow.HistogramProto histo = 5; -
clearHisto
.tensorflow.HistogramProto histo = 5; -
getHistoBuilder
.tensorflow.HistogramProto histo = 5; -
getHistoOrBuilder
.tensorflow.HistogramProto histo = 5;- Specified by:
getHistoOrBuilderin interfaceSummary.ValueOrBuilder
-
hasAudio
public boolean hasAudio().tensorflow.Summary.Audio audio = 6;- Specified by:
hasAudioin interfaceSummary.ValueOrBuilder- Returns:
- Whether the audio field is set.
-
getAudio
.tensorflow.Summary.Audio audio = 6;- Specified by:
getAudioin interfaceSummary.ValueOrBuilder- Returns:
- The audio.
-
setAudio
.tensorflow.Summary.Audio audio = 6; -
setAudio
.tensorflow.Summary.Audio audio = 6; -
mergeAudio
.tensorflow.Summary.Audio audio = 6; -
clearAudio
.tensorflow.Summary.Audio audio = 6; -
getAudioBuilder
.tensorflow.Summary.Audio audio = 6; -
getAudioOrBuilder
.tensorflow.Summary.Audio audio = 6;- Specified by:
getAudioOrBuilderin interfaceSummary.ValueOrBuilder
-
hasTensor
public boolean hasTensor().tensorflow.TensorProto tensor = 8;- Specified by:
hasTensorin interfaceSummary.ValueOrBuilder- Returns:
- Whether the tensor field is set.
-
getTensor
.tensorflow.TensorProto tensor = 8;- Specified by:
getTensorin interfaceSummary.ValueOrBuilder- Returns:
- The tensor.
-
setTensor
.tensorflow.TensorProto tensor = 8; -
setTensor
.tensorflow.TensorProto tensor = 8; -
mergeTensor
.tensorflow.TensorProto tensor = 8; -
clearTensor
.tensorflow.TensorProto tensor = 8; -
getTensorBuilder
.tensorflow.TensorProto tensor = 8; -
getTensorOrBuilder
.tensorflow.TensorProto tensor = 8;- Specified by:
getTensorOrBuilderin interfaceSummary.ValueOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<Summary.Value.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<Summary.Value.Builder>
-