Interface FileDiffOrBuilder (0.40.0)

public interface FileDiffOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAction()

public abstract FileDiff.Action getAction()

Output only. The action taken on the file (eg. added, modified, deleted).

.google.cloud.securesourcemanager.v1.FileDiff.Action action = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FileDiff.Action

The action.

getActionValue()

public abstract int getActionValue()

Output only. The action taken on the file (eg. added, modified, deleted).

.google.cloud.securesourcemanager.v1.FileDiff.Action action = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for action.

getName()

public abstract String getName()

Output only. The name of the file.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of the file.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getPatch()

public abstract String getPatch()

Output only. The git patch containing the file changes.

string patch = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The patch.

getPatchBytes()

public abstract ByteString getPatchBytes()

Output only. The git patch containing the file changes.

string patch = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for patch.

getSha()

public abstract String getSha()

Output only. The commit pointing to the file changes.

string sha = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The sha.

getShaBytes()

public abstract ByteString getShaBytes()

Output only. The commit pointing to the file changes.

string sha = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for sha.