Class CommitRepositoryChangesRequest.FileOperation.Builder (0.38.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CommitRepositoryChangesRequest.FileOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides

build()

public CommitRepositoryChangesRequest.FileOperation build()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation

buildPartial()

public CommitRepositoryChangesRequest.FileOperation buildPartial()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation

clear()

public CommitRepositoryChangesRequest.FileOperation.Builder clear()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides

clearDeleteFile()

public CommitRepositoryChangesRequest.FileOperation.Builder clearDeleteFile()

Represents the delete operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;

Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder

clearField(Descriptors.FieldDescriptor field)

public CommitRepositoryChangesRequest.FileOperation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CommitRepositoryChangesRequest.FileOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides

clearOperation()

public CommitRepositoryChangesRequest.FileOperation.Builder clearOperation()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder

clearWriteFile()

public CommitRepositoryChangesRequest.FileOperation.Builder clearWriteFile()

Represents the write operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;

Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder

clone()

public CommitRepositoryChangesRequest.FileOperation.Builder clone()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides

getDefaultInstanceForType()

public CommitRepositoryChangesRequest.FileOperation getDefaultInstanceForType()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation

getDeleteFile()

public CommitRepositoryChangesRequest.FileOperation.DeleteFile getDeleteFile()

Represents the delete operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;

Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.DeleteFile

The deleteFile.

getDeleteFileBuilder()

public CommitRepositoryChangesRequest.FileOperation.DeleteFile.Builder getDeleteFileBuilder()

Represents the delete operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;

Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.DeleteFile.Builder

getDeleteFileOrBuilder()

public CommitRepositoryChangesRequest.FileOperation.DeleteFileOrBuilder getDeleteFileOrBuilder()

Represents the delete operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;

Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.DeleteFileOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOperationCase()

public CommitRepositoryChangesRequest.FileOperation.OperationCase getOperationCase()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.OperationCase

getWriteFile()

public CommitRepositoryChangesRequest.FileOperation.WriteFile getWriteFile()

Represents the write operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;

Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile

The writeFile.

getWriteFileBuilder()

public CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder getWriteFileBuilder()

Represents the write operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;

Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder

getWriteFileOrBuilder()

public CommitRepositoryChangesRequest.FileOperation.WriteFileOrBuilder getWriteFileOrBuilder()

Represents the write operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;

Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.WriteFileOrBuilder

hasDeleteFile()

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.

hasWriteFile()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeleteFile(CommitRepositoryChangesRequest.FileOperation.DeleteFile value)

public CommitRepositoryChangesRequest.FileOperation.Builder mergeDeleteFile(CommitRepositoryChangesRequest.FileOperation.DeleteFile value)

Represents the delete operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;

Parameter
Name Description
value CommitRepositoryChangesRequest.FileOperation.DeleteFile
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder

mergeFrom(CommitRepositoryChangesRequest.FileOperation other)

public CommitRepositoryChangesRequest.FileOperation.Builder mergeFrom(CommitRepositoryChangesRequest.FileOperation other)
Parameter
Name Description
other CommitRepositoryChangesRequest.FileOperation
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CommitRepositoryChangesRequest.FileOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CommitRepositoryChangesRequest.FileOperation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommitRepositoryChangesRequest.FileOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides

mergeWriteFile(CommitRepositoryChangesRequest.FileOperation.WriteFile value)

public CommitRepositoryChangesRequest.FileOperation.Builder mergeWriteFile(CommitRepositoryChangesRequest.FileOperation.WriteFile value)

Represents the write operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;

Parameter
Name Description
value CommitRepositoryChangesRequest.FileOperation.WriteFile
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder

setDeleteFile(CommitRepositoryChangesRequest.FileOperation.DeleteFile value)

public CommitRepositoryChangesRequest.FileOperation.Builder setDeleteFile(CommitRepositoryChangesRequest.FileOperation.DeleteFile value)

Represents the delete operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;

Parameter
Name Description
value CommitRepositoryChangesRequest.FileOperation.DeleteFile
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder

setDeleteFile(CommitRepositoryChangesRequest.FileOperation.DeleteFile.Builder builderForValue)

public CommitRepositoryChangesRequest.FileOperation.Builder setDeleteFile(CommitRepositoryChangesRequest.FileOperation.DeleteFile.Builder builderForValue)

Represents the delete operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.DeleteFile delete_file = 2;

Parameter
Name Description
builderForValue CommitRepositoryChangesRequest.FileOperation.DeleteFile.Builder
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CommitRepositoryChangesRequest.FileOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CommitRepositoryChangesRequest.FileOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CommitRepositoryChangesRequest.FileOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides

setWriteFile(CommitRepositoryChangesRequest.FileOperation.WriteFile value)

public CommitRepositoryChangesRequest.FileOperation.Builder setWriteFile(CommitRepositoryChangesRequest.FileOperation.WriteFile value)

Represents the write operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;

Parameter
Name Description
value CommitRepositoryChangesRequest.FileOperation.WriteFile
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder

setWriteFile(CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder builderForValue)

public CommitRepositoryChangesRequest.FileOperation.Builder setWriteFile(CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder builderForValue)

Represents the write operation.

.google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation.WriteFile write_file = 1;

Parameter
Name Description
builderForValue CommitRepositoryChangesRequest.FileOperation.WriteFile.Builder
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder