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
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>)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GitHubEnterpriseSecrets.Builder newBuilder()
newBuilder(GitHubEnterpriseSecrets prototype)
public static GitHubEnterpriseSecrets.Builder newBuilder(GitHubEnterpriseSecrets prototype)
public static GitHubEnterpriseSecrets parseDelimitedFrom(InputStream input)
public static GitHubEnterpriseSecrets parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GitHubEnterpriseSecrets parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GitHubEnterpriseSecrets parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GitHubEnterpriseSecrets parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GitHubEnterpriseSecrets parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GitHubEnterpriseSecrets parseFrom(CodedInputStream input)
public static GitHubEnterpriseSecrets parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GitHubEnterpriseSecrets parseFrom(InputStream input)
public static GitHubEnterpriseSecrets parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GitHubEnterpriseSecrets parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GitHubEnterpriseSecrets parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GitHubEnterpriseSecrets> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public GitHubEnterpriseSecrets getDefaultInstanceForType()
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()
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GitHubEnterpriseSecrets.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GitHubEnterpriseSecrets.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public GitHubEnterpriseSecrets.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides