- 0.59.0 (latest)
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
public static final class Repository.Builder extends GeneratedMessageV3.Builder<Repository.Builder> implements RepositoryOrBuilder
Represents a Dataform Git repository.
Protobuf type google.cloud.dataform.v1beta1.Repository
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Repository.BuilderImplements
RepositoryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Repository.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Repository.Builder |
build()
public Repository build()
Returns | |
---|---|
Type | Description |
Repository |
buildPartial()
public Repository buildPartial()
Returns | |
---|---|
Type | Description |
Repository |
clear()
public Repository.Builder clear()
Returns | |
---|---|
Type | Description |
Repository.Builder |
clearCreateTime()
public Repository.Builder clearCreateTime()
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 |
Repository.Builder |
clearDataEncryptionState()
public Repository.Builder clearDataEncryptionState()
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 |
Repository.Builder |
clearDisplayName()
public Repository.Builder clearDisplayName()
Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Repository.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Repository.Builder |
clearGitRemoteSettings()
public Repository.Builder clearGitRemoteSettings()
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 |
Repository.Builder |
clearInternalMetadata()
public Repository.Builder clearInternalMetadata()
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 |
Repository.Builder |
This builder for chaining. |
clearKmsKeyName()
public Repository.Builder clearKmsKeyName()
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 |
Repository.Builder |
This builder for chaining. |
clearLabels()
public Repository.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Repository.Builder |
clearName()
public Repository.Builder clearName()
Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
clearNpmrcEnvironmentVariablesSecretVersion()
public Repository.Builder clearNpmrcEnvironmentVariablesSecretVersion()
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 |
Repository.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Repository.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Repository.Builder |
clearServiceAccount()
public Repository.Builder clearServiceAccount()
Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
clearSetAuthenticatedUserAdmin()
public Repository.Builder clearSetAuthenticatedUserAdmin()
Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
bool set_authenticated_user_admin = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
clearWorkspaceCompilationOverrides()
public Repository.Builder clearWorkspaceCompilationOverrides()
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 |
Repository.Builder |
clone()
public Repository.Builder clone()
Returns | |
---|---|
Type | Description |
Repository.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
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. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
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 |
Builder |
getCreateTimeOrBuilder()
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];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDataEncryptionState()
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];
Returns | |
---|---|
Type | Description |
DataEncryptionState |
The dataEncryptionState. |
getDataEncryptionStateBuilder()
public DataEncryptionState.Builder getDataEncryptionStateBuilder()
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 |
DataEncryptionState.Builder |
getDataEncryptionStateOrBuilder()
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];
Returns | |
---|---|
Type | Description |
DataEncryptionStateOrBuilder |
getDefaultInstanceForType()
public Repository getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Repository |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
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. |
getDisplayNameBytes()
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. |
getGitRemoteSettings()
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];
Returns | |
---|---|
Type | Description |
Repository.GitRemoteSettings |
The gitRemoteSettings. |
getGitRemoteSettingsBuilder()
public Repository.GitRemoteSettings.Builder getGitRemoteSettingsBuilder()
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 |
Repository.GitRemoteSettings.Builder |
getGitRemoteSettingsOrBuilder()
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];
Returns | |
---|---|
Type | Description |
Repository.GitRemoteSettingsOrBuilder |
getInternalMetadata()
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. |
getInternalMetadataBytes()
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. |
getKmsKeyName()
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. |
getKmsKeyNameBytes()
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. |
getLabels() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
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 |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getNpmrcEnvironmentVariablesSecretVersion()
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. |
getNpmrcEnvironmentVariablesSecretVersionBytes()
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. |
getServiceAccount()
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. |
getServiceAccountBytes()
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. |
getSetAuthenticatedUserAdmin()
public boolean getSetAuthenticatedUserAdmin()
Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
bool set_authenticated_user_admin = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The setAuthenticatedUserAdmin. |
getWorkspaceCompilationOverrides()
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];
Returns | |
---|---|
Type | Description |
Repository.WorkspaceCompilationOverrides |
The workspaceCompilationOverrides. |
getWorkspaceCompilationOverridesBuilder()
public Repository.WorkspaceCompilationOverrides.Builder getWorkspaceCompilationOverridesBuilder()
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 |
Repository.WorkspaceCompilationOverrides.Builder |
getWorkspaceCompilationOverridesOrBuilder()
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];
Returns | |
---|---|
Type | Description |
Repository.WorkspaceCompilationOverridesOrBuilder |
hasCreateTime()
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. |
hasDataEncryptionState()
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. |
hasGitRemoteSettings()
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. |
hasInternalMetadata()
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. |
hasWorkspaceCompilationOverrides()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Repository.Builder mergeCreateTime(Timestamp value)
Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Repository.Builder |
mergeDataEncryptionState(DataEncryptionState value)
public Repository.Builder mergeDataEncryptionState(DataEncryptionState value)
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];
Parameter | |
---|---|
Name | Description |
value |
DataEncryptionState |
Returns | |
---|---|
Type | Description |
Repository.Builder |
mergeFrom(Repository other)
public Repository.Builder mergeFrom(Repository other)
Parameter | |
---|---|
Name | Description |
other |
Repository |
Returns | |
---|---|
Type | Description |
Repository.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Repository.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Repository.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Repository.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Repository.Builder |
mergeGitRemoteSettings(Repository.GitRemoteSettings value)
public Repository.Builder mergeGitRemoteSettings(Repository.GitRemoteSettings value)
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];
Parameter | |
---|---|
Name | Description |
value |
Repository.GitRemoteSettings |
Returns | |
---|---|
Type | Description |
Repository.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Repository.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Repository.Builder |
mergeWorkspaceCompilationOverrides(Repository.WorkspaceCompilationOverrides value)
public Repository.Builder mergeWorkspaceCompilationOverrides(Repository.WorkspaceCompilationOverrides value)
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];
Parameter | |
---|---|
Name | Description |
value |
Repository.WorkspaceCompilationOverrides |
Returns | |
---|---|
Type | Description |
Repository.Builder |
putAllLabels(Map<String,String> values)
public Repository.Builder putAllLabels(Map<String,String> values)
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Repository.Builder |
putLabels(String key, String value)
public Repository.Builder putLabels(String key, String value)
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
Repository.Builder |
removeLabels(String key)
public Repository.Builder removeLabels(String key)
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setCreateTime(Timestamp value)
public Repository.Builder setCreateTime(Timestamp value)
Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Repository.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setDataEncryptionState(DataEncryptionState value)
public Repository.Builder setDataEncryptionState(DataEncryptionState value)
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];
Parameter | |
---|---|
Name | Description |
value |
DataEncryptionState |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setDataEncryptionState(DataEncryptionState.Builder builderForValue)
public Repository.Builder setDataEncryptionState(DataEncryptionState.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
DataEncryptionState.Builder |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setDisplayName(String value)
public Repository.Builder setDisplayName(String value)
Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Repository.Builder setDisplayNameBytes(ByteString value)
Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Repository.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setGitRemoteSettings(Repository.GitRemoteSettings value)
public Repository.Builder setGitRemoteSettings(Repository.GitRemoteSettings value)
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];
Parameter | |
---|---|
Name | Description |
value |
Repository.GitRemoteSettings |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setGitRemoteSettings(Repository.GitRemoteSettings.Builder builderForValue)
public Repository.Builder setGitRemoteSettings(Repository.GitRemoteSettings.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Repository.GitRemoteSettings.Builder |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setInternalMetadata(String value)
public Repository.Builder setInternalMetadata(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The internalMetadata to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setInternalMetadataBytes(ByteString value)
public Repository.Builder setInternalMetadataBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for internalMetadata to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setKmsKeyName(String value)
public Repository.Builder setKmsKeyName(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The kmsKeyName to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setKmsKeyNameBytes(ByteString value)
public Repository.Builder setKmsKeyNameBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kmsKeyName to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setName(String value)
public Repository.Builder setName(String value)
Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Repository.Builder setNameBytes(ByteString value)
Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setNpmrcEnvironmentVariablesSecretVersion(String value)
public Repository.Builder setNpmrcEnvironmentVariablesSecretVersion(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The npmrcEnvironmentVariablesSecretVersion to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setNpmrcEnvironmentVariablesSecretVersionBytes(ByteString value)
public Repository.Builder setNpmrcEnvironmentVariablesSecretVersionBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for npmrcEnvironmentVariablesSecretVersion to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Repository.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setServiceAccount(String value)
public Repository.Builder setServiceAccount(String value)
Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The serviceAccount to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setServiceAccountBytes(ByteString value)
public Repository.Builder setServiceAccountBytes(ByteString value)
Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for serviceAccount to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setSetAuthenticatedUserAdmin(boolean value)
public Repository.Builder setSetAuthenticatedUserAdmin(boolean value)
Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository. To modify access to the created repository later apply setIamPolicy from https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories
bool set_authenticated_user_admin = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The setAuthenticatedUserAdmin to set. |
Returns | |
---|---|
Type | Description |
Repository.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Repository.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setWorkspaceCompilationOverrides(Repository.WorkspaceCompilationOverrides value)
public Repository.Builder setWorkspaceCompilationOverrides(Repository.WorkspaceCompilationOverrides value)
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];
Parameter | |
---|---|
Name | Description |
value |
Repository.WorkspaceCompilationOverrides |
Returns | |
---|---|
Type | Description |
Repository.Builder |
setWorkspaceCompilationOverrides(Repository.WorkspaceCompilationOverrides.Builder builderForValue)
public Repository.Builder setWorkspaceCompilationOverrides(Repository.WorkspaceCompilationOverrides.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Repository.WorkspaceCompilationOverrides.Builder |
Returns | |
---|---|
Type | Description |
Repository.Builder |