Interface GitHubConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GitHubConfig, GitHubConfig.Builder

@Generated public interface GitHubConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getGithubAppValue

      int getGithubAppValue()
       Required. Immutable. The GitHub Application that was installed to the
       GitHub user or organization.
       
      .google.cloud.developerconnect.v1.GitHubConfig.GitHubApp github_app = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The enum numeric value on the wire for githubApp.
    • getGithubApp

      GitHubConfig.GitHubApp getGithubApp()
       Required. Immutable. The GitHub Application that was installed to the
       GitHub user or organization.
       
      .google.cloud.developerconnect.v1.GitHubConfig.GitHubApp github_app = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The githubApp.
    • hasAuthorizerCredential

      boolean hasAuthorizerCredential()
       Optional. OAuth credential of the account that authorized the GitHub App.
       It is recommended to use a robot account instead of a human user account.
       The OAuth token must be tied to the GitHub App of this config.
       
      .google.cloud.developerconnect.v1.OAuthCredential authorizer_credential = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the authorizerCredential field is set.
    • getAuthorizerCredential

      OAuthCredential getAuthorizerCredential()
       Optional. OAuth credential of the account that authorized the GitHub App.
       It is recommended to use a robot account instead of a human user account.
       The OAuth token must be tied to the GitHub App of this config.
       
      .google.cloud.developerconnect.v1.OAuthCredential authorizer_credential = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The authorizerCredential.
    • getAuthorizerCredentialOrBuilder

      OAuthCredentialOrBuilder getAuthorizerCredentialOrBuilder()
       Optional. OAuth credential of the account that authorized the GitHub App.
       It is recommended to use a robot account instead of a human user account.
       The OAuth token must be tied to the GitHub App of this config.
       
      .google.cloud.developerconnect.v1.OAuthCredential authorizer_credential = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getAppInstallationId

      long getAppInstallationId()
       Optional. GitHub App installation id.
       
      int64 app_installation_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The appInstallationId.
    • getInstallationUri

      String getInstallationUri()
       Output only. The URI to navigate to in order to manage the installation
       associated with this GitHubConfig.
       
      string installation_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The installationUri.
    • getInstallationUriBytes

      com.google.protobuf.ByteString getInstallationUriBytes()
       Output only. The URI to navigate to in order to manage the installation
       associated with this GitHubConfig.
       
      string installation_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for installationUri.