Interface PullGitCommitsRequestOrBuilder (0.12.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.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CommitAuthorOrBuilder

getName()

public abstract String getName()

Required. The workspace's name.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1beta1.CommitAuthor author = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the author field is set.