Interface AddGitRepositoryLinkPullRequestReviewCommentRequestOrBuilder (0.60.0)

public interface AddGitRepositoryLinkPullRequestReviewCommentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComment()

public abstract PullRequestReviewComment getComment()

Required. The review comment to add.

.google.cloud.developerconnect.v1.PullRequestReviewComment comment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PullRequestReviewComment

The comment.

getCommentOrBuilder()

public abstract PullRequestReviewCommentOrBuilder getCommentOrBuilder()

Required. The review comment to add.

.google.cloud.developerconnect.v1.PullRequestReviewComment comment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PullRequestReviewCommentOrBuilder

getCommitId()

public abstract String getCommitId()

Optional. The commit SHA to comment on. If not specified, defaults to the HEAD commit of the Pull Request.

string commit_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The commitId.

getCommitIdBytes()

public abstract ByteString getCommitIdBytes()

Optional. The commit SHA to comment on. If not specified, defaults to the HEAD commit of the Pull Request.

string commit_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for commitId.

getName()

public abstract String getName()

Required. The resource name of the GitRepositoryLink in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name of the GitRepositoryLink in the format projects/*/locations/*/connections/*/gitRepositoryLinks/*.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getPullRequestId()

public abstract String getPullRequestId()

Required. The ID of the Pull Request.

string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The pullRequestId.

getPullRequestIdBytes()

public abstract ByteString getPullRequestIdBytes()

Required. The ID of the Pull Request.

string pull_request_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for pullRequestId.

hasComment()

public abstract boolean hasComment()

Required. The review comment to add.

.google.cloud.developerconnect.v1.PullRequestReviewComment comment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the comment field is set.