public static final class CommitRepositoryChangesRequest.Builder extends GeneratedMessage.Builder<CommitRepositoryChangesRequest.Builder> implements CommitRepositoryChangesRequestOrBuilder CommitRepositoryChanges request message.
Protobuf type google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CommitRepositoryChangesRequest.BuilderImplements
CommitRepositoryChangesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CommitRepositoryChangesRequest build()| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest |
|
buildPartial()
public CommitRepositoryChangesRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest |
|
clear()
public CommitRepositoryChangesRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
clearCommitMetadata()
public CommitRepositoryChangesRequest.Builder clearCommitMetadata()Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
clearFileOperations()
public CommitRepositoryChangesRequest.Builder clearFileOperations()| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
clearName()
public CommitRepositoryChangesRequest.Builder clearName()Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
This builder for chaining. |
clearRequiredHeadCommitSha()
public CommitRepositoryChangesRequest.Builder clearRequiredHeadCommitSha()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 |
CommitRepositoryChangesRequest.Builder |
This builder for chaining. |
containsFileOperations(String key)
public 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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCommitMetadata()
public 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. |
getCommitMetadataBuilder()
public CommitMetadata.Builder getCommitMetadataBuilder()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.Builder |
|
getCommitMetadataOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public CommitRepositoryChangesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFileOperations() (deprecated)
public Map<String,CommitRepositoryChangesRequest.FileOperation> getFileOperations()Use #getFileOperationsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,FileOperation> |
|
getFileOperationsCount()
public 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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getFileOperationsMap()
public 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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,FileOperation> |
|
getFileOperationsOrDefault(String key, CommitRepositoryChangesRequest.FileOperation defaultValue)
public 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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
CommitRepositoryChangesRequest.FileOperation |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.FileOperation |
|
getFileOperationsOrThrow(String key)
public CommitRepositoryChangesRequest.FileOperation getFileOperationsOrThrow(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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.FileOperation |
|
getMutableFileOperations() (deprecated)
public Map<String,CommitRepositoryChangesRequest.FileOperation> getMutableFileOperations()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,FileOperation> |
|
getName()
public 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCommitMetadata(CommitMetadata value)
public CommitRepositoryChangesRequest.Builder mergeCommitMetadata(CommitMetadata value)Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CommitMetadata |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
mergeFrom(CommitRepositoryChangesRequest other)
public CommitRepositoryChangesRequest.Builder mergeFrom(CommitRepositoryChangesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CommitRepositoryChangesRequest |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CommitRepositoryChangesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CommitRepositoryChangesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
putAllFileOperations(Map<String,CommitRepositoryChangesRequest.FileOperation> values)
public CommitRepositoryChangesRequest.Builder putAllFileOperations(Map<String,CommitRepositoryChangesRequest.FileOperation> values)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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,FileOperation> |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
putFileOperations(String key, CommitRepositoryChangesRequest.FileOperation value)
public CommitRepositoryChangesRequest.Builder putFileOperations(String key, CommitRepositoryChangesRequest.FileOperation value)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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
CommitRepositoryChangesRequest.FileOperation |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
putFileOperationsBuilderIfAbsent(String key)
public CommitRepositoryChangesRequest.FileOperation.Builder putFileOperationsBuilderIfAbsent(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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.FileOperation.Builder |
|
removeFileOperations(String key)
public CommitRepositoryChangesRequest.Builder removeFileOperations(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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
setCommitMetadata(CommitMetadata value)
public CommitRepositoryChangesRequest.Builder setCommitMetadata(CommitMetadata value)Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CommitMetadata |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
setCommitMetadata(CommitMetadata.Builder builderForValue)
public CommitRepositoryChangesRequest.Builder setCommitMetadata(CommitMetadata.Builder builderForValue)Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CommitMetadata.Builder |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
|
setName(String value)
public CommitRepositoryChangesRequest.Builder setName(String value)Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public CommitRepositoryChangesRequest.Builder setNameBytes(ByteString value)Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
This builder for chaining. |
setRequiredHeadCommitSha(String value)
public CommitRepositoryChangesRequest.Builder setRequiredHeadCommitSha(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requiredHeadCommitSha to set. |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
This builder for chaining. |
setRequiredHeadCommitShaBytes(ByteString value)
public CommitRepositoryChangesRequest.Builder setRequiredHeadCommitShaBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requiredHeadCommitSha to set. |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesRequest.Builder |
This builder for chaining. |