Interface UnresolvePullRequestCommentsRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UnresolvePullRequestCommentsRequest, UnresolvePullRequestCommentsRequest.Builder

@Generated public interface UnresolvePullRequestCommentsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Optional.
    getNames(int index)
    Required.
    com.google.protobuf.ByteString
    getNamesBytes(int index)
    Required.
    int
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. The pull request in which to resolve the pull request comments.
       Format:
       `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The pull request in which to resolve the pull request comments.
       Format:
       `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getNamesList

      List<String> getNamesList()
       Required. The names of the pull request comments to unresolve. Format:
       `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`
       Only comments from the same threads are allowed in the same request.
       
      repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the names.
    • getNamesCount

      int getNamesCount()
       Required. The names of the pull request comments to unresolve. Format:
       `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`
       Only comments from the same threads are allowed in the same request.
       
      repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The count of names.
    • getNames

      String getNames(int index)
       Required. The names of the pull request comments to unresolve. Format:
       `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`
       Only comments from the same threads are allowed in the same request.
       
      repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The names at the given index.
    • getNamesBytes

      com.google.protobuf.ByteString getNamesBytes(int index)
       Required. The names of the pull request comments to unresolve. Format:
       `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`
       Only comments from the same threads are allowed in the same request.
       
      repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the names at the given index.
    • getAutoFill

      boolean getAutoFill()
       Optional. If set, at least one comment in a thread is required, rest of the
       comments in the same thread will be automatically updated to unresolved. If
       unset, all comments in the same thread need be present.
       
      bool auto_fill = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The autoFill.