Interface DeveloperConnectSourceConfigOrBuilder (0.3.0)

public interface DeveloperConnectSourceConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeveloperConnectRepoUri()

public abstract String getDeveloperConnectRepoUri()

Required. The Developer Connect Git repository link, formatted as projects/*/locations/*/connections/*/gitRepositoryLinks/*.

string developer_connect_repo_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The developerConnectRepoUri.

getDeveloperConnectRepoUriBytes()

public abstract ByteString getDeveloperConnectRepoUriBytes()

Required. The Developer Connect Git repository link, formatted as projects/*/locations/*/connections/*/gitRepositoryLinks/*.

string developer_connect_repo_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for developerConnectRepoUri.

getDir()

public abstract String getDir()

Required. The sub-directory within the repository from which to read content. The path must be relative to the repository's root such as dir1/dir2. To read content from the root dir, provide "/" as the value of the field.

string dir = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dir.

getDirBytes()

public abstract ByteString getDirBytes()

Required. The sub-directory within the repository from which to read content. The path must be relative to the repository's root such as dir1/dir2. To read content from the root dir, provide "/" as the value of the field.

string dir = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dir.

getFetchedCommitSha()

public abstract String getFetchedCommitSha()

Output only. The SHA of the commit deduced from GitReference.

string fetched_commit_sha = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The fetchedCommitSha.

getFetchedCommitShaBytes()

public abstract ByteString getFetchedCommitShaBytes()

Output only. The SHA of the commit deduced from GitReference.

string fetched_commit_sha = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for fetchedCommitSha.

getReference()

public abstract GitReference getReference()

Required. The reference (for example, a branch, tag, or commit SHA) from which the content should be read.

.google.cloud.designcenter.v1.GitReference reference = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GitReference

The reference.

getReferenceOrBuilder()

public abstract GitReferenceOrBuilder getReferenceOrBuilder()

Required. The reference (for example, a branch, tag, or commit SHA) from which the content should be read.

.google.cloud.designcenter.v1.GitReference reference = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GitReferenceOrBuilder

hasReference()

public abstract boolean hasReference()

Required. The reference (for example, a branch, tag, or commit SHA) from which the content should be read.

.google.cloud.designcenter.v1.GitReference reference = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the reference field is set.