Interface FetchGitAheadBehindResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FetchGitAheadBehindResponse
,FetchGitAheadBehindResponse.Builder
public interface FetchGitAheadBehindResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCommitsAhead()
The number of commits in the remote branch that are not in the workspace.int
getCommitsBehind()
The number of commits in the workspace that are not in the remote branch.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCommitsAhead
int getCommitsAhead()
The number of commits in the remote branch that are not in the workspace.
int32 commits_ahead = 1;
- Returns:
- The commitsAhead.
-
getCommitsBehind
int getCommitsBehind()
The number of commits in the workspace that are not in the remote branch.
int32 commits_behind = 2;
- Returns:
- The commitsBehind.
-
-