- 3.57.0 (latest)
- 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 GitHubEnterpriseConfigOrBuilder
Configuration 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()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GitHubEnterpriseConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GitHubEnterpriseConfig.Builder |
build()
public GitHubEnterpriseConfig build()
Type | Description |
GitHubEnterpriseConfig |
buildPartial()
public GitHubEnterpriseConfig buildPartial()
Type | Description |
GitHubEnterpriseConfig |
clear()
public GitHubEnterpriseConfig.Builder clear()
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];
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;
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;
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;
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GitHubEnterpriseConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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];
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GitHubEnterpriseConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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) = { ... }
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];
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;
Type | Description |
GitHubEnterpriseConfig.Builder |
clearSslCa()
public GitHubEnterpriseConfig.Builder clearSslCa()
SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca = 11;
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) = { ... }
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
clone()
public GitHubEnterpriseConfig.Builder clone()
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];
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];
Type | Description |
ByteString | The bytes for apiKey. |
getAppId()
public long getAppId()
Id of the GitHub App created from the manifest.
int64 app_id = 2;
Type | Description |
long | The appId. |
getAppInstallationId()
public long getAppInstallationId()
ID of the installation of the GitHub App.
int64 app_installation_id = 9;
Type | Description |
long | The appInstallationId. |
getAppSlug()
public String getAppSlug()
The URL-friendly name of the GitHub App.
string app_slug = 13;
Type | Description |
String | The appSlug. |
getAppSlugBytes()
public ByteString getAppSlugBytes()
The URL-friendly name of the GitHub App.
string app_slug = 13;
Type | Description |
ByteString | The bytes for appSlug. |
getDefaultInstanceForType()
public GitHubEnterpriseConfig getDefaultInstanceForType()
Type | Description |
GitHubEnterpriseConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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) = { ... }
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) = { ... }
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];
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];
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;
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;
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;
Type | Description |
ServiceDirectoryConfigOrBuilder |
getSslCa()
public String getSslCa()
SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca = 11;
Type | Description |
String | The sslCa. |
getSslCaBytes()
public ByteString getSslCaBytes()
SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca = 11;
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) = { ... }
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) = { ... }
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;
Type | Description |
boolean | Whether the serviceDirectoryConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GitHubEnterpriseConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GitHubEnterpriseConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GitHubEnterpriseConfig.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GitHubEnterpriseConfig.Builder |
mergeFrom(GitHubEnterpriseConfig other)
public GitHubEnterpriseConfig.Builder mergeFrom(GitHubEnterpriseConfig other)
Name | Description |
other | GitHubEnterpriseConfig |
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;
Name | Description |
value | ServiceDirectoryConfig |
Type | Description |
GitHubEnterpriseConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GitHubEnterpriseConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | String The apiKey to set. |
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];
Name | Description |
value | ByteString The bytes for apiKey to set. |
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;
Name | Description |
value | long The appId to set. |
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;
Name | Description |
value | long The appInstallationId to set. |
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;
Name | Description |
value | String The appSlug to set. |
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;
Name | Description |
value | ByteString The bytes for appSlug to set. |
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GitHubEnterpriseConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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];
Name | Description |
value | String The hostUri to set. |
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];
Name | Description |
value | ByteString The bytes for hostUri to set. |
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) = { ... }
Name | Description |
value | String The privateKeySecretVersion to set. |
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) = { ... }
Name | Description |
value | ByteString The bytes for privateKeySecretVersion to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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];
Name | Description |
value | String The serverVersion to set. |
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];
Name | Description |
value | ByteString The bytes for serverVersion to set. |
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;
Name | Description |
value | ServiceDirectoryConfig |
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;
Name | Description |
builderForValue | ServiceDirectoryConfig.Builder |
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;
Name | Description |
value | String The sslCa to set. |
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;
Name | Description |
value | ByteString The bytes for sslCa to set. |
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GitHubEnterpriseConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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) = { ... }
Name | Description |
value | String The webhookSecretSecretVersion to set. |
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) = { ... }
Name | Description |
value | ByteString The bytes for webhookSecretSecretVersion to set. |
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |