Interface CommitIdOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
CommitId, CommitId.Builder
-
Method Summary
Modifier and TypeMethodDescriptionlongSubmitted changelist.getHash()string hash = 2;string hash = 2;longChangelist tested if the change list is not already submitted.Hash of intermediate change between hash/changelist and what was tested.Hash of intermediate change between hash/changelist and what was tested.booleanSubmitted changelist.booleanhasHash()string hash = 2;Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
hasChangelist
boolean hasChangelist()Submitted changelist.
int64 changelist = 1;- Returns:
- Whether the changelist field is set.
-
getChangelist
long getChangelist()Submitted changelist.
int64 changelist = 1;- Returns:
- The changelist.
-
hasHash
boolean hasHash()string hash = 2;- Returns:
- Whether the hash field is set.
-
getHash
-
getHashBytes
-
getSnapshot
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;- Returns:
- The snapshot.
-
getSnapshotBytes
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;- Returns:
- The bytes for snapshot.
-
getPendingChangelist
long getPendingChangelist()Changelist tested if the change list is not already submitted.
int64 pending_changelist = 4;- Returns:
- The pendingChangelist.
-
getKindCase
CommitId.KindCase getKindCase()
-