Optional. Configuration for using Service Directory to privately connect to
a GitHub Enterprise server. This should only be set if the GitHub
Enterprise server is hosted on-premises and not reachable by public
internet. If this field is left empty, calls to the GitHub Enterprise
server will be made over the public internet.
Optional. Configuration for using Service Directory to privately connect to
a GitHub Enterprise server. This should only be set if the GitHub
Enterprise server is hosted on-premises and not reachable by public
internet. If this field is left empty, calls to the GitHub Enterprise
server will be made over the public internet.
Optional. Configuration for using Service Directory to privately connect to
a GitHub Enterprise server. This should only be set if the GitHub
Enterprise server is hosted on-premises and not reachable by public
internet. If this field is left empty, calls to the GitHub Enterprise
server will be made over the public internet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface GitHubEnterpriseConfigOrBuilder (0.29.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.29.0 (latest)](/java/docs/reference/google-cloud-developerconnect/latest/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-developerconnect/0.27.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.25.0](/java/docs/reference/google-cloud-developerconnect/0.25.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.24.0](/java/docs/reference/google-cloud-developerconnect/0.24.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-developerconnect/0.21.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-developerconnect/0.20.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-developerconnect/0.19.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-developerconnect/0.17.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-developerconnect/0.16.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-developerconnect/0.15.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-developerconnect/0.14.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-developerconnect/0.13.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-developerconnect/0.12.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-developerconnect/0.11.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-developerconnect/0.10.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-developerconnect/0.9.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-developerconnect/0.8.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-developerconnect/0.6.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-developerconnect/0.5.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-developerconnect/0.4.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-developerconnect/0.3.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-developerconnect/0.2.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-developerconnect/0.1.0/com.google.cloud.developerconnect.v1.GitHubEnterpriseConfigOrBuilder) \n\n public interface GitHubEnterpriseConfigOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getAppId()\n\n public abstract long getAppId()\n\nOptional. ID of the GitHub App created from the manifest.\n\n`int64 app_id = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getAppInstallationId()\n\n public abstract long getAppInstallationId()\n\nOptional. ID of the installation of the GitHub App.\n\n`int64 app_installation_id = 8 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getAppSlug()\n\n public abstract String getAppSlug()\n\nOutput only. The URL-friendly name of the GitHub App.\n\n`string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getAppSlugBytes()\n\n public abstract ByteString getAppSlugBytes()\n\nOutput only. The URL-friendly name of the GitHub App.\n\n`string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getHostUri()\n\n public abstract String getHostUri()\n\nRequired. The URI of the GitHub Enterprise host this connection is for.\n\n`string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];`\n\n### getHostUriBytes()\n\n public abstract ByteString getHostUriBytes()\n\nRequired. The URI of the GitHub Enterprise host this connection is for.\n\n`string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];`\n\n### getInstallationUri()\n\n public abstract String getInstallationUri()\n\nOutput only. The URI to navigate to in order to manage the installation\nassociated with this GitHubEnterpriseConfig.\n\n`string installation_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getInstallationUriBytes()\n\n public abstract ByteString getInstallationUriBytes()\n\nOutput only. The URI to navigate to in order to manage the installation\nassociated with this GitHubEnterpriseConfig.\n\n`string installation_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getPrivateKeySecretVersion()\n\n public abstract String getPrivateKeySecretVersion()\n\nOptional. SecretManager resource containing the private key of the GitHub\nApp, formatted as `projects/*/secrets/*/versions/*`.\n\n`\nstring private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }\n`\n\n### getPrivateKeySecretVersionBytes()\n\n public abstract ByteString getPrivateKeySecretVersionBytes()\n\nOptional. SecretManager resource containing the private key of the GitHub\nApp, formatted as `projects/*/secrets/*/versions/*`.\n\n`\nstring private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }\n`\n\n### getServerVersion()\n\n public abstract String getServerVersion()\n\nOutput only. GitHub Enterprise version installed at the host_uri.\n\n`string server_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getServerVersionBytes()\n\n public abstract ByteString getServerVersionBytes()\n\nOutput only. GitHub Enterprise version installed at the host_uri.\n\n`string server_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getServiceDirectoryConfig()\n\n public abstract ServiceDirectoryConfig getServiceDirectoryConfig()\n\nOptional. Configuration for using Service Directory to privately connect to\na GitHub Enterprise server. This should only be set if the GitHub\nEnterprise server is hosted on-premises and not reachable by public\ninternet. If this field is left empty, calls to the GitHub Enterprise\nserver will be made over the public internet.\n\n`\n.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 10 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getServiceDirectoryConfigOrBuilder()\n\n public abstract ServiceDirectoryConfigOrBuilder getServiceDirectoryConfigOrBuilder()\n\nOptional. Configuration for using Service Directory to privately connect to\na GitHub Enterprise server. This should only be set if the GitHub\nEnterprise server is hosted on-premises and not reachable by public\ninternet. If this field is left empty, calls to the GitHub Enterprise\nserver will be made over the public internet.\n\n`\n.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 10 [(.google.api.field_behavior) = OPTIONAL];\n`\n\n### getSslCaCertificate()\n\n public abstract String getSslCaCertificate()\n\nOptional. SSL certificate to use for requests to GitHub Enterprise.\n\n`string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getSslCaCertificateBytes()\n\n public abstract ByteString getSslCaCertificateBytes()\n\nOptional. SSL certificate to use for requests to GitHub Enterprise.\n\n`string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getWebhookSecretSecretVersion()\n\n public abstract String getWebhookSecretSecretVersion()\n\nOptional. SecretManager resource containing the webhook secret of the\nGitHub App, formatted as `projects/*/secrets/*/versions/*`.\n\n`\nstring webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }\n`\n\n### getWebhookSecretSecretVersionBytes()\n\n public abstract ByteString getWebhookSecretSecretVersionBytes()\n\nOptional. SecretManager resource containing the webhook secret of the\nGitHub App, formatted as `projects/*/secrets/*/versions/*`.\n\n`\nstring webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }\n`\n\n### hasServiceDirectoryConfig()\n\n public abstract boolean hasServiceDirectoryConfig()\n\nOptional. Configuration for using Service Directory to privately connect to\na GitHub Enterprise server. This should only be set if the GitHub\nEnterprise server is hosted on-premises and not reachable by public\ninternet. If this field is left empty, calls to the GitHub Enterprise\nserver will be made over the public internet.\n\n`\n.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 10 [(.google.api.field_behavior) = OPTIONAL];\n`"]]