Interface PullRequestComment.ReviewOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PullRequestComment.Review,PullRequestComment.Review.Builder
- Enclosing class:
- PullRequestComment
public static interface PullRequestComment.ReviewOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.intRequired.getBody()Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput 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
-
getActionTypeValue
int getActionTypeValue()Required. The review action type.
.google.cloud.securesourcemanager.v1.PullRequestComment.Review.ActionType action_type = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for actionType.
-
getActionType
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:
- The actionType.
-
getBody
String getBody()Optional. The comment body.
string body = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The body.
-
getBodyBytes
com.google.protobuf.ByteString getBodyBytes()Optional. The comment body.
string body = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for body.
-
getEffectiveCommitSha
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:
- The effectiveCommitSha.
-
getEffectiveCommitShaBytes
com.google.protobuf.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:
- The bytes for effectiveCommitSha.
-