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 Type
    Method
    Description
    The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.
    com.google.protobuf.ByteString
    The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.
    URL for the HTTPS proxy to be used when communicating with the Git repo.
    com.google.protobuf.ByteString
    URL for the HTTPS proxy to be used when communicating with the Git repo.
    The path within the Git repository that represents the top level of the repo to sync.
    com.google.protobuf.ByteString
    The path within the Git repository that represents the top level of the repo to sync.
    Type of secret configured for access to the Git repo.
    com.google.protobuf.ByteString
    Type of secret configured for access to the Git repo.
    The branch of the repository to sync from.
    com.google.protobuf.ByteString
    The branch of the repository to sync from.
    The URL of the Git repository to use as the source of truth.
    com.google.protobuf.ByteString
    The URL of the Git repository to use as the source of truth.
    Git revision (tag or hash) to check out.
    com.google.protobuf.ByteString
    Git revision (tag or hash) to check out.
    long
    Period in seconds between consecutive syncs.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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. Must be one of ssh,
       cookiefile, gcenode, token, gcpserviceaccount or none. The
       validation of this is case-sensitive. Required.
       
      string secret_type = 6;
      Returns:
      The secretType.
    • getSecretTypeBytes

      com.google.protobuf.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:
      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 Google Cloud 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 Google Cloud Service Account Email used for auth when secret_type is
       gcpServiceAccount.
       
      string gcp_service_account_email = 8;
      Returns:
      The bytes for gcpServiceAccountEmail.