Interface GitSourceOrBuilder (0.55.0)

public interface GitSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBranch()

public abstract String getBranch()

The revision branch to use.

string branch = 4;

Returns
Type Description
String

The branch.

getBranchBytes()

public abstract ByteString getBranchBytes()

The revision branch to use.

string branch = 4;

Returns
Type Description
ByteString

The bytes for branch.

getCommit()

public abstract String getCommit()

The revision commit to use.

string commit = 3;

Returns
Type Description
String

The commit.

getCommitBytes()

public abstract ByteString getCommitBytes()

The revision commit to use.

string commit = 3;

Returns
Type Description
ByteString

The bytes for commit.

getDir()

public abstract String getDir()

Directory, relative to the source root, in which to run the build.

This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution.

string dir = 2;

Returns
Type Description
String

The dir.

getDirBytes()

public abstract ByteString getDirBytes()

Directory, relative to the source root, in which to run the build.

This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution.

string dir = 2;

Returns
Type Description
ByteString

The bytes for dir.

getRefCase()

public abstract GitSource.RefCase getRefCase()
Returns
Type Description
GitSource.RefCase

getRepo()

public abstract String getRepo()

Location of the Git repo to build.

string repo = 1;

Returns
Type Description
String

The repo.

getRepoBytes()

public abstract ByteString getRepoBytes()

Location of the Git repo to build.

string repo = 1;

Returns
Type Description
ByteString

The bytes for repo.

getTag()

public abstract String getTag()

The revision tag to use.

string tag = 5;

Returns
Type Description
String

The tag.

getTagBytes()

public abstract ByteString getTagBytes()

The revision tag to use.

string tag = 5;

Returns
Type Description
ByteString

The bytes for tag.

hasBranch()

public abstract boolean hasBranch()

The revision branch to use.

string branch = 4;

Returns
Type Description
boolean

Whether the branch field is set.

hasCommit()

public abstract boolean hasCommit()

The revision commit to use.

string commit = 3;

Returns
Type Description
boolean

Whether the commit field is set.

hasTag()

public abstract boolean hasTag()

The revision tag to use.

string tag = 5;

Returns
Type Description
boolean

Whether the tag field is set.