public interface ConnectedRepositoryOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDir()
public abstract String getDir()Optional. Directory, relative to the source root, in which to run the build.
string dir = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The dir. |
getDirBytes()
public abstract ByteString getDirBytes()Optional. Directory, relative to the source root, in which to run the build.
string dir = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dir. |
getRepository()
public abstract String getRepository() Required. Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The repository. |
getRepositoryBytes()
public abstract ByteString getRepositoryBytes() Required. Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*.
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for repository. |
getRevision()
public abstract String getRevision()Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
string revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The revision. |
getRevisionBytes()
public abstract ByteString getRevisionBytes()Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
string revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for revision. |