public static interface PullRequest.BranchOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getRef()
public abstract String getRef()Required. Name of the branch.
 string ref = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The ref. | 
getRefBytes()
public abstract ByteString getRefBytes()Required. Name of the branch.
 string ref = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for ref. | 
getSha()
public abstract String getSha()Output only. The commit at the tip of the branch.
 string sha = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The sha. | 
getShaBytes()
public abstract ByteString getShaBytes()Output only. The commit at the tip of the branch.
 string sha = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for sha. |