Class SessionLog.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, SessionLogOrBuilder
    Enclosing class:
    SessionLog

    public static final class SessionLog.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
    implements SessionLogOrBuilder
     Protocol buffer used for logging session state.
     
    Protobuf type org.platanios.tensorflow.proto.SessionLog
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
      • clear

        public SessionLog.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
      • getDefaultInstanceForType

        public SessionLog getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SessionLog build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SessionLog buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public SessionLog.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
      • setField

        public SessionLog.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
      • clearField

        public SessionLog.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
      • clearOneof

        public SessionLog.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
      • setRepeatedField

        public SessionLog.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
      • addRepeatedField

        public SessionLog.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
      • mergeFrom

        public SessionLog.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SessionLog.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
      • mergeFrom

        public SessionLog.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SessionLog.Builder>
        Throws:
        java.io.IOException
      • getStatusValue

        public int getStatusValue()
        .org.platanios.tensorflow.proto.SessionLog.SessionStatus status = 1;
        Specified by:
        getStatusValue in interface SessionLogOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • setStatusValue

        public SessionLog.Builder setStatusValue​(int value)
        .org.platanios.tensorflow.proto.SessionLog.SessionStatus status = 1;
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • setStatus

        public SessionLog.Builder setStatus​(SessionLog.SessionStatus value)
        .org.platanios.tensorflow.proto.SessionLog.SessionStatus status = 1;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public SessionLog.Builder clearStatus()
        .org.platanios.tensorflow.proto.SessionLog.SessionStatus status = 1;
        Returns:
        This builder for chaining.
      • getCheckpointPath

        public java.lang.String getCheckpointPath()
         This checkpoint_path contains both the path and filename.
         
        string checkpoint_path = 2;
        Specified by:
        getCheckpointPath in interface SessionLogOrBuilder
        Returns:
        The checkpointPath.
      • getCheckpointPathBytes

        public com.google.protobuf.ByteString getCheckpointPathBytes()
         This checkpoint_path contains both the path and filename.
         
        string checkpoint_path = 2;
        Specified by:
        getCheckpointPathBytes in interface SessionLogOrBuilder
        Returns:
        The bytes for checkpointPath.
      • setCheckpointPath

        public SessionLog.Builder setCheckpointPath​(java.lang.String value)
         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

        public SessionLog.Builder clearCheckpointPath()
         This checkpoint_path contains both the path and filename.
         
        string checkpoint_path = 2;
        Returns:
        This builder for chaining.
      • setCheckpointPathBytes

        public SessionLog.Builder setCheckpointPathBytes​(com.google.protobuf.ByteString value)
         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

        public java.lang.String getMsg()
        string msg = 3;
        Specified by:
        getMsg in interface SessionLogOrBuilder
        Returns:
        The msg.
      • getMsgBytes

        public com.google.protobuf.ByteString getMsgBytes()
        string msg = 3;
        Specified by:
        getMsgBytes in interface SessionLogOrBuilder
        Returns:
        The bytes for msg.
      • setMsg

        public SessionLog.Builder setMsg​(java.lang.String value)
        string msg = 3;
        Parameters:
        value - The msg to set.
        Returns:
        This builder for chaining.
      • clearMsg

        public SessionLog.Builder clearMsg()
        string msg = 3;
        Returns:
        This builder for chaining.
      • setMsgBytes

        public SessionLog.Builder setMsgBytes​(com.google.protobuf.ByteString value)
        string msg = 3;
        Parameters:
        value - The bytes for msg to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final SessionLog.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>
      • mergeUnknownFields

        public final SessionLog.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SessionLog.Builder>