Interface DependencyOrBuilder (3.61.0)

public interface DependencyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDepCase()

public abstract Dependency.DepCase getDepCase()
Returns
Type Description
Dependency.DepCase

getEmpty()

public abstract boolean getEmpty()

If set to true disable all dependency fetching (ignoring the default source as well).

bool empty = 1;

Returns
Type Description
boolean

The empty.

getGitSource()

public abstract Dependency.GitSourceDependency getGitSource()

Represents a git repository as a build dependency.

.google.devtools.cloudbuild.v1.Dependency.GitSourceDependency git_source = 2;

Returns
Type Description
Dependency.GitSourceDependency

The gitSource.

getGitSourceOrBuilder()

public abstract Dependency.GitSourceDependencyOrBuilder getGitSourceOrBuilder()

Represents a git repository as a build dependency.

.google.devtools.cloudbuild.v1.Dependency.GitSourceDependency git_source = 2;

Returns
Type Description
Dependency.GitSourceDependencyOrBuilder

hasEmpty()

public abstract boolean hasEmpty()

If set to true disable all dependency fetching (ignoring the default source as well).

bool empty = 1;

Returns
Type Description
boolean

Whether the empty field is set.

hasGitSource()

public abstract boolean hasGitSource()

Represents a git repository as a build dependency.

.google.devtools.cloudbuild.v1.Dependency.GitSourceDependency git_source = 2;

Returns
Type Description
boolean

Whether the gitSource field is set.