Package com.google.cloud.dataform.v1
Class Repository.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
com.google.cloud.dataform.v1.Repository.Builder
- All Implemented Interfaces:
RepositoryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Repository
public static final class Repository.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
implements RepositoryOrBuilder
Represents a Dataform Git repository.Protobuf type
google.cloud.dataform.v1.Repository-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Output only.Output only.Optional.Optional.Output only.Optional.Identifier.Optional.Optional.Optional.Output only.Optional.booleancontainsLabels(String key) Optional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Optional.Optional.Optional.Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.Output only.com.google.protobuf.ByteStringOutput only.Optional.Optional.Optional.booleanOptional.booleanOutput only.booleanOutput only.booleanOptional.booleanOutput only.booleanOutput only.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.Output only.mergeFrom(Repository other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.putAllLabels(Map<String, String> values) Optional.Optional.removeLabels(String key) Optional.setContainingFolder(String value) Optional.setContainingFolderBytes(com.google.protobuf.ByteString value) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setDataEncryptionState(DataEncryptionState.Builder builderForValue) Output only.setDisplayName(String value) Optional.setDisplayNameBytes(com.google.protobuf.ByteString value) Optional.Optional.setGitRemoteSettings(Repository.GitRemoteSettings.Builder builderForValue) Optional.setInternalMetadata(String value) Output only.setInternalMetadataBytes(com.google.protobuf.ByteString value) Output only.setKmsKeyName(String value) Optional.setKmsKeyNameBytes(com.google.protobuf.ByteString value) Optional.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.Optional.setNpmrcEnvironmentVariablesSecretVersionBytes(com.google.protobuf.ByteString value) Optional.setServiceAccount(String value) Optional.setServiceAccountBytes(com.google.protobuf.ByteString value) Optional.setSetAuthenticatedUserAdmin(boolean value) Optional.setTeamFolderName(String value) Output only.setTeamFolderNameBytes(com.google.protobuf.ByteString value) Output only.Optional.Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Repository.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
-
mergeFrom
public Repository.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Repository.Builder>- Throws:
IOException
-
getName
Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceRepositoryOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for name.
-
setName
Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- This builder for chaining.
-
setNameBytes
Identifier. The repository's name.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasContainingFolder
public boolean hasContainingFolder()Optional. The name of the containing folder of the repository. The field is immutable and it can be modified via a MoveRepository operation. Format: `projects/*/locations/*/folders/*`. or `projects/*/locations/*/teamFolders/*`.
optional string containing_folder = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasContainingFolderin interfaceRepositoryOrBuilder- Returns:
- Whether the containingFolder field is set.
-
getContainingFolder
Optional. The name of the containing folder of the repository. The field is immutable and it can be modified via a MoveRepository operation. Format: `projects/*/locations/*/folders/*`. or `projects/*/locations/*/teamFolders/*`.
optional string containing_folder = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContainingFolderin interfaceRepositoryOrBuilder- Returns:
- The containingFolder.
-
getContainingFolderBytes
public com.google.protobuf.ByteString getContainingFolderBytes()Optional. The name of the containing folder of the repository. The field is immutable and it can be modified via a MoveRepository operation. Format: `projects/*/locations/*/folders/*`. or `projects/*/locations/*/teamFolders/*`.
optional string containing_folder = 16 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContainingFolderBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for containingFolder.
-
setContainingFolder
Optional. The name of the containing folder of the repository. The field is immutable and it can be modified via a MoveRepository operation. Format: `projects/*/locations/*/folders/*`. or `projects/*/locations/*/teamFolders/*`.
optional string containing_folder = 16 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The containingFolder to set.- Returns:
- This builder for chaining.
-
clearContainingFolder
Optional. The name of the containing folder of the repository. The field is immutable and it can be modified via a MoveRepository operation. Format: `projects/*/locations/*/folders/*`. or `projects/*/locations/*/teamFolders/*`.
optional string containing_folder = 16 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setContainingFolderBytes
Optional. The name of the containing folder of the repository. The field is immutable and it can be modified via a MoveRepository operation. Format: `projects/*/locations/*/folders/*`. or `projects/*/locations/*/teamFolders/*`.
optional string containing_folder = 16 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for containingFolder to set.- Returns:
- This builder for chaining.
-
hasTeamFolderName
public boolean hasTeamFolderName()Output only. The resource name of the TeamFolder that this Repository is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Repository is not associated with a TeamFolder.optional string team_folder_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTeamFolderNamein interfaceRepositoryOrBuilder- Returns:
- Whether the teamFolderName field is set.
-
getTeamFolderName
Output only. The resource name of the TeamFolder that this Repository is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Repository is not associated with a TeamFolder.optional string team_folder_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTeamFolderNamein interfaceRepositoryOrBuilder- Returns:
- The teamFolderName.
-
getTeamFolderNameBytes
public com.google.protobuf.ByteString getTeamFolderNameBytes()Output only. The resource name of the TeamFolder that this Repository is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Repository is not associated with a TeamFolder.optional string team_folder_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTeamFolderNameBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for teamFolderName.
-
setTeamFolderName
Output only. The resource name of the TeamFolder that this Repository is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Repository is not associated with a TeamFolder.optional string team_folder_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The teamFolderName to set.- Returns:
- This builder for chaining.
-
clearTeamFolderName
Output only. The resource name of the TeamFolder that this Repository is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Repository is not associated with a TeamFolder.optional string team_folder_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setTeamFolderNameBytes
Output only. The resource name of the TeamFolder that this Repository is associated with. This should take the format: projects/{project}/locations/{location}/teamFolders/{teamFolder}. If this is not set, the Repository is not associated with a TeamFolder.optional string team_folder_name = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for teamFolderName to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasCreateTimein interfaceRepositoryOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceRepositoryOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.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]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp of when the repository was created.
.google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceRepositoryOrBuilder
-
getDisplayName
Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNamein interfaceRepositoryOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDisplayNameBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Optional. The repository's user-friendly name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasGitRemoteSettings
public boolean hasGitRemoteSettings()Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGitRemoteSettingsin interfaceRepositoryOrBuilder- Returns:
- Whether the gitRemoteSettings field is set.
-
getGitRemoteSettings
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGitRemoteSettingsin interfaceRepositoryOrBuilder- Returns:
- The gitRemoteSettings.
-
setGitRemoteSettings
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setGitRemoteSettings
public Repository.Builder setGitRemoteSettings(Repository.GitRemoteSettings.Builder builderForValue) Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergeGitRemoteSettings
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearGitRemoteSettings
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getGitRemoteSettingsBuilder
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getGitRemoteSettingsOrBuilder
Optional. If set, configures this repository to be linked to a Git remote.
.google.cloud.dataform.v1.Repository.GitRemoteSettings git_remote_settings = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGitRemoteSettingsOrBuilderin interfaceRepositoryOrBuilder
-
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) = { ... }- Specified by:
getNpmrcEnvironmentVariablesSecretVersionin interfaceRepositoryOrBuilder- Returns:
- The npmrcEnvironmentVariablesSecretVersion.
-
getNpmrcEnvironmentVariablesSecretVersionBytes
public com.google.protobuf.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) = { ... }- Specified by:
getNpmrcEnvironmentVariablesSecretVersionBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for npmrcEnvironmentVariablesSecretVersion.
-
setNpmrcEnvironmentVariablesSecretVersion
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) = { ... }- Parameters:
value- The npmrcEnvironmentVariablesSecretVersion to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNpmrcEnvironmentVariablesSecretVersionBytes
public Repository.Builder setNpmrcEnvironmentVariablesSecretVersionBytes(com.google.protobuf.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) = { ... }- Parameters:
value- The bytes for npmrcEnvironmentVariablesSecretVersion to set.- Returns:
- This builder for chaining.
-
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.v1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasWorkspaceCompilationOverridesin interfaceRepositoryOrBuilder- Returns:
- Whether the workspaceCompilationOverrides field is set.
-
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.v1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWorkspaceCompilationOverridesin interfaceRepositoryOrBuilder- Returns:
- The workspaceCompilationOverrides.
-
setWorkspaceCompilationOverrides
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.v1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setWorkspaceCompilationOverrides
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.v1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeWorkspaceCompilationOverrides
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.v1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL]; -
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.v1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL]; -
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.v1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL]; -
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.v1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getWorkspaceCompilationOverridesOrBuilderin interfaceRepositoryOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:RepositoryOrBuilderOptional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceRepositoryOrBuilder
-
containsLabels
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceRepositoryOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceRepositoryOrBuilder
-
getLabelsMap
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceRepositoryOrBuilder
-
getLabelsOrDefault
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceRepositoryOrBuilder
-
getLabelsOrThrow
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceRepositoryOrBuilder
-
clearLabels
-
removeLabels
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
putAllLabels
Optional. Repository user labels.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
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.
bool set_authenticated_user_admin = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getSetAuthenticatedUserAdminin interfaceRepositoryOrBuilder- Returns:
- The setAuthenticatedUserAdmin.
-
setSetAuthenticatedUserAdmin
Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository.
bool set_authenticated_user_admin = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];- Parameters:
value- The setAuthenticatedUserAdmin to set.- Returns:
- This builder for chaining.
-
clearSetAuthenticatedUserAdmin
Optional. Input only. If set to true, the authenticated user will be granted the roles/dataform.admin role on the created repository.
bool set_authenticated_user_admin = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];- Returns:
- This builder for chaining.
-
getServiceAccount
Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getServiceAccountin interfaceRepositoryOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getServiceAccountBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setServiceAccountBytes
Optional. The service account to run workflow invocations under.
string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getKmsKeyNamein interfaceRepositoryOrBuilder- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public com.google.protobuf.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) = { ... }- Specified by:
getKmsKeyNameBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for kmsKeyName.
-
setKmsKeyName
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) = { ... }- Parameters:
value- The kmsKeyName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setKmsKeyNameBytes
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) = { ... }- Parameters:
value- The bytes for kmsKeyName to set.- Returns:
- This builder for chaining.
-
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.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDataEncryptionStatein interfaceRepositoryOrBuilder- Returns:
- Whether the dataEncryptionState field is set.
-
getDataEncryptionState
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
.google.cloud.dataform.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDataEncryptionStatein interfaceRepositoryOrBuilder- Returns:
- The dataEncryptionState.
-
setDataEncryptionState
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
.google.cloud.dataform.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDataEncryptionState
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
.google.cloud.dataform.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDataEncryptionState
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
.google.cloud.dataform.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDataEncryptionState
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
.google.cloud.dataform.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDataEncryptionStateBuilder
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
.google.cloud.dataform.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDataEncryptionStateOrBuilder
Output only. A data encryption state of a Git repository if this Repository is protected by a KMS key.
.google.cloud.dataform.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDataEncryptionStateOrBuilderin interfaceRepositoryOrBuilder
-
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];- Specified by:
hasInternalMetadatain interfaceRepositoryOrBuilder- Returns:
- Whether the internalMetadata field is set.
-
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];- Specified by:
getInternalMetadatain interfaceRepositoryOrBuilder- Returns:
- The internalMetadata.
-
getInternalMetadataBytes
public com.google.protobuf.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];- Specified by:
getInternalMetadataBytesin interfaceRepositoryOrBuilder- Returns:
- The bytes for internalMetadata.
-
setInternalMetadata
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];- Parameters:
value- The internalMetadata to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setInternalMetadataBytes
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];- Parameters:
value- The bytes for internalMetadata to set.- Returns:
- This builder for chaining.
-