- 3.80.0 (latest)
 - 3.78.0
 - 3.77.0
 - 3.76.0
 - 3.75.0
 - 3.74.0
 - 3.72.0
 - 3.70.0
 - 3.69.0
 - 3.66.0
 - 3.65.0
 - 3.64.0
 - 3.62.0
 - 3.61.0
 - 3.60.0
 - 3.59.0
 - 3.58.0
 - 3.57.0
 - 3.56.0
 - 3.55.0
 - 3.54.0
 - 3.53.0
 - 3.51.0
 - 3.50.0
 - 3.49.0
 - 3.48.0
 - 3.47.0
 - 3.46.0
 - 3.45.0
 - 3.44.0
 - 3.43.0
 - 3.42.0
 - 3.41.0
 - 3.39.0
 - 3.38.0
 - 3.37.0
 - 3.36.0
 - 3.35.0
 - 3.34.0
 - 3.33.0
 - 3.32.0
 - 3.31.0
 - 3.30.0
 - 3.29.0
 - 3.26.0
 - 3.25.0
 - 3.24.0
 - 3.23.0
 - 3.22.0
 - 3.21.0
 - 3.20.0
 - 3.19.0
 - 3.18.0
 - 3.17.0
 - 3.16.0
 - 3.15.0
 - 3.14.0
 - 3.13.0
 - 3.12.0
 - 3.11.0
 - 3.10.0
 - 3.9.0
 - 3.8.0
 - 3.7.0
 - 3.6.0
 - 3.5.6
 - 3.4.1
 - 3.3.12
 
public static final class GitHubEnterpriseConfig.Builder extends GeneratedMessageV3.Builder<GitHubEnterpriseConfig.Builder> implements GitHubEnterpriseConfigOrBuilderConfiguration for connections to an instance of GitHub Enterprise.
 Protobuf type google.devtools.cloudbuild.v2.GitHubEnterpriseConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GitHubEnterpriseConfig.BuilderImplements
GitHubEnterpriseConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GitHubEnterpriseConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
build()
public GitHubEnterpriseConfig build()| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig | 
        |
buildPartial()
public GitHubEnterpriseConfig buildPartial()| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig | 
        |
clear()
public GitHubEnterpriseConfig.Builder clear()| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
clearApiKey()
public GitHubEnterpriseConfig.Builder clearApiKey()Required. API Key used for authentication of webhook events.
 string api_key = 12 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
clearAppId()
public GitHubEnterpriseConfig.Builder clearAppId()Id of the GitHub App created from the manifest.
 int64 app_id = 2;
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
clearAppInstallationId()
public GitHubEnterpriseConfig.Builder clearAppInstallationId()ID of the installation of the GitHub App.
 int64 app_installation_id = 9;
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
clearAppSlug()
public GitHubEnterpriseConfig.Builder clearAppSlug()The URL-friendly name of the GitHub App.
 string app_slug = 13;
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public GitHubEnterpriseConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
clearHostUri()
public GitHubEnterpriseConfig.Builder clearHostUri()Required. The URI of the GitHub Enterprise host this connection is for.
 string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public GitHubEnterpriseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
clearPrivateKeySecretVersion()
public GitHubEnterpriseConfig.Builder clearPrivateKeySecretVersion() SecretManager resource containing the private key of the GitHub App,
 formatted as projects/*/secrets/*/versions/*.
 string private_key_secret_version = 4 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
clearServerVersion()
public GitHubEnterpriseConfig.Builder clearServerVersion()Output only. GitHub Enterprise version installed at the host_uri.
 string server_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
clearServiceDirectoryConfig()
public GitHubEnterpriseConfig.Builder clearServiceDirectoryConfig()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.
 .google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10;
 
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
clearSslCa()
public GitHubEnterpriseConfig.Builder clearSslCa()SSL certificate to use for requests to GitHub Enterprise.
 string ssl_ca = 11;
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
clearWebhookSecretSecretVersion()
public GitHubEnterpriseConfig.Builder clearWebhookSecretSecretVersion() SecretManager resource containing the webhook secret of the GitHub App,
 formatted as projects/*/secrets/*/versions/*.
 string webhook_secret_secret_version = 5 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
clone()
public GitHubEnterpriseConfig.Builder clone()| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
getApiKey()
public String getApiKey()Required. API Key used for authentication of webhook events.
 string api_key = 12 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The apiKey.  | 
      
getApiKeyBytes()
public ByteString getApiKeyBytes()Required. API Key used for authentication of webhook events.
 string api_key = 12 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for apiKey.  | 
      
getAppId()
public long getAppId()Id of the GitHub App created from the manifest.
 int64 app_id = 2;
| Returns | |
|---|---|
| Type | Description | 
long | 
        The appId.  | 
      
getAppInstallationId()
public long getAppInstallationId()ID of the installation of the GitHub App.
 int64 app_installation_id = 9;
| Returns | |
|---|---|
| Type | Description | 
long | 
        The appInstallationId.  | 
      
getAppSlug()
public String getAppSlug()The URL-friendly name of the GitHub App.
 string app_slug = 13;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The appSlug.  | 
      
getAppSlugBytes()
public ByteString getAppSlugBytes()The URL-friendly name of the GitHub App.
 string app_slug = 13;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for appSlug.  | 
      
getDefaultInstanceForType()
public GitHubEnterpriseConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getHostUri()
public String getHostUri()Required. The URI of the GitHub Enterprise host this connection is for.
 string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The hostUri.  | 
      
getHostUriBytes()
public ByteString getHostUriBytes()Required. The URI of the GitHub Enterprise host this connection is for.
 string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for hostUri.  | 
      
getPrivateKeySecretVersion()
public String getPrivateKeySecretVersion() SecretManager resource containing the private key of the GitHub App,
 formatted as projects/*/secrets/*/versions/*.
 string private_key_secret_version = 4 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
String | 
        The privateKeySecretVersion.  | 
      
getPrivateKeySecretVersionBytes()
public ByteString getPrivateKeySecretVersionBytes() SecretManager resource containing the private key of the GitHub App,
 formatted as projects/*/secrets/*/versions/*.
 string private_key_secret_version = 4 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for privateKeySecretVersion.  | 
      
getServerVersion()
public String getServerVersion()Output only. GitHub Enterprise version installed at the host_uri.
 string server_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The serverVersion.  | 
      
getServerVersionBytes()
public ByteString getServerVersionBytes()Output only. GitHub Enterprise version installed at the host_uri.
 string server_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for serverVersion.  | 
      
getServiceDirectoryConfig()
public ServiceDirectoryConfig getServiceDirectoryConfig()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.
 .google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10;
 
| Returns | |
|---|---|
| Type | Description | 
ServiceDirectoryConfig | 
        The serviceDirectoryConfig.  | 
      
getServiceDirectoryConfigBuilder()
public ServiceDirectoryConfig.Builder getServiceDirectoryConfigBuilder()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.
 .google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10;
 
| Returns | |
|---|---|
| Type | Description | 
ServiceDirectoryConfig.Builder | 
        |
getServiceDirectoryConfigOrBuilder()
public ServiceDirectoryConfigOrBuilder getServiceDirectoryConfigOrBuilder()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.
 .google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10;
 
| Returns | |
|---|---|
| Type | Description | 
ServiceDirectoryConfigOrBuilder | 
        |
getSslCa()
public String getSslCa()SSL certificate to use for requests to GitHub Enterprise.
 string ssl_ca = 11;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The sslCa.  | 
      
getSslCaBytes()
public ByteString getSslCaBytes()SSL certificate to use for requests to GitHub Enterprise.
 string ssl_ca = 11;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for sslCa.  | 
      
getWebhookSecretSecretVersion()
public String getWebhookSecretSecretVersion() SecretManager resource containing the webhook secret of the GitHub App,
 formatted as projects/*/secrets/*/versions/*.
 string webhook_secret_secret_version = 5 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
String | 
        The webhookSecretSecretVersion.  | 
      
getWebhookSecretSecretVersionBytes()
public ByteString getWebhookSecretSecretVersionBytes() SecretManager resource containing the webhook secret of the GitHub App,
 formatted as projects/*/secrets/*/versions/*.
 string webhook_secret_secret_version = 5 [(.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for webhookSecretSecretVersion.  | 
      
hasServiceDirectoryConfig()
public boolean hasServiceDirectoryConfig()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.
 .google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10;
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the serviceDirectoryConfig field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(GitHubEnterpriseConfig other)
public GitHubEnterpriseConfig.Builder mergeFrom(GitHubEnterpriseConfig other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        GitHubEnterpriseConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GitHubEnterpriseConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public GitHubEnterpriseConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
mergeServiceDirectoryConfig(ServiceDirectoryConfig value)
public GitHubEnterpriseConfig.Builder mergeServiceDirectoryConfig(ServiceDirectoryConfig value)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.
 .google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10;
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ServiceDirectoryConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GitHubEnterpriseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
setApiKey(String value)
public GitHubEnterpriseConfig.Builder setApiKey(String value)Required. API Key used for authentication of webhook events.
 string api_key = 12 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe apiKey to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setApiKeyBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setApiKeyBytes(ByteString value)Required. API Key used for authentication of webhook events.
 string api_key = 12 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for apiKey to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setAppId(long value)
public GitHubEnterpriseConfig.Builder setAppId(long value)Id of the GitHub App created from the manifest.
 int64 app_id = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe appId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setAppInstallationId(long value)
public GitHubEnterpriseConfig.Builder setAppInstallationId(long value)ID of the installation of the GitHub App.
 int64 app_installation_id = 9;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe appInstallationId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setAppSlug(String value)
public GitHubEnterpriseConfig.Builder setAppSlug(String value)The URL-friendly name of the GitHub App.
 string app_slug = 13;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe appSlug to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setAppSlugBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setAppSlugBytes(ByteString value)The URL-friendly name of the GitHub App.
 string app_slug = 13;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for appSlug to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public GitHubEnterpriseConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
setHostUri(String value)
public GitHubEnterpriseConfig.Builder setHostUri(String value)Required. The URI of the GitHub Enterprise host this connection is for.
 string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe hostUri to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setHostUriBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setHostUriBytes(ByteString value)Required. The URI of the GitHub Enterprise host this connection is for.
 string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for hostUri to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setPrivateKeySecretVersion(String value)
public GitHubEnterpriseConfig.Builder setPrivateKeySecretVersion(String value) SecretManager resource containing the private key of the GitHub App,
 formatted as projects/*/secrets/*/versions/*.
 string private_key_secret_version = 4 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe privateKeySecretVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setPrivateKeySecretVersionBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setPrivateKeySecretVersionBytes(ByteString value) SecretManager resource containing the private key of the GitHub App,
 formatted as projects/*/secrets/*/versions/*.
 string private_key_secret_version = 4 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for privateKeySecretVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GitHubEnterpriseConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
setServerVersion(String value)
public GitHubEnterpriseConfig.Builder setServerVersion(String value)Output only. GitHub Enterprise version installed at the host_uri.
 string server_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe serverVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setServerVersionBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setServerVersionBytes(ByteString value)Output only. GitHub Enterprise version installed at the host_uri.
 string server_version = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for serverVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setServiceDirectoryConfig(ServiceDirectoryConfig value)
public GitHubEnterpriseConfig.Builder setServiceDirectoryConfig(ServiceDirectoryConfig value)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.
 .google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10;
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ServiceDirectoryConfig | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
setServiceDirectoryConfig(ServiceDirectoryConfig.Builder builderForValue)
public GitHubEnterpriseConfig.Builder setServiceDirectoryConfig(ServiceDirectoryConfig.Builder builderForValue)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.
 .google.devtools.cloudbuild.v2.ServiceDirectoryConfig service_directory_config = 10;
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        ServiceDirectoryConfig.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
setSslCa(String value)
public GitHubEnterpriseConfig.Builder setSslCa(String value)SSL certificate to use for requests to GitHub Enterprise.
 string ssl_ca = 11;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe sslCa to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setSslCaBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setSslCaBytes(ByteString value)SSL certificate to use for requests to GitHub Enterprise.
 string ssl_ca = 11;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for sslCa to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final GitHubEnterpriseConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        |
setWebhookSecretSecretVersion(String value)
public GitHubEnterpriseConfig.Builder setWebhookSecretSecretVersion(String value) SecretManager resource containing the webhook secret of the GitHub App,
 formatted as projects/*/secrets/*/versions/*.
 string webhook_secret_secret_version = 5 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe webhookSecretSecretVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  | 
      
setWebhookSecretSecretVersionBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setWebhookSecretSecretVersionBytes(ByteString value) SecretManager resource containing the webhook secret of the GitHub App,
 formatted as projects/*/secrets/*/versions/*.
 string webhook_secret_secret_version = 5 [(.google.api.resource_reference) = { ... }
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for webhookSecretSecretVersion to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
GitHubEnterpriseConfig.Builder | 
        This builder for chaining.  |