Interface GitRepoSourceOrBuilder (3.26.0)

public interface GitRepoSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnterpriseConfigCase()

public abstract GitRepoSource.EnterpriseConfigCase getEnterpriseConfigCase()
Returns
TypeDescription
GitRepoSource.EnterpriseConfigCase

getGithubEnterpriseConfig()

public abstract String getGithubEnterpriseConfig()

The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.

string github_enterprise_config = 4 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The githubEnterpriseConfig.

getGithubEnterpriseConfigBytes()

public abstract ByteString getGithubEnterpriseConfigBytes()

The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.

string github_enterprise_config = 4 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for githubEnterpriseConfig.

getRef()

public abstract String getRef()

The branch or tag to use. Must start with "refs/" (required).

string ref = 2;

Returns
TypeDescription
String

The ref.