Class GitHubEnterpriseSecrets (3.44.0)

public final class GitHubEnterpriseSecrets extends GeneratedMessageV3 implements GitHubEnterpriseSecretsOrBuilder

GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects/<project number>/secrets/<secret name>.

Protobuf type google.devtools.cloudbuild.v1.GitHubEnterpriseSecrets

Static Fields

OAUTH_CLIENT_ID_VERSION_NAME_FIELD_NUMBER

public static final int OAUTH_CLIENT_ID_VERSION_NAME_FIELD_NUMBER
Field Value
Type Description
int

OAUTH_SECRET_VERSION_NAME_FIELD_NUMBER

public static final int OAUTH_SECRET_VERSION_NAME_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_KEY_VERSION_NAME_FIELD_NUMBER

public static final int PRIVATE_KEY_VERSION_NAME_FIELD_NUMBER
Field Value
Type Description
int

WEBHOOK_SECRET_VERSION_NAME_FIELD_NUMBER

public static final int WEBHOOK_SECRET_VERSION_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GitHubEnterpriseSecrets getDefaultInstance()
Returns
Type Description
GitHubEnterpriseSecrets

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GitHubEnterpriseSecrets.Builder newBuilder()
Returns
Type Description
GitHubEnterpriseSecrets.Builder

newBuilder(GitHubEnterpriseSecrets prototype)

public static GitHubEnterpriseSecrets.Builder newBuilder(GitHubEnterpriseSecrets prototype)
Parameter
Name Description
prototype GitHubEnterpriseSecrets
Returns
Type Description
GitHubEnterpriseSecrets.Builder

parseDelimitedFrom(InputStream input)

public static GitHubEnterpriseSecrets parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GitHubEnterpriseSecrets parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GitHubEnterpriseSecrets parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GitHubEnterpriseSecrets parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GitHubEnterpriseSecrets parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GitHubEnterpriseSecrets parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitHubEnterpriseSecrets
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GitHubEnterpriseSecrets> parser()
Returns
Type Description
Parser<GitHubEnterpriseSecrets>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GitHubEnterpriseSecrets getDefaultInstanceForType()
Returns
Type Description
GitHubEnterpriseSecrets

getOauthClientIdVersionName()

public String getOauthClientIdVersionName()

The resource name for the OAuth client ID secret version in Secret Manager.

string oauth_client_id_version_name = 8 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The oauthClientIdVersionName.

getOauthClientIdVersionNameBytes()

public ByteString getOauthClientIdVersionNameBytes()

The resource name for the OAuth client ID secret version in Secret Manager.

string oauth_client_id_version_name = 8 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for oauthClientIdVersionName.

getOauthSecretVersionName()

public String getOauthSecretVersionName()

The resource name for the OAuth secret secret version in Secret Manager.

string oauth_secret_version_name = 7 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The oauthSecretVersionName.

getOauthSecretVersionNameBytes()

public ByteString getOauthSecretVersionNameBytes()

The resource name for the OAuth secret secret version in Secret Manager.

string oauth_secret_version_name = 7 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for oauthSecretVersionName.

getParserForType()

public Parser<GitHubEnterpriseSecrets> getParserForType()
Returns
Type Description
Parser<GitHubEnterpriseSecrets>
Overrides

getPrivateKeyVersionName()

public String getPrivateKeyVersionName()

The resource name for the private key secret version.

string private_key_version_name = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The privateKeyVersionName.

getPrivateKeyVersionNameBytes()

public ByteString getPrivateKeyVersionNameBytes()

The resource name for the private key secret version.

string private_key_version_name = 5 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for privateKeyVersionName.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWebhookSecretVersionName()

public String getWebhookSecretVersionName()

The resource name for the webhook secret secret version in Secret Manager.

string webhook_secret_version_name = 6 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The webhookSecretVersionName.

getWebhookSecretVersionNameBytes()

public ByteString getWebhookSecretVersionNameBytes()

The resource name for the webhook secret secret version in Secret Manager.

string webhook_secret_version_name = 6 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for webhookSecretVersionName.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GitHubEnterpriseSecrets.Builder newBuilderForType()
Returns
Type Description
GitHubEnterpriseSecrets.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GitHubEnterpriseSecrets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GitHubEnterpriseSecrets.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GitHubEnterpriseSecrets.Builder toBuilder()
Returns
Type Description
GitHubEnterpriseSecrets.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException