Class FetchGitAheadBehindResponse (0.15.0)

public final class FetchGitAheadBehindResponse extends GeneratedMessageV3 implements FetchGitAheadBehindResponseOrBuilder

FetchGitAheadBehind response message.

Protobuf type google.cloud.dataform.v1alpha2.FetchGitAheadBehindResponse

Static Fields

COMMITS_AHEAD_FIELD_NUMBER

public static final int COMMITS_AHEAD_FIELD_NUMBER
Field Value
Type Description
int

COMMITS_BEHIND_FIELD_NUMBER

public static final int COMMITS_BEHIND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FetchGitAheadBehindResponse getDefaultInstance()
Returns
Type Description
FetchGitAheadBehindResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FetchGitAheadBehindResponse.Builder newBuilder()
Returns
Type Description
FetchGitAheadBehindResponse.Builder

newBuilder(FetchGitAheadBehindResponse prototype)

public static FetchGitAheadBehindResponse.Builder newBuilder(FetchGitAheadBehindResponse prototype)
Parameter
Name Description
prototype FetchGitAheadBehindResponse
Returns
Type Description
FetchGitAheadBehindResponse.Builder

parseDelimitedFrom(InputStream input)

public static FetchGitAheadBehindResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchGitAheadBehindResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FetchGitAheadBehindResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FetchGitAheadBehindResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FetchGitAheadBehindResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FetchGitAheadBehindResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FetchGitAheadBehindResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchGitAheadBehindResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FetchGitAheadBehindResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchGitAheadBehindResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FetchGitAheadBehindResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FetchGitAheadBehindResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchGitAheadBehindResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FetchGitAheadBehindResponse> parser()
Returns
Type Description
Parser<FetchGitAheadBehindResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCommitsAhead()

public int getCommitsAhead()

The number of commits in the remote branch that are not in the workspace.

int32 commits_ahead = 1;

Returns
Type Description
int

The commitsAhead.

getCommitsBehind()

public int getCommitsBehind()

The number of commits in the workspace that are not in the remote branch.

int32 commits_behind = 2;

Returns
Type Description
int

The commitsBehind.

getDefaultInstanceForType()

public FetchGitAheadBehindResponse getDefaultInstanceForType()
Returns
Type Description
FetchGitAheadBehindResponse

getParserForType()

public Parser<FetchGitAheadBehindResponse> getParserForType()
Returns
Type Description
Parser<FetchGitAheadBehindResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FetchGitAheadBehindResponse.Builder newBuilderForType()
Returns
Type Description
FetchGitAheadBehindResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FetchGitAheadBehindResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FetchGitAheadBehindResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FetchGitAheadBehindResponse.Builder toBuilder()
Returns
Type Description
FetchGitAheadBehindResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException