Interface CommitRepositoryChangesRequestOrBuilder (0.45.0)

public interface CommitRepositoryChangesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsFileOperations(String key)

public abstract boolean containsFileOperations(String key)

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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3;

Parameter
Name Description
key String
Returns
Type Description
boolean

getCommitMetadata()

public abstract CommitMetadata getCommitMetadata()

Required. The changes to commit to the repository.

.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CommitMetadata

The commitMetadata.

getCommitMetadataOrBuilder()

public abstract CommitMetadataOrBuilder getCommitMetadataOrBuilder()

Required. The changes to commit to the repository.

.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CommitMetadataOrBuilder

getFileOperations() (deprecated)

public abstract Map<String,CommitRepositoryChangesRequest.FileOperation> getFileOperations()
Returns
Type Description
Map<String,FileOperation>

getFileOperationsCount()

public abstract int getFileOperationsCount()

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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3;

Returns
Type Description
int

getFileOperationsMap()

public abstract Map<String,CommitRepositoryChangesRequest.FileOperation> getFileOperationsMap()

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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3;

Returns
Type Description
Map<String,FileOperation>

getFileOperationsOrDefault(String key, CommitRepositoryChangesRequest.FileOperation defaultValue)

public abstract CommitRepositoryChangesRequest.FileOperation getFileOperationsOrDefault(String key, CommitRepositoryChangesRequest.FileOperation defaultValue)

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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3;

Parameters
Name Description
key String
defaultValue CommitRepositoryChangesRequest.FileOperation
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation

getFileOperationsOrThrow(String key)

public abstract CommitRepositoryChangesRequest.FileOperation getFileOperationsOrThrow(String key)

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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3;

Parameter
Name Description
key String
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation

getName()

public abstract String getName()

Required. The repository's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The repository's name.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getRequiredHeadCommitSha()

public abstract 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
Type Description
String

The requiredHeadCommitSha.

getRequiredHeadCommitShaBytes()

public abstract 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
Type Description
ByteString

The bytes for requiredHeadCommitSha.

hasCommitMetadata()

public abstract boolean hasCommitMetadata()

Required. The changes to commit to the repository.

.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the commitMetadata field is set.