- 0.53.0 (latest)
- 0.52.0
- 0.50.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static interface PullRequestComment.CodeOrBuilder extends MessageOrBuilderImplements
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. |