CommitId.Builder

public static final class CommitId.Builder

Protobuf type tensorflow.CommitId

Public Methods

CommitId.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CommitId
build()
CommitId
CommitId.Builder
clear()
CommitId.Builder
clearChangelist()
 Submitted changelist.
CommitId.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CommitId.Builder
clearHash()
string hash = 2;
CommitId.Builder
CommitId.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CommitId.Builder
clearPendingChangelist()
 Changelist tested if the change list is not already submitted.
CommitId.Builder
clearSnapshot()
 Hash of intermediate change between hash/changelist and what was tested.
CommitId.Builder
clone()
long
getChangelist()
 Submitted changelist.
CommitId
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getHash()
string hash = 2;
com.google.protobuf.ByteString
getHashBytes()
string hash = 2;
CommitId.KindCase
long
getPendingChangelist()
 Changelist tested if the change list is not already submitted.
String
getSnapshot()
 Hash of intermediate change between hash/changelist and what was tested.
com.google.protobuf.ByteString
getSnapshotBytes()
 Hash of intermediate change between hash/changelist and what was tested.
final boolean
CommitId.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CommitId.Builder
mergeFrom(com.google.protobuf.Message other)
final CommitId.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CommitId.Builder
setChangelist(long value)
 Submitted changelist.
CommitId.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CommitId.Builder
setHash(String value)
string hash = 2;
CommitId.Builder
setHashBytes(com.google.protobuf.ByteString value)
string hash = 2;
CommitId.Builder
setPendingChangelist(long value)
 Changelist tested if the change list is not already submitted.
CommitId.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
CommitId.Builder
setSnapshot(String value)
 Hash of intermediate change between hash/changelist and what was tested.
CommitId.Builder
setSnapshotBytes(com.google.protobuf.ByteString value)
 Hash of intermediate change between hash/changelist and what was tested.
final CommitId.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public CommitId.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public CommitId build ()

public CommitId buildPartial ()

public CommitId.Builder clear ()

public CommitId.Builder clearChangelist ()

 Submitted changelist.
 
int64 changelist = 1;

public CommitId.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public CommitId.Builder clearHash ()

string hash = 2;

public CommitId.Builder clearKind ()

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

public CommitId.Builder clearPendingChangelist ()

 Changelist tested if the change list is not already submitted.
 
int64 pending_changelist = 4;

public CommitId.Builder clearSnapshot ()

 Hash of intermediate change between hash/changelist and what was tested.
 Not used if the build is from a commit without modifications.
 
string snapshot = 3;

public CommitId.Builder clone ()

public long getChangelist ()

 Submitted changelist.
 
int64 changelist = 1;

public CommitId getDefaultInstanceForType ()

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

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

public String getHash ()

string hash = 2;

public com.google.protobuf.ByteString getHashBytes ()

string hash = 2;

public CommitId.KindCase getKindCase ()

public long getPendingChangelist ()

 Changelist tested if the change list is not already submitted.
 
int64 pending_changelist = 4;

public String getSnapshot ()

 Hash of intermediate change between hash/changelist and what was tested.
 Not used if the build is from a commit without modifications.
 
string snapshot = 3;

public com.google.protobuf.ByteString getSnapshotBytes ()

 Hash of intermediate change between hash/changelist and what was tested.
 Not used if the build is from a commit without modifications.
 
string snapshot = 3;

public final boolean isInitialized ()

public CommitId.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public CommitId.Builder mergeFrom (com.google.protobuf.Message other)

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

public CommitId.Builder setChangelist (long value)

 Submitted changelist.
 
int64 changelist = 1;

public CommitId.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public CommitId.Builder setHash (String value)

string hash = 2;

public CommitId.Builder setHashBytes (com.google.protobuf.ByteString value)

string hash = 2;

public CommitId.Builder setPendingChangelist (long value)

 Changelist tested if the change list is not already submitted.
 
int64 pending_changelist = 4;

public CommitId.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public CommitId.Builder setSnapshot (String value)

 Hash of intermediate change between hash/changelist and what was tested.
 Not used if the build is from a commit without modifications.
 
string snapshot = 3;

public CommitId.Builder setSnapshotBytes (com.google.protobuf.ByteString value)

 Hash of intermediate change between hash/changelist and what was tested.
 Not used if the build is from a commit without modifications.
 
string snapshot = 3;

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