- 3.50.0 (latest)
- 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
Protobuf type google.devtools.cloudbuild.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()
Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
int64 app_id = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
clearCreateTime()
public GitHubEnterpriseConfig.Builder clearCreateTime()
Output only. Time when the installation was associated with the project.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder |
clearDisplayName()
public GitHubEnterpriseConfig.Builder clearDisplayName()
Name to display for this config.
string display_name = 11;
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 |
clearHostUrl()
public GitHubEnterpriseConfig.Builder clearHostUrl()
The URL of the github enterprise host the configuration is for.
string host_url = 3;
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
clearName()
public GitHubEnterpriseConfig.Builder clearName()
Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
string name = 7 [(.google.api.field_behavior) = OPTIONAL];
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 |
clearPeeredNetwork()
public GitHubEnterpriseConfig.Builder clearPeeredNetwork()
Optional. The network to be used when reaching out to the GitHub
Enterprise server. The VPC network must be enabled for private
service connection. This should be set if the GitHub Enterprise server is
hosted on-premises and not reachable by public internet.
If this field is left empty, no network peering will occur and calls to
the GitHub Enterprise server will be made over the public internet.
Must be in the format
projects/{project}/global/networks/{network}
, where {project}
is a project number or id and {network} is the name of a
VPC network in the project.
string peered_network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
clearSecrets()
public GitHubEnterpriseConfig.Builder clearSecrets()
Names of secrets in Secret Manager.
.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder |
clearSslCa()
public GitHubEnterpriseConfig.Builder clearSslCa()
Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
clearWebhookKey()
public GitHubEnterpriseConfig.Builder clearWebhookKey()
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
string webhook_key = 8;
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
clone()
public GitHubEnterpriseConfig.Builder clone()
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder |
getAppId()
public long getAppId()
Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
int64 app_id = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
long | The appId. |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time when the installation was associated with the project.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time when the installation was associated with the project.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the installation was associated with the project.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public GitHubEnterpriseConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Name to display for this config.
string display_name = 11;
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Name to display for this config.
string display_name = 11;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getHostUrl()
public String getHostUrl()
The URL of the github enterprise host the configuration is for.
string host_url = 3;
Returns | |
---|---|
Type | Description |
String | The hostUrl. |
getHostUrlBytes()
public ByteString getHostUrlBytes()
The URL of the github enterprise host the configuration is for.
string host_url = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for hostUrl. |
getName()
public String getName()
Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
string name = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
string name = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getPeeredNetwork()
public String getPeeredNetwork()
Optional. The network to be used when reaching out to the GitHub
Enterprise server. The VPC network must be enabled for private
service connection. This should be set if the GitHub Enterprise server is
hosted on-premises and not reachable by public internet.
If this field is left empty, no network peering will occur and calls to
the GitHub Enterprise server will be made over the public internet.
Must be in the format
projects/{project}/global/networks/{network}
, where {project}
is a project number or id and {network} is the name of a
VPC network in the project.
string peered_network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The peeredNetwork. |
getPeeredNetworkBytes()
public ByteString getPeeredNetworkBytes()
Optional. The network to be used when reaching out to the GitHub
Enterprise server. The VPC network must be enabled for private
service connection. This should be set if the GitHub Enterprise server is
hosted on-premises and not reachable by public internet.
If this field is left empty, no network peering will occur and calls to
the GitHub Enterprise server will be made over the public internet.
Must be in the format
projects/{project}/global/networks/{network}
, where {project}
is a project number or id and {network} is the name of a
VPC network in the project.
string peered_network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for peeredNetwork. |
getSecrets()
public GitHubEnterpriseSecrets getSecrets()
Names of secrets in Secret Manager.
.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets | The secrets. |
getSecretsBuilder()
public GitHubEnterpriseSecrets.Builder getSecretsBuilder()
Names of secrets in Secret Manager.
.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecrets.Builder |
getSecretsOrBuilder()
public GitHubEnterpriseSecretsOrBuilder getSecretsOrBuilder()
Names of secrets in Secret Manager.
.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;
Returns | |
---|---|
Type | Description |
GitHubEnterpriseSecretsOrBuilder |
getSslCa()
public String getSslCa()
Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The sslCa. |
getSslCaBytes()
public ByteString getSslCaBytes()
Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sslCa. |
getWebhookKey()
public String getWebhookKey()
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
string webhook_key = 8;
Returns | |
---|---|
Type | Description |
String | The webhookKey. |
getWebhookKeyBytes()
public ByteString getWebhookKeyBytes()
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
string webhook_key = 8;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for webhookKey. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time when the installation was associated with the project.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasSecrets()
public boolean hasSecrets()
Names of secrets in Secret Manager.
.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the secrets field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public GitHubEnterpriseConfig.Builder mergeCreateTime(Timestamp value)
Output only. Time when the installation was associated with the project.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder |
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 |
mergeSecrets(GitHubEnterpriseSecrets value)
public GitHubEnterpriseConfig.Builder mergeSecrets(GitHubEnterpriseSecrets value)
Names of secrets in Secret Manager.
.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;
Parameter | |
---|---|
Name | Description |
value | GitHubEnterpriseSecrets |
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)
Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
int64 app_id = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value | long The appId to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public GitHubEnterpriseConfig.Builder setCreateTime(Timestamp value)
Output only. Time when the installation was associated with the project.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public GitHubEnterpriseConfig.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time when the installation was associated with the project.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder |
setDisplayName(String value)
public GitHubEnterpriseConfig.Builder setDisplayName(String value)
Name to display for this config.
string display_name = 11;
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setDisplayNameBytes(ByteString value)
Name to display for this config.
string display_name = 11;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName 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 |
setHostUrl(String value)
public GitHubEnterpriseConfig.Builder setHostUrl(String value)
The URL of the github enterprise host the configuration is for.
string host_url = 3;
Parameter | |
---|---|
Name | Description |
value | String The hostUrl to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
setHostUrlBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setHostUrlBytes(ByteString value)
The URL of the github enterprise host the configuration is for.
string host_url = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for hostUrl to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
setName(String value)
public GitHubEnterpriseConfig.Builder setName(String value)
Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
string name = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setNameBytes(ByteString value)
Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
string name = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
setPeeredNetwork(String value)
public GitHubEnterpriseConfig.Builder setPeeredNetwork(String value)
Optional. The network to be used when reaching out to the GitHub
Enterprise server. The VPC network must be enabled for private
service connection. This should be set if the GitHub Enterprise server is
hosted on-premises and not reachable by public internet.
If this field is left empty, no network peering will occur and calls to
the GitHub Enterprise server will be made over the public internet.
Must be in the format
projects/{project}/global/networks/{network}
, where {project}
is a project number or id and {network} is the name of a
VPC network in the project.
string peered_network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The peeredNetwork to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
setPeeredNetworkBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setPeeredNetworkBytes(ByteString value)
Optional. The network to be used when reaching out to the GitHub
Enterprise server. The VPC network must be enabled for private
service connection. This should be set if the GitHub Enterprise server is
hosted on-premises and not reachable by public internet.
If this field is left empty, no network peering will occur and calls to
the GitHub Enterprise server will be made over the public internet.
Must be in the format
projects/{project}/global/networks/{network}
, where {project}
is a project number or id and {network} is the name of a
VPC network in the project.
string peered_network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for peeredNetwork 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 |
setSecrets(GitHubEnterpriseSecrets value)
public GitHubEnterpriseConfig.Builder setSecrets(GitHubEnterpriseSecrets value)
Names of secrets in Secret Manager.
.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;
Parameter | |
---|---|
Name | Description |
value | GitHubEnterpriseSecrets |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder |
setSecrets(GitHubEnterpriseSecrets.Builder builderForValue)
public GitHubEnterpriseConfig.Builder setSecrets(GitHubEnterpriseSecrets.Builder builderForValue)
Names of secrets in Secret Manager.
.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;
Parameter | |
---|---|
Name | Description |
builderForValue | GitHubEnterpriseSecrets.Builder |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder |
setSslCa(String value)
public GitHubEnterpriseConfig.Builder setSslCa(String value)
Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The sslCa to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
setSslCaBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setSslCaBytes(ByteString value)
Optional. SSL certificate to use for requests to GitHub Enterprise.
string ssl_ca = 12 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The 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 |
setWebhookKey(String value)
public GitHubEnterpriseConfig.Builder setWebhookKey(String value)
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
string webhook_key = 8;
Parameter | |
---|---|
Name | Description |
value | String The webhookKey to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |
setWebhookKeyBytes(ByteString value)
public GitHubEnterpriseConfig.Builder setWebhookKeyBytes(ByteString value)
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
string webhook_key = 8;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for webhookKey to set. |
Returns | |
---|---|
Type | Description |
GitHubEnterpriseConfig.Builder | This builder for chaining. |