public static final class GitHubEnterpriseConfig.Builder extends GeneratedMessageV3.Builder<GitHubEnterpriseConfig.Builder> implements GitHubEnterpriseConfigOrBuilderConfiguration for connections to an instance of GitHub Enterprise.
Protobuf type google.cloud.developerconnect.v1.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 |
|
clearAppId()
public GitHubEnterpriseConfig.Builder clearAppId()Optional. ID of the GitHub App created from the manifest.
int64 app_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
This builder for chaining. |
clearAppInstallationId()
public GitHubEnterpriseConfig.Builder clearAppInstallationId()Optional. ID of the installation of the GitHub App.
int64 app_installation_id = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
This builder for chaining. |
clearAppSlug()
public GitHubEnterpriseConfig.Builder clearAppSlug()Output only. The URL-friendly name of the GitHub App.
string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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. |
clearInstallationUri()
public GitHubEnterpriseConfig.Builder clearInstallationUri()Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
string installation_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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() Optional. SecretManager resource containing the private key of the GitHub
App, formatted as projects/*/secrets/*/versions/*.
string private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
This builder for chaining. |
clearServiceDirectoryConfig()
public GitHubEnterpriseConfig.Builder clearServiceDirectoryConfig()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.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
|
clearSslCaCertificate()
public GitHubEnterpriseConfig.Builder clearSslCaCertificate()Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
This builder for chaining. |
clearWebhookSecretSecretVersion()
public GitHubEnterpriseConfig.Builder clearWebhookSecretSecretVersion() Optional. SecretManager resource containing the webhook secret of the
GitHub App, formatted as projects/*/secrets/*/versions/*.
string webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
This builder for chaining. |
clone()
public GitHubEnterpriseConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
|
getAppId()
public long getAppId()Optional. ID of the GitHub App created from the manifest.
int64 app_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The appId. |
getAppInstallationId()
public long getAppInstallationId()Optional. ID of the installation of the GitHub App.
int64 app_installation_id = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The appInstallationId. |
getAppSlug()
public String getAppSlug()Output only. The URL-friendly name of the GitHub App.
string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The appSlug. |
getAppSlugBytes()
public ByteString getAppSlugBytes()Output only. The URL-friendly name of the GitHub App.
string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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. |
getInstallationUri()
public String getInstallationUri()Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
string installation_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The installationUri. |
getInstallationUriBytes()
public ByteString getInstallationUriBytes()Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
string installation_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for installationUri. |
getPrivateKeySecretVersion()
public String getPrivateKeySecretVersion() Optional. SecretManager resource containing the private key of the GitHub
App, formatted as projects/*/secrets/*/versions/*.
string private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The privateKeySecretVersion. |
getPrivateKeySecretVersionBytes()
public ByteString getPrivateKeySecretVersionBytes() Optional. SecretManager resource containing the private key of the GitHub
App, formatted as projects/*/secrets/*/versions/*.
string private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.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 = 12 [(.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 = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serverVersion. |
getServiceDirectoryConfig()
public ServiceDirectoryConfig getServiceDirectoryConfig()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.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ServiceDirectoryConfig |
The serviceDirectoryConfig. |
getServiceDirectoryConfigBuilder()
public ServiceDirectoryConfig.Builder getServiceDirectoryConfigBuilder()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.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ServiceDirectoryConfig.Builder |
|
getServiceDirectoryConfigOrBuilder()
public ServiceDirectoryConfigOrBuilder getServiceDirectoryConfigOrBuilder()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.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ServiceDirectoryConfigOrBuilder |
|
getSslCaCertificate()
public String getSslCaCertificate()Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The sslCaCertificate. |
getSslCaCertificateBytes()
public ByteString getSslCaCertificateBytes()Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sslCaCertificate. |
getWebhookSecretSecretVersion()
public String getWebhookSecretSecretVersion() Optional. SecretManager resource containing the webhook secret of the
GitHub App, formatted as projects/*/secrets/*/versions/*.
string webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The webhookSecretSecretVersion. |
getWebhookSecretSecretVersionBytes()
public ByteString getWebhookSecretSecretVersionBytes() Optional. SecretManager resource containing the webhook secret of the
GitHub App, formatted as projects/*/secrets/*/versions/*.
string webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for webhookSecretSecretVersion. |
hasServiceDirectoryConfig()
public boolean hasServiceDirectoryConfig()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.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| 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)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.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| 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 |
|
setAppId(long value)
public GitHubEnterpriseConfig.Builder setAppId(long value)Optional. ID of the GitHub App created from the manifest.
int64 app_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| 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)Optional. ID of the installation of the GitHub App.
int64 app_installation_id = 8 [(.google.api.field_behavior) = OPTIONAL];
| 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)Output only. The URL-friendly name of the GitHub App.
string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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)Output only. The URL-friendly name of the GitHub App.
string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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. |
setInstallationUri(String value)
public GitHubEnterpriseConfig.Builder setInstallationUri(String value)Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
string installation_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe installationUri to set. |
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
This builder for chaining. |
setInstallationUriBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setInstallationUriBytes(ByteString value)Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
string installation_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for installationUri to set. |
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
This builder for chaining. |
setPrivateKeySecretVersion(String value)
public GitHubEnterpriseConfig.Builder setPrivateKeySecretVersion(String value) Optional. SecretManager resource containing the private key of the GitHub
App, formatted as projects/*/secrets/*/versions/*.
string private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.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) Optional. SecretManager resource containing the private key of the GitHub
App, formatted as projects/*/secrets/*/versions/*.
string private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.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 = 12 [(.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 = 12 [(.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)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.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ServiceDirectoryConfig |
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
|
setServiceDirectoryConfig(ServiceDirectoryConfig.Builder builderForValue)
public GitHubEnterpriseConfig.Builder setServiceDirectoryConfig(ServiceDirectoryConfig.Builder builderForValue)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.
.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ServiceDirectoryConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
|
setSslCaCertificate(String value)
public GitHubEnterpriseConfig.Builder setSslCaCertificate(String value)Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sslCaCertificate to set. |
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
This builder for chaining. |
setSslCaCertificateBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setSslCaCertificateBytes(ByteString value)Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sslCaCertificate 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) Optional. SecretManager resource containing the webhook secret of the
GitHub App, formatted as projects/*/secrets/*/versions/*.
string webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.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) Optional. SecretManager resource containing the webhook secret of the
GitHub App, formatted as projects/*/secrets/*/versions/*.
string webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for webhookSecretSecretVersion to set. |
| Returns | |
|---|---|
| Type | Description |
GitHubEnterpriseConfig.Builder |
This builder for chaining. |