Interface PullRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PullRequest, PullRequest.Builder

@Generated public interface PullRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Output only. Identifier. 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) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. Identifier. 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) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for name.
    • getTitle

      String getTitle()
       Required. The pull request title.
       
      string title = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The title.
    • getTitleBytes

      com.google.protobuf.ByteString getTitleBytes()
       Required. The pull request title.
       
      string title = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for title.
    • getBody

      String getBody()
       Optional. The pull request body. Provides a detailed description of the
       changes.
       
      string body = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The body.
    • getBodyBytes

      com.google.protobuf.ByteString getBodyBytes()
       Optional. The pull request body. Provides a detailed description of the
       changes.
       
      string body = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for body.
    • hasBase

      boolean hasBase()
       Required. The branch to merge changes in.
       
      .google.cloud.securesourcemanager.v1.PullRequest.Branch base = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the base field is set.
    • getBase

       Required. The branch to merge changes in.
       
      .google.cloud.securesourcemanager.v1.PullRequest.Branch base = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The base.
    • getBaseOrBuilder

      PullRequest.BranchOrBuilder getBaseOrBuilder()
       Required. The branch to merge changes in.
       
      .google.cloud.securesourcemanager.v1.PullRequest.Branch base = 4 [(.google.api.field_behavior) = REQUIRED];
    • hasHead

      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:
      Whether the head field is set.
    • getHead

       Immutable. The branch containing the changes to be merged.
       
      .google.cloud.securesourcemanager.v1.PullRequest.Branch head = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The head.
    • getHeadOrBuilder

      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];
    • getStateValue

      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:
      The enum numeric value on the wire for state.
    • getState

      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:
      The state.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Creation timestamp.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. Last updated timestamp.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. Last updated timestamp.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Last updated timestamp.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasCloseTime

      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:
      Whether the closeTime field is set.
    • getCloseTime

      com.google.protobuf.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:
      The closeTime.
    • getCloseTimeOrBuilder

      com.google.protobuf.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];