Class SessionLog.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SessionLog.Builder>
com.google.protobuf.GeneratedMessage.Builder<SessionLog.Builder>
org.tensorflow.proto.SessionLog.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, SessionLogOrBuilder
- Enclosing class:
SessionLog
public static final class SessionLog.Builder
extends GeneratedMessage.Builder<SessionLog.Builder>
implements SessionLogOrBuilder
Protocol buffer used for logging session state.Protobuf type
tensorflow.SessionLog-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()This checkpoint_path contains both the path and filename.clearMsg()string msg = 3;.tensorflow.SessionLog.SessionStatus status = 1;This checkpoint_path contains both the path and filename.This checkpoint_path contains both the path and filename.static final Descriptors.DescriptorgetMsg()string msg = 3;string msg = 3;.tensorflow.SessionLog.SessionStatus status = 1;int.tensorflow.SessionLog.SessionStatus status = 1;protected GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(SessionLog other) setCheckpointPath(String value) This checkpoint_path contains both the path and filename.setCheckpointPathBytes(ByteString value) This checkpoint_path contains both the path and filename.string msg = 3;setMsgBytes(ByteString value) string msg = 3;.tensorflow.SessionLog.SessionStatus status = 1;setStatusValue(int value) .tensorflow.SessionLog.SessionStatus status = 1;Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<SessionLog.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<SessionLog.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<SessionLog.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
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SessionLog.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<SessionLog.Builder>
-
mergeFrom
public SessionLog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SessionLog.Builder>- Throws:
IOException
-
getStatusValue
public int getStatusValue().tensorflow.SessionLog.SessionStatus status = 1;- Specified by:
getStatusValuein interfaceSessionLogOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
.tensorflow.SessionLog.SessionStatus status = 1;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
.tensorflow.SessionLog.SessionStatus status = 1;- Specified by:
getStatusin interfaceSessionLogOrBuilder- Returns:
- The status.
-
setStatus
.tensorflow.SessionLog.SessionStatus status = 1;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
.tensorflow.SessionLog.SessionStatus status = 1;- Returns:
- This builder for chaining.
-
getCheckpointPath
This checkpoint_path contains both the path and filename.
string checkpoint_path = 2;- Specified by:
getCheckpointPathin interfaceSessionLogOrBuilder- Returns:
- The checkpointPath.
-
getCheckpointPathBytes
This checkpoint_path contains both the path and filename.
string checkpoint_path = 2;- Specified by:
getCheckpointPathBytesin interfaceSessionLogOrBuilder- Returns:
- The bytes for checkpointPath.
-
setCheckpointPath
This checkpoint_path contains both the path and filename.
string checkpoint_path = 2;- Parameters:
value- The checkpointPath to set.- Returns:
- This builder for chaining.
-
clearCheckpointPath
This checkpoint_path contains both the path and filename.
string checkpoint_path = 2;- Returns:
- This builder for chaining.
-
setCheckpointPathBytes
This checkpoint_path contains both the path and filename.
string checkpoint_path = 2;- Parameters:
value- The bytes for checkpointPath to set.- Returns:
- This builder for chaining.
-
getMsg
string msg = 3;- Specified by:
getMsgin interfaceSessionLogOrBuilder- Returns:
- The msg.
-
getMsgBytes
string msg = 3;- Specified by:
getMsgBytesin interfaceSessionLogOrBuilder- Returns:
- The bytes for msg.
-
setMsg
string msg = 3;- Parameters:
value- The msg to set.- Returns:
- This builder for chaining.
-
clearMsg
-
setMsgBytes
string msg = 3;- Parameters:
value- The bytes for msg to set.- Returns:
- This builder for chaining.
-