Interface GitHubConfigOrBuilder (0.16.0)

publicinterface GitHubConfigOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAppInstallationId()

publicabstractlonggetAppInstallationId()

Optional. GitHub App installation id.

int64 app_installation_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The appInstallationId.

getAuthorizerCredential()

publicabstractOAuthCredentialgetAuthorizerCredential()

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
Type Description
OAuthCredential

The authorizerCredential.

getAuthorizerCredentialOrBuilder()

publicabstractOAuthCredentialOrBuildergetAuthorizerCredentialOrBuilder()

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
Type Description
OAuthCredentialOrBuilder

getGithubApp()

publicabstractGitHubConfig.GitHubAppgetGithubApp()

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
Type Description
GitHubConfig.GitHubApp

The githubApp.

getGithubAppValue()

publicabstractintgetGithubAppValue()

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
Type Description
int

The enum numeric value on the wire for githubApp.

getInstallationUri()

publicabstractStringgetInstallationUri()

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
Type Description
String

The installationUri.

getInstallationUriBytes()

publicabstractByteStringgetInstallationUriBytes()

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
Type Description
ByteString

The bytes for installationUri.

hasAuthorizerCredential()

publicabstractbooleanhasAuthorizerCredential()

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
Type Description
boolean

Whether the authorizerCredential field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.