Package org.platanios.tensorflow.proto
Class SummaryMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SummaryMetadata.Builder>
-
- org.platanios.tensorflow.proto.SummaryMetadata.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
,SummaryMetadataOrBuilder
- Enclosing class:
- SummaryMetadata
public static final class SummaryMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SummaryMetadata.Builder> implements SummaryMetadataOrBuilder
A SummaryMetadata encapsulates information on which plugins are able to make use of a certain summary value.
Protobuf typeorg.platanios.tensorflow.proto.SummaryMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SummaryMetadata.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
SummaryMetadata
build()
SummaryMetadata
buildPartial()
SummaryMetadata.Builder
clear()
SummaryMetadata.Builder
clearDataClass()
Class of data stored in this time series.SummaryMetadata.Builder
clearDisplayName()
Display name for viewing in TensorBoard.SummaryMetadata.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SummaryMetadata.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SummaryMetadata.Builder
clearPluginData()
Data that associates a summary with a certain plugin.SummaryMetadata.Builder
clearSummaryDescription()
Longform readable description of the summary sequence.SummaryMetadata.Builder
clone()
DataClass
getDataClass()
Class of data stored in this time series.int
getDataClassValue()
Class of data stored in this time series.SummaryMetadata
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getDisplayName()
Display name for viewing in TensorBoard.com.google.protobuf.ByteString
getDisplayNameBytes()
Display name for viewing in TensorBoard.SummaryMetadata.PluginData
getPluginData()
Data that associates a summary with a certain plugin.SummaryMetadata.PluginData.Builder
getPluginDataBuilder()
Data that associates a summary with a certain plugin.SummaryMetadata.PluginDataOrBuilder
getPluginDataOrBuilder()
Data that associates a summary with a certain plugin.java.lang.String
getSummaryDescription()
Longform readable description of the summary sequence.com.google.protobuf.ByteString
getSummaryDescriptionBytes()
Longform readable description of the summary sequence.boolean
hasPluginData()
Data that associates a summary with a certain plugin.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
SummaryMetadata.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SummaryMetadata.Builder
mergeFrom(com.google.protobuf.Message other)
SummaryMetadata.Builder
mergeFrom(SummaryMetadata other)
SummaryMetadata.Builder
mergePluginData(SummaryMetadata.PluginData value)
Data that associates a summary with a certain plugin.SummaryMetadata.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SummaryMetadata.Builder
setDataClass(DataClass value)
Class of data stored in this time series.SummaryMetadata.Builder
setDataClassValue(int value)
Class of data stored in this time series.SummaryMetadata.Builder
setDisplayName(java.lang.String value)
Display name for viewing in TensorBoard.SummaryMetadata.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name for viewing in TensorBoard.SummaryMetadata.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
SummaryMetadata.Builder
setPluginData(SummaryMetadata.PluginData value)
Data that associates a summary with a certain plugin.SummaryMetadata.Builder
setPluginData(SummaryMetadata.PluginData.Builder builderForValue)
Data that associates a summary with a certain plugin.SummaryMetadata.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
SummaryMetadata.Builder
setSummaryDescription(java.lang.String value)
Longform readable description of the summary sequence.SummaryMetadata.Builder
setSummaryDescriptionBytes(com.google.protobuf.ByteString value)
Longform readable description of the summary sequence.SummaryMetadata.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<SummaryMetadata.Builder>
-
clear
public SummaryMetadata.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<SummaryMetadata.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<SummaryMetadata.Builder>
-
getDefaultInstanceForType
public SummaryMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SummaryMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SummaryMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SummaryMetadata.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<SummaryMetadata.Builder>
-
setField
public SummaryMetadata.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<SummaryMetadata.Builder>
-
clearField
public SummaryMetadata.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<SummaryMetadata.Builder>
-
clearOneof
public SummaryMetadata.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<SummaryMetadata.Builder>
-
setRepeatedField
public SummaryMetadata.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<SummaryMetadata.Builder>
-
addRepeatedField
public SummaryMetadata.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<SummaryMetadata.Builder>
-
mergeFrom
public SummaryMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SummaryMetadata.Builder>
-
mergeFrom
public SummaryMetadata.Builder mergeFrom(SummaryMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SummaryMetadata.Builder>
-
mergeFrom
public SummaryMetadata.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<SummaryMetadata.Builder>
- Throws:
java.io.IOException
-
hasPluginData
public boolean hasPluginData()
Data that associates a summary with a certain plugin.
.org.platanios.tensorflow.proto.SummaryMetadata.PluginData plugin_data = 1;
- Specified by:
hasPluginData
in interfaceSummaryMetadataOrBuilder
- Returns:
- Whether the pluginData field is set.
-
getPluginData
public SummaryMetadata.PluginData getPluginData()
Data that associates a summary with a certain plugin.
.org.platanios.tensorflow.proto.SummaryMetadata.PluginData plugin_data = 1;
- Specified by:
getPluginData
in interfaceSummaryMetadataOrBuilder
- Returns:
- The pluginData.
-
setPluginData
public SummaryMetadata.Builder setPluginData(SummaryMetadata.PluginData value)
Data that associates a summary with a certain plugin.
.org.platanios.tensorflow.proto.SummaryMetadata.PluginData plugin_data = 1;
-
setPluginData
public SummaryMetadata.Builder setPluginData(SummaryMetadata.PluginData.Builder builderForValue)
Data that associates a summary with a certain plugin.
.org.platanios.tensorflow.proto.SummaryMetadata.PluginData plugin_data = 1;
-
mergePluginData
public SummaryMetadata.Builder mergePluginData(SummaryMetadata.PluginData value)
Data that associates a summary with a certain plugin.
.org.platanios.tensorflow.proto.SummaryMetadata.PluginData plugin_data = 1;
-
clearPluginData
public SummaryMetadata.Builder clearPluginData()
Data that associates a summary with a certain plugin.
.org.platanios.tensorflow.proto.SummaryMetadata.PluginData plugin_data = 1;
-
getPluginDataBuilder
public SummaryMetadata.PluginData.Builder getPluginDataBuilder()
Data that associates a summary with a certain plugin.
.org.platanios.tensorflow.proto.SummaryMetadata.PluginData plugin_data = 1;
-
getPluginDataOrBuilder
public SummaryMetadata.PluginDataOrBuilder getPluginDataOrBuilder()
Data that associates a summary with a certain plugin.
.org.platanios.tensorflow.proto.SummaryMetadata.PluginData plugin_data = 1;
- Specified by:
getPluginDataOrBuilder
in interfaceSummaryMetadataOrBuilder
-
getDisplayName
public java.lang.String getDisplayName()
Display name for viewing in TensorBoard.
string display_name = 2;
- Specified by:
getDisplayName
in interfaceSummaryMetadataOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Display name for viewing in TensorBoard.
string display_name = 2;
- Specified by:
getDisplayNameBytes
in interfaceSummaryMetadataOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public SummaryMetadata.Builder setDisplayName(java.lang.String value)
Display name for viewing in TensorBoard.
string display_name = 2;
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public SummaryMetadata.Builder clearDisplayName()
Display name for viewing in TensorBoard.
string display_name = 2;
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public SummaryMetadata.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Display name for viewing in TensorBoard.
string display_name = 2;
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getSummaryDescription
public java.lang.String getSummaryDescription()
Longform readable description of the summary sequence. Markdown supported.
string summary_description = 3;
- Specified by:
getSummaryDescription
in interfaceSummaryMetadataOrBuilder
- Returns:
- The summaryDescription.
-
getSummaryDescriptionBytes
public com.google.protobuf.ByteString getSummaryDescriptionBytes()
Longform readable description of the summary sequence. Markdown supported.
string summary_description = 3;
- Specified by:
getSummaryDescriptionBytes
in interfaceSummaryMetadataOrBuilder
- Returns:
- The bytes for summaryDescription.
-
setSummaryDescription
public SummaryMetadata.Builder setSummaryDescription(java.lang.String value)
Longform readable description of the summary sequence. Markdown supported.
string summary_description = 3;
- Parameters:
value
- The summaryDescription to set.- Returns:
- This builder for chaining.
-
clearSummaryDescription
public SummaryMetadata.Builder clearSummaryDescription()
Longform readable description of the summary sequence. Markdown supported.
string summary_description = 3;
- Returns:
- This builder for chaining.
-
setSummaryDescriptionBytes
public SummaryMetadata.Builder setSummaryDescriptionBytes(com.google.protobuf.ByteString value)
Longform readable description of the summary sequence. Markdown supported.
string summary_description = 3;
- Parameters:
value
- The bytes for summaryDescription to set.- Returns:
- This builder for chaining.
-
getDataClassValue
public int getDataClassValue()
Class of data stored in this time series. Required for compatibility with TensorBoard's generic data facilities (`DataProvider`, et al.). This value imposes constraints on the dtype and shape of the corresponding tensor values. See `DataClass` docs for details.
.org.platanios.tensorflow.proto.DataClass data_class = 4;
- Specified by:
getDataClassValue
in interfaceSummaryMetadataOrBuilder
- Returns:
- The enum numeric value on the wire for dataClass.
-
setDataClassValue
public SummaryMetadata.Builder setDataClassValue(int value)
Class of data stored in this time series. Required for compatibility with TensorBoard's generic data facilities (`DataProvider`, et al.). This value imposes constraints on the dtype and shape of the corresponding tensor values. See `DataClass` docs for details.
.org.platanios.tensorflow.proto.DataClass data_class = 4;
- Parameters:
value
- The enum numeric value on the wire for dataClass to set.- Returns:
- This builder for chaining.
-
getDataClass
public DataClass getDataClass()
Class of data stored in this time series. Required for compatibility with TensorBoard's generic data facilities (`DataProvider`, et al.). This value imposes constraints on the dtype and shape of the corresponding tensor values. See `DataClass` docs for details.
.org.platanios.tensorflow.proto.DataClass data_class = 4;
- Specified by:
getDataClass
in interfaceSummaryMetadataOrBuilder
- Returns:
- The dataClass.
-
setDataClass
public SummaryMetadata.Builder setDataClass(DataClass value)
Class of data stored in this time series. Required for compatibility with TensorBoard's generic data facilities (`DataProvider`, et al.). This value imposes constraints on the dtype and shape of the corresponding tensor values. See `DataClass` docs for details.
.org.platanios.tensorflow.proto.DataClass data_class = 4;
- Parameters:
value
- The dataClass to set.- Returns:
- This builder for chaining.
-
clearDataClass
public SummaryMetadata.Builder clearDataClass()
Class of data stored in this time series. Required for compatibility with TensorBoard's generic data facilities (`DataProvider`, et al.). This value imposes constraints on the dtype and shape of the corresponding tensor values. See `DataClass` docs for details.
.org.platanios.tensorflow.proto.DataClass data_class = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final SummaryMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SummaryMetadata.Builder>
-
mergeUnknownFields
public final SummaryMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SummaryMetadata.Builder>
-
-