Interface GitHubConfigOrBuilder (0.4.0)

public interface GitHubConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAppInstallationId()

public abstract long getAppInstallationId()

Optional. GitHub App installation id.

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

Returns
Type Description
long

The appInstallationId.

getAuthorizerCredential()

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

The authorizerCredential.

getAuthorizerCredentialOrBuilder()

public abstract 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];

Returns
Type Description
OAuthCredentialOrBuilder

getGithubApp()

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

The githubApp.

getGithubAppValue()

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

The enum numeric value on the wire for githubApp.

getInstallationUri()

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

The installationUri.

getInstallationUriBytes()

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

The bytes for installationUri.

hasAuthorizerCredential()

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

Whether the authorizerCredential field is set.