Interface PullRequest.BranchOrBuilder

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

public static interface PullRequest.BranchOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Output only.
    com.google.protobuf.ByteString
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getRef

      String getRef()
       Required. Name of the branch.
       
      string ref = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The ref.
    • getRefBytes

      com.google.protobuf.ByteString getRefBytes()
       Required. Name of the branch.
       
      string ref = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for ref.
    • getSha

      String getSha()
       Output only. The commit at the tip of the branch.
       
      string sha = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The sha.
    • getShaBytes

      com.google.protobuf.ByteString getShaBytes()
       Output only. The commit at the tip of the branch.
       
      string sha = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for sha.