public interface GitSourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDirectory()
public abstract String getDirectory()Subdirectory inside the repository. Example: 'staging/my-package'
optional string directory = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The directory. |
getDirectoryBytes()
public abstract ByteString getDirectoryBytes()Subdirectory inside the repository. Example: 'staging/my-package'
optional string directory = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for directory. |
getRef()
public abstract String getRef()Git reference (e.g. branch or tag).
optional string ref = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The ref. |
getRefBytes()
public abstract ByteString getRefBytes()Git reference (e.g. branch or tag).
optional string ref = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ref. |
getRepo()
public abstract String getRepo()Repository URL. Example: 'https://github.com/kubernetes/examples.git'
optional string repo = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The repo. |
getRepoBytes()
public abstract ByteString getRepoBytes()Repository URL. Example: 'https://github.com/kubernetes/examples.git'
optional string repo = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for repo. |
hasDirectory()
public abstract boolean hasDirectory()Subdirectory inside the repository. Example: 'staging/my-package'
optional string directory = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the directory field is set. |
hasRef()
public abstract boolean hasRef()Git reference (e.g. branch or tag).
optional string ref = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ref field is set. |
hasRepo()
public abstract boolean hasRepo()Repository URL. Example: 'https://github.com/kubernetes/examples.git'
optional string repo = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the repo field is set. |