SessionMetadata.Builder

מחלקה סופית סטטית ציבורית SessionMetadata.Builder

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

שיטות ציבוריות

SessionMetadata.Builder
addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
SessionMetadata
SessionMetadata
SessionMetadata.Builder
SessionMetadata.Builder
clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor)
SessionMetadata.Builder
clearName ()
string name = 1;
SessionMetadata.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
SessionMetadata.Builder
clearVersion ()
 The version is optional.
SessionMetadata.Builder
SessionMetadata
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
חוּט
getName ()
string name = 1;
com.google.protobuf.ByteString
getNameBytes ()
string name = 1;
אָרוֹך
getVersion ()
 The version is optional.
בוליאנית סופית
SessionMetadata.Builder
mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SessionMetadata.Builder
mergeFrom (com.google.protobuf.Message אחר)
final SessionMetadata.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
SessionMetadata.Builder
setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
SessionMetadata.Builder
setName (ערך מחרוזת)
string name = 1;
SessionMetadata.Builder
setNameBytes (ערך com.google.protobuf.ByteString)
string name = 1;
SessionMetadata.Builder
setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט)
final SessionMetadata.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
SessionMetadata.Builder
setVersion (ערך ארוך)
 The version is optional.

שיטות בירושה

שיטות ציבוריות

public SessionMetadata.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

SessionMetadata build ציבורי ()

public SessionMetadata buildPartial ()

public SessionMetadata.Builder clear ()

public SessionMetadata.Builder clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor)

public SessionMetadata.Builder clearName ()

string name = 1;

public SessionMetadata.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public SessionMetadata.Builder clearVersion ()

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

שיבוט ציבורי SessionMetadata.Builder ()

public SessionMetadata getDefaultInstanceForType ()

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

מחרוזת ציבורית getName ()

string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

string name = 1;

public long getVersion ()

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

בוליאני הסופי הציבורי הוא אתחול ()

public SessionMetadata.Builder mergeFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public SessionMetadata.Builder mergeFrom (com.google.protobuf.Message אחר)

public final SessionMetadata.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public SessionMetadata.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

public SessionMetadata.Builder setName (ערך מחרוזת)

string name = 1;

public SessionMetadata.Builder setNameBytes (ערך com.google.protobuf.ByteString)

string name = 1;

public SessionMetadata.Builder setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס int, ערך אובייקט)

public final SessionMetadata.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public SessionMetadata.Builder setVersion (ערך ארוך)

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