Class CommitRepositoryChangesRequest.FileOperation (0.45.0)

public static final class CommitRepositoryChangesRequest.FileOperation extends GeneratedMessageV3 implements CommitRepositoryChangesRequest.FileOperationOrBuilder

Represents a single file operation to the repository.

Protobuf type google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CommitRepositoryChangesRequest.FileOperation

Static Fields

DELETE_FILE_FIELD_NUMBER

public static final int DELETE_FILE_FIELD_NUMBER
Field Value
Type Description
int

WRITE_FILE_FIELD_NUMBER

public static final int WRITE_FILE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CommitRepositoryChangesRequest.FileOperation getDefaultInstance()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation

getDescriptor()

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

newBuilder()

public static CommitRepositoryChangesRequest.FileOperation.Builder newBuilder()
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder

newBuilder(CommitRepositoryChangesRequest.FileOperation prototype)

public static CommitRepositoryChangesRequest.FileOperation.Builder newBuilder(CommitRepositoryChangesRequest.FileOperation prototype)
Parameter
Name Description
prototype CommitRepositoryChangesRequest.FileOperation
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder

parseDelimitedFrom(InputStream input)

public static CommitRepositoryChangesRequest.FileOperation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommitRepositoryChangesRequest.FileOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CommitRepositoryChangesRequest.FileOperation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CommitRepositoryChangesRequest.FileOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CommitRepositoryChangesRequest.FileOperation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CommitRepositoryChangesRequest.FileOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CommitRepositoryChangesRequest.FileOperation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CommitRepositoryChangesRequest.FileOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CommitRepositoryChangesRequest.FileOperation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CommitRepositoryChangesRequest.FileOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CommitRepositoryChangesRequest.FileOperation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CommitRepositoryChangesRequest.FileOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CommitRepositoryChangesRequest.FileOperation> parser()
Returns
Type Description
Parser<FileOperation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

getOperationCase()

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

getParserForType()

public Parser<CommitRepositoryChangesRequest.FileOperation> getParserForType()
Returns
Type Description
Parser<FileOperation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CommitRepositoryChangesRequest.FileOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CommitRepositoryChangesRequest.FileOperation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException