Class GitHubConfig (0.5.0)

publicfinalclass GitHubConfigextendsGeneratedMessageV3implementsGitHubConfigOrBuilder

Configuration for connections to github.com.

Protobuf type google.cloud.developerconnect.v1.GitHubConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

APP_INSTALLATION_ID_FIELD_NUMBER

publicstaticfinalintAPP_INSTALLATION_ID_FIELD_NUMBER
Field Value
Type Description
int

AUTHORIZER_CREDENTIAL_FIELD_NUMBER

publicstaticfinalintAUTHORIZER_CREDENTIAL_FIELD_NUMBER
Field Value
Type Description
int

GITHUB_APP_FIELD_NUMBER

publicstaticfinalintGITHUB_APP_FIELD_NUMBER
Field Value
Type Description
int

INSTALLATION_URI_FIELD_NUMBER

publicstaticfinalintINSTALLATION_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticGitHubConfiggetDefaultInstance()
Returns
Type Description
GitHubConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticGitHubConfig.BuildernewBuilder()
Returns
Type Description
GitHubConfig.Builder

newBuilder(GitHubConfig prototype)

publicstaticGitHubConfig.BuildernewBuilder(GitHubConfigprototype)
Parameter
Name Description
prototype GitHubConfig
Returns
Type Description
GitHubConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticGitHubConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
GitHubConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticGitHubConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
GitHubConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticGitHubConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
GitHubConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticGitHubConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GitHubConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticGitHubConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
GitHubConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticGitHubConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GitHubConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<GitHubConfig>parser()
Returns
Type Description
Parser<GitHubConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAppInstallationId()

publiclonggetAppInstallationId()

Optional. GitHub App installation id.

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

Returns
Type Description
long

The appInstallationId.

getAuthorizerCredential()

publicOAuthCredentialgetAuthorizerCredential()

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()

publicOAuthCredentialOrBuildergetAuthorizerCredentialOrBuilder()

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

getDefaultInstanceForType()

publicGitHubConfiggetDefaultInstanceForType()
Returns
Type Description
GitHubConfig

getGithubApp()

publicGitHubConfig.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()

publicintgetGithubAppValue()

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()

publicStringgetInstallationUri()

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()

publicByteStringgetInstallationUriBytes()

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.

getParserForType()

publicParser<GitHubConfig>getParserForType()
Returns
Type Description
Parser<GitHubConfig>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasAuthorizerCredential()

publicbooleanhasAuthorizerCredential()

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.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicGitHubConfig.BuildernewBuilderForType()
Returns
Type Description
GitHubConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedGitHubConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GitHubConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicGitHubConfig.BuildertoBuilder()
Returns
Type Description
GitHubConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.