public interface GitSourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCommitSha()
public abstract String getCommitSha()Output only. The commit SHA of the git repo deduced from given ref_tag.
string commit_sha = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The commitSha. |
getCommitShaBytes()
public abstract ByteString getCommitShaBytes()Output only. The commit SHA of the git repo deduced from given ref_tag.
string commit_sha = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for commitSha. |
getDeveloperConnectConfig() (deprecated)
public abstract DeveloperConnectConfig getDeveloperConnectConfig()Deprecated. google.cloud.designcenter.v1.GitSource.developer_connect_config is deprecated. See google/cloud/designcenter/v1/ingestion.proto;l=48
Optional. This config defines the location of a source through Developer Connect. Used to access private git repos.
.google.cloud.designcenter.v1.DeveloperConnectConfig developer_connect_config = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectConfig |
The developerConnectConfig. |
getDeveloperConnectConfigOrBuilder() (deprecated)
public abstract DeveloperConnectConfigOrBuilder getDeveloperConnectConfigOrBuilder()Optional. This config defines the location of a source through Developer Connect. Used to access private git repos.
.google.cloud.designcenter.v1.DeveloperConnectConfig developer_connect_config = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectConfigOrBuilder |
|
getDir()
public abstract String getDir() Optional. Directory, relative to the source root, in which to run the
build. This must be a relative path. If a step's dir is specified and is
an absolute path, this value is ignored for that step's execution.
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. This must be a relative path. If a step's dir is specified and is
an absolute path, this value is ignored for that step's execution.
string dir = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dir. |
getRefTag()
public abstract String getRefTag()Required. The reference tag of the git repo.
string ref_tag = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The refTag. |
getRefTagBytes()
public abstract ByteString getRefTagBytes()Required. The reference tag of the git repo.
string ref_tag = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for refTag. |
getRepo()
public abstract String getRepo()Required. Location of the git repo to build.
string repo = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The repo. |
getRepoBytes()
public abstract ByteString getRepoBytes()Required. Location of the git repo to build.
string repo = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for repo. |
hasDeveloperConnectConfig() (deprecated)
public abstract boolean hasDeveloperConnectConfig()Deprecated. google.cloud.designcenter.v1.GitSource.developer_connect_config is deprecated. See google/cloud/designcenter/v1/ingestion.proto;l=48
Optional. This config defines the location of a source through Developer Connect. Used to access private git repos.
.google.cloud.designcenter.v1.DeveloperConnectConfig developer_connect_config = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the developerConnectConfig field is set. |