Interface PullRequestCommentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PullRequestComment,PullRequestComment.Builder
@Generated
public interface PullRequestCommentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()Optional.Optional.Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanhasCode()Optional.booleanOptional.booleanOutput only.booleanOptional.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Last updated timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Last updated timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last updated timestamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasReview
boolean hasReview()Optional. The review summary comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Review review = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the review field is set.
-
getReview
PullRequestComment.Review getReview()Optional. The review summary comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Review review = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The review.
-
getReviewOrBuilder
PullRequestComment.ReviewOrBuilder getReviewOrBuilder()Optional. The review summary comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Review review = 4 [(.google.api.field_behavior) = OPTIONAL]; -
hasComment
boolean hasComment()Optional. The general pull request comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Comment comment = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the comment field is set.
-
getComment
PullRequestComment.Comment getComment()Optional. The general pull request comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Comment comment = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The comment.
-
getCommentOrBuilder
PullRequestComment.CommentOrBuilder getCommentOrBuilder()Optional. The general pull request comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Comment comment = 5 [(.google.api.field_behavior) = OPTIONAL]; -
hasCode
boolean hasCode()Optional. The comment on a code line.
.google.cloud.securesourcemanager.v1.PullRequestComment.Code code = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the code field is set.
-
getCode
PullRequestComment.Code getCode()Optional. The comment on a code line.
.google.cloud.securesourcemanager.v1.PullRequestComment.Code code = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The code.
-
getCodeOrBuilder
PullRequestComment.CodeOrBuilder getCodeOrBuilder()Optional. The comment on a code line.
.google.cloud.securesourcemanager.v1.PullRequestComment.Code code = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getCommentDetailCase
PullRequestComment.CommentDetailCase getCommentDetailCase()
-