public static final class CommitRepositoryChangesRequest.FileOperation.Builder extends GeneratedMessageV3.Builder<CommitRepositoryChangesRequest.FileOperation.Builder> implements CommitRepositoryChangesRequest.FileOperationOrBuilder
Represents a single file operation to the repository.
Protobuf type
google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public CommitRepositoryChangesRequest.FileOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CommitRepositoryChangesRequest.FileOperation build()
public CommitRepositoryChangesRequest.FileOperation buildPartial()
public CommitRepositoryChangesRequest.FileOperation.Builder clear()
Overrides
public CommitRepositoryChangesRequest.FileOperation.Builder clearDeleteFile()
Represents the delete operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;
public CommitRepositoryChangesRequest.FileOperation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CommitRepositoryChangesRequest.FileOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public CommitRepositoryChangesRequest.FileOperation.Builder clearOperation()
public CommitRepositoryChangesRequest.FileOperation.Builder clearWriteFile()
Represents the write operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;
public CommitRepositoryChangesRequest.FileOperation.Builder clone()
Overrides
public CommitRepositoryChangesRequest.FileOperation getDefaultInstanceForType()
public CommitRepositoryChangesRequest.FileOperation.DeleteFile getDeleteFile()
Represents the delete operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;
public CommitRepositoryChangesRequest.FileOperation.DeleteFile.Builder getDeleteFileBuilder()
Represents the delete operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;
public CommitRepositoryChangesRequest.FileOperation.DeleteFileOrBuilder getDeleteFileOrBuilder()
Represents the delete operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;
public Descriptors.Descriptor getDescriptorForType()
Overrides
public CommitRepositoryChangesRequest.FileOperation.OperationCase getOperationCase()
public CommitRepositoryChangesRequest.FileOperation.WriteFile getWriteFile()
Represents the write operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;
public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder getWriteFileBuilder()
Represents the write operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;
public CommitRepositoryChangesRequest.FileOperation.WriteFileOrBuilder getWriteFileOrBuilder()
Represents the write operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;
public boolean hasDeleteFile()
Represents the delete operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;
Returns |
Type |
Description |
boolean |
Whether the deleteFile field is set.
|
public boolean hasWriteFile()
Represents the write operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;
Returns |
Type |
Description |
boolean |
Whether the writeFile field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CommitRepositoryChangesRequest.FileOperation.Builder mergeDeleteFile(CommitRepositoryChangesRequest.FileOperation.DeleteFile value)
Represents the delete operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;
public CommitRepositoryChangesRequest.FileOperation.Builder mergeFrom(CommitRepositoryChangesRequest.FileOperation other)
public CommitRepositoryChangesRequest.FileOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CommitRepositoryChangesRequest.FileOperation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final CommitRepositoryChangesRequest.FileOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CommitRepositoryChangesRequest.FileOperation.Builder mergeWriteFile(CommitRepositoryChangesRequest.FileOperation.WriteFile value)
Represents the write operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;
public CommitRepositoryChangesRequest.FileOperation.Builder setDeleteFile(CommitRepositoryChangesRequest.FileOperation.DeleteFile value)
Represents the delete operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;
public CommitRepositoryChangesRequest.FileOperation.Builder setDeleteFile(CommitRepositoryChangesRequest.FileOperation.DeleteFile.Builder builderForValue)
Represents the delete operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;
public CommitRepositoryChangesRequest.FileOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CommitRepositoryChangesRequest.FileOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final CommitRepositoryChangesRequest.FileOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public CommitRepositoryChangesRequest.FileOperation.Builder setWriteFile(CommitRepositoryChangesRequest.FileOperation.WriteFile value)
Represents the write operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;
public CommitRepositoryChangesRequest.FileOperation.Builder setWriteFile(CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder builderForValue)
Represents the write operation.
.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;