Interface GitConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GitConfig,GitConfig.Builder
@Generated
public interface GitConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.longOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSyncRepo
String getSyncRepo()Required. The URL of the Git repository to use as the source of truth.
string sync_repo = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The syncRepo.
-
getSyncRepoBytes
com.google.protobuf.ByteString getSyncRepoBytes()Required. The URL of the Git repository to use as the source of truth.
string sync_repo = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for syncRepo.
-
getSyncBranch
String getSyncBranch()Optional. The branch of the repository to sync from. Default: master.
string sync_branch = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The syncBranch.
-
getSyncBranchBytes
com.google.protobuf.ByteString getSyncBranchBytes()Optional. The branch of the repository to sync from. Default: master.
string sync_branch = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for syncBranch.
-
getPolicyDir
String getPolicyDir()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The policyDir.
-
getPolicyDirBytes
com.google.protobuf.ByteString getPolicyDirBytes()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for policyDir.
-
getSyncWaitSecs
long getSyncWaitSecs()Optional. Period in seconds between consecutive syncs. Default: 15.
int64 sync_wait_secs = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The syncWaitSecs.
-
getSyncRev
String getSyncRev()Optional. Git revision (tag or hash) to check out. Default HEAD.
string sync_rev = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The syncRev.
-
getSyncRevBytes
com.google.protobuf.ByteString getSyncRevBytes()Optional. Git revision (tag or hash) to check out. Default HEAD.
string sync_rev = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for syncRev.
-
getSecretType
String getSecretType()Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
string secret_type = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The secretType.
-
getSecretTypeBytes
com.google.protobuf.ByteString getSecretTypeBytes()Required. Type of secret configured for access to the Git repo. Must be one of `ssh`, `cookiefile`, `gcenode`, `token`, `gcpserviceaccount`, `githubapp` or `none`. The validation of this is case-sensitive.
string secret_type = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for secretType.
-
getHttpsProxy
String getHttpsProxy()Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
string https_proxy = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The httpsProxy.
-
getHttpsProxyBytes
com.google.protobuf.ByteString getHttpsProxyBytes()Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. Only specify when secret_type is `cookiefile`, `token`, or `none`.
string https_proxy = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for httpsProxy.
-
getGcpServiceAccountEmail
String getGcpServiceAccountEmail()Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
string gcp_service_account_email = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The gcpServiceAccountEmail.
-
getGcpServiceAccountEmailBytes
com.google.protobuf.ByteString getGcpServiceAccountEmailBytes()Optional. The Google Cloud Service Account Email used for auth when secret_type is `gcpserviceaccount`.
string gcp_service_account_email = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for gcpServiceAccountEmail.
-