public interface PullRequestReviewCommentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAuthor()
public abstract String getAuthor()Output only. The username of the author.
string author = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The author. |
getAuthorBytes()
public abstract ByteString getAuthorBytes()Output only. The username of the author.
string author = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for author. |
getBody()
public abstract String getBody()Required. The body of the comment.
string body = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The body. |
getBodyBytes()
public abstract ByteString getBodyBytes()Required. The body of the comment.
string body = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for body. |
getCommitId()
public abstract String getCommitId()Output only. The commit SHA the comment was actually applied to.
string commit_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The commitId. |
getCommitIdBytes()
public abstract ByteString getCommitIdBytes()Output only. The commit SHA the comment was actually applied to.
string commit_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for commitId. |
getCreateTime()
public abstract Timestamp getCreateTime()Output only. When the comment was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. When the comment was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getFirstLine()
public abstract int getFirstLine() Optional. The first line of the comment range (inclusive). If not
specified, the comment applies only to the last_line.
int32 first_line = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The firstLine. |
getId()
public abstract String getId()Output only. The ID of the comment.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public abstract ByteString getIdBytes()Output only. The ID of the comment.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getLastLine()
public abstract int getLastLine() Required. The last line of the comment range (inclusive). If first_line
is not specified, the comment applies only to this line.
int32 last_line = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The lastLine. |
getPath()
public abstract String getPath()Required. The file path to comment on.
string path = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The path. |
getPathBytes()
public abstract ByteString getPathBytes()Required. The file path to comment on.
string path = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for path. |
getSide()
public abstract PullRequestReviewComment.DiffSide getSide()Optional. The side of the diff to comment on. Defaults to HEAD.
.google.cloud.developerconnect.v1.PullRequestReviewComment.DiffSide side = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PullRequestReviewComment.DiffSide |
The side. |
getSideValue()
public abstract int getSideValue()Optional. The side of the diff to comment on. Defaults to HEAD.
.google.cloud.developerconnect.v1.PullRequestReviewComment.DiffSide side = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for side. |
getUpdateTime()
public abstract Timestamp getUpdateTime()Output only. When the comment was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. When the comment was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public abstract boolean hasCreateTime()Output only. When the comment was created.
.google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. When the comment was updated.
.google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |