Interface GitHubEnterpriseConfigOrBuilder (3.48.0)

public interface GitHubEnterpriseConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAppId()

public abstract 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 abstract 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.

getCreateTimeOrBuilder()

public abstract 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

getDisplayName()

public abstract String getDisplayName()

Name to display for this config.

string display_name = 11;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Name to display for this config.

string display_name = 11;

Returns
Type Description
ByteString

The bytes for displayName.

getHostUrl()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract GitHubEnterpriseSecrets getSecrets()

Names of secrets in Secret Manager.

.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;

Returns
Type Description
GitHubEnterpriseSecrets

The secrets.

getSecretsOrBuilder()

public abstract GitHubEnterpriseSecretsOrBuilder getSecretsOrBuilder()

Names of secrets in Secret Manager.

.google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets secrets = 10;

Returns
Type Description
GitHubEnterpriseSecretsOrBuilder

getSslCa()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.