Interface PullGitCommitsRequestOrBuilder (0.54.0)

public interface PullGitCommitsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthor()

public abstract 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.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CommitAuthor

The author.

getAuthorOrBuilder()

public abstract 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.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CommitAuthorOrBuilder

getName()

public abstract 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 abstract 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.

getRemoteBranch()

public abstract 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 abstract 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.

hasAuthor()

public abstract 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.v1alpha2.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the author field is set.