Class CommitRepositoryChangesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CommitRepositoryChangesRequest.Builder>
com.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.Builder
- All Implemented Interfaces:
CommitRepositoryChangesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CommitRepositoryChangesRequest
public static final class CommitRepositoryChangesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CommitRepositoryChangesRequest.Builder>
implements CommitRepositoryChangesRequestOrBuilder
`CommitRepositoryChanges` request message.Protobuf type
google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.Required.Optional.booleanOptional.Required.Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intOptional.Optional.getFileOperationsOrDefault(String key, CommitRepositoryChangesRequest.FileOperation defaultValue) Optional.Optional.Deprecated.getName()Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanRequired.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.Optional.Optional.setCommitMetadata(CommitMetadata value) Required.setCommitMetadata(CommitMetadata.Builder builderForValue) Required.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setRequiredHeadCommitSha(String value) Optional.setRequiredHeadCommitShaBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CommitRepositoryChangesRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<CommitRepositoryChangesRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CommitRepositoryChangesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CommitRepositoryChangesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CommitRepositoryChangesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommitRepositoryChangesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CommitRepositoryChangesRequest.Builder>
-
mergeFrom
public CommitRepositoryChangesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CommitRepositoryChangesRequest.Builder>- Throws:
IOException
-
getName
Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceCommitRepositoryChangesRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceCommitRepositoryChangesRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
Required. The repository's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasCommitMetadatain interfaceCommitRepositoryChangesRequestOrBuilder- Returns:
- Whether the commitMetadata field is set.
-
getCommitMetadata
Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCommitMetadatain interfaceCommitRepositoryChangesRequestOrBuilder- Returns:
- The commitMetadata.
-
setCommitMetadata
Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED]; -
setCommitMetadata
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]; -
mergeCommitMetadata
Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearCommitMetadata
Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED]; -
getCommitMetadataBuilder
Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED]; -
getCommitMetadataOrBuilder
Required. The changes to commit to the repository.
.google.cloud.dataform.v1beta1.CommitMetadata commit_metadata = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCommitMetadataOrBuilderin interfaceCommitRepositoryChangesRequestOrBuilder
-
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];- Specified by:
getRequiredHeadCommitShain interfaceCommitRepositoryChangesRequestOrBuilder- Returns:
- The requiredHeadCommitSha.
-
getRequiredHeadCommitShaBytes
public 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];- Specified by:
getRequiredHeadCommitShaBytesin interfaceCommitRepositoryChangesRequestOrBuilder- Returns:
- The bytes for requiredHeadCommitSha.
-
setRequiredHeadCommitSha
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];- Parameters:
value- The requiredHeadCommitSha to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setRequiredHeadCommitShaBytes
public CommitRepositoryChangesRequest.Builder setRequiredHeadCommitShaBytes(com.google.protobuf.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];- Parameters:
value- The bytes for requiredHeadCommitSha to set.- Returns:
- This builder for chaining.
-
getFileOperationsCount
public int getFileOperationsCount()Description copied from interface:CommitRepositoryChangesRequestOrBuilderOptional. 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];- Specified by:
getFileOperationsCountin interfaceCommitRepositoryChangesRequestOrBuilder
-
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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsFileOperationsin interfaceCommitRepositoryChangesRequestOrBuilder
-
getFileOperations
Deprecated.UsegetFileOperationsMap()instead.- Specified by:
getFileOperationsin interfaceCommitRepositoryChangesRequestOrBuilder
-
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];- Specified by:
getFileOperationsMapin interfaceCommitRepositoryChangesRequestOrBuilder
-
getFileOperationsOrDefault
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];- Specified by:
getFileOperationsOrDefaultin interfaceCommitRepositoryChangesRequestOrBuilder
-
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.v1beta1.CommitRepositoryChangesRequest.FileOperation> file_operations = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFileOperationsOrThrowin interfaceCommitRepositoryChangesRequestOrBuilder
-
clearFileOperations
-
removeFileOperations
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]; -
getMutableFileOperations
@Deprecated public Map<String,CommitRepositoryChangesRequest.FileOperation> getMutableFileOperations()Deprecated.Use alternate mutation accessors instead. -
putFileOperations
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]; -
putAllFileOperations
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]; -
putFileOperationsBuilderIfAbsent
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];
-