SessionMetadata

public final class SessionMetadata

 Metadata about the session.
 This can be used by the runtime and the Ops for debugging, monitoring, etc.
 The (name, version) tuple is expected to be a unique identifier for
 sessions within the same process.
 NOTE: This is currently used and propagated only by the direct session.
 
Protobuf type tensorflow.SessionMetadata

Nested Classes

class SessionMetadata.Builder
 Metadata about the session. 

Constants

int NAME_FIELD_NUMBER
int VERSION_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static SessionMetadata
SessionMetadata
final static com.google.protobuf.Descriptors.Descriptor
String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
int
final com.google.protobuf.UnknownFieldSet
long
getVersion()
 The version is optional.
int
final boolean
static SessionMetadata.Builder
static SessionMetadata.Builder
SessionMetadata.Builder
static SessionMetadata
parseDelimitedFrom(InputStream input)
static SessionMetadata
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SessionMetadata
parseFrom(ByteBuffer data)
static SessionMetadata
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SessionMetadata
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SessionMetadata
parseFrom(com.google.protobuf.CodedInputStream input)
static SessionMetadata
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SessionMetadata
parseFrom(com.google.protobuf.ByteString data)
static SessionMetadata
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static SessionMetadata
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
SessionMetadata.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int NAME_FIELD_NUMBER

Constant Value: 1

public static final int VERSION_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

public static SessionMetadata getDefaultInstance ()

public SessionMetadata getDefaultInstanceForType ()

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

public String getName ()

string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

string name = 1;

public getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public long getVersion ()

 The version is optional. If set, needs to be >= 0.
 
int64 version = 2;

public int hashCode ()

public final boolean isInitialized ()

public static SessionMetadata.Builder newBuilder (SessionMetadata prototype)

public static SessionMetadata.Builder newBuilder ()

public SessionMetadata.Builder newBuilderForType ()

public static SessionMetadata parseDelimitedFrom (InputStream input)

Throws
IOException

public static SessionMetadata parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SessionMetadata parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static SessionMetadata parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SessionMetadata parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static SessionMetadata parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static SessionMetadata parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static SessionMetadata parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static SessionMetadata parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static SessionMetadata parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public SessionMetadata.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException