Class PullGitCommitsRequest (0.41.0)

public final class PullGitCommitsRequest extends GeneratedMessageV3 implements PullGitCommitsRequestOrBuilder

PullGitCommits request message.

Protobuf type google.cloud.dataform.v1beta1.PullGitCommitsRequest

Static Fields

AUTHOR_FIELD_NUMBER

public static final int AUTHOR_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

REMOTE_BRANCH_FIELD_NUMBER

public static final int REMOTE_BRANCH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PullGitCommitsRequest getDefaultInstance()
Returns
Type Description
PullGitCommitsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(PullGitCommitsRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAuthor()

public CommitAuthor getAuthor()

Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace.

.google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CommitAuthor

The author.

getAuthorOrBuilder()

public CommitAuthorOrBuilder getAuthorOrBuilder()

Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace.

.google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CommitAuthorOrBuilder

getDefaultInstanceForType()

public PullGitCommitsRequest getDefaultInstanceForType()
Returns
Type Description
PullGitCommitsRequest

getName()

public String getName()

Required. The workspace's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The workspace's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getRemoteBranch()

public String getRemoteBranch()

Optional. The name of the branch in the Git remote from which to pull commits. If left unset, the repository's default branch name will be used.

string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The remoteBranch.

getRemoteBranchBytes()

public ByteString getRemoteBranchBytes()

Optional. The name of the branch in the Git remote from which to pull commits. If left unset, the repository's default branch name will be used.

string remote_branch = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for remoteBranch.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAuthor()

public boolean hasAuthor()

Required. The author of any merge commit which may be created as a result of merging fetched Git commits into this workspace.

.google.cloud.dataform.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the author field is set.

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 PullGitCommitsRequest.Builder newBuilderForType()
Returns
Type Description
PullGitCommitsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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