Interface PullRequestCommentOrBuilder (0.40.0)

public interface PullRequestCommentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract PullRequestComment.Code getCode()

Optional. The comment on a code line.

.google.cloud.securesourcemanager.v1.PullRequestComment.Code code = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PullRequestComment.Code

The code.

getCodeOrBuilder()

public abstract PullRequestComment.CodeOrBuilder getCodeOrBuilder()

Optional. The comment on a code line.

.google.cloud.securesourcemanager.v1.PullRequestComment.Code code = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PullRequestComment.CodeOrBuilder

getComment()

public abstract PullRequestComment.Comment getComment()

Optional. The general pull request comment.

.google.cloud.securesourcemanager.v1.PullRequestComment.Comment comment = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PullRequestComment.Comment

The comment.

getCommentDetailCase()

public abstract PullRequestComment.CommentDetailCase getCommentDetailCase()
Returns
Type Description
PullRequestComment.CommentDetailCase

getCommentOrBuilder()

public abstract PullRequestComment.CommentOrBuilder getCommentOrBuilder()

Optional. The general pull request comment.

.google.cloud.securesourcemanager.v1.PullRequestComment.Comment comment = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PullRequestComment.CommentOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Identifier. Unique identifier for the pull request comment. The comment id is generated by the server. Format: projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Unique identifier for the pull request comment. The comment id is generated by the server. Format: projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}

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

Returns
Type Description
ByteString

The bytes for name.

getReview()

public abstract PullRequestComment.Review getReview()

Optional. The review summary comment.

.google.cloud.securesourcemanager.v1.PullRequestComment.Review review = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PullRequestComment.Review

The review.

getReviewOrBuilder()

public abstract PullRequestComment.ReviewOrBuilder getReviewOrBuilder()

Optional. The review summary comment.

.google.cloud.securesourcemanager.v1.PullRequestComment.Review review = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PullRequestComment.ReviewOrBuilder

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Last updated timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Last updated timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCode()

public abstract boolean hasCode()

Optional. The comment on a code line.

.google.cloud.securesourcemanager.v1.PullRequestComment.Code code = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the code field is set.

hasComment()

public abstract boolean hasComment()

Optional. The general pull request comment.

.google.cloud.securesourcemanager.v1.PullRequestComment.Comment comment = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the comment field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Creation timestamp.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasReview()

public abstract boolean hasReview()

Optional. The review summary comment.

.google.cloud.securesourcemanager.v1.PullRequestComment.Review review = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the review field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Last updated timestamp.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.