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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
    • clear

      public Repository.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Repository.Builder>
    • getDefaultInstanceForType

      public Repository getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Repository build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Repository buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Repository.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Repository.Builder>
    • mergeFrom

      public Repository.Builder mergeFrom(Repository other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Repository.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The repository's name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface RepositoryOrBuilder
      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:
      getNameBytes in interface RepositoryOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Repository.Builder setName(String value)
       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

      public Repository.Builder clearName()
       Identifier. The repository's name.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Repository.Builder setNameBytes(com.google.protobuf.ByteString value)
       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:
      hasContainingFolder in interface RepositoryOrBuilder
      Returns:
      Whether the containingFolder field is set.
    • getContainingFolder

      public String 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:
      getContainingFolder in interface RepositoryOrBuilder
      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:
      getContainingFolderBytes in interface RepositoryOrBuilder
      Returns:
      The bytes for containingFolder.
    • setContainingFolder

      public Repository.Builder setContainingFolder(String value)
       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

      public Repository.Builder 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

      public Repository.Builder setContainingFolderBytes(com.google.protobuf.ByteString value)
       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:
      hasTeamFolderName in interface RepositoryOrBuilder
      Returns:
      Whether the teamFolderName field is set.
    • getTeamFolderName

      public String 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:
      getTeamFolderName in interface RepositoryOrBuilder
      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:
      getTeamFolderNameBytes in interface RepositoryOrBuilder
      Returns:
      The bytes for teamFolderName.
    • setTeamFolderName

      public Repository.Builder setTeamFolderName(String value)
       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

      public Repository.Builder 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

      public Repository.Builder setTeamFolderNameBytes(com.google.protobuf.ByteString value)
       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:
      hasCreateTime in interface RepositoryOrBuilder
      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:
      getCreateTime in interface RepositoryOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Repository.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of when the repository was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Repository.Builder setCreateTime(com.google.protobuf.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];
    • mergeCreateTime

      public Repository.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The timestamp of when the repository was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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];
    • 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:
      getCreateTimeOrBuilder in interface RepositoryOrBuilder
    • getDisplayName

      public String getDisplayName()
       Optional. The repository's user-friendly name.
       
      string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayName in interface RepositoryOrBuilder
      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:
      getDisplayNameBytes in interface RepositoryOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Repository.Builder setDisplayName(String value)
       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

      public Repository.Builder clearDisplayName()
       Optional. The repository's user-friendly name.
       
      string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Repository.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       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:
      hasGitRemoteSettings in interface RepositoryOrBuilder
      Returns:
      Whether the gitRemoteSettings field is set.
    • getGitRemoteSettings

      public Repository.GitRemoteSettings 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:
      getGitRemoteSettings in interface RepositoryOrBuilder
      Returns:
      The gitRemoteSettings.
    • setGitRemoteSettings

      public Repository.Builder setGitRemoteSettings(Repository.GitRemoteSettings value)
       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

      public Repository.Builder mergeGitRemoteSettings(Repository.GitRemoteSettings value)
       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

      public Repository.Builder 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

      public Repository.GitRemoteSettings.Builder 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

      public Repository.GitRemoteSettingsOrBuilder 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:
      getGitRemoteSettingsOrBuilder in interface RepositoryOrBuilder
    • 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) = { ... }
      Specified by:
      getNpmrcEnvironmentVariablesSecretVersion in interface RepositoryOrBuilder
      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:
      getNpmrcEnvironmentVariablesSecretVersionBytes in interface RepositoryOrBuilder
      Returns:
      The bytes for npmrcEnvironmentVariablesSecretVersion.
    • setNpmrcEnvironmentVariablesSecretVersion

      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) = { ... }
      Parameters:
      value - The npmrcEnvironmentVariablesSecretVersion to set.
      Returns:
      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:
      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:
      hasWorkspaceCompilationOverrides in interface RepositoryOrBuilder
      Returns:
      Whether the workspaceCompilationOverrides field is set.
    • 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.v1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getWorkspaceCompilationOverrides in interface RepositoryOrBuilder
      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

      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.v1.Repository.WorkspaceCompilationOverrides workspace_compilation_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
    • 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.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:
      getWorkspaceCompilationOverridesOrBuilder in interface RepositoryOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: RepositoryOrBuilder
       Optional. Repository user labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface RepositoryOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Repository user labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface RepositoryOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface RepositoryOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Repository user labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface RepositoryOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Repository user labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface RepositoryOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Repository user labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface RepositoryOrBuilder
    • clearLabels

      public Repository.Builder clearLabels()
    • removeLabels

      public Repository.Builder removeLabels(String key)
       Optional. Repository user labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Repository.Builder putLabels(String key, String value)
       Optional. Repository user labels.
       
      map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public Repository.Builder putAllLabels(Map<String,String> values)
       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:
      getSetAuthenticatedUserAdmin in interface RepositoryOrBuilder
      Returns:
      The setAuthenticatedUserAdmin.
    • setSetAuthenticatedUserAdmin

      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.
       
      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

      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.
       
      bool set_authenticated_user_admin = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
      Returns:
      This builder for chaining.
    • getServiceAccount

      public String getServiceAccount()
       Optional. The service account to run workflow invocations under.
       
      string service_account = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getServiceAccount in interface RepositoryOrBuilder
      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:
      getServiceAccountBytes in interface RepositoryOrBuilder
      Returns:
      The bytes for serviceAccount.
    • setServiceAccount

      public Repository.Builder setServiceAccount(String value)
       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

      public Repository.Builder 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

      public Repository.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
       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

      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) = { ... }
      Specified by:
      getKmsKeyName in interface RepositoryOrBuilder
      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:
      getKmsKeyNameBytes in interface RepositoryOrBuilder
      Returns:
      The bytes for kmsKeyName.
    • setKmsKeyName

      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) = { ... }
      Parameters:
      value - The kmsKeyName to set.
      Returns:
      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:
      This builder for chaining.
    • setKmsKeyNameBytes

      public Repository.Builder setKmsKeyNameBytes(com.google.protobuf.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) = { ... }
      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:
      hasDataEncryptionState in interface RepositoryOrBuilder
      Returns:
      Whether the dataEncryptionState field is set.
    • 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.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataEncryptionState in interface RepositoryOrBuilder
      Returns:
      The dataEncryptionState.
    • setDataEncryptionState

      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.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDataEncryptionState

      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.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeDataEncryptionState

      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.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.v1.DataEncryptionState data_encryption_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataEncryptionStateOrBuilder in interface RepositoryOrBuilder
    • 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:
      hasInternalMetadata in interface RepositoryOrBuilder
      Returns:
      Whether the internalMetadata field is set.
    • 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];
      Specified by:
      getInternalMetadata in interface RepositoryOrBuilder
      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:
      getInternalMetadataBytes in interface RepositoryOrBuilder
      Returns:
      The bytes for internalMetadata.
    • setInternalMetadata

      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];
      Parameters:
      value - The internalMetadata to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setInternalMetadataBytes

      public Repository.Builder setInternalMetadataBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for internalMetadata to set.
      Returns:
      This builder for chaining.