Class GitHubEnterpriseSecrets (3.29.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
TypeDescription
int

OAUTH_SECRET_VERSION_NAME_FIELD_NUMBER

public static final int OAUTH_SECRET_VERSION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PRIVATE_KEY_VERSION_NAME_FIELD_NUMBER

public static final int PRIVATE_KEY_VERSION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

WEBHOOK_SECRET_VERSION_NAME_FIELD_NUMBER

public static final int WEBHOOK_SECRET_VERSION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GitHubEnterpriseSecrets getDefaultInstance()
Returns
TypeDescription
GitHubEnterpriseSecrets

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GitHubEnterpriseSecrets.Builder newBuilder()
Returns
TypeDescription
GitHubEnterpriseSecrets.Builder

newBuilder(GitHubEnterpriseSecrets prototype)

public static GitHubEnterpriseSecrets.Builder newBuilder(GitHubEnterpriseSecrets prototype)
Parameter
NameDescription
prototypeGitHubEnterpriseSecrets
Returns
TypeDescription
GitHubEnterpriseSecrets.Builder

parseDelimitedFrom(InputStream input)

public static GitHubEnterpriseSecrets parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GitHubEnterpriseSecrets parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GitHubEnterpriseSecrets parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GitHubEnterpriseSecrets parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GitHubEnterpriseSecrets parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GitHubEnterpriseSecrets parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GitHubEnterpriseSecrets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GitHubEnterpriseSecrets
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GitHubEnterpriseSecrets> parser()
Returns
TypeDescription
Parser<GitHubEnterpriseSecrets>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GitHubEnterpriseSecrets getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for oauthSecretVersionName.

getParserForType()

public Parser<GitHubEnterpriseSecrets> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for privateKeyVersionName.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for webhookSecretVersionName.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GitHubEnterpriseSecrets.Builder newBuilderForType()
Returns
TypeDescription
GitHubEnterpriseSecrets.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GitHubEnterpriseSecrets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GitHubEnterpriseSecrets.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GitHubEnterpriseSecrets.Builder toBuilder()
Returns
TypeDescription
GitHubEnterpriseSecrets.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException