Class GitHubEnterpriseConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GitHubEnterpriseConfig.Builder>
com.google.cloud.developerconnect.v1.GitHubEnterpriseConfig.Builder
- All Implemented Interfaces:
GitHubEnterpriseConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GitHubEnterpriseConfig
public static final class GitHubEnterpriseConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GitHubEnterpriseConfig.Builder>
implements GitHubEnterpriseConfigOrBuilder
Configuration for connections to an instance of GitHub Enterprise.Protobuf type
google.cloud.developerconnect.v1.GitHubEnterpriseConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Output only.Required.Output only.Optional.Optional.Output only.Optional.Optional.Optional.longgetAppId()Optional.longOptional.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput only.Optional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GitHubEnterpriseConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.setAppId(long value) Optional.setAppInstallationId(long value) Optional.setAppSlug(String value) Output only.setAppSlugBytes(com.google.protobuf.ByteString value) Output only.setHostUri(String value) Required.setHostUriBytes(com.google.protobuf.ByteString value) Required.setInstallationUri(String value) Output only.setInstallationUriBytes(com.google.protobuf.ByteString value) Output only.setOrganization(String value) Optional.setOrganizationBytes(com.google.protobuf.ByteString value) Optional.setPrivateKeySecretVersion(String value) Optional.setPrivateKeySecretVersionBytes(com.google.protobuf.ByteString value) Optional.setServerVersion(String value) Output only.setServerVersionBytes(com.google.protobuf.ByteString value) Output only.Optional.setServiceDirectoryConfig(ServiceDirectoryConfig.Builder builderForValue) Optional.setSslCaCertificate(String value) Optional.setSslCaCertificateBytes(com.google.protobuf.ByteString value) Optional.Optional.setWebhookSecretSecretVersionBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GitHubEnterpriseConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GitHubEnterpriseConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GitHubEnterpriseConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GitHubEnterpriseConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GitHubEnterpriseConfig.Builder>
-
mergeFrom
public GitHubEnterpriseConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GitHubEnterpriseConfig.Builder>- Throws:
IOException
-
getHostUri
Required. The URI of the GitHub Enterprise host this connection is for.
string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHostUriin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The hostUri.
-
getHostUriBytes
public com.google.protobuf.ByteString getHostUriBytes()Required. The URI of the GitHub Enterprise host this connection is for.
string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getHostUriBytesin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The bytes for hostUri.
-
setHostUri
Required. The URI of the GitHub Enterprise host this connection is for.
string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The hostUri to set.- Returns:
- This builder for chaining.
-
clearHostUri
Required. The URI of the GitHub Enterprise host this connection is for.
string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setHostUriBytes
Required. The URI of the GitHub Enterprise host this connection is for.
string host_uri = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for hostUri to set.- Returns:
- This builder for chaining.
-
getAppId
public long getAppId()Optional. ID of the GitHub App created from the manifest.
int64 app_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAppIdin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The appId.
-
setAppId
Optional. ID of the GitHub App created from the manifest.
int64 app_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The appId to set.- Returns:
- This builder for chaining.
-
clearAppId
Optional. ID of the GitHub App created from the manifest.
int64 app_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getAppSlug
Output only. The URL-friendly name of the GitHub App.
string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAppSlugin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The appSlug.
-
getAppSlugBytes
public com.google.protobuf.ByteString getAppSlugBytes()Output only. The URL-friendly name of the GitHub App.
string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAppSlugBytesin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The bytes for appSlug.
-
setAppSlug
Output only. The URL-friendly name of the GitHub App.
string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The appSlug to set.- Returns:
- This builder for chaining.
-
clearAppSlug
Output only. The URL-friendly name of the GitHub App.
string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setAppSlugBytes
Output only. The URL-friendly name of the GitHub App.
string app_slug = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for appSlug to set.- Returns:
- This builder for chaining.
-
getPrivateKeySecretVersion
Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).
string private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getPrivateKeySecretVersionin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The privateKeySecretVersion.
-
getPrivateKeySecretVersionBytes
public com.google.protobuf.ByteString getPrivateKeySecretVersionBytes()Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).
string private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getPrivateKeySecretVersionBytesin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The bytes for privateKeySecretVersion.
-
setPrivateKeySecretVersion
Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).
string private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The privateKeySecretVersion to set.- Returns:
- This builder for chaining.
-
clearPrivateKeySecretVersion
Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).
string private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setPrivateKeySecretVersionBytes
public GitHubEnterpriseConfig.Builder setPrivateKeySecretVersionBytes(com.google.protobuf.ByteString value) Optional. SecretManager resource containing the private key of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).
string private_key_secret_version = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for privateKeySecretVersion to set.- Returns:
- This builder for chaining.
-
getWebhookSecretSecretVersion
Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).
string webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getWebhookSecretSecretVersionin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The webhookSecretSecretVersion.
-
getWebhookSecretSecretVersionBytes
public com.google.protobuf.ByteString getWebhookSecretSecretVersionBytes()Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).
string webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Specified by:
getWebhookSecretSecretVersionBytesin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The bytes for webhookSecretSecretVersion.
-
setWebhookSecretSecretVersion
Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).
string webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The webhookSecretSecretVersion to set.- Returns:
- This builder for chaining.
-
clearWebhookSecretSecretVersion
Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).
string webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setWebhookSecretSecretVersionBytes
public GitHubEnterpriseConfig.Builder setWebhookSecretSecretVersionBytes(com.google.protobuf.ByteString value) Optional. SecretManager resource containing the webhook secret of the GitHub App, formatted as `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).
string webhook_secret_secret_version = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for webhookSecretSecretVersion to set.- Returns:
- This builder for chaining.
-
getAppInstallationId
public long getAppInstallationId()Optional. ID of the installation of the GitHub App.
int64 app_installation_id = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAppInstallationIdin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The appInstallationId.
-
setAppInstallationId
Optional. ID of the installation of the GitHub App.
int64 app_installation_id = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The appInstallationId to set.- Returns:
- This builder for chaining.
-
clearAppInstallationId
Optional. ID of the installation of the GitHub App.
int64 app_installation_id = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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];- Specified by:
getInstallationUriin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The installationUri.
-
getInstallationUriBytes
public com.google.protobuf.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];- Specified by:
getInstallationUriBytesin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The bytes for installationUri.
-
setInstallationUri
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];- Parameters:
value- The installationUri to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setInstallationUriBytes
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];- Parameters:
value- The bytes for installationUri to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasServiceDirectoryConfigin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- Whether the serviceDirectoryConfig field is set.
-
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];- Specified by:
getServiceDirectoryConfigin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The serviceDirectoryConfig.
-
setServiceDirectoryConfig
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]; -
setServiceDirectoryConfig
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]; -
mergeServiceDirectoryConfig
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]; -
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]; -
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]; -
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];- Specified by:
getServiceDirectoryConfigOrBuilderin interfaceGitHubEnterpriseConfigOrBuilder
-
getServerVersion
Output only. GitHub Enterprise version installed at the host_uri.
string server_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServerVersionin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The serverVersion.
-
getServerVersionBytes
public com.google.protobuf.ByteString getServerVersionBytes()Output only. GitHub Enterprise version installed at the host_uri.
string server_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getServerVersionBytesin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The bytes for serverVersion.
-
setServerVersion
Output only. GitHub Enterprise version installed at the host_uri.
string server_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The serverVersion to set.- Returns:
- This builder for chaining.
-
clearServerVersion
Output only. GitHub Enterprise version installed at the host_uri.
string server_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setServerVersionBytes
Output only. GitHub Enterprise version installed at the host_uri.
string server_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for serverVersion to set.- Returns:
- This builder for chaining.
-
getSslCaCertificate
Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSslCaCertificatein interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The sslCaCertificate.
-
getSslCaCertificateBytes
public com.google.protobuf.ByteString getSslCaCertificateBytes()Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSslCaCertificateBytesin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The bytes for sslCaCertificate.
-
setSslCaCertificate
Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The sslCaCertificate to set.- Returns:
- This builder for chaining.
-
clearSslCaCertificate
Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setSslCaCertificateBytes
public GitHubEnterpriseConfig.Builder setSslCaCertificateBytes(com.google.protobuf.ByteString value) Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca_certificate = 14 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for sslCaCertificate to set.- Returns:
- This builder for chaining.
-
getOrganization
Optional. Immutable. GitHub Enterprise organization in which the GitHub App is created.
string organization = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getOrganizationin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The organization.
-
getOrganizationBytes
public com.google.protobuf.ByteString getOrganizationBytes()Optional. Immutable. GitHub Enterprise organization in which the GitHub App is created.
string organization = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getOrganizationBytesin interfaceGitHubEnterpriseConfigOrBuilder- Returns:
- The bytes for organization.
-
setOrganization
Optional. Immutable. GitHub Enterprise organization in which the GitHub App is created.
string organization = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The organization to set.- Returns:
- This builder for chaining.
-
clearOrganization
Optional. Immutable. GitHub Enterprise organization in which the GitHub App is created.
string organization = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
setOrganizationBytes
Optional. Immutable. GitHub Enterprise organization in which the GitHub App is created.
string organization = 15 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The bytes for organization to set.- Returns:
- This builder for chaining.
-