Interface BatchCreatePullRequestCommentsRequestOrBuilder (0.40.0)

public interface BatchCreatePullRequestCommentsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The pull request in which to create 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
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The pull request in which to create 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
Type Description
ByteString

The bytes for parent.

getRequests(int index)

public abstract CreatePullRequestCommentRequest getRequests(int index)

Required. The request message specifying the resources to create. There should be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW in the list, and no more than 100 CreatePullRequestCommentRequests with CommentDetail being CODE in the list

repeated .google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreatePullRequestCommentRequest

getRequestsCount()

public abstract int getRequestsCount()

Required. The request message specifying the resources to create. There should be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW in the list, and no more than 100 CreatePullRequestCommentRequests with CommentDetail being CODE in the list

repeated .google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public abstract List<CreatePullRequestCommentRequest> getRequestsList()

Required. The request message specifying the resources to create. There should be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW in the list, and no more than 100 CreatePullRequestCommentRequests with CommentDetail being CODE in the list

repeated .google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<CreatePullRequestCommentRequest>

getRequestsOrBuilder(int index)

public abstract CreatePullRequestCommentRequestOrBuilder getRequestsOrBuilder(int index)

Required. The request message specifying the resources to create. There should be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW in the list, and no more than 100 CreatePullRequestCommentRequests with CommentDetail being CODE in the list

repeated .google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreatePullRequestCommentRequestOrBuilder

getRequestsOrBuilderList()

public abstract List<? extends CreatePullRequestCommentRequestOrBuilder> getRequestsOrBuilderList()

Required. The request message specifying the resources to create. There should be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW in the list, and no more than 100 CreatePullRequestCommentRequests with CommentDetail being CODE in the list

repeated .google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequestOrBuilder>