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.
 
tensorflow.SessionMetadata tipo tensorflow.SessionMetadata

Classes aninhadas

aula SessionMetadata.Builder
 Metadata about the session. 

Constantes

int NAME_FIELD_NUMBER
int VERSION_FIELD_NUMBER

Métodos Públicos

boleano
igual a (objeto obj)
SessionMetadata estática
SessionMetadata
final static com.google.protobuf.Descriptors.Descriptor
Fragmento
getName ()
string name = 1;
com.google.protobuf.ByteString
getNameBytes ()
string name = 1;
int
final com.google.protobuf.UnknownFieldSet
longo
getVersion ()
 The version is optional.
int
final booleano
static SessionMetadata.Builder
static SessionMetadata.Builder
SessionMetadata.Builder
SessionMetadata estática
parseDelimitedFrom (input InputStream)
SessionMetadata estática
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SessionMetadata estática
parseFrom (dados ByteBuffer)
SessionMetadata estática
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SessionMetadata estática
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SessionMetadata estática
parseFrom (com.google.protobuf.CodedInputStream input)
SessionMetadata estática
parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SessionMetadata estática
parseFrom (com.google.protobuf.ByteString data)
SessionMetadata estática
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SessionMetadata estática
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
SessionMetadata.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

public static final int NAME_FIELD_NUMBER

Valor Constante: 1

public static final int VERSION_FIELD_NUMBER

Valor constante: 2

Métodos Públicos

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;

público 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 (protótipo SessionMetadata )

public static SessionMetadata.Builder newBuilder ()

public SessionMetadata.Builder newBuilderForType ()

public static SessionMetadata parseDelimitedFrom (InputStream input)

Lança
IOException

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

Lança
IOException

public static SessionMetadata parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

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

Lança
InvalidProtocolBufferException

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

Lança
IOException

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

Lança
InvalidProtocolBufferException

estática pública analisador ()

public SessionMetadata.Builder toBuilder ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException