- 0.84.0 (latest)
- 0.82.0
- 0.81.0
- 0.80.0
- 0.79.0
- 0.77.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.72.0
- 0.71.0
- 0.69.0
- 0.67.0
- 0.66.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
public static final class CommitRepositoryChangesRequest.Builder extends GeneratedMessage.Builder<CommitRepositoryChangesRequest.Builder> implements CommitRepositoryChangesRequestOrBuilder CommitRepositoryChanges request message.
Protobuf type google.cloud.dataform.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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. |