Interface CreatePullRequestCommentRequestOrBuilder (0.40.0)

public interface CreatePullRequestCommentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The pull request in which to create the pull request comment. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The pull request in which to create the pull request comment. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}

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

Returns
Type Description
ByteString

The bytes for parent.

getPullRequestComment()

public abstract PullRequestComment getPullRequestComment()

Required. The pull request comment to create.

.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PullRequestComment

The pullRequestComment.

getPullRequestCommentOrBuilder()

public abstract PullRequestCommentOrBuilder getPullRequestCommentOrBuilder()

Required. The pull request comment to create.

.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PullRequestCommentOrBuilder

hasPullRequestComment()

public abstract boolean hasPullRequestComment()

Required. The pull request comment to create.

.google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the pullRequestComment field is set.