public static final class PullRequest.Builder extends GeneratedMessageV3.Builder<PullRequest.Builder> implements PullRequestOrBuilderMetadata of a PullRequest. PullRequest is the request from a user to merge a branch (head) into another branch (base).
Protobuf type google.cloud.securesourcemanager.v1.PullRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PullRequest.BuilderImplements
PullRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PullRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
build()
public PullRequest build()| Returns | |
|---|---|
| Type | Description |
PullRequest |
|
buildPartial()
public PullRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
PullRequest |
|
clear()
public PullRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
clearBase()
public PullRequest.Builder clearBase()Required. The branch to merge changes in.
.google.cloud.securesourcemanager.v1.PullRequest.Branch base = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
clearBody()
public PullRequest.Builder clearBody()Optional. The pull request body. Provides a detailed description of the changes.
string body = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
clearCloseTime()
public PullRequest.Builder clearCloseTime()Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.
.google.protobuf.Timestamp close_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
clearCreateTime()
public PullRequest.Builder clearCreateTime()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public PullRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
clearHead()
public PullRequest.Builder clearHead()Immutable. The branch containing the changes to be merged.
.google.cloud.securesourcemanager.v1.PullRequest.Branch head = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
clearName()
public PullRequest.Builder clearName() Output only. A unique identifier for a PullRequest. The number appended at
the end is generated by the server. Format:
projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PullRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
clearState()
public PullRequest.Builder clearState()Output only. State of the pull request (open, closed or merged).
.google.cloud.securesourcemanager.v1.PullRequest.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
clearTitle()
public PullRequest.Builder clearTitle()Required. The pull request title.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
clearUpdateTime()
public PullRequest.Builder clearUpdateTime()Output only. Last updated timestamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
clone()
public PullRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
getBase()
public PullRequest.Branch getBase()Required. The branch to merge changes in.
.google.cloud.securesourcemanager.v1.PullRequest.Branch base = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Branch |
The base. |
getBaseBuilder()
public PullRequest.Branch.Builder getBaseBuilder()Required. The branch to merge changes in.
.google.cloud.securesourcemanager.v1.PullRequest.Branch base = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Branch.Builder |
|
getBaseOrBuilder()
public PullRequest.BranchOrBuilder getBaseOrBuilder()Required. The branch to merge changes in.
.google.cloud.securesourcemanager.v1.PullRequest.Branch base = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PullRequest.BranchOrBuilder |
|
getBody()
public String getBody()Optional. The pull request body. Provides a detailed description of the changes.
string body = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The body. |
getBodyBytes()
public ByteString getBodyBytes()Optional. The pull request body. Provides a detailed description of the changes.
string body = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for body. |
getCloseTime()
public Timestamp getCloseTime()Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.
.google.protobuf.Timestamp close_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The closeTime. |
getCloseTimeBuilder()
public Timestamp.Builder getCloseTimeBuilder()Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.
.google.protobuf.Timestamp close_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCloseTimeOrBuilder()
public TimestampOrBuilder getCloseTimeOrBuilder()Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.
.google.protobuf.Timestamp close_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getCreateTime()
public Timestamp getCreateTime()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public PullRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PullRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHead()
public PullRequest.Branch getHead()Immutable. The branch containing the changes to be merged.
.google.cloud.securesourcemanager.v1.PullRequest.Branch head = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Branch |
The head. |
getHeadBuilder()
public PullRequest.Branch.Builder getHeadBuilder()Immutable. The branch containing the changes to be merged.
.google.cloud.securesourcemanager.v1.PullRequest.Branch head = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
PullRequest.Branch.Builder |
|
getHeadOrBuilder()
public PullRequest.BranchOrBuilder getHeadOrBuilder()Immutable. The branch containing the changes to be merged.
.google.cloud.securesourcemanager.v1.PullRequest.Branch head = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
PullRequest.BranchOrBuilder |
|
getName()
public String getName() Output only. A unique identifier for a PullRequest. The number appended at
the end is generated by the server. Format:
projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Output only. A unique identifier for a PullRequest. The number appended at
the end is generated by the server. Format:
projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getState()
public PullRequest.State getState()Output only. State of the pull request (open, closed or merged).
.google.cloud.securesourcemanager.v1.PullRequest.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
PullRequest.State |
The state. |
getStateValue()
public int getStateValue()Output only. State of the pull request (open, closed or merged).
.google.cloud.securesourcemanager.v1.PullRequest.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getTitle()
public String getTitle()Required. The pull request title.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The title. |
getTitleBytes()
public ByteString getTitleBytes()Required. The pull request title.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for title. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. Last updated timestamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Last updated timestamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last updated timestamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasBase()
public boolean hasBase()Required. The branch to merge changes in.
.google.cloud.securesourcemanager.v1.PullRequest.Branch base = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the base field is set. |
hasCloseTime()
public boolean hasCloseTime()Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.
.google.protobuf.Timestamp close_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the closeTime field is set. |
hasCreateTime()
public boolean hasCreateTime()Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasHead()
public boolean hasHead()Immutable. The branch containing the changes to be merged.
.google.cloud.securesourcemanager.v1.PullRequest.Branch head = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the head field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Last updated timestamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeBase(PullRequest.Branch value)
public PullRequest.Builder mergeBase(PullRequest.Branch value)Required. The branch to merge changes in.
.google.cloud.securesourcemanager.v1.PullRequest.Branch base = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
PullRequest.Branch |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
mergeCloseTime(Timestamp value)
public PullRequest.Builder mergeCloseTime(Timestamp value)Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.
.google.protobuf.Timestamp close_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
mergeCreateTime(Timestamp value)
public PullRequest.Builder mergeCreateTime(Timestamp value)Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
mergeFrom(PullRequest other)
public PullRequest.Builder mergeFrom(PullRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
PullRequest |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PullRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PullRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
mergeHead(PullRequest.Branch value)
public PullRequest.Builder mergeHead(PullRequest.Branch value)Immutable. The branch containing the changes to be merged.
.google.cloud.securesourcemanager.v1.PullRequest.Branch head = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
PullRequest.Branch |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PullRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
mergeUpdateTime(Timestamp value)
public PullRequest.Builder mergeUpdateTime(Timestamp value)Output only. Last updated timestamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setBase(PullRequest.Branch value)
public PullRequest.Builder setBase(PullRequest.Branch value)Required. The branch to merge changes in.
.google.cloud.securesourcemanager.v1.PullRequest.Branch base = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
PullRequest.Branch |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setBase(PullRequest.Branch.Builder builderForValue)
public PullRequest.Builder setBase(PullRequest.Branch.Builder builderForValue)Required. The branch to merge changes in.
.google.cloud.securesourcemanager.v1.PullRequest.Branch base = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PullRequest.Branch.Builder |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setBody(String value)
public PullRequest.Builder setBody(String value)Optional. The pull request body. Provides a detailed description of the changes.
string body = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe body to set. |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
setBodyBytes(ByteString value)
public PullRequest.Builder setBodyBytes(ByteString value)Optional. The pull request body. Provides a detailed description of the changes.
string body = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for body to set. |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
setCloseTime(Timestamp value)
public PullRequest.Builder setCloseTime(Timestamp value)Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.
.google.protobuf.Timestamp close_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setCloseTime(Timestamp.Builder builderForValue)
public PullRequest.Builder setCloseTime(Timestamp.Builder builderForValue)Output only. Close timestamp (if closed or merged). Cleared when pull request is re-opened.
.google.protobuf.Timestamp close_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setCreateTime(Timestamp value)
public PullRequest.Builder setCreateTime(Timestamp value)Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public PullRequest.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Creation timestamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public PullRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setHead(PullRequest.Branch value)
public PullRequest.Builder setHead(PullRequest.Branch value)Immutable. The branch containing the changes to be merged.
.google.cloud.securesourcemanager.v1.PullRequest.Branch head = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
PullRequest.Branch |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setHead(PullRequest.Branch.Builder builderForValue)
public PullRequest.Builder setHead(PullRequest.Branch.Builder builderForValue)Immutable. The branch containing the changes to be merged.
.google.cloud.securesourcemanager.v1.PullRequest.Branch head = 5 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PullRequest.Branch.Builder |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setName(String value)
public PullRequest.Builder setName(String value) Output only. A unique identifier for a PullRequest. The number appended at
the end is generated by the server. Format:
projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public PullRequest.Builder setNameBytes(ByteString value) Output only. A unique identifier for a PullRequest. The number appended at
the end is generated by the server. Format:
projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PullRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setState(PullRequest.State value)
public PullRequest.Builder setState(PullRequest.State value)Output only. State of the pull request (open, closed or merged).
.google.cloud.securesourcemanager.v1.PullRequest.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
PullRequest.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
setStateValue(int value)
public PullRequest.Builder setStateValue(int value)Output only. State of the pull request (open, closed or merged).
.google.cloud.securesourcemanager.v1.PullRequest.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
setTitle(String value)
public PullRequest.Builder setTitle(String value)Required. The pull request title.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe title to set. |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
setTitleBytes(ByteString value)
public PullRequest.Builder setTitleBytes(ByteString value)Required. The pull request title.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for title to set. |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PullRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setUpdateTime(Timestamp value)
public PullRequest.Builder setUpdateTime(Timestamp value)Output only. Last updated timestamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public PullRequest.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Last updated timestamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
PullRequest.Builder |
|