Interface GitConfigOrBuilder (1.53.0)

public interface GitConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcpServiceAccountEmail()

public abstract String getGcpServiceAccountEmail()

The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.

string gcp_service_account_email = 8;

Returns
Type Description
String

The gcpServiceAccountEmail.

getGcpServiceAccountEmailBytes()

public abstract ByteString getGcpServiceAccountEmailBytes()

The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.

string gcp_service_account_email = 8;

Returns
Type Description
ByteString

The bytes for gcpServiceAccountEmail.

getHttpsProxy()

public abstract String getHttpsProxy()

URL for the HTTPS proxy to be used when communicating with the Git repo.

string https_proxy = 7;

Returns
Type Description
String

The httpsProxy.

getHttpsProxyBytes()

public abstract ByteString getHttpsProxyBytes()

URL for the HTTPS proxy to be used when communicating with the Git repo.

string https_proxy = 7;

Returns
Type Description
ByteString

The bytes for httpsProxy.

getPolicyDir()

public abstract String getPolicyDir()

The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.

string policy_dir = 3;

Returns
Type Description
String

The policyDir.

getPolicyDirBytes()

public abstract ByteString getPolicyDirBytes()

The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.

string policy_dir = 3;

Returns
Type Description
ByteString

The bytes for policyDir.

getSecretType()

public abstract String getSecretType()

Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive. Required.

string secret_type = 6;

Returns
Type Description
String

The secretType.

getSecretTypeBytes()

public abstract ByteString getSecretTypeBytes()

Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive. Required.

string secret_type = 6;

Returns
Type Description
ByteString

The bytes for secretType.

getSyncBranch()

public abstract String getSyncBranch()

The branch of the repository to sync from. Default: master.

string sync_branch = 2;

Returns
Type Description
String

The syncBranch.

getSyncBranchBytes()

public abstract ByteString getSyncBranchBytes()

The branch of the repository to sync from. Default: master.

string sync_branch = 2;

Returns
Type Description
ByteString

The bytes for syncBranch.

getSyncRepo()

public abstract String getSyncRepo()

The URL of the Git repository to use as the source of truth.

string sync_repo = 1;

Returns
Type Description
String

The syncRepo.

getSyncRepoBytes()

public abstract ByteString getSyncRepoBytes()

The URL of the Git repository to use as the source of truth.

string sync_repo = 1;

Returns
Type Description
ByteString

The bytes for syncRepo.

getSyncRev()

public abstract String getSyncRev()

Git revision (tag or hash) to check out. Default HEAD.

string sync_rev = 5;

Returns
Type Description
String

The syncRev.

getSyncRevBytes()

public abstract ByteString getSyncRevBytes()

Git revision (tag or hash) to check out. Default HEAD.

string sync_rev = 5;

Returns
Type Description
ByteString

The bytes for syncRev.

getSyncWaitSecs()

public abstract long getSyncWaitSecs()

Period in seconds between consecutive syncs. Default: 15.

int64 sync_wait_secs = 4;

Returns
Type Description
long

The syncWaitSecs.