- 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 PullRequestComment.Position.Builder extends GeneratedMessage.Builder<PullRequestComment.Position.Builder> implements PullRequestComment.PositionOrBuilderThe position of the code comment.
Protobuf type google.cloud.securesourcemanager.v1.PullRequestComment.Position
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PullRequestComment.Position.BuilderImplements
PullRequestComment.PositionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PullRequestComment.Position build()| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position |
|
buildPartial()
public PullRequestComment.Position buildPartial()| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position |
|
clear()
public PullRequestComment.Position.Builder clear()| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position.Builder |
|
clearLine()
public PullRequestComment.Position.Builder clearLine()Required. The line number of the comment. Positive value means it's on the new side of the diff, negative value means it's on the old side.
int64 line = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position.Builder |
This builder for chaining. |
clearPath()
public PullRequestComment.Position.Builder clearPath()Required. The path of the file.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PullRequestComment.Position getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLine()
public long getLine()Required. The line number of the comment. Positive value means it's on the new side of the diff, negative value means it's on the old side.
int64 line = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The line. |
getPath()
public String getPath()Required. The path of the file.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The path. |
getPathBytes()
public ByteString getPathBytes()Required. The path of the file.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for path. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PullRequestComment.Position other)
public PullRequestComment.Position.Builder mergeFrom(PullRequestComment.Position other)| Parameter | |
|---|---|
| Name | Description |
other |
PullRequestComment.Position |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PullRequestComment.Position.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PullRequestComment.Position.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position.Builder |
|
setLine(long value)
public PullRequestComment.Position.Builder setLine(long value)Required. The line number of the comment. Positive value means it's on the new side of the diff, negative value means it's on the old side.
int64 line = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe line to set. |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position.Builder |
This builder for chaining. |
setPath(String value)
public PullRequestComment.Position.Builder setPath(String value)Required. The path of the file.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe path to set. |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position.Builder |
This builder for chaining. |
setPathBytes(ByteString value)
public PullRequestComment.Position.Builder setPathBytes(ByteString value)Required. The path of the file.
string path = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for path to set. |
| Returns | |
|---|---|
| Type | Description |
PullRequestComment.Position.Builder |
This builder for chaining. |