public final class Repository extends GeneratedMessageV3 implements RepositoryOrBuilder
Represents a Dataform Git repository.
Protobuf type google.cloud.dataform.v1beta1.Repository
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
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DATA_ENCRYPTION_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int GIT_REMOTE_SETTINGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INTERNAL_METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int KMS_KEY_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NPMRC_ENVIRONMENT_VARIABLES_SECRET_VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SET_AUTHENTICATED_USER_ADMIN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int WORKSPACE_COMPILATION_OVERRIDES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static Repository getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Repository.Builder newBuilder()
public static Repository.Builder newBuilder(Repository prototype)
public static Repository parseDelimitedFrom(InputStream input)
public static Repository parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Repository parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static Repository parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Repository parseFrom(ByteString data)
public static Repository parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Repository parseFrom(CodedInputStream input)
public static Repository parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Repository parseFrom(InputStream input)
public static Repository parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Repository parseFrom(ByteBuffer data)
public static Repository parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Repository> parser()
Methods
public boolean containsLabels(String key)
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Timestamp getCreateTime()
Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DataEncryptionState getDataEncryptionState()
Output only. A data encryption state of a Git repository if this Repository
is protected by a KMS key.
.google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DataEncryptionStateOrBuilder getDataEncryptionStateOrBuilder()
Output only. A data encryption state of a Git repository if this Repository
is protected by a KMS key.
.google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Repository getDefaultInstanceForType()
public String getDisplayName()
Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The displayName.
|
public ByteString getDisplayNameBytes()
Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for displayName.
|
public Repository.GitRemoteSettings getGitRemoteSettings()
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
public Repository.GitRemoteSettingsOrBuilder getGitRemoteSettingsOrBuilder()
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
public String getInternalMetadata()
Output only. All the metadata information that is used internally to serve
the resource. For example: timestamps, flags, status fields, etc. The
format of this field is a JSON string.
optional string internal_metadata = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The internalMetadata.
|
public ByteString getInternalMetadataBytes()
Output only. All the metadata information that is used internally to serve
the resource. For example: timestamps, flags, status fields, etc. The
format of this field is a JSON string.
optional string internal_metadata = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for internalMetadata.
|
public String getKmsKeyName()
Optional. The reference to a KMS encryption key. If provided, it will be
used to encrypt user data in the repository and all child resources. It is
not possible to add or update the encryption key after the repository is
created. Example:
projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}
string kms_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The kmsKeyName.
|
public ByteString getKmsKeyNameBytes()
Optional. The reference to a KMS encryption key. If provided, it will be
used to encrypt user data in the repository and all child resources. It is
not possible to add or update the encryption key after the repository is
created. Example:
projects/{kms_project}/locations/{location}/keyRings/{key_location}/cryptoKeys/{key}
string kms_key_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for kmsKeyName.
|
public Map<String,String> getLabels()
public int getLabelsCount()
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
public Map<String,String> getLabelsMap()
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
public String getLabelsOrThrow(String key)
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public String getNpmrcEnvironmentVariablesSecretVersion()
Optional. The name of the Secret Manager secret version to be used to
interpolate variables into the .npmrc file for package installation
operations. Must be in the format projects/*/secrets/*/versions/*
. The
file itself must be in a JSON format.
string npmrc_environment_variables_secret_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The npmrcEnvironmentVariablesSecretVersion.
|
public ByteString getNpmrcEnvironmentVariablesSecretVersionBytes()
Optional. The name of the Secret Manager secret version to be used to
interpolate variables into the .npmrc file for package installation
operations. Must be in the format projects/*/secrets/*/versions/*
. The
file itself must be in a JSON format.
string npmrc_environment_variables_secret_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for npmrcEnvironmentVariablesSecretVersion.
|
public Parser<Repository> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public String getServiceAccount()
Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The serviceAccount.
|
public ByteString getServiceAccountBytes()
Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for serviceAccount.
|
public boolean getSetAuthenticatedUserAdmin()
Returns |
Type |
Description |
boolean |
The setAuthenticatedUserAdmin.
|
public Repository.WorkspaceCompilationOverrides getWorkspaceCompilationOverrides()
Optional. If set, fields of workspace_compilation_overrides
override the
default compilation settings that are specified in dataform.json when
creating workspace-scoped compilation results. See documentation for
WorkspaceCompilationOverrides
for more information.
.google.cloud.dataform.v1beta1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
public Repository.WorkspaceCompilationOverridesOrBuilder getWorkspaceCompilationOverridesOrBuilder()
Optional. If set, fields of workspace_compilation_overrides
override the
default compilation settings that are specified in dataform.json when
creating workspace-scoped compilation results. See documentation for
WorkspaceCompilationOverrides
for more information.
.google.cloud.dataform.v1beta1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasCreateTime()
Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
public boolean hasDataEncryptionState()
Output only. A data encryption state of a Git repository if this Repository
is protected by a KMS key.
.google.cloud.dataform.v1beta1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the dataEncryptionState field is set.
|
public boolean hasGitRemoteSettings()
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1beta1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the gitRemoteSettings field is set.
|
public boolean hasInternalMetadata()
Output only. All the metadata information that is used internally to serve
the resource. For example: timestamps, flags, status fields, etc. The
format of this field is a JSON string.
optional string internal_metadata = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the internalMetadata field is set.
|
public boolean hasWorkspaceCompilationOverrides()
Optional. If set, fields of workspace_compilation_overrides
override the
default compilation settings that are specified in dataform.json when
creating workspace-scoped compilation results. See documentation for
WorkspaceCompilationOverrides
for more information.
.google.cloud.dataform.v1beta1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the workspaceCompilationOverrides field is set.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public Repository.Builder newBuilderForType()
protected Repository.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public Repository.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides