public sealed class FetchGitAheadBehindResponse : IMessage<FetchGitAheadBehindResponse>, IEquatable<FetchGitAheadBehindResponse>, IDeepCloneable<FetchGitAheadBehindResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataform v1beta1 API class FetchGitAheadBehindResponse.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eFetchGitAheadBehindResponse\u003c/code\u003e class within the Dataform v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFetchGitAheadBehindResponse\u003c/code\u003e is a message class used to represent the response for the \u003ccode\u003eFetchGitAheadBehind\u003c/code\u003e operation.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two main properties: \u003ccode\u003eCommitsAhead\u003c/code\u003e, which represents the number of remote commits not in the workspace, and \u003ccode\u003eCommitsBehind\u003c/code\u003e, which represents the number of workspace commits not in the remote branch, both as integers.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default constructor and a copy constructor for creating instances, and it resides within the \u003ccode\u003eGoogle.Cloud.Dataform.V1Beta1\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,["# Dataform v1beta1 API - Class FetchGitAheadBehindResponse (1.0.0-beta08)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta08 (latest)](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.FetchGitAheadBehindResponse)\n- [1.0.0-beta07](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/1.0.0-beta07/Google.Cloud.Dataform.V1Beta1.FetchGitAheadBehindResponse) \n\n public sealed class FetchGitAheadBehindResponse : IMessage\u003cFetchGitAheadBehindResponse\u003e, IEquatable\u003cFetchGitAheadBehindResponse\u003e, IDeepCloneable\u003cFetchGitAheadBehindResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataform v1beta1 API class FetchGitAheadBehindResponse.\n\n`FetchGitAheadBehind` response message. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FetchGitAheadBehindResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FetchGitAheadBehindResponse](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.FetchGitAheadBehindResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FetchGitAheadBehindResponse](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.FetchGitAheadBehindResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FetchGitAheadBehindResponse](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1.FetchGitAheadBehindResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dataform.V1Beta1](/dotnet/docs/reference/Google.Cloud.Dataform.V1Beta1/latest/Google.Cloud.Dataform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataform.V1Beta1.dll\n\nConstructors\n------------\n\n### FetchGitAheadBehindResponse()\n\n public FetchGitAheadBehindResponse()\n\n### FetchGitAheadBehindResponse(FetchGitAheadBehindResponse)\n\n public FetchGitAheadBehindResponse(FetchGitAheadBehindResponse other)\n\nProperties\n----------\n\n### CommitsAhead\n\n public int CommitsAhead { get; set; }\n\nThe number of commits in the remote branch that are not in the workspace.\n\n### CommitsBehind\n\n public int CommitsBehind { get; set; }\n\nThe number of commits in the workspace that are not in the remote branch."]]