- 0.55.0 (latest)
- 0.53.0
- 0.52.0
- 0.50.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class BatchCreatePullRequestCommentsRequest.Builder extends GeneratedMessage.Builder<BatchCreatePullRequestCommentsRequest.Builder> implements BatchCreatePullRequestCommentsRequestOrBuilderThe request to batch create pull request comments.
Protobuf type google.cloud.securesourcemanager.v1.BatchCreatePullRequestCommentsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchCreatePullRequestCommentsRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRequests(Iterable<? extends CreatePullRequestCommentRequest> values)
public BatchCreatePullRequestCommentsRequest.Builder addAllRequests(Iterable<? extends CreatePullRequestCommentRequest> values)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 |
values |
Iterable<? extends com.google.cloud.securesourcemanager.v1.CreatePullRequestCommentRequest> |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
|
addRequests(CreatePullRequestCommentRequest value)
public BatchCreatePullRequestCommentsRequest.Builder addRequests(CreatePullRequestCommentRequest value)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 |
value |
CreatePullRequestCommentRequest |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
|
addRequests(CreatePullRequestCommentRequest.Builder builderForValue)
public BatchCreatePullRequestCommentsRequest.Builder addRequests(CreatePullRequestCommentRequest.Builder builderForValue)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 |
builderForValue |
CreatePullRequestCommentRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
|
addRequests(int index, CreatePullRequestCommentRequest value)
public BatchCreatePullRequestCommentsRequest.Builder addRequests(int index, CreatePullRequestCommentRequest value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CreatePullRequestCommentRequest |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
|
addRequests(int index, CreatePullRequestCommentRequest.Builder builderForValue)
public BatchCreatePullRequestCommentsRequest.Builder addRequests(int index, CreatePullRequestCommentRequest.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CreatePullRequestCommentRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
|
addRequestsBuilder()
public CreatePullRequestCommentRequest.Builder addRequestsBuilder()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 |
CreatePullRequestCommentRequest.Builder |
|
addRequestsBuilder(int index)
public CreatePullRequestCommentRequest.Builder addRequestsBuilder(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.Builder |
|
build()
public BatchCreatePullRequestCommentsRequest build()| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest |
|
buildPartial()
public BatchCreatePullRequestCommentsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest |
|
clear()
public BatchCreatePullRequestCommentsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
|
clearParent()
public BatchCreatePullRequestCommentsRequest.Builder clearParent() 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 |
BatchCreatePullRequestCommentsRequest.Builder |
This builder for chaining. |
clearRequests()
public BatchCreatePullRequestCommentsRequest.Builder clearRequests()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 |
BatchCreatePullRequestCommentsRequest.Builder |
|
getDefaultInstanceForType()
public BatchCreatePullRequestCommentsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public 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 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 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 |
|
getRequestsBuilder(int index)
public CreatePullRequestCommentRequest.Builder getRequestsBuilder(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.Builder |
|
getRequestsBuilderList()
public List<CreatePullRequestCommentRequest.Builder> getRequestsBuilderList()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<Builder> |
|
getRequestsCount()
public 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 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 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 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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BatchCreatePullRequestCommentsRequest other)
public BatchCreatePullRequestCommentsRequest.Builder mergeFrom(BatchCreatePullRequestCommentsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchCreatePullRequestCommentsRequest |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchCreatePullRequestCommentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchCreatePullRequestCommentsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
|
removeRequests(int index)
public BatchCreatePullRequestCommentsRequest.Builder removeRequests(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 |
BatchCreatePullRequestCommentsRequest.Builder |
|
setParent(String value)
public BatchCreatePullRequestCommentsRequest.Builder setParent(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public BatchCreatePullRequestCommentsRequest.Builder setParentBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
This builder for chaining. |
setRequests(int index, CreatePullRequestCommentRequest value)
public BatchCreatePullRequestCommentsRequest.Builder setRequests(int index, CreatePullRequestCommentRequest value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CreatePullRequestCommentRequest |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
|
setRequests(int index, CreatePullRequestCommentRequest.Builder builderForValue)
public BatchCreatePullRequestCommentsRequest.Builder setRequests(int index, CreatePullRequestCommentRequest.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CreatePullRequestCommentRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
BatchCreatePullRequestCommentsRequest.Builder |
|