Interface GitSourceOrBuilder (0.31.0)

public interface GitSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDirectory()

public abstract String getDirectory()

Optional. Subdirectory inside the repository. Example: 'staging/my-package'

optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The directory.

getDirectoryBytes()

public abstract ByteString getDirectoryBytes()

Optional. Subdirectory inside the repository. Example: 'staging/my-package'

optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for directory.

getRef()

public abstract String getRef()

Optional. Git reference (e.g. branch or tag).

optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The ref.

getRefBytes()

public abstract ByteString getRefBytes()

Optional. Git reference (e.g. branch or tag).

optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for ref.

getRepo()

public abstract String getRepo()

Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'

optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The repo.

getRepoBytes()

public abstract ByteString getRepoBytes()

Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'

optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for repo.

hasDirectory()

public abstract boolean hasDirectory()

Optional. Subdirectory inside the repository. Example: 'staging/my-package'

optional string directory = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the directory field is set.

hasRef()

public abstract boolean hasRef()

Optional. Git reference (e.g. branch or tag).

optional string ref = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the ref field is set.

hasRepo()

public abstract boolean hasRepo()

Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'

optional string repo = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the repo field is set.