Interface AddGitRepositoryLinkPullRequestCommentRequestOrBuilder (0.60.0)

public interface AddGitRepositoryLinkPullRequestCommentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComment()

public abstract PullRequestComment getComment()

Required. The comment to add.

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

Returns
Type Description
PullRequestComment

The comment.

getCommentOrBuilder()

public abstract PullRequestCommentOrBuilder getCommentOrBuilder()

Required. The comment to add.

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

Returns
Type Description
PullRequestCommentOrBuilder

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 comment to add.

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

Returns
Type Description
boolean

Whether the comment field is set.