Class GitHubEnterpriseConfig (3.41.0)

publicfinalclass GitHubEnterpriseConfigextendsGeneratedMessageV3implementsGitHubEnterpriseConfigOrBuilder

Protobuf type google.devtools.cloudbuild.v1.GitHubEnterpriseConfig

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

APP_ID_FIELD_NUMBER

publicstaticfinalintAPP_ID_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

publicstaticfinalintCREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

publicstaticfinalintDISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

HOST_URL_FIELD_NUMBER

publicstaticfinalintHOST_URL_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

PEERED_NETWORK_FIELD_NUMBER

publicstaticfinalintPEERED_NETWORK_FIELD_NUMBER
Field Value
Type Description
int

SECRETS_FIELD_NUMBER

publicstaticfinalintSECRETS_FIELD_NUMBER
Field Value
Type Description
int

SSL_CA_FIELD_NUMBER

publicstaticfinalintSSL_CA_FIELD_NUMBER
Field Value
Type Description
int

WEBHOOK_KEY_FIELD_NUMBER

publicstaticfinalintWEBHOOK_KEY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticGitHubEnterpriseConfiggetDefaultInstance()
Returns
Type Description
GitHubEnterpriseConfig

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticGitHubEnterpriseConfig.BuildernewBuilder()
Returns
Type Description
GitHubEnterpriseConfig.Builder

newBuilder(GitHubEnterpriseConfig prototype)

publicstaticGitHubEnterpriseConfig.BuildernewBuilder(GitHubEnterpriseConfigprototype)
Parameter
Name Description
prototype GitHubEnterpriseConfig
Returns
Type Description
GitHubEnterpriseConfig.Builder

parseDelimitedFrom(InputStream input)

publicstaticGitHubEnterpriseConfigparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubEnterpriseConfigparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticGitHubEnterpriseConfigparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubEnterpriseConfigparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticGitHubEnterpriseConfigparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubEnterpriseConfigparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticGitHubEnterpriseConfigparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubEnterpriseConfigparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticGitHubEnterpriseConfigparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubEnterpriseConfigparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticGitHubEnterpriseConfigparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticGitHubEnterpriseConfigparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<GitHubEnterpriseConfig>parser()
Returns
Type Description
Parser<GitHubEnterpriseConfig>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAppId()

publiclonggetAppId()

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()

publicTimestampgetCreateTime()

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()

publicTimestampOrBuildergetCreateTimeOrBuilder()

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()

publicGitHubEnterpriseConfiggetDefaultInstanceForType()
Returns
Type Description
GitHubEnterpriseConfig

getDisplayName()

publicStringgetDisplayName()

Name to display for this config.

string display_name = 11;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

publicByteStringgetDisplayNameBytes()

Name to display for this config.

string display_name = 11;

Returns
Type Description
ByteString

The bytes for displayName.

getHostUrl()

publicStringgetHostUrl()

The URL of the github enterprise host the configuration is for.

string host_url = 3;

Returns
Type Description
String

The hostUrl.

getHostUrlBytes()

publicByteStringgetHostUrlBytes()

The URL of the github enterprise host the configuration is for.

string host_url = 3;

Returns
Type Description
ByteString

The bytes for hostUrl.

getName()

publicStringgetName()

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()

publicByteStringgetNameBytes()

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.

getParserForType()

publicParser<GitHubEnterpriseConfig>getParserForType()
Returns
Type Description
Parser<GitHubEnterpriseConfig>
Overrides

getPeeredNetwork()

publicStringgetPeeredNetwork()

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()

publicByteStringgetPeeredNetworkBytes()

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()

publicGitHubEnterpriseSecretsgetSecrets()

Names of secrets in Secret Manager.

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

Returns
Type Description
GitHubEnterpriseSecrets

The secrets.

getSecretsOrBuilder()

publicGitHubEnterpriseSecretsOrBuildergetSecretsOrBuilder()

Names of secrets in Secret Manager.

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

Returns
Type Description
GitHubEnterpriseSecretsOrBuilder

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSslCa()

publicStringgetSslCa()

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()

publicByteStringgetSslCaBytes()

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()

publicStringgetWebhookKey()

The key that should be attached to webhook calls to the ReceiveWebhook endpoint.

string webhook_key = 8;

Returns
Type Description
String

The webhookKey.

getWebhookKeyBytes()

publicByteStringgetWebhookKeyBytes()

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()

publicbooleanhasCreateTime()

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()

publicbooleanhasSecrets()

Names of secrets in Secret Manager.

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

Returns
Type Description
boolean

Whether the secrets field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicGitHubEnterpriseConfig.BuildernewBuilderForType()
Returns
Type Description
GitHubEnterpriseConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedGitHubEnterpriseConfig.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GitHubEnterpriseConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicGitHubEnterpriseConfig.BuildertoBuilder()
Returns
Type Description
GitHubEnterpriseConfig.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.