public static interface Dependency.GitSourceDependencyOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDepth()
public abstract long getDepth()
Optional. How much history should be fetched for the build (default 1, -1 for all history).
int64 depth = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
long |
The depth. |
getDestPath()
public abstract String getDestPath()
Required. Where should the files be placed on the worker.
string dest_path = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The destPath. |
getDestPathBytes()
public abstract ByteString getDestPathBytes()
Required. Where should the files be placed on the worker.
string dest_path = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for destPath. |
getRecurseSubmodules()
public abstract boolean getRecurseSubmodules()
Optional. True if submodules should be fetched too (default false).
bool recurse_submodules = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The recurseSubmodules. |
getRepository()
public abstract Dependency.GitSourceRepository getRepository()
Required. The kind of repo (url or dev connect).
.google.devtools.cloudbuild.v1.Dependency.GitSourceRepository repository = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Dependency.GitSourceRepository |
The repository. |
getRepositoryOrBuilder()
public abstract Dependency.GitSourceRepositoryOrBuilder getRepositoryOrBuilder()
Required. The kind of repo (url or dev connect).
.google.devtools.cloudbuild.v1.Dependency.GitSourceRepository repository = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Dependency.GitSourceRepositoryOrBuilder |
getRevision()
public abstract String getRevision()
Required. The revision that we will fetch the repo at.
string revision = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The revision. |
getRevisionBytes()
public abstract ByteString getRevisionBytes()
Required. The revision that we will fetch the repo at.
string revision = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for revision. |
hasRepository()
public abstract boolean hasRepository()
Required. The kind of repo (url or dev connect).
.google.devtools.cloudbuild.v1.Dependency.GitSourceRepository repository = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the repository field is set. |