Interface PullRequestComment.CodeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PullRequestComment.Code,PullRequestComment.Code.Builder
- Enclosing class:
- PullRequestComment
public static interface PullRequestComment.CodeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()Required.com.google.protobuf.ByteStringRequired.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Optional.Optional.getReply()Optional.com.google.protobuf.ByteStringOptional.booleanOutput only.booleanOptional.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
-
getBody
String getBody()Required. The comment body.
string body = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The body.
-
getBodyBytes
com.google.protobuf.ByteString getBodyBytes()Required. The comment body.
string body = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for body.
-
getReply
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:
- The reply.
-
getReplyBytes
com.google.protobuf.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:
- The bytes for reply.
-
hasPosition
boolean hasPosition()Optional. The position of the comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Position position = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the position field is set.
-
getPosition
PullRequestComment.Position getPosition()Optional. The position of the comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Position position = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The position.
-
getPositionOrBuilder
PullRequestComment.PositionOrBuilder getPositionOrBuilder()Optional. The position of the comment.
.google.cloud.securesourcemanager.v1.PullRequestComment.Position position = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getEffectiveRootComment
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:
- The effectiveRootComment.
-
getEffectiveRootCommentBytes
com.google.protobuf.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:
- The bytes for effectiveRootComment.
-
getResolved
boolean getResolved()Output only. Boolean indicator if the comment is resolved.
bool resolved = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The resolved.
-
getEffectiveCommitSha
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:
- The effectiveCommitSha.
-
getEffectiveCommitShaBytes
com.google.protobuf.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:
- The bytes for effectiveCommitSha.
-