Class Event.Builder
java.lang.Object
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, EventOrBuilder
- Enclosing class:
Event
public static final class Event.Builder
extends GeneratedMessageV3.Builder<Event.Builder>
implements EventOrBuilder
Protocol buffer representing an event that happened during the execution of a Brain model.Protobuf type
tensorflow.Event-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()An event file was started, with the specified version.An encoded version of a GraphDef.Deprecated.An encoded version of a MetaGraphDef.The state of the session which can be used for restarting after crashes.Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.Global step of the event.A summary was generated.The metadata returned by running a session.run() call.Timestamp of the event.clone()static final Descriptors.DescriptorAn event file was started, with the specified version.An event file was started, with the specified version.An encoded version of a GraphDef.Deprecated.tensorflow.Event.log_message is deprecated.Deprecated.Deprecated.An encoded version of a MetaGraphDef.The state of the session which can be used for restarting after crashes.The state of the session which can be used for restarting after crashes.The state of the session which can be used for restarting after crashes.Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.longgetStep()Global step of the event.A summary was generated.A summary was generated.A summary was generated.The metadata returned by running a session.run() call.The metadata returned by running a session.run() call.The metadata returned by running a session.run() call.doubleTimestamp of the event.booleanAn event file was started, with the specified version.booleanAn encoded version of a GraphDef.booleanDeprecated.tensorflow.Event.log_message is deprecated.booleanAn encoded version of a MetaGraphDef.booleanThe state of the session which can be used for restarting after crashes.booleanInformation of the source that writes the events, this is only logged in the very first event along with the `file_version` field.booleanA summary was generated.booleanThe metadata returned by running a session.run() call.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeLogMessage(LogMessage value) Deprecated.mergeSessionLog(SessionLog value) The state of the session which can be used for restarting after crashes.Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.mergeSummary(Summary value) A summary was generated.The metadata returned by running a session.run() call.final Event.BuildermergeUnknownFields(UnknownFieldSet unknownFields) setField(Descriptors.FieldDescriptor field, Object value) setFileVersion(String value) An event file was started, with the specified version.setFileVersionBytes(ByteString value) An event file was started, with the specified version.setGraphDef(ByteString value) An encoded version of a GraphDef.setLogMessage(LogMessage value) Deprecated.setLogMessage(LogMessage.Builder builderForValue) Deprecated.setMetaGraphDef(ByteString value) An encoded version of a MetaGraphDef.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setSessionLog(SessionLog value) The state of the session which can be used for restarting after crashes.setSessionLog(SessionLog.Builder builderForValue) The state of the session which can be used for restarting after crashes.setSourceMetadata(SourceMetadata value) Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.setSourceMetadata(SourceMetadata.Builder builderForValue) Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.setStep(long value) Global step of the event.setSummary(Summary value) A summary was generated.setSummary(Summary.Builder builderForValue) A summary was generated.The metadata returned by running a session.run() call.setTaggedRunMetadata(TaggedRunMetadata.Builder builderForValue) The metadata returned by running a session.run() call.final Event.BuildersetUnknownFields(UnknownFieldSet unknownFields) setWallTime(double value) Timestamp of the event.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<Event.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<Event.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<Event.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<Event.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<Event.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<Event.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<Event.Builder>
-
setRepeatedField
- Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<Event.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<Event.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Event.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<Event.Builder>
-
mergeFrom
public Event.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Event.Builder>- Throws:
IOException
-
getWhatCase
- Specified by:
getWhatCasein interfaceEventOrBuilder
-
clearWhat
-
getWallTime
public double getWallTime()Timestamp of the event.
double wall_time = 1;- Specified by:
getWallTimein interfaceEventOrBuilder- Returns:
- The wallTime.
-
setWallTime
Timestamp of the event.
double wall_time = 1;- Parameters:
value- The wallTime to set.- Returns:
- This builder for chaining.
-
clearWallTime
Timestamp of the event.
double wall_time = 1;- Returns:
- This builder for chaining.
-
getStep
public long getStep()Global step of the event.
int64 step = 2;- Specified by:
getStepin interfaceEventOrBuilder- Returns:
- The step.
-
setStep
Global step of the event.
int64 step = 2;- Parameters:
value- The step to set.- Returns:
- This builder for chaining.
-
clearStep
Global step of the event.
int64 step = 2;- Returns:
- This builder for chaining.
-
hasFileVersion
public boolean hasFileVersion()An event file was started, with the specified version. This is use to identify the contents of the record IO files easily. Current version is "brain.Event:2". All versions start with "brain.Event:".
string file_version = 3;- Specified by:
hasFileVersionin interfaceEventOrBuilder- Returns:
- Whether the fileVersion field is set.
-
getFileVersion
An event file was started, with the specified version. This is use to identify the contents of the record IO files easily. Current version is "brain.Event:2". All versions start with "brain.Event:".
string file_version = 3;- Specified by:
getFileVersionin interfaceEventOrBuilder- Returns:
- The fileVersion.
-
getFileVersionBytes
An event file was started, with the specified version. This is use to identify the contents of the record IO files easily. Current version is "brain.Event:2". All versions start with "brain.Event:".
string file_version = 3;- Specified by:
getFileVersionBytesin interfaceEventOrBuilder- Returns:
- The bytes for fileVersion.
-
setFileVersion
An event file was started, with the specified version. This is use to identify the contents of the record IO files easily. Current version is "brain.Event:2". All versions start with "brain.Event:".
string file_version = 3;- Parameters:
value- The fileVersion to set.- Returns:
- This builder for chaining.
-
clearFileVersion
An event file was started, with the specified version. This is use to identify the contents of the record IO files easily. Current version is "brain.Event:2". All versions start with "brain.Event:".
string file_version = 3;- Returns:
- This builder for chaining.
-
setFileVersionBytes
An event file was started, with the specified version. This is use to identify the contents of the record IO files easily. Current version is "brain.Event:2". All versions start with "brain.Event:".
string file_version = 3;- Parameters:
value- The bytes for fileVersion to set.- Returns:
- This builder for chaining.
-
hasGraphDef
public boolean hasGraphDef()An encoded version of a GraphDef.
bytes graph_def = 4;- Specified by:
hasGraphDefin interfaceEventOrBuilder- Returns:
- Whether the graphDef field is set.
-
getGraphDef
An encoded version of a GraphDef.
bytes graph_def = 4;- Specified by:
getGraphDefin interfaceEventOrBuilder- Returns:
- The graphDef.
-
setGraphDef
An encoded version of a GraphDef.
bytes graph_def = 4;- Parameters:
value- The graphDef to set.- Returns:
- This builder for chaining.
-
clearGraphDef
An encoded version of a GraphDef.
bytes graph_def = 4;- Returns:
- This builder for chaining.
-
hasSummary
public boolean hasSummary()A summary was generated.
.tensorflow.Summary summary = 5;- Specified by:
hasSummaryin interfaceEventOrBuilder- Returns:
- Whether the summary field is set.
-
getSummary
A summary was generated.
.tensorflow.Summary summary = 5;- Specified by:
getSummaryin interfaceEventOrBuilder- Returns:
- The summary.
-
setSummary
A summary was generated.
.tensorflow.Summary summary = 5; -
setSummary
A summary was generated.
.tensorflow.Summary summary = 5; -
mergeSummary
A summary was generated.
.tensorflow.Summary summary = 5; -
clearSummary
A summary was generated.
.tensorflow.Summary summary = 5; -
getSummaryBuilder
A summary was generated.
.tensorflow.Summary summary = 5; -
getSummaryOrBuilder
A summary was generated.
.tensorflow.Summary summary = 5;- Specified by:
getSummaryOrBuilderin interfaceEventOrBuilder
-
hasLogMessage
Deprecated.tensorflow.Event.log_message is deprecated. See tensorflow/core/util/event.proto;l=34The user output a log message. This was theoretically used by the defunct tensorboard_logging module, which has since been removed; this field is now deprecated and should not be used.
.tensorflow.LogMessage log_message = 6 [deprecated = true];- Specified by:
hasLogMessagein interfaceEventOrBuilder- Returns:
- Whether the logMessage field is set.
-
getLogMessage
Deprecated.tensorflow.Event.log_message is deprecated. See tensorflow/core/util/event.proto;l=34The user output a log message. This was theoretically used by the defunct tensorboard_logging module, which has since been removed; this field is now deprecated and should not be used.
.tensorflow.LogMessage log_message = 6 [deprecated = true];- Specified by:
getLogMessagein interfaceEventOrBuilder- Returns:
- The logMessage.
-
setLogMessage
Deprecated.The user output a log message. This was theoretically used by the defunct tensorboard_logging module, which has since been removed; this field is now deprecated and should not be used.
.tensorflow.LogMessage log_message = 6 [deprecated = true]; -
setLogMessage
Deprecated.The user output a log message. This was theoretically used by the defunct tensorboard_logging module, which has since been removed; this field is now deprecated and should not be used.
.tensorflow.LogMessage log_message = 6 [deprecated = true]; -
mergeLogMessage
Deprecated.The user output a log message. This was theoretically used by the defunct tensorboard_logging module, which has since been removed; this field is now deprecated and should not be used.
.tensorflow.LogMessage log_message = 6 [deprecated = true]; -
clearLogMessage
Deprecated.The user output a log message. This was theoretically used by the defunct tensorboard_logging module, which has since been removed; this field is now deprecated and should not be used.
.tensorflow.LogMessage log_message = 6 [deprecated = true]; -
getLogMessageBuilder
Deprecated.The user output a log message. This was theoretically used by the defunct tensorboard_logging module, which has since been removed; this field is now deprecated and should not be used.
.tensorflow.LogMessage log_message = 6 [deprecated = true]; -
getLogMessageOrBuilder
Deprecated.The user output a log message. This was theoretically used by the defunct tensorboard_logging module, which has since been removed; this field is now deprecated and should not be used.
.tensorflow.LogMessage log_message = 6 [deprecated = true];- Specified by:
getLogMessageOrBuilderin interfaceEventOrBuilder
-
hasSessionLog
public boolean hasSessionLog()The state of the session which can be used for restarting after crashes.
.tensorflow.SessionLog session_log = 7;- Specified by:
hasSessionLogin interfaceEventOrBuilder- Returns:
- Whether the sessionLog field is set.
-
getSessionLog
The state of the session which can be used for restarting after crashes.
.tensorflow.SessionLog session_log = 7;- Specified by:
getSessionLogin interfaceEventOrBuilder- Returns:
- The sessionLog.
-
setSessionLog
The state of the session which can be used for restarting after crashes.
.tensorflow.SessionLog session_log = 7; -
setSessionLog
The state of the session which can be used for restarting after crashes.
.tensorflow.SessionLog session_log = 7; -
mergeSessionLog
The state of the session which can be used for restarting after crashes.
.tensorflow.SessionLog session_log = 7; -
clearSessionLog
The state of the session which can be used for restarting after crashes.
.tensorflow.SessionLog session_log = 7; -
getSessionLogBuilder
The state of the session which can be used for restarting after crashes.
.tensorflow.SessionLog session_log = 7; -
getSessionLogOrBuilder
The state of the session which can be used for restarting after crashes.
.tensorflow.SessionLog session_log = 7;- Specified by:
getSessionLogOrBuilderin interfaceEventOrBuilder
-
hasTaggedRunMetadata
public boolean hasTaggedRunMetadata()The metadata returned by running a session.run() call.
.tensorflow.TaggedRunMetadata tagged_run_metadata = 8;- Specified by:
hasTaggedRunMetadatain interfaceEventOrBuilder- Returns:
- Whether the taggedRunMetadata field is set.
-
getTaggedRunMetadata
The metadata returned by running a session.run() call.
.tensorflow.TaggedRunMetadata tagged_run_metadata = 8;- Specified by:
getTaggedRunMetadatain interfaceEventOrBuilder- Returns:
- The taggedRunMetadata.
-
setTaggedRunMetadata
The metadata returned by running a session.run() call.
.tensorflow.TaggedRunMetadata tagged_run_metadata = 8; -
setTaggedRunMetadata
The metadata returned by running a session.run() call.
.tensorflow.TaggedRunMetadata tagged_run_metadata = 8; -
mergeTaggedRunMetadata
The metadata returned by running a session.run() call.
.tensorflow.TaggedRunMetadata tagged_run_metadata = 8; -
clearTaggedRunMetadata
The metadata returned by running a session.run() call.
.tensorflow.TaggedRunMetadata tagged_run_metadata = 8; -
getTaggedRunMetadataBuilder
The metadata returned by running a session.run() call.
.tensorflow.TaggedRunMetadata tagged_run_metadata = 8; -
getTaggedRunMetadataOrBuilder
The metadata returned by running a session.run() call.
.tensorflow.TaggedRunMetadata tagged_run_metadata = 8;- Specified by:
getTaggedRunMetadataOrBuilderin interfaceEventOrBuilder
-
hasMetaGraphDef
public boolean hasMetaGraphDef()An encoded version of a MetaGraphDef.
bytes meta_graph_def = 9;- Specified by:
hasMetaGraphDefin interfaceEventOrBuilder- Returns:
- Whether the metaGraphDef field is set.
-
getMetaGraphDef
An encoded version of a MetaGraphDef.
bytes meta_graph_def = 9;- Specified by:
getMetaGraphDefin interfaceEventOrBuilder- Returns:
- The metaGraphDef.
-
setMetaGraphDef
An encoded version of a MetaGraphDef.
bytes meta_graph_def = 9;- Parameters:
value- The metaGraphDef to set.- Returns:
- This builder for chaining.
-
clearMetaGraphDef
An encoded version of a MetaGraphDef.
bytes meta_graph_def = 9;- Returns:
- This builder for chaining.
-
hasSourceMetadata
public boolean hasSourceMetadata()Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.
.tensorflow.SourceMetadata source_metadata = 10;- Specified by:
hasSourceMetadatain interfaceEventOrBuilder- Returns:
- Whether the sourceMetadata field is set.
-
getSourceMetadata
Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.
.tensorflow.SourceMetadata source_metadata = 10;- Specified by:
getSourceMetadatain interfaceEventOrBuilder- Returns:
- The sourceMetadata.
-
setSourceMetadata
Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.
.tensorflow.SourceMetadata source_metadata = 10; -
setSourceMetadata
Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.
.tensorflow.SourceMetadata source_metadata = 10; -
mergeSourceMetadata
Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.
.tensorflow.SourceMetadata source_metadata = 10; -
clearSourceMetadata
Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.
.tensorflow.SourceMetadata source_metadata = 10; -
getSourceMetadataBuilder
Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.
.tensorflow.SourceMetadata source_metadata = 10; -
getSourceMetadataOrBuilder
Information of the source that writes the events, this is only logged in the very first event along with the `file_version` field.
.tensorflow.SourceMetadata source_metadata = 10;- Specified by:
getSourceMetadataOrBuilderin interfaceEventOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<Event.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<Event.Builder>
-