Package com.google.cloud.dataform.v1
Interface FetchGitAheadBehindResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FetchGitAheadBehindResponse,FetchGitAheadBehindResponse.Builder
@Generated
public interface FetchGitAheadBehindResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe number of commits in the remote branch that are not in the workspace.intThe number of commits in the workspace that are not in the remote branch.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-