public static final class BatchCreatePullRequestCommentsResponse.Builder extends GeneratedMessageV3.Builder<BatchCreatePullRequestCommentsResponse.Builder> implements BatchCreatePullRequestCommentsResponseOrBuilder
The response to batch create pull request comments.
Protobuf type
google.cloud.securesourcemanager.v1.BatchCreatePullRequestCommentsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public BatchCreatePullRequestCommentsResponse.Builder addAllPullRequestComments(Iterable<? extends PullRequestComment> values)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.securesourcemanager.v1.PullRequestComment>
|
public BatchCreatePullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment value)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public BatchCreatePullRequestCommentsResponse.Builder addPullRequestComments(PullRequestComment.Builder builderForValue)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public BatchCreatePullRequestCommentsResponse.Builder addPullRequestComments(int index, PullRequestComment value)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public BatchCreatePullRequestCommentsResponse.Builder addPullRequestComments(int index, PullRequestComment.Builder builderForValue)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public PullRequestComment.Builder addPullRequestCommentsBuilder()
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public PullRequestComment.Builder addPullRequestCommentsBuilder(int index)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
Parameter |
Name |
Description |
index |
int
|
public BatchCreatePullRequestCommentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchCreatePullRequestCommentsResponse build()
public BatchCreatePullRequestCommentsResponse buildPartial()
public BatchCreatePullRequestCommentsResponse.Builder clear()
Overrides
public BatchCreatePullRequestCommentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchCreatePullRequestCommentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BatchCreatePullRequestCommentsResponse.Builder clearPullRequestComments()
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public BatchCreatePullRequestCommentsResponse.Builder clone()
Overrides
public BatchCreatePullRequestCommentsResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public PullRequestComment getPullRequestComments(int index)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
Parameter |
Name |
Description |
index |
int
|
public PullRequestComment.Builder getPullRequestCommentsBuilder(int index)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
Parameter |
Name |
Description |
index |
int
|
public List<PullRequestComment.Builder> getPullRequestCommentsBuilderList()
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public int getPullRequestCommentsCount()
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
Returns |
Type |
Description |
int |
|
public List<PullRequestComment> getPullRequestCommentsList()
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public PullRequestCommentOrBuilder getPullRequestCommentsOrBuilder(int index)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends PullRequestCommentOrBuilder> getPullRequestCommentsOrBuilderList()
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.securesourcemanager.v1.PullRequestCommentOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchCreatePullRequestCommentsResponse.Builder mergeFrom(BatchCreatePullRequestCommentsResponse other)
public BatchCreatePullRequestCommentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchCreatePullRequestCommentsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final BatchCreatePullRequestCommentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BatchCreatePullRequestCommentsResponse.Builder removePullRequestComments(int index)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
Parameter |
Name |
Description |
index |
int
|
public BatchCreatePullRequestCommentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchCreatePullRequestCommentsResponse.Builder setPullRequestComments(int index, PullRequestComment value)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public BatchCreatePullRequestCommentsResponse.Builder setPullRequestComments(int index, PullRequestComment.Builder builderForValue)
The list of pull request comments created.
repeated .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comments = 1;
public BatchCreatePullRequestCommentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BatchCreatePullRequestCommentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides