Interface CommitRepositoryChangesRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CommitRepositoryChangesRequest, CommitRepositoryChangesRequest.Builder

@Generated public interface CommitRepositoryChangesRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Required. The repository's name.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The repository's name.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • hasCommitMetadata

      boolean hasCommitMetadata()
       Required. The changes to commit to the repository.
       
      .google.cloud.dataform.v1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the commitMetadata field is set.
    • getCommitMetadata

      CommitMetadata getCommitMetadata()
       Required. The changes to commit to the repository.
       
      .google.cloud.dataform.v1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The commitMetadata.
    • getCommitMetadataOrBuilder

      CommitMetadataOrBuilder getCommitMetadataOrBuilder()
       Required. The changes to commit to the repository.
       
      .google.cloud.dataform.v1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
    • getRequiredHeadCommitSha

      String getRequiredHeadCommitSha()
       Optional. The commit SHA which must be the repository's current HEAD before
       applying this commit; otherwise this request will fail. If unset, no
       validation on the current HEAD commit SHA is performed.
       
      string required_head_commit_sha = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The requiredHeadCommitSha.
    • getRequiredHeadCommitShaBytes

      com.google.protobuf.ByteString getRequiredHeadCommitShaBytes()
       Optional. The commit SHA which must be the repository's current HEAD before
       applying this commit; otherwise this request will fail. If unset, no
       validation on the current HEAD commit SHA is performed.
       
      string required_head_commit_sha = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for requiredHeadCommitSha.
    • getFileOperationsCount

      int getFileOperationsCount()
       Optional. A map to the path of the file to the operation. The path is the
       full file path including filename, from repository root.
       
      map<string, .google.cloud.dataform.v1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
    • containsFileOperations

      boolean containsFileOperations(String key)
       Optional. A map to the path of the file to the operation. The path is the
       full file path including filename, from repository root.
       
      map<string, .google.cloud.dataform.v1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getFileOperations

      Deprecated.
    • getFileOperationsMap

       Optional. A map to the path of the file to the operation. The path is the
       full file path including filename, from repository root.
       
      map<string, .google.cloud.dataform.v1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getFileOperationsOrDefault

       Optional. A map to the path of the file to the operation. The path is the
       full file path including filename, from repository root.
       
      map<string, .google.cloud.dataform.v1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getFileOperationsOrThrow

       Optional. A map to the path of the file to the operation. The path is the
       full file path including filename, from repository root.
       
      map<string, .google.cloud.dataform.v1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];