Class Event
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.Event
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, EventOrBuilder
Protocol buffer representing an event that happened during the execution of a Brain model.Protobuf type
tensorflow.Event- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtocol buffer representing an event that happened during the execution of a Brain model.static enumNested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Eventstatic 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.An encoded version of a MetaGraphDef.intThe 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.longgetStep()Global step of the event.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.final UnknownFieldSetdoubleTimestamp of the event.booleanAn event file was started, with the specified version.booleanAn encoded version of a GraphDef.inthashCode()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 booleanstatic Event.Builderstatic Event.BuildernewBuilder(Event prototype) protected Event.Builderprotected Objectstatic EventparseDelimitedFrom(InputStream input) static EventparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static EventparseFrom(byte[] data) static EventparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static EventparseFrom(ByteString data) static EventparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static EventparseFrom(CodedInputStream input) static EventparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static EventparseFrom(InputStream input) static EventparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static EventparseFrom(ByteBuffer data) static EventparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
WALL_TIME_FIELD_NUMBER
public static final int WALL_TIME_FIELD_NUMBER- See Also:
-
STEP_FIELD_NUMBER
public static final int STEP_FIELD_NUMBER- See Also:
-
FILE_VERSION_FIELD_NUMBER
public static final int FILE_VERSION_FIELD_NUMBER- See Also:
-
GRAPH_DEF_FIELD_NUMBER
public static final int GRAPH_DEF_FIELD_NUMBER- See Also:
-
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER- See Also:
-
LOG_MESSAGE_FIELD_NUMBER
public static final int LOG_MESSAGE_FIELD_NUMBER- See Also:
-
SESSION_LOG_FIELD_NUMBER
public static final int SESSION_LOG_FIELD_NUMBER- See Also:
-
TAGGED_RUN_METADATA_FIELD_NUMBER
public static final int TAGGED_RUN_METADATA_FIELD_NUMBER- See Also:
-
META_GRAPH_DEF_FIELD_NUMBER
public static final int META_GRAPH_DEF_FIELD_NUMBER- See Also:
-
SOURCE_METADATA_FIELD_NUMBER
public static final int SOURCE_METADATA_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getWhatCase
- Specified by:
getWhatCasein interfaceEventOrBuilder
-
getWallTime
public double getWallTime()Timestamp of the event.
double wall_time = 1;- Specified by:
getWallTimein interfaceEventOrBuilder- Returns:
- The wallTime.
-
getStep
public long getStep()Global step of the event.
int64 step = 2;- Specified by:
getStepin interfaceEventOrBuilder- Returns:
- The step.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Event parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Event parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Event parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-