Interface FileDiffOrBuilder (0.60.0)

public interface FileDiffOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPatch()

public abstract String getPatch()

Standard unified diff patch hunk for the file. Only populated when path_filters is specified in the request; otherwise empty.

string patch = 3;

Returns
Type Description
String

The patch.

getPatchBytes()

public abstract ByteString getPatchBytes()

Standard unified diff patch hunk for the file. Only populated when path_filters is specified in the request; otherwise empty.

string patch = 3;

Returns
Type Description
ByteString

The bytes for patch.

getPath()

public abstract String getPath()

Relative path to the file in the repository.

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

Relative path to the file in the repository.

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

getStatus()

public abstract String getStatus()

Status of change: "ADDED", "MODIFIED", "REMOVED", "RENAMED".

string status = 2;

Returns
Type Description
String

The status.

getStatusBytes()

public abstract ByteString getStatusBytes()

Status of change: "ADDED", "MODIFIED", "REMOVED", "RENAMED".

string status = 2;

Returns
Type Description
ByteString

The bytes for status.