Interface GitSourceOrBuilder (0.9.0)

public interface GitSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBranch()

public abstract String getBranch()

The revision branch to use.

string branch = 4;

Returns
TypeDescription
String

The branch.

getBranchBytes()

public abstract ByteString getBranchBytes()

The revision branch to use.

string branch = 4;

Returns
TypeDescription
ByteString

The bytes for branch.

getCommit()

public abstract String getCommit()

The revision commit to use.

string commit = 3;

Returns
TypeDescription
String

The commit.

getCommitBytes()

public abstract ByteString getCommitBytes()

The revision commit to use.

string commit = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for dir.

getRefCase()

public abstract GitSource.RefCase getRefCase()
Returns
TypeDescription
GitSource.RefCase

getRepo()

public abstract String getRepo()

Location of the Git repo to build.

string repo = 1;

Returns
TypeDescription
String

The repo.

getRepoBytes()

public abstract ByteString getRepoBytes()

Location of the Git repo to build.

string repo = 1;

Returns
TypeDescription
ByteString

The bytes for repo.

getTag()

public abstract String getTag()

The revision tag to use.

string tag = 5;

Returns
TypeDescription
String

The tag.

getTagBytes()

public abstract ByteString getTagBytes()

The revision tag to use.

string tag = 5;

Returns
TypeDescription
ByteString

The bytes for tag.

hasBranch()

public abstract boolean hasBranch()

The revision branch to use.

string branch = 4;

Returns
TypeDescription
boolean

Whether the branch field is set.

hasCommit()

public abstract boolean hasCommit()

The revision commit to use.

string commit = 3;

Returns
TypeDescription
boolean

Whether the commit field is set.

hasTag()

public abstract boolean hasTag()

The revision tag to use.

string tag = 5;

Returns
TypeDescription
boolean

Whether the tag field is set.