public static interface PullRequestComment.CodeOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBody()
public abstract String getBody()
Required. The comment body.
string body = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The body. |
getBodyBytes()
public abstract ByteString getBodyBytes()
Required. The comment body.
string body = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for body. |
getEffectiveCommitSha()
public abstract String getEffectiveCommitSha()
Output only. The effective commit sha this code comment is pointing to.
string effective_commit_sha = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The effectiveCommitSha. |
getEffectiveCommitShaBytes()
public abstract ByteString getEffectiveCommitShaBytes()
Output only. The effective commit sha this code comment is pointing to.
string effective_commit_sha = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for effectiveCommitSha. |
getEffectiveRootComment()
public abstract String getEffectiveRootComment()
Output only. The root comment of the conversation, derived from the reply field.
string effective_root_comment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The effectiveRootComment. |
getEffectiveRootCommentBytes()
public abstract ByteString getEffectiveRootCommentBytes()
Output only. The root comment of the conversation, derived from the reply field.
string effective_root_comment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for effectiveRootComment. |
getPosition()
public abstract PullRequestComment.Position getPosition()
Optional. The position of the comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Position position = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PullRequestComment.Position |
The position. |
getPositionOrBuilder()
public abstract PullRequestComment.PositionOrBuilder getPositionOrBuilder()
Optional. The position of the comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Position position = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
PullRequestComment.PositionOrBuilder |
getReply()
public abstract String getReply()
Optional. Input only. The PullRequestComment resource name that this comment is replying to.
string reply = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The reply. |
getReplyBytes()
public abstract ByteString getReplyBytes()
Optional. Input only. The PullRequestComment resource name that this comment is replying to.
string reply = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for reply. |
getResolved()
public abstract boolean getResolved()
Output only. Boolean indicator if the comment is resolved.
bool resolved = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The resolved. |
hasPosition()
public abstract boolean hasPosition()
Optional. The position of the comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Position position = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the position field is set. |