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()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticGitHubConfig.BuildernewBuilder()
newBuilder(GitHubConfig prototype)
publicstaticGitHubConfig.BuildernewBuilder(GitHubConfigprototype)
publicstaticGitHubConfigparseDelimitedFrom(InputStreaminput)
publicstaticGitHubConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticGitHubConfigparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticGitHubConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticGitHubConfigparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticGitHubConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticGitHubConfigparseFrom(CodedInputStreaminput)
publicstaticGitHubConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticGitHubConfigparseFrom(InputStreaminput)
publicstaticGitHubConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticGitHubConfigparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticGitHubConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<GitHubConfig>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
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];
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];
getDefaultInstanceForType()
publicGitHubConfiggetDefaultInstanceForType()
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];
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()
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()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicGitHubConfig.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedGitHubConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicGitHubConfig.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides