Interface GitSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GitSource
,GitSource.Builder
public interface GitSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBranch()
The revision branch to use.com.google.protobuf.ByteString
getBranchBytes()
The revision branch to use.String
getCommit()
The revision commit to use.com.google.protobuf.ByteString
getCommitBytes()
The revision commit to use.String
getDir()
Directory, relative to the source root, in which to run the build.com.google.protobuf.ByteString
getDirBytes()
Directory, relative to the source root, in which to run the build.GitSource.RefCase
getRefCase()
String
getRepo()
Location of the Git repo to build.com.google.protobuf.ByteString
getRepoBytes()
Location of the Git repo to build.String
getTag()
The revision tag to use.com.google.protobuf.ByteString
getTagBytes()
The revision tag to use.boolean
hasBranch()
The revision branch to use.boolean
hasCommit()
The revision commit to use.boolean
hasTag()
The revision tag to use.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRepo
String getRepo()
Location of the Git repo to build.
string repo = 1;
- Returns:
- The repo.
-
getRepoBytes
com.google.protobuf.ByteString getRepoBytes()
Location of the Git repo to build.
string repo = 1;
- Returns:
- The bytes for repo.
-
getDir
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:
- The dir.
-
getDirBytes
com.google.protobuf.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:
- The bytes for dir.
-
hasCommit
boolean hasCommit()
The revision commit to use.
string commit = 3;
- Returns:
- Whether the commit field is set.
-
getCommit
String getCommit()
The revision commit to use.
string commit = 3;
- Returns:
- The commit.
-
getCommitBytes
com.google.protobuf.ByteString getCommitBytes()
The revision commit to use.
string commit = 3;
- Returns:
- The bytes for commit.
-
hasBranch
boolean hasBranch()
The revision branch to use.
string branch = 4;
- Returns:
- Whether the branch field is set.
-
getBranch
String getBranch()
The revision branch to use.
string branch = 4;
- Returns:
- The branch.
-
getBranchBytes
com.google.protobuf.ByteString getBranchBytes()
The revision branch to use.
string branch = 4;
- Returns:
- The bytes for branch.
-
hasTag
boolean hasTag()
The revision tag to use.
string tag = 5;
- Returns:
- Whether the tag field is set.
-
getTag
String getTag()
The revision tag to use.
string tag = 5;
- Returns:
- The tag.
-
getTagBytes
com.google.protobuf.ByteString getTagBytes()
The revision tag to use.
string tag = 5;
- Returns:
- The bytes for tag.
-
getRefCase
GitSource.RefCase getRefCase()
-
-