Interface PullRequestComment.ReviewOrBuilder (0.40.0)

public static interface PullRequestComment.ReviewOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionType()

public abstract PullRequestComment.Review.ActionType getActionType()

Required. The review action type.

.google.cloud.securesourcemanager.v1.PullRequestComment.Review.ActionType action_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PullRequestComment.Review.ActionType

The actionType.

getActionTypeValue()

public abstract int getActionTypeValue()

Required. The review action type.

.google.cloud.securesourcemanager.v1.PullRequestComment.Review.ActionType action_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for actionType.

getBody()

public abstract String getBody()

Optional. The comment body.

string body = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The body.

getBodyBytes()

public abstract ByteString getBodyBytes()

Optional. The comment body.

string body = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for body.

getEffectiveCommitSha()

public abstract String getEffectiveCommitSha()

Output only. The effective commit sha this review is pointing to.

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

Returns
Type Description
String

The effectiveCommitSha.

getEffectiveCommitShaBytes()

public abstract ByteString getEffectiveCommitShaBytes()

Output only. The effective commit sha this review is pointing to.

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

Returns
Type Description
ByteString

The bytes for effectiveCommitSha.