Package com.google.cloud.dataform.v1
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 Summary
Modifier and TypeMethodDescriptionbooleanOptional.Required.Required.Deprecated.intOptional.Optional.getFileOperationsOrDefault(String key, CommitRepositoryChangesRequest.FileOperation defaultValue) Optional.Optional.getName()Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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.UsegetFileOperationsMap()instead. -
getFileOperationsMap
Map<String,CommitRepositoryChangesRequest.FileOperation> 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
CommitRepositoryChangesRequest.FileOperation getFileOperationsOrDefault(String key, CommitRepositoryChangesRequest.FileOperation defaultValue) 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];
-