public final class PullRequest extends GeneratedMessageV3 implements PullRequestOrBuilder
   
   Metadata 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
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
  
  BASE_FIELD_NUMBER
  
    public static final int BASE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  BODY_FIELD_NUMBER
  
    public static final int BODY_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  CLOSE_TIME_FIELD_NUMBER
  
    public static final int CLOSE_TIME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  CREATE_TIME_FIELD_NUMBER
  
    public static final int CREATE_TIME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  HEAD_FIELD_NUMBER
  
    public static final int HEAD_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  NAME_FIELD_NUMBER
  
    public static final int NAME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  STATE_FIELD_NUMBER
  
    public static final int STATE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  TITLE_FIELD_NUMBER
  
    public static final int TITLE_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  UPDATE_TIME_FIELD_NUMBER
  
    public static final int UPDATE_TIME_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static PullRequest getDefaultInstance()
   
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  newBuilder()
  
    public static PullRequest.Builder newBuilder()
   
  
  
  newBuilder(PullRequest prototype)
  
    public static PullRequest.Builder newBuilder(PullRequest prototype)
   
  
  
  
  
  
    public static PullRequest parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static PullRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(byte[] data)
  
    public static PullRequest parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static PullRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteString data)
  
    public static PullRequest parseFrom(ByteString data)
   
  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static PullRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static PullRequest parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static PullRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static PullRequest parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static PullRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteBuffer data)
  
    public static PullRequest parseFrom(ByteBuffer data)
   
  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static PullRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parser()
  
    public static Parser<PullRequest> parser()
   
  
  Methods
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | obj | Object
 | 
    
  
  
  Overrides
  
  
  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];
 
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];
 
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. | 
    
  
  
  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];
 
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. | 
    
  
  
  getCreateTimeOrBuilder()
  
    public TimestampOrBuilder getCreateTimeOrBuilder()
   
   Output only. Creation timestamp.
 .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getDefaultInstanceForType()
  
    public PullRequest getDefaultInstanceForType()
   
  
  
  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];
 
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];
 
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. | 
    
  
  
  getParserForType()
  
    public Parser<PullRequest> getParserForType()
   
  
  Overrides
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  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];
 
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()
  
   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. | 
    
  
  
  getUpdateTimeOrBuilder()
  
    public TimestampOrBuilder getUpdateTimeOrBuilder()
   
   Output only. Last updated timestamp.
 .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
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()
  
   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. | 
    
  
  
  hashCode()
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  newBuilderForType()
  
    public PullRequest.Builder newBuilderForType()
   
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected PullRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Object |  | 
    
  
  Overrides
  
  
  toBuilder()
  
    public PullRequest.Builder toBuilder()
   
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides