Interface GitConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GitConfig,GitConfig.Builder
public interface GitConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetGcpServiceAccountEmail()The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.com.google.protobuf.ByteStringgetGcpServiceAccountEmailBytes()The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.StringgetHttpsProxy()URL for the HTTPS proxy to be used when communicating with the Git repo.com.google.protobuf.ByteStringgetHttpsProxyBytes()URL for the HTTPS proxy to be used when communicating with the Git repo.StringgetPolicyDir()The path within the Git repository that represents the top level of the repo to sync.com.google.protobuf.ByteStringgetPolicyDirBytes()The path within the Git repository that represents the top level of the repo to sync.StringgetSecretType()Type of secret configured for access to the Git repo.com.google.protobuf.ByteStringgetSecretTypeBytes()Type of secret configured for access to the Git repo.StringgetSyncBranch()The branch of the repository to sync from.com.google.protobuf.ByteStringgetSyncBranchBytes()The branch of the repository to sync from.StringgetSyncRepo()The URL of the Git repository to use as the source of truth.com.google.protobuf.ByteStringgetSyncRepoBytes()The URL of the Git repository to use as the source of truth.StringgetSyncRev()Git revision (tag or hash) to check out.com.google.protobuf.ByteStringgetSyncRevBytes()Git revision (tag or hash) to check out.longgetSyncWaitSecs()Period in seconds between consecutive syncs.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSyncRepo
String getSyncRepo()
The URL of the Git repository to use as the source of truth.
string sync_repo = 1;- Returns:
- The syncRepo.
-
getSyncRepoBytes
com.google.protobuf.ByteString getSyncRepoBytes()
The URL of the Git repository to use as the source of truth.
string sync_repo = 1;- Returns:
- The bytes for syncRepo.
-
getSyncBranch
String getSyncBranch()
The branch of the repository to sync from. Default: master.
string sync_branch = 2;- Returns:
- The syncBranch.
-
getSyncBranchBytes
com.google.protobuf.ByteString getSyncBranchBytes()
The branch of the repository to sync from. Default: master.
string sync_branch = 2;- Returns:
- The bytes for syncBranch.
-
getPolicyDir
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:
- The policyDir.
-
getPolicyDirBytes
com.google.protobuf.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:
- The bytes for policyDir.
-
getSyncWaitSecs
long getSyncWaitSecs()
Period in seconds between consecutive syncs. Default: 15.
int64 sync_wait_secs = 4;- Returns:
- The syncWaitSecs.
-
getSyncRev
String getSyncRev()
Git revision (tag or hash) to check out. Default HEAD.
string sync_rev = 5;- Returns:
- The syncRev.
-
getSyncRevBytes
com.google.protobuf.ByteString getSyncRevBytes()
Git revision (tag or hash) to check out. Default HEAD.
string sync_rev = 5;- Returns:
- The bytes for syncRev.
-
getSecretType
String getSecretType()
Type of secret configured for access to the Git repo.
string secret_type = 6;- Returns:
- The secretType.
-
getSecretTypeBytes
com.google.protobuf.ByteString getSecretTypeBytes()
Type of secret configured for access to the Git repo.
string secret_type = 6;- Returns:
- The bytes for secretType.
-
getHttpsProxy
String getHttpsProxy()
URL for the HTTPS proxy to be used when communicating with the Git repo.
string https_proxy = 7;- Returns:
- The httpsProxy.
-
getHttpsProxyBytes
com.google.protobuf.ByteString getHttpsProxyBytes()
URL for the HTTPS proxy to be used when communicating with the Git repo.
string https_proxy = 7;- Returns:
- The bytes for httpsProxy.
-
getGcpServiceAccountEmail
String getGcpServiceAccountEmail()
The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
string gcp_service_account_email = 8;- Returns:
- The gcpServiceAccountEmail.
-
getGcpServiceAccountEmailBytes
com.google.protobuf.ByteString getGcpServiceAccountEmailBytes()
The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
string gcp_service_account_email = 8;- Returns:
- The bytes for gcpServiceAccountEmail.
-
-