public static final class PullRequestComment.Review extends GeneratedMessage implements PullRequestComment.ReviewOrBuilderThe review summary comment.
Protobuf type google.cloud.securesourcemanager.v1.PullRequestComment.Review
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PullRequestComment.ReviewImplements
PullRequestComment.ReviewOrBuilderStatic Fields
ACTION_TYPE_FIELD_NUMBER
public static final int ACTION_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
BODY_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
EFFECTIVE_COMMIT_SHA_FIELD_NUMBER
public static final int EFFECTIVE_COMMIT_SHA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static PullRequestComment.Review getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static PullRequestComment.Review.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review.Builder |
|
newBuilder(PullRequestComment.Review prototype)
public static PullRequestComment.Review.Builder newBuilder(PullRequestComment.Review prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
PullRequestComment.Review |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review.Builder |
|
parseDelimitedFrom(InputStream input)
public static PullRequestComment.Review parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PullRequestComment.Review parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static PullRequestComment.Review parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PullRequestComment.Review parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static PullRequestComment.Review parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PullRequestComment.Review parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static PullRequestComment.Review parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PullRequestComment.Review parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static PullRequestComment.Review parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PullRequestComment.Review parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static PullRequestComment.Review parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PullRequestComment.Review parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<PullRequestComment.Review> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Review> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getActionType()
public PullRequestComment.Review.ActionType getActionType()Required. The review action type.
.google.cloud.securesourcemanager.v1.PullRequestComment.Review.ActionType action_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review.ActionType |
The actionType. |
getActionTypeValue()
public int getActionTypeValue()Required. The review action type.
.google.cloud.securesourcemanager.v1.PullRequestComment.Review.ActionType action_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for actionType. |
getBody()
public String getBody()Optional. The comment body.
string body = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The body. |
getBodyBytes()
public ByteString getBodyBytes()Optional. The comment body.
string body = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for body. |
getDefaultInstanceForType()
public PullRequestComment.Review getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review |
|
getEffectiveCommitSha()
public String getEffectiveCommitSha()Output only. The effective commit sha this review is pointing to.
string effective_commit_sha = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The effectiveCommitSha. |
getEffectiveCommitShaBytes()
public ByteString getEffectiveCommitShaBytes()Output only. The effective commit sha this review is pointing to.
string effective_commit_sha = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for effectiveCommitSha. |
getParserForType()
public Parser<PullRequestComment.Review> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Review> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public PullRequestComment.Review.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected PullRequestComment.Review.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review.Builder |
|
toBuilder()
public PullRequestComment.Review.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Review.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|